Agents
The four bundled role agents — executor, architect, planner, and critic — their mutation boundaries, and how they map onto the working loop.
Gajae-Code bundles exactly four role agents with deliberately clear boundaries. They are task-role agents for delegation, not workflow skills. Two patterns govern them: one role mutates files, three stay strictly read-only.
The four roles
| Agent | Role | Mutates? | Thinking |
|---|---|---|---|
executor | Bounded implementation, fixes, and refactors. | Yes | medium |
architect | Read-only architecture and code-review assessment. | No | high |
planner | Read-only sequencing and acceptance criteria. | No | medium |
critic | Read-only plan critique and actionability review. | No | high |
The read-only roles never write, edit, format, commit, push, or mutate files. Their output is judgment — assessments, plans, and verdicts. Only executor changes files, and it does so against a scope set during planning rather than open-ended.
executor
architect
planner
critic
How they map onto the loop
The role agents map onto the workflow loop:
- planner turns intent into an ordered plan with explicit acceptance criteria during
deep-interview/ralplan. - critic pressure-tests that plan, returning
OKAY,ITERATE, orREJECTbefore any mutation begins. - executor carries the approved work out under
ultragoal, keeping diffs small and leaving evidence. - architect is a fixed consensus step inside the
ralplanloop (planner → architect → critic) that runs during planning, before any mutation. It gives a read-only architecture and design assessment of the proposed approach —CLEAR/WATCH/BLOCKplusAPPROVE/COMMENT/REQUEST CHANGES— not a post-executor review.
Parallel runs of these roles can be coordinated with team.
Read-only versus write
The split is the point. Planning, critique, and review are isolated from mutation so a plan is pressure-tested before any file changes, and a change is reviewed without the reviewer being able to "just fix it." When you delegate, pick the narrowest role that fits: a read-only role to assess or plan, executor only when something must actually change.