# Individual agents: ALZ-F01 Discovery CP1 Discovery as eight separate declarative KAB agents chained by the workflow, cp4-agents style. Its counterpart, `../../sub-agents/ALZ-F01: Discovery Workflow Agent/`, is the sub-agent pattern. **Keep the two patterns apart:** never copy `app/`, sub-agents or workspace code into this folder, and never merge their ADRs. @.agents/CONTEXT.md @.agents/PLAN.md Each agent folder has its own `CLAUDE.md` and `.agents/CONTEXT.md`. Repository-wide rules are in `../../CLAUDE.md`. ## Commands (from this folder) ```sh python3 ../../scripts/check_agents.py --runtime-image cruciblecoredevacr.azurecr.io/kab/agent-runtime-adk:0.35.7 cp1-*/ python3 scripts/build_workflow.py # after any schemas/ change; it asserts every from_steps field exists (cd ../.. && python3 scripts/render_k8s.py deploy/crucible-kab-dev.yaml && kustomize build build/crucible-kab-dev/) ``` ## Rules - **Declarative agents only:** no `app/`, functions or hooks. The shared `check_agents.py` refuses an `app/` to any agent that declares none of them. Don't relax it. - **The agent folders were generated** by `scripts/scaffold_from_stories.py`. Edit a folder directly, or change the script and regenerate. Regenerating rewrites whole folders, so review the diff afterwards. - **Keep `repo: cp1-agents-individual`** on these agents in `../../deploy/`. The label is part of each Deployment's selector. - **A change to an original requirement** needs three things: an ADR in `docs/adr/`, a link to it from each affected agent's `docs/adr/README.md`, and a step in `.agents/PLAN.md`.