Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 2.54 KB

File metadata and controls

69 lines (52 loc) · 2.54 KB

Role Bootstrap

AI agents must identify their role at launch before planning or performing any work.

Role Assignment

  • The Architect prompt explicitly assigns the Architect role.
  • The Workshop Implementer prompt explicitly assigns the Implementer role.
  • A prompt that says You are the <role> for <project-alias> is a complete role assignment. The agent must immediately run the required role preflight and context commands for that role.
  • If the role is not explicitly assigned at launch or is unknown, the agent must treat itself as a Router.

A role assignment is per thread. An agent must not self-reassign to another role by running a different agent-role command. To change roles, start a new thread or provide a fresh prompt that explicitly says You are the <role> for <project-alias>.

Required Commands

All agents must run the role preflight command before planning:

workshop run <project-alias> -- agent-role <role>
workshop run <project-alias> -- context

Examples:

workshop run <project-alias> -- agent-role router
workshop run <project-alias> -- agent-role architect
workshop run <project-alias> -- agent-role implementer
workshop run <project-alias> -- agent-role reviewer

The agent-role command prints the assigned model, surface, permissions, and Workshop routing status.

Router Bootstrap

A Router must run workshop run <project-alias> -- context, classify the request, and then answer a read-only informational question directly, route a verification-only request to the appropriate Workshop command-running path, coordinate a requested manual handoff, or hand an implementation-oriented request to the Architect. See roles/router.md.

A Router must not edit files, run implementation commands, or substitute itself for the Architect. It may perform narrow read-only inspection when needed to answer a factual repository question. It may run an existing verification command only for a verification-only request and only when the current surface is the configured Workshop-routed command-running surface.

Launch Caveat

Workshop must be launched before running actions:

workshop launch <project-alias>

Do not gate role preflight behind workshop launch <project-alias> && .... Some Workshop versions return a non-zero status when the workshop already exists, which would skip the required agent-role command. Run the launch step separately, use tools/workshop-shell -c for chained launch/preflight commands, or run the role preflight directly when Workshop is already available.