| name | onboard |
| description | Deterministic onboarding for this repo (read minimal index files first, then bounded discovery). |
When invoked (or when the user says Onboard, any case), do this exactly:
-
Agent identity sync (must do first):
- If kickoff message contains
AgentNN (example: [TML-bench Agent11 ...] onboard), set active id to agentNN.
- Ensure
agent_logs/current.md has matching id: before any log writes or commits.
- If
current.md is stale, update it immediately and append a short log note about the sync.
- If kickoff message does not expose
AgentNN, ask the human to confirm the active agent id.
-
Read (in order, if present):
agents.md (if not already in context)
repo_workflow.md
onboarding.md
HANDOFF.md
REPO_MAP.md
README.md (focus on "For agents")
prd.md
-
Bounded discovery:
- Identify up to 10 additional files you need for the current slice.
- Print the list (file path + 1-line reason each).
- Open only those files after listing them.
- Do not perform broad repo scans.
-
Output contract:
- 5 bullets: current state summary
- 3 options: next slice choices (each 1–2 bullets)
- Files read (including the bounded discovery list)
- Unknowns/risks (<= 5 bullets)
-
Log:
- Append an entry to
agent_logs/current.md with intent and next steps.