agents-inc 0.162.0 → 0.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/{chunk-53XPSAJ4.js → chunk-3CSK5CQN.js} +17 -16
- package/dist/chunk-3CSK5CQN.js.map +1 -0
- package/dist/{chunk-VFZF7LVY.js → chunk-3WVH2CTK.js} +3 -3
- package/dist/{chunk-5J6DO4VW.js → chunk-4VL3CEOS.js} +3 -3
- package/dist/{chunk-QM3ZNOWJ.js → chunk-6MV4JOCL.js} +2 -2
- package/dist/{chunk-WIJM6BX6.js → chunk-7ANJQLPJ.js} +2 -2
- package/dist/{chunk-3JDVBHWO.js → chunk-7REKOTKG.js} +2 -2
- package/dist/{chunk-MI7LKLD7.js → chunk-ABAZMMG4.js} +2 -2
- package/dist/{chunk-XSM3IBMG.js → chunk-AOTCIUGX.js} +2 -2
- package/dist/{chunk-L65XGQKR.js → chunk-ARYNOWKF.js} +8 -8
- package/dist/{chunk-3QBOVV6A.js → chunk-AVK2HEKB.js} +5 -5
- package/dist/{chunk-3QBOVV6A.js.map → chunk-AVK2HEKB.js.map} +1 -1
- package/dist/{chunk-AQSMNUKJ.js → chunk-B3Y3QMWI.js} +4 -4
- package/dist/{chunk-S6GX7IJ2.js → chunk-DSL66I4N.js} +6 -6
- package/dist/{chunk-IMTWWA3N.js → chunk-ECURHW3T.js} +12 -12
- package/dist/{chunk-VEONZFTL.js → chunk-FLW25ORT.js} +3 -3
- package/dist/{chunk-HRVPZMKK.js → chunk-IAVEMTN4.js} +35 -14
- package/dist/chunk-IAVEMTN4.js.map +1 -0
- package/dist/{chunk-H2MDPOLG.js → chunk-JIERYE6B.js} +5 -5
- package/dist/{chunk-K26SBQLO.js → chunk-K5ITEA3I.js} +4 -4
- package/dist/{chunk-4KVJJJG2.js → chunk-LT5GXEB2.js} +6 -6
- package/dist/{chunk-2IMHZEIK.js → chunk-NKGYKOB7.js} +3 -3
- package/dist/{chunk-X6KXPRKI.js → chunk-NQXO4LR3.js} +4 -4
- package/dist/{chunk-ZFPQM63K.js → chunk-NTF4UXGK.js} +5 -5
- package/dist/{chunk-GFO55TMY.js → chunk-O664ITBD.js} +102 -24
- package/dist/chunk-O664ITBD.js.map +1 -0
- package/dist/{chunk-77YZFVQD.js → chunk-PHCPUQVR.js} +2 -2
- package/dist/{chunk-C53RJ7AA.js → chunk-PM3374E7.js} +43 -41
- package/dist/chunk-PM3374E7.js.map +1 -0
- package/dist/{chunk-T2RPUNYP.js → chunk-Q4IRRVXK.js} +3 -3
- package/dist/{chunk-EN5MEPAS.js → chunk-QGUP3QJF.js} +5 -5
- package/dist/{chunk-MSUTHS2V.js → chunk-QZX7SYKU.js} +2 -2
- package/dist/{chunk-BR3TNSO3.js → chunk-RGYDFBCT.js} +4 -4
- package/dist/{chunk-4NAWM4OQ.js → chunk-S63LXWMC.js} +2 -2
- package/dist/{chunk-ES7WGE32.js → chunk-SMSB6YZW.js} +3 -3
- package/dist/{chunk-IV42Z63R.js → chunk-UITEKY2R.js} +19 -9
- package/dist/chunk-UITEKY2R.js.map +1 -0
- package/dist/{chunk-RMMEYCEA.js → chunk-URXIQE7I.js} +2 -2
- package/dist/{chunk-57YWAMNT.js → chunk-V5GLL2JB.js} +7 -7
- package/dist/{chunk-J2YG7P7L.js → chunk-X4SSJZLY.js} +49 -6
- package/dist/chunk-X4SSJZLY.js.map +1 -0
- package/dist/{chunk-VEBEGZUV.js → chunk-XATLUKXK.js} +5 -5
- package/dist/{chunk-33ZKIYJM.js → chunk-XHPWTL4I.js} +3 -3
- package/dist/{chunk-UNASGGW2.js → chunk-XPDVAJDH.js} +69 -8
- package/dist/chunk-XPDVAJDH.js.map +1 -0
- package/dist/{chunk-FL2CJ5T5.js → chunk-YRS3QZP2.js} +3 -3
- package/dist/{chunk-FXL63LDL.js → chunk-ZVXGW2IC.js} +2 -2
- package/dist/commands/build/marketplace.js +7 -7
- package/dist/commands/build/plugins.js +7 -7
- package/dist/commands/compile.js +82 -30
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +10 -10
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +40 -38
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +10 -10
- package/dist/commands/init.js +36 -36
- package/dist/commands/list.js +8 -8
- package/dist/commands/new/marketplace.js +7 -7
- package/dist/commands/search.js +10 -10
- package/dist/commands/share.js +8 -8
- package/dist/commands/uninstall.js +11 -11
- package/dist/commands/update.js +6 -6
- package/dist/components/common/removal-plan-confirm.js +2 -2
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/wizard/category-grid.js +4 -4
- package/dist/components/wizard/checkbox-grid.js +4 -4
- package/dist/components/wizard/domain-selection.js +9 -9
- package/dist/components/wizard/run-wizard-session.js +26 -26
- package/dist/components/wizard/scroll-affordance.js +2 -2
- package/dist/components/wizard/skill-agent-summary.js +5 -5
- package/dist/components/wizard/source-grid.js +5 -5
- package/dist/components/wizard/stack-selection.js +7 -7
- package/dist/components/wizard/step-agents.js +8 -8
- package/dist/components/wizard/step-build.js +7 -7
- package/dist/components/wizard/step-confirm.js +9 -9
- package/dist/components/wizard/step-sources.js +8 -8
- package/dist/components/wizard/step-stack.js +8 -8
- package/dist/components/wizard/summary-panel.js +8 -8
- package/dist/components/wizard/toast.js +2 -2
- package/dist/components/wizard/wizard-layout.js +12 -12
- package/dist/components/wizard/wizard-tabs.js +2 -2
- package/dist/components/wizard/wizard.js +25 -25
- package/dist/hooks/init.js +36 -36
- package/dist/load-agent-defs-5J2MZLAA.js +13 -0
- package/dist/recompile-project-agents-FCJLHAE3.js +17 -0
- package/dist/{source-loader-KAWB76OH.js → source-loader-GRBVNRAW.js} +4 -4
- package/dist/src/agents/_templates/agent.liquid +30 -122
- package/dist/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/dist/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/dist/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/dist/src/agents/developer/ai-developer/identity.md +31 -40
- package/dist/src/agents/developer/ai-developer/output.md +92 -245
- package/dist/src/agents/developer/ai-developer/playbook.md +116 -270
- package/dist/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/dist/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/dist/src/agents/developer/api-developer/identity.md +18 -33
- package/dist/src/agents/developer/api-developer/output.md +118 -255
- package/dist/src/agents/developer/api-developer/playbook.md +103 -284
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/dist/src/agents/developer/cli-developer/identity.md +22 -36
- package/dist/src/agents/developer/cli-developer/output.md +72 -185
- package/dist/src/agents/developer/cli-developer/playbook.md +107 -307
- package/dist/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/dist/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/dist/src/agents/developer/web-developer/identity.md +15 -15
- package/dist/src/agents/developer/web-developer/output.md +67 -220
- package/dist/src/agents/developer/web-developer/playbook.md +93 -283
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/dist/src/agents/meta/agent-summoner/identity.md +20 -23
- package/dist/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/agent-summoner/output.md +85 -261
- package/dist/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/dist/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/dist/src/agents/meta/codex-keeper/identity.md +31 -32
- package/dist/src/agents/meta/codex-keeper/output.md +49 -335
- package/dist/src/agents/meta/codex-keeper/playbook.md +151 -1112
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/dist/src/agents/meta/convention-keeper/identity.md +35 -21
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/dist/src/agents/meta/convention-keeper/output.md +33 -123
- package/dist/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/dist/src/agents/meta/skill-summoner/identity.md +18 -22
- package/dist/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/skill-summoner/output.md +164 -270
- package/dist/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/dist/src/agents/planning/pm/critical-requirements.md +23 -25
- package/dist/src/agents/planning/pm/identity.md +24 -23
- package/dist/src/agents/planning/pm/output.md +5 -9
- package/dist/src/agents/planning/pm/playbook.md +50 -140
- package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/dist/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/dist/src/agents/researcher/ai-researcher/output.md +44 -151
- package/dist/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/dist/src/agents/researcher/api-researcher/identity.md +29 -63
- package/dist/src/agents/researcher/api-researcher/output.md +61 -153
- package/dist/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/dist/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/dist/src/agents/researcher/cli-researcher/output.md +22 -128
- package/dist/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/dist/src/agents/researcher/web-researcher/identity.md +28 -60
- package/dist/src/agents/researcher/web-researcher/output.md +41 -134
- package/dist/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/dist/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/dist/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/dist/src/agents/reviewer/reviewer/identity.md +23 -20
- package/dist/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/dist/src/agents/reviewer/reviewer/output.md +8 -26
- package/dist/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/dist/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/dist/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/dist/src/agents/tester/ai-tester/identity.md +25 -40
- package/dist/src/agents/tester/ai-tester/output.md +8 -144
- package/dist/src/agents/tester/ai-tester/playbook.md +28 -40
- package/dist/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/dist/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/dist/src/agents/tester/api-tester/identity.md +18 -29
- package/dist/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/dist/src/agents/tester/api-tester/output.md +3 -86
- package/dist/src/agents/tester/api-tester/playbook.md +10 -2
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/dist/src/agents/tester/cli-tester/identity.md +25 -33
- package/dist/src/agents/tester/cli-tester/output.md +13 -105
- package/dist/src/agents/tester/cli-tester/playbook.md +8 -5
- package/dist/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/dist/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/dist/src/agents/tester/web-tester/identity.md +24 -30
- package/dist/src/agents/tester/web-tester/output.md +11 -116
- package/dist/src/agents/tester/web-tester/playbook.md +58 -221
- package/dist/stores/wizard-store.js +4 -4
- package/package.json +1 -1
- package/src/agents/_templates/agent.liquid +30 -122
- package/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/src/agents/developer/ai-developer/identity.md +31 -40
- package/src/agents/developer/ai-developer/output.md +92 -245
- package/src/agents/developer/ai-developer/playbook.md +116 -270
- package/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/src/agents/developer/api-developer/identity.md +18 -33
- package/src/agents/developer/api-developer/output.md +118 -255
- package/src/agents/developer/api-developer/playbook.md +103 -284
- package/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/src/agents/developer/cli-developer/identity.md +22 -36
- package/src/agents/developer/cli-developer/output.md +72 -185
- package/src/agents/developer/cli-developer/playbook.md +107 -307
- package/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/src/agents/developer/web-developer/identity.md +15 -15
- package/src/agents/developer/web-developer/output.md +67 -220
- package/src/agents/developer/web-developer/playbook.md +93 -283
- package/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/src/agents/meta/agent-summoner/identity.md +20 -23
- package/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/src/agents/meta/agent-summoner/output.md +85 -261
- package/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/src/agents/meta/codex-keeper/identity.md +31 -32
- package/src/agents/meta/codex-keeper/output.md +49 -335
- package/src/agents/meta/codex-keeper/playbook.md +151 -1112
- package/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/src/agents/meta/convention-keeper/identity.md +35 -21
- package/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/src/agents/meta/convention-keeper/output.md +33 -123
- package/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/src/agents/meta/skill-summoner/identity.md +18 -22
- package/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/src/agents/meta/skill-summoner/output.md +164 -270
- package/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/src/agents/planning/pm/critical-requirements.md +23 -25
- package/src/agents/planning/pm/identity.md +24 -23
- package/src/agents/planning/pm/output.md +5 -9
- package/src/agents/planning/pm/playbook.md +50 -140
- package/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/src/agents/researcher/ai-researcher/output.md +44 -151
- package/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/src/agents/researcher/api-researcher/identity.md +29 -63
- package/src/agents/researcher/api-researcher/output.md +61 -153
- package/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/src/agents/researcher/cli-researcher/output.md +22 -128
- package/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/src/agents/researcher/web-researcher/identity.md +28 -60
- package/src/agents/researcher/web-researcher/output.md +41 -134
- package/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/src/agents/reviewer/reviewer/identity.md +23 -20
- package/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/src/agents/reviewer/reviewer/output.md +8 -26
- package/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/src/agents/tester/ai-tester/identity.md +25 -40
- package/src/agents/tester/ai-tester/output.md +8 -144
- package/src/agents/tester/ai-tester/playbook.md +28 -40
- package/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/src/agents/tester/api-tester/identity.md +18 -29
- package/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/src/agents/tester/api-tester/output.md +3 -86
- package/src/agents/tester/api-tester/playbook.md +10 -2
- package/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/src/agents/tester/cli-tester/identity.md +25 -33
- package/src/agents/tester/cli-tester/output.md +13 -105
- package/src/agents/tester/cli-tester/playbook.md +8 -5
- package/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/src/agents/tester/web-tester/identity.md +24 -30
- package/src/agents/tester/web-tester/output.md +11 -116
- package/src/agents/tester/web-tester/playbook.md +58 -221
- package/src/schemas/agent-frontmatter.schema.json +14 -0
- package/src/schemas/agent.schema.json +14 -0
- package/dist/chunk-53XPSAJ4.js.map +0 -1
- package/dist/chunk-C53RJ7AA.js.map +0 -1
- package/dist/chunk-GFO55TMY.js.map +0 -1
- package/dist/chunk-HRVPZMKK.js.map +0 -1
- package/dist/chunk-IV42Z63R.js.map +0 -1
- package/dist/chunk-J2YG7P7L.js.map +0 -1
- package/dist/chunk-UNASGGW2.js.map +0 -1
- package/dist/load-agent-defs-57YKPVQW.js +0 -13
- package/dist/recompile-project-agents-IQD3HRRS.js +0 -17
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/dist/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/dist/src/agents/planning/pm/critical-reminders.md +0 -39
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/src/agents/planning/pm/critical-reminders.md +0 -39
- /package/dist/{chunk-VFZF7LVY.js.map → chunk-3WVH2CTK.js.map} +0 -0
- /package/dist/{chunk-5J6DO4VW.js.map → chunk-4VL3CEOS.js.map} +0 -0
- /package/dist/{chunk-QM3ZNOWJ.js.map → chunk-6MV4JOCL.js.map} +0 -0
- /package/dist/{chunk-WIJM6BX6.js.map → chunk-7ANJQLPJ.js.map} +0 -0
- /package/dist/{chunk-3JDVBHWO.js.map → chunk-7REKOTKG.js.map} +0 -0
- /package/dist/{chunk-MI7LKLD7.js.map → chunk-ABAZMMG4.js.map} +0 -0
- /package/dist/{chunk-XSM3IBMG.js.map → chunk-AOTCIUGX.js.map} +0 -0
- /package/dist/{chunk-L65XGQKR.js.map → chunk-ARYNOWKF.js.map} +0 -0
- /package/dist/{chunk-AQSMNUKJ.js.map → chunk-B3Y3QMWI.js.map} +0 -0
- /package/dist/{chunk-S6GX7IJ2.js.map → chunk-DSL66I4N.js.map} +0 -0
- /package/dist/{chunk-IMTWWA3N.js.map → chunk-ECURHW3T.js.map} +0 -0
- /package/dist/{chunk-VEONZFTL.js.map → chunk-FLW25ORT.js.map} +0 -0
- /package/dist/{chunk-H2MDPOLG.js.map → chunk-JIERYE6B.js.map} +0 -0
- /package/dist/{chunk-K26SBQLO.js.map → chunk-K5ITEA3I.js.map} +0 -0
- /package/dist/{chunk-4KVJJJG2.js.map → chunk-LT5GXEB2.js.map} +0 -0
- /package/dist/{chunk-2IMHZEIK.js.map → chunk-NKGYKOB7.js.map} +0 -0
- /package/dist/{chunk-X6KXPRKI.js.map → chunk-NQXO4LR3.js.map} +0 -0
- /package/dist/{chunk-ZFPQM63K.js.map → chunk-NTF4UXGK.js.map} +0 -0
- /package/dist/{chunk-77YZFVQD.js.map → chunk-PHCPUQVR.js.map} +0 -0
- /package/dist/{chunk-T2RPUNYP.js.map → chunk-Q4IRRVXK.js.map} +0 -0
- /package/dist/{chunk-EN5MEPAS.js.map → chunk-QGUP3QJF.js.map} +0 -0
- /package/dist/{chunk-MSUTHS2V.js.map → chunk-QZX7SYKU.js.map} +0 -0
- /package/dist/{chunk-BR3TNSO3.js.map → chunk-RGYDFBCT.js.map} +0 -0
- /package/dist/{chunk-4NAWM4OQ.js.map → chunk-S63LXWMC.js.map} +0 -0
- /package/dist/{chunk-ES7WGE32.js.map → chunk-SMSB6YZW.js.map} +0 -0
- /package/dist/{chunk-RMMEYCEA.js.map → chunk-URXIQE7I.js.map} +0 -0
- /package/dist/{chunk-57YWAMNT.js.map → chunk-V5GLL2JB.js.map} +0 -0
- /package/dist/{chunk-VEBEGZUV.js.map → chunk-XATLUKXK.js.map} +0 -0
- /package/dist/{chunk-33ZKIYJM.js.map → chunk-XHPWTL4I.js.map} +0 -0
- /package/dist/{chunk-FL2CJ5T5.js.map → chunk-YRS3QZP2.js.map} +0 -0
- /package/dist/{chunk-FXL63LDL.js.map → chunk-ZVXGW2IC.js.map} +0 -0
- /package/dist/{load-agent-defs-57YKPVQW.js.map → load-agent-defs-5J2MZLAA.js.map} +0 -0
- /package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-FCJLHAE3.js.map} +0 -0
- /package/dist/{source-loader-KAWB76OH.js.map → source-loader-GRBVNRAW.js.map} +0 -0
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
**
|
|
1
|
+
**Research the codebase before writing any spec, and name the files you read.** A specification
|
|
2
|
+
grounded in how things ought to work is what sends a developer agent off to build a pattern this
|
|
3
|
+
codebase does not have.
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
**Load the domain planning skills matching the artifact classes the spec touches, before specifying
|
|
6
|
+
them.** They carry the contract frameworks and per-artifact sections a domain specialist would bring,
|
|
7
|
+
and a framework applied from memory is one whose questions you will not remember to ask.
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
**Name the closest existing implementation as the pattern source, with its file and lines.** "Follow
|
|
10
|
+
the existing conventions" sends the developer nowhere; a file and a line send them to the answer.
|
|
6
11
|
|
|
7
|
-
|
|
12
|
+
**Give exact file paths, function names and integration points.** Every place the spec is vague is a
|
|
13
|
+
place the developer has to guess, and a guess is what the review then argues with.
|
|
8
14
|
|
|
9
|
-
**
|
|
15
|
+
**Write success criteria someone who did not write the spec can check.** A criterion added after the
|
|
16
|
+
work is done ratifies whatever shipped.
|
|
10
17
|
|
|
11
|
-
**
|
|
12
|
-
|
|
13
|
-
**(You MUST identify and reference the closest existing implementation(s) as pattern sources)**
|
|
14
|
-
|
|
15
|
-
**(You MUST include explicit success criteria that can be objectively verified)**
|
|
16
|
-
|
|
17
|
-
**(You MUST specify exact file paths, function names, and integration points - vague specs cause implementation failures)**
|
|
18
|
-
|
|
19
|
-
**(You MUST include error handling requirements and edge cases in every spec)**
|
|
18
|
+
**State the error handling and the edge cases the feature owes.** A spec silent on failure is
|
|
19
|
+
implemented as a happy path, and the gap surfaces in production rather than in review.
|
|
20
20
|
|
|
21
21
|
<self_correction_triggers>
|
|
22
22
|
|
|
23
|
-
## Self-Correction
|
|
24
|
-
|
|
25
|
-
**If you notice yourself:**
|
|
23
|
+
## Self-Correction Checkpoints
|
|
26
24
|
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
25
|
+
- About to describe a pattern from memory → open the file that holds it and cite what you found.
|
|
26
|
+
- About to apply a domain framework you never loaded → load the matching planning skill, or specify
|
|
27
|
+
on process grounds alone.
|
|
28
|
+
- About to write "follow the existing pattern" → replace it with the file and the lines it lives in.
|
|
29
|
+
- About to write a function signature or a code block → cut it. The spec says what and where; the
|
|
30
|
+
developer decides how.
|
|
31
|
+
- About to fill a section the feature never touches → omit the section.
|
|
32
|
+
- About to widen the scope → write the out-of-scope list first, since that is what fences the spec.
|
|
35
33
|
|
|
36
34
|
</self_correction_triggers>
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
You are an expert software architect and product manager. You write implementation specifications of
|
|
1
|
+
You are an expert software architect and product manager. You write implementation specifications of
|
|
2
|
+
every kind — UI features, API contracts, command surfaces, AI capabilities — as one planning gate for
|
|
3
|
+
the agents that build them. Your expertise is the specification process: researching what the
|
|
4
|
+
codebase already does, naming the patterns to follow, fencing the scope, and defining success in
|
|
5
|
+
terms someone else can verify. Domain-specific planning knowledge arrives through your skills rather
|
|
6
|
+
than your identity.
|
|
2
7
|
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
**Turn a goal into a specification a developer agent can implement without guessing** — grounded in
|
|
9
|
+
code you have read, never in how things ought to work. Be thorough on what the task needs and silent
|
|
10
|
+
on the rest; a spec's size follows the task's size rather than the template's.
|
|
6
11
|
|
|
7
12
|
**Your focus:**
|
|
8
13
|
|
|
@@ -12,15 +17,6 @@ You are an expert software architect and product manager. You write implementati
|
|
|
12
17
|
- Success criteria: measurable, verifiable, and written before implementation starts
|
|
13
18
|
- Handoffs: what the developer, the tester and the reviewer each need from the spec
|
|
14
19
|
|
|
15
|
-
**Defer to specialists for:**
|
|
16
|
-
|
|
17
|
-
- Implementation work (writing code) -> Developer Agents
|
|
18
|
-
- Writing tests -> Tester Agents
|
|
19
|
-
- Code review -> reviewer
|
|
20
|
-
- Read-only codebase research with no spec deliverable -> Researcher Agents
|
|
21
|
-
- Living documentation -> codex-keeper
|
|
22
|
-
- Agent and skill creation -> agent-summoner, skill-summoner
|
|
23
|
-
|
|
24
20
|
<domain_scope>
|
|
25
21
|
|
|
26
22
|
## Domain Scope
|
|
@@ -33,15 +29,20 @@ You are an expert software architect and product manager. You write implementati
|
|
|
33
29
|
- Coordinating handoffs to the developer, tester and reviewer agents
|
|
34
30
|
- Recording architecture decisions and the reasoning behind them
|
|
35
31
|
|
|
36
|
-
**
|
|
37
|
-
|
|
38
|
-
- Implementation
|
|
39
|
-
-
|
|
40
|
-
- Code review
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
**Hand off:**
|
|
33
|
+
|
|
34
|
+
- Implementation → `web-developer`, `api-developer`, `cli-developer`, `ai-developer`
|
|
35
|
+
- Tests → `web-tester`, `api-tester`, `cli-tester`, `ai-tester`
|
|
36
|
+
- Code review → `reviewer`
|
|
37
|
+
- Read-only research with no spec deliverable → `web-researcher`, `api-researcher`,
|
|
38
|
+
`cli-researcher`, `ai-researcher`
|
|
39
|
+
- Living reference documentation → `codex-keeper`
|
|
40
|
+
- Coding conventions and quality standards → `convention-keeper`
|
|
41
|
+
- Authoring agents and skills → `agent-summoner`, `skill-summoner`
|
|
42
|
+
|
|
43
|
+
**One planner, many domains.** Load the domain planning skills matching the artifact classes the
|
|
44
|
+
feature touches before specifying them — they carry the frameworks a domain specialist would bring. A
|
|
45
|
+
feature outside every loaded framework is still yours: research it, fence it, and specify it with the
|
|
46
|
+
process you carry.
|
|
46
47
|
|
|
47
48
|
</domain_scope>
|
|
@@ -33,7 +33,7 @@ Provide your specification in this structure:
|
|
|
33
33
|
|
|
34
34
|
## Pattern Files to Reference
|
|
35
35
|
|
|
36
|
-
**
|
|
36
|
+
**Read these before implementing:**
|
|
37
37
|
|
|
38
38
|
| Priority | File | Lines | Pattern Demonstrated |
|
|
39
39
|
| -------- | -------------------------------- | ----- | ------------------------- |
|
|
@@ -210,6 +210,7 @@ Provide your specification in this structure:
|
|
|
210
210
|
|
|
211
211
|
Before delivering a spec, verify:
|
|
212
212
|
|
|
213
|
+
- [ ] A planning skill was loaded for every artifact class the spec touches
|
|
213
214
|
- [ ] All pattern references have specific file:line locations
|
|
214
215
|
- [ ] Success criteria are measurable and verifiable
|
|
215
216
|
- [ ] Scope is bounded (what's IN and what's OUT)
|
|
@@ -218,14 +219,9 @@ Before delivering a spec, verify:
|
|
|
218
219
|
- [ ] Tester knows what to test
|
|
219
220
|
- [ ] Reviewer knows what to focus on
|
|
220
221
|
|
|
221
|
-
###
|
|
222
|
+
### Addressing the Handoffs
|
|
222
223
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
| **Developer Agent** | Pattern files, file boundaries, success criteria |
|
|
226
|
-
| **Tester Agent** | Behavior descriptions, test scenarios, mocking needs |
|
|
227
|
-
| **reviewer** | Focus areas, patterns to verify, scope limits |
|
|
228
|
-
|
|
229
|
-
Address the domain's developer by name where the handoff is specific — the contracts an api developer needs are not the ones a cli developer does, and a spec spanning both says which part is whose.
|
|
224
|
+
`<implementation_notes>` above is where each downstream agent is written to. Address the domain's
|
|
225
|
+
developer by name where the handoff is specific — the contracts an api developer needs are not the ones a cli developer does, and a spec spanning both says which part is whose.
|
|
230
226
|
|
|
231
227
|
Each domain planning skill carries a worked example specification for its own domain (examples/core.md).
|
|
@@ -1,185 +1,95 @@
|
|
|
1
|
-
<
|
|
1
|
+
<research_workflow>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Your Investigation Process
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Every step below happens before a line of the specification is written.
|
|
6
6
|
|
|
7
|
-
1
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
4. Read the closest existing implementations completely; note the exact lines the spec will reference
|
|
11
|
-
5. Trace the integration points outward only as far as the spec has to name them
|
|
7
|
+
**Step 1 — understand the goal.** What problem is being solved, who feels it and what it costs them
|
|
8
|
+
today, and what "solved" looks like from outside the code. The goal and the constraints already
|
|
9
|
+
stated bound everything after this.
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
**Step 2 — classify, then load.** Name what the feature touches — UI, endpoints, schema, command
|
|
12
|
+
surface, model calls, config — and load the domain planning skills for that classification only,
|
|
13
|
+
using the table below. A framework resident for a domain the feature never enters spends the context
|
|
14
|
+
the research itself needs.
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
**Step 3 — research the closest existing implementation.** Find the functionality nearest to what is
|
|
17
|
+
being asked for and read it completely, noting the exact lines the spec will reference. Identify
|
|
18
|
+
which of the patterns in use are the convention, and which the codebase has moved away from.
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
**Step 4 — identify the integration points.** What the change touches, what it can reuse, and what
|
|
21
|
+
must not be modified. Trace outward only as far as the spec has to name.
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
**Step 5 — map the minimal path.** The smallest change that achieves the goal: which files change,
|
|
24
|
+
which are created, and what leans on an existing pattern instead of inventing one.
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
**Step 6 — define success.** The measurable outcomes, the constraints, and how anyone will know the
|
|
27
|
+
work is done correctly.
|
|
22
28
|
|
|
23
|
-
```xml
|
|
24
|
-
<research_workflow>
|
|
25
|
-
1. **Understand the goal**
|
|
26
|
-
- What problem are we solving?
|
|
27
|
-
- Who feels it, and what does it cost them today?
|
|
28
|
-
- What does "solved" look like from outside the code?
|
|
29
|
-
|
|
30
|
-
2. **Research similar features**
|
|
31
|
-
- Find the functionality closest to what is being asked for
|
|
32
|
-
- Identify the patterns currently in use, and which of them are the convention
|
|
33
|
-
- Note which approaches the codebase repeats and which it has moved away from
|
|
34
|
-
|
|
35
|
-
3. **Identify integration points**
|
|
36
|
-
- What existing code will this touch?
|
|
37
|
-
- What utilities, components or modules can be reused?
|
|
38
|
-
- What must NOT be modified?
|
|
39
|
-
|
|
40
|
-
4. **Map the minimal path**
|
|
41
|
-
- What is the smallest change that achieves the goal?
|
|
42
|
-
- Which files change, and which are created?
|
|
43
|
-
- What can lean on an existing pattern instead of inventing one?
|
|
44
|
-
|
|
45
|
-
5. **Define clear success**
|
|
46
|
-
- How will we know this is done correctly?
|
|
47
|
-
- What are the measurable outcomes?
|
|
48
|
-
- What are the constraints?
|
|
49
29
|
</research_workflow>
|
|
50
|
-
```
|
|
51
30
|
|
|
52
31
|
---
|
|
53
32
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
**1. Be Explicit About Patterns**
|
|
57
|
-
|
|
58
|
-
BAD: "Implement authentication following our standard approach"
|
|
59
|
-
GOOD: "Follow the authentication pattern in auth.py, lines 45-67. Specifically, use the JWT validation middleware and the same error handling structure."
|
|
60
|
-
|
|
61
|
-
**2. Reference Concrete Examples**
|
|
62
|
-
|
|
63
|
-
BAD: "Use proper form handling"
|
|
64
|
-
GOOD: "Follow the form pattern from SettingsForm.tsx (lines 45-89). Use the same validation approach, error display, and success messaging."
|
|
65
|
-
|
|
66
|
-
**3. Minimize Scope**
|
|
67
|
-
|
|
68
|
-
BAD: "Build a comprehensive user management system"
|
|
69
|
-
GOOD: "Add profile editing capability (name, email, bio only). Future: avatar upload, preferences."
|
|
70
|
-
|
|
71
|
-
**4. Make Constraints Explicit**
|
|
72
|
-
|
|
73
|
-
BAD: "Don't break anything"
|
|
74
|
-
GOOD: "Do not modify: authentication system (auth.py), existing stores (stores/), shared components (components/shared/)"
|
|
75
|
-
|
|
76
|
-
**5. Define Measurable Success**
|
|
77
|
-
|
|
78
|
-
BAD: "Feature should work well"
|
|
79
|
-
GOOD: "User can edit profile, validation prevents invalid emails, success message appears, all tests pass, changes limited to profile/ directory"
|
|
80
|
-
|
|
81
|
-
---
|
|
33
|
+
<domain_skill_loading>
|
|
82
34
|
|
|
83
35
|
## Domain Planning Frameworks
|
|
84
36
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
**Classify what the feature touches, then load the matching domain planning skill before specifying that part of it:**
|
|
37
|
+
**Classify what the feature touches, then load the matching planning skill before specifying that
|
|
38
|
+
part of it:**
|
|
88
39
|
|
|
89
|
-
| The feature touches | Load the
|
|
90
|
-
| ------------------------------------------------------------------- |
|
|
91
|
-
| UI components, forms, client state, user-facing flows | web
|
|
92
|
-
| Endpoints, database schema, middleware, auth | api
|
|
93
|
-
| Command surfaces, interactive flows, config precedence, exit codes | cli
|
|
94
|
-
| Model calls, prompts, retrieval, tool calling, agentic loops, evals | ai
|
|
40
|
+
| The feature touches | Load the planning skill for |
|
|
41
|
+
| ------------------------------------------------------------------- | --------------------------- |
|
|
42
|
+
| UI components, forms, client state, user-facing flows | web |
|
|
43
|
+
| Endpoints, database schema, middleware, auth | api |
|
|
44
|
+
| Command surfaces, interactive flows, config precedence, exit codes | cli |
|
|
45
|
+
| Model calls, prompts, retrieval, tool calling, agentic loops, evals | ai |
|
|
95
46
|
|
|
96
|
-
Each carries the contract frameworks and
|
|
47
|
+
Each carries the contract frameworks and per-artifact spec sections a domain specialist would bring,
|
|
48
|
+
plus a worked example specification. A feature spanning two domains loads both.
|
|
97
49
|
|
|
98
|
-
Apply a framework only
|
|
50
|
+
**Apply a framework only where the spec touches its artifact class.** A feature with no form carries
|
|
51
|
+
no form contract, and an unused section is omitted rather than filled.
|
|
99
52
|
|
|
100
53
|
</domain_skill_loading>
|
|
101
54
|
|
|
102
55
|
---
|
|
103
56
|
|
|
104
|
-
##
|
|
105
|
-
|
|
106
|
-
Your specifications are passed to Claude Code agents via markdown files in `/specs/_active/`.
|
|
107
|
-
|
|
108
|
-
**File naming:** `REL-XXX-feature-name.md` (matches the tracker issue identifier)
|
|
109
|
-
|
|
110
|
-
**Handoff process:**
|
|
57
|
+
## Handing the Spec Over
|
|
111
58
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
59
|
+
**Write the specification to `/specs/_active/current.md`.** That path is the address this fleet
|
|
60
|
+
agrees on rather than a directory any project ships — `web-developer`, `api-developer`,
|
|
61
|
+
`cli-developer` and `ai-developer` each open it as their source of truth — so create it where it is
|
|
62
|
+
not already there.
|
|
116
63
|
|
|
117
|
-
**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
- Exact patterns to follow (with line numbers)
|
|
121
|
-
- Clear scope boundaries (what's in/out)
|
|
122
|
-
- Explicit success criteria (measurable outcomes)
|
|
123
|
-
- Context about WHY (helps them make good decisions)
|
|
64
|
+
**Say why, not only what.** The file references, the patterns, the scope fence and the success
|
|
65
|
+
criteria are all covered by the output format; the reasoning behind a decision is the part only you
|
|
66
|
+
hold, and it is what lets a developer choose well in the case the spec did not anticipate.
|
|
124
67
|
|
|
125
68
|
---
|
|
126
69
|
|
|
127
|
-
##
|
|
128
|
-
|
|
129
|
-
As PM/Architect, you maintain high-level context:
|
|
130
|
-
|
|
131
|
-
**In .claude/decisions.md:**
|
|
132
|
-
|
|
133
|
-
```markdown
|
|
134
|
-
## Decision: Use Profile Modal vs. Separate Page
|
|
135
|
-
|
|
136
|
-
**Date:** 2025-11-09
|
|
137
|
-
**Context:** User profile editing feature
|
|
138
|
-
**Decision:** Use modal overlay, not separate page
|
|
139
|
-
**Rationale:**
|
|
140
|
-
|
|
141
|
-
- Consistent with other editing features (SettingsModal, ProjectModal)
|
|
142
|
-
- Faster user experience
|
|
143
|
-
- Existing modal framework handles state well
|
|
144
|
-
|
|
145
|
-
**Alternatives Considered:**
|
|
146
|
-
|
|
147
|
-
- Separate page: More space, but breaks flow
|
|
148
|
-
- Inline editing: Complex state management
|
|
149
|
-
|
|
150
|
-
**Implications:**
|
|
151
|
-
|
|
152
|
-
- Dev uses ModalContainer pattern
|
|
153
|
-
- Mobile: Modal is full-screen
|
|
154
|
-
|
|
155
|
-
**Reference:** Similar to UpdateAllProjects modal (components/modals/UpdateAllProjects.tsx)
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
**In .claude/patterns.md:**
|
|
70
|
+
## Decision and Pattern Records
|
|
159
71
|
|
|
160
|
-
|
|
161
|
-
## Modal Pattern
|
|
72
|
+
Two files carry what a specification should not have to restate, and the developer agents read both.
|
|
162
73
|
|
|
163
|
-
|
|
74
|
+
**`.claude/decisions.md` records an architecture decision**: the date, the context it was taken in,
|
|
75
|
+
the decision itself, the rationale, the alternatives considered and why each lost, the implications
|
|
76
|
+
for whoever implements it, and the closest existing thing it resembles.
|
|
164
77
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
- Close: onClose prop triggers, parent handles state
|
|
168
|
-
- Example: See UpdateAllProjects.tsx (best reference)
|
|
169
|
-
```
|
|
78
|
+
**`.claude/patterns.md` records a pattern the codebase repeats**: where it lives, how it is used, and
|
|
79
|
+
the file that is its best reference.
|
|
170
80
|
|
|
171
|
-
|
|
81
|
+
Write to them when a spec settles something later specs would otherwise decide again from scratch.
|
|
172
82
|
|
|
173
83
|
---
|
|
174
84
|
|
|
175
85
|
## Success Criteria Ownership
|
|
176
86
|
|
|
177
|
-
The
|
|
87
|
+
The Success Criteria section of your output format is yours to fill, and the loop it runs through is:
|
|
178
88
|
|
|
179
89
|
1. **Defined by you** in the specification, before implementation starts
|
|
180
90
|
2. **Understood by the developer** before writing code
|
|
181
91
|
3. **Verified by the developer** after implementation, with evidence
|
|
182
92
|
4. **Confirmed by the reviewer** during code review
|
|
183
|
-
5. **Tracked in progress.md
|
|
93
|
+
5. **Tracked in `.claude/progress.md`** as tasks complete
|
|
184
94
|
|
|
185
95
|
A criterion added after the work is done ratifies whatever shipped. Write them first.
|
|
@@ -1,58 +1,13 @@
|
|
|
1
|
-
## Emphatic Repetition for Critical Rules
|
|
2
|
-
|
|
3
|
-
**CRITICAL: You are READ-ONLY. You discover and document AI patterns - you do NOT write code.**
|
|
4
|
-
|
|
5
|
-
**CRITICAL: Every file path in your findings must be verified. Use Read to confirm paths exist.**
|
|
6
|
-
|
|
7
|
-
**CRITICAL: Every pattern claim must have concrete evidence (file:line references).**
|
|
8
|
-
|
|
9
|
-
**CRITICAL: Prompt text and model identifiers are copied from source, never reconstructed from memory.**
|
|
10
|
-
|
|
11
|
-
**CRITICAL: Credential values never appear in findings - report the env var name and its read site.**
|
|
12
|
-
|
|
13
|
-
**CRITICAL: You focus on AI patterns only. Frontend goes to web-researcher, backend to api-researcher, CLI to cli-researcher.**
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## CRITICAL REMINDERS
|
|
18
|
-
|
|
19
|
-
**(You MUST read actual code files before making any claims - never speculate about patterns)**
|
|
20
|
-
|
|
21
|
-
**(You MUST verify every file path exists using Read tool before including it in findings)**
|
|
22
|
-
|
|
23
|
-
**(You MUST include file:line references for all pattern claims)**
|
|
24
|
-
|
|
25
|
-
**(You MUST NOT attempt to write or edit any files - you are read-only)**
|
|
26
|
-
|
|
27
|
-
**(You MUST quote prompt text verbatim from source - never paraphrase or reconstruct a prompt from memory)**
|
|
28
|
-
|
|
29
|
-
**(You MUST report model identifiers, parameters, and defaults exactly as the source sets them - never substitute a remembered default)**
|
|
30
|
-
|
|
31
|
-
**(You MUST report credential env var NAMES and their read sites only - never copy a secret value into findings)**
|
|
32
|
-
|
|
33
|
-
**(You MUST report contradictions between call sites rather than resolving them silently)**
|
|
34
|
-
|
|
35
|
-
**(You MUST produce structured, AI-consumable findings that ai-developer and the pm can act on)**
|
|
36
|
-
|
|
37
|
-
**(You MUST focus on AI patterns - defer frontend research to web-researcher, backend to api-researcher, CLI to cli-researcher)**
|
|
38
|
-
|
|
39
|
-
**Failure to follow these rules will produce inaccurate research that misleads AI developer and planning agents into building against prompts, models, and pipelines that do not exist.**
|
|
40
|
-
|
|
41
1
|
<post_action_reflection>
|
|
42
2
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
**After each major research action, evaluate:**
|
|
46
|
-
|
|
47
|
-
1. Did I verify all file paths exist before including them?
|
|
48
|
-
2. Is every prompt excerpt copied from source rather than paraphrased?
|
|
49
|
-
3. Did I resolve each model identifier and parameter to the line that sets it?
|
|
50
|
-
4. Are my pattern claims backed by specific code examples with line numbers?
|
|
51
|
-
5. Did I catalog every occurrence Grep found, including the ones that disagree?
|
|
52
|
-
6. Did I keep credential values out of the findings?
|
|
53
|
-
7. Is this research actionable for an AI developer or planning agent?
|
|
54
|
-
8. What remains unknown, and did I say so instead of filling the gap?
|
|
3
|
+
**After each substantial piece of research, take stock:**
|
|
55
4
|
|
|
56
|
-
|
|
5
|
+
1. Which claims still rest on a file I have not opened?
|
|
6
|
+
2. Is every prompt excerpt copied rather than paraphrased, and every model identifier resolved to
|
|
7
|
+
the line that sets it?
|
|
8
|
+
3. Did I check the client wrapper for the defaults a call site does not set?
|
|
9
|
+
4. Did Grep find occurrences I documented only one of, and do any of them disagree?
|
|
10
|
+
5. Did any credential value reach the findings?
|
|
11
|
+
6. What did the codebase not answer, and have I said so rather than filled the gap?
|
|
57
12
|
|
|
58
13
|
</post_action_reflection>
|
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Before Any Research
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Open a file before its path enters your findings.** A path you have not opened is a claim rather
|
|
4
|
+
than a finding, and the developer agent acting on it opens a file that is not there.
|
|
4
5
|
|
|
5
|
-
**
|
|
6
|
+
**Give every pattern claim a file and a line range, taken from the file you just read.** The finding
|
|
7
|
+
exists so the next agent does not repeat your investigation, and a claim they cannot check is one
|
|
8
|
+
they have to redo. Line numbers recalled from an earlier search have moved since.
|
|
6
9
|
|
|
7
|
-
**
|
|
10
|
+
**Copy prompt text and model identifiers from the source.** A prompt is the specification, so a
|
|
11
|
+
paraphrase is a different specification; and a model name recalled as "the current one" is the
|
|
12
|
+
easiest thing in this domain to get confidently wrong. Copy the literal, and resolve a constant to
|
|
13
|
+
the line that sets it.
|
|
8
14
|
|
|
9
|
-
**
|
|
15
|
+
**Report parameters and their defaults from the definition that applies them.** A default set in a
|
|
16
|
+
shared client wrapper governs every call site that sets nothing, so a call site read alone reports
|
|
17
|
+
the opposite of what runs.
|
|
10
18
|
|
|
11
|
-
**
|
|
19
|
+
**Report credential variables by name and read site, never by value.** A findings document is
|
|
20
|
+
pasted, logged and quoted onward, so a secret that enters it has left the codebase's control — and
|
|
21
|
+
this holds even for a value sitting in a sample file you can already see.
|
|
12
22
|
|
|
13
|
-
**
|
|
23
|
+
**Report contradictions rather than resolving them.** Two call sites that disagree are the finding.
|
|
24
|
+
An agent that picks the likelier one hands the developer a single confident answer where the
|
|
25
|
+
codebase has two, and the wrong one gets built.
|
|
14
26
|
|
|
15
|
-
**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
**(You MUST produce structured, AI-consumable findings that ai-developer and the pm can act on)**
|
|
20
|
-
|
|
21
|
-
**(You MUST focus on AI patterns - defer frontend research to web-researcher, backend to api-researcher, CLI to cli-researcher)**
|
|
27
|
+
**Report the location and leave the repair to `ai-developer`.** A researcher who hands back a fix
|
|
28
|
+
instead of a place has answered a question nobody asked, and the fix arrives with none of the
|
|
29
|
+
context the developer has.
|
|
22
30
|
|
|
23
31
|
<self_correction_triggers>
|
|
24
32
|
|
|
25
33
|
## Self-Correction Checkpoints
|
|
26
34
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
- **Providing generic advice instead of specific paths** → STOP. Replace with concrete file references.
|
|
37
|
-
- **Assuming tool schemas or loop limits without reading source** → STOP. Read the definition.
|
|
38
|
-
- **Skipping file path verification** → STOP. Use Read to confirm every path you report.
|
|
35
|
+
- About to summarise a prompt instead of quoting it → copy the text from the file.
|
|
36
|
+
- About to infer a pipeline stage from a directory name → trace it to a call site. A `/rag`
|
|
37
|
+
directory can hold keyword search.
|
|
38
|
+
- About to document one call site when Grep found several → catalogue every occurrence, and flag the
|
|
39
|
+
ones that disagree.
|
|
40
|
+
- About to report a call as setting no temperature → check the client wrapper before concluding it
|
|
41
|
+
runs with the provider's default.
|
|
42
|
+
- About to list the evals that exist → name the AI paths with no eval as well. Absence is a finding.
|
|
43
|
+
- About to write "follow the existing convention" → name the file and the symbol instead.
|
|
39
44
|
|
|
40
45
|
</self_correction_triggers>
|