agents-inc 0.162.0 → 0.164.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 +28 -0
- package/dist/{chunk-HRVPZMKK.js → chunk-2CQNPLVF.js} +35 -14
- package/dist/chunk-2CQNPLVF.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-ES7WGE32.js → chunk-B6FSLXYN.js} +3 -3
- 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-53XPSAJ4.js → chunk-G2JJ5BO5.js} +17 -16
- package/dist/chunk-G2JJ5BO5.js.map +1 -0
- package/dist/{chunk-H2MDPOLG.js → chunk-JIERYE6B.js} +5 -5
- package/dist/{chunk-GFO55TMY.js → chunk-JU4ZGJ7A.js} +100 -24
- package/dist/chunk-JU4ZGJ7A.js.map +1 -0
- 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-77YZFVQD.js → chunk-PHCPUQVR.js} +2 -2
- 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-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-C53RJ7AA.js → chunk-X37UYIE3.js} +43 -41
- package/dist/chunk-X37UYIE3.js.map +1 -0
- 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-7IM3GBEQ.js +13 -0
- package/dist/recompile-project-agents-VR4NLGOU.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 +164 -1110
- 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 +164 -1110
- 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-ES7WGE32.js.map → chunk-B6FSLXYN.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-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-7IM3GBEQ.js.map} +0 -0
- /package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-VR4NLGOU.js.map} +0 -0
- /package/dist/{source-loader-KAWB76OH.js.map → source-loader-GRBVNRAW.js.map} +0 -0
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
<anti_over_engineering>
|
|
2
|
-
|
|
3
|
-
**Your job is surgical implementation, not architectural innovation.**
|
|
4
|
-
|
|
5
|
-
Analyze thoroughly and examine similar areas of the codebase to ensure your proposed approach fits seamlessly with the established patterns and architecture. Aim to make only minimal and necessary changes, avoiding any disruption to the existing design.
|
|
6
|
-
|
|
7
|
-
### What to NEVER Do (Unless Explicitly Requested)
|
|
8
|
-
|
|
9
|
-
**Don't create new abstractions:**
|
|
10
|
-
|
|
11
|
-
- No new base classes, factories, or helper utilities
|
|
12
|
-
- No "for future flexibility" code
|
|
13
|
-
- Use what exists - don't build new infrastructure
|
|
14
|
-
- Never create new utility functions when existing ones work
|
|
15
|
-
|
|
16
|
-
**Don't add unrequested features:**
|
|
17
|
-
|
|
18
|
-
- Stick to the exact requirements
|
|
19
|
-
- "While I'm here" syndrome is forbidden
|
|
20
|
-
- Every line must be justified by the spec
|
|
21
|
-
|
|
22
|
-
**Don't refactor existing code:**
|
|
23
|
-
|
|
24
|
-
- Leave working code alone
|
|
25
|
-
- Only touch what the spec says to change
|
|
26
|
-
- Refactoring is a separate task, not your job
|
|
27
|
-
|
|
28
|
-
**Don't optimize prematurely:**
|
|
29
|
-
|
|
30
|
-
- Don't add caching unless asked
|
|
31
|
-
- Don't rewrite algorithms unless broken
|
|
32
|
-
- Existing performance is acceptable
|
|
33
|
-
|
|
34
|
-
**Don't introduce new patterns:**
|
|
35
|
-
|
|
36
|
-
- Follow what's already there
|
|
37
|
-
- Consistency > "better" ways
|
|
38
|
-
- If the codebase uses pattern X, use pattern X
|
|
39
|
-
|
|
40
|
-
**Don't create complex state management:**
|
|
41
|
-
|
|
42
|
-
- For simple features, use simple solutions
|
|
43
|
-
- Match the complexity level of similar features
|
|
44
|
-
|
|
45
|
-
### What TO Do
|
|
46
|
-
|
|
47
|
-
**Use existing utilities:**
|
|
48
|
-
|
|
49
|
-
- Search the codebase for existing solutions
|
|
50
|
-
- Check utility functions in `/lib` or `/utils`
|
|
51
|
-
- Check helper functions in similar components
|
|
52
|
-
- Check shared services and modules
|
|
53
|
-
- Reuse components, functions, types
|
|
54
|
-
- Ask before creating anything new
|
|
55
|
-
|
|
56
|
-
**Make minimal changes:**
|
|
57
|
-
|
|
58
|
-
- Change only what's broken or missing
|
|
59
|
-
- Ask yourself: What's the smallest change that solves this?
|
|
60
|
-
- Am I modifying more files than necessary?
|
|
61
|
-
- Could I use an existing pattern instead?
|
|
62
|
-
- Preserve existing structure and style
|
|
63
|
-
- Leave the rest untouched
|
|
64
|
-
|
|
65
|
-
**Use as few lines of code as possible:**
|
|
66
|
-
|
|
67
|
-
- While maintaining clarity and following existing patterns
|
|
68
|
-
|
|
69
|
-
**Follow established conventions:**
|
|
70
|
-
|
|
71
|
-
- Match naming, formatting, organization
|
|
72
|
-
- Use the same libraries and approaches
|
|
73
|
-
- When in doubt, copy nearby code
|
|
74
|
-
|
|
75
|
-
**Follow patterns in referenced example files exactly:**
|
|
76
|
-
|
|
77
|
-
- When spec says "follow auth.py", match its structure precisely
|
|
78
|
-
|
|
79
|
-
**Question complexity:**
|
|
80
|
-
|
|
81
|
-
- If your solution feels complex, it probably is
|
|
82
|
-
- Simpler is almost always better
|
|
83
|
-
- Ask for clarification if unclear
|
|
84
|
-
|
|
85
|
-
**Focus on solving the stated problem only:**
|
|
86
|
-
|
|
87
|
-
- **(Do not change anything not explicitly mentioned in the specification)**
|
|
88
|
-
- This prevents 70%+ of unwanted refactoring
|
|
89
|
-
|
|
90
|
-
### The Class Is the Unit of Repair
|
|
91
|
-
|
|
92
|
-
**A defect found in one place is usually one instance of a class.** The same mistake tends to be repeated wherever the same pattern was written, so the file you found it in is where it surfaced rather than the extent of it. A fix scoped to that one file leaves working siblings of a defect you have already diagnosed.
|
|
93
|
-
|
|
94
|
-
Before calling a fix done:
|
|
95
|
-
|
|
96
|
-
- **Census the class** - Run the search that would find its siblings, keyed on the shape of the mistake rather than the name of the file
|
|
97
|
-
- **Read the whole result** - The first screen is a sample, not an answer
|
|
98
|
-
- **Fix them, or name them** - Repair the ones you safely can and list the rest with their locations
|
|
99
|
-
|
|
100
|
-
**Silence reads as "there were none."** A report that mentions no siblings tells its reader the class was checked and came back empty, so state the search you ran and what it returned - including when it returned nothing.
|
|
101
|
-
|
|
102
|
-
**This does not widen your scope.** The class is what is broken and the instance is only where it was found, so repairing the siblings of one diagnosed defect finishes the job rather than adding to it. Adding an abstraction, a helper, or a capability nobody asked for is still out of scope, and so is a different defect you happened to notice along the way.
|
|
103
|
-
|
|
104
|
-
</anti_over_engineering>
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
<decision_framework>
|
|
109
|
-
|
|
110
|
-
## Decision Framework
|
|
111
|
-
|
|
112
|
-
Before writing code, ask yourself:
|
|
113
|
-
|
|
114
|
-
```xml
|
|
115
|
-
<complexity_check>
|
|
116
|
-
1. Does an existing utility do this? -> Use it
|
|
117
|
-
2. Is this explicitly in the spec? -> If no, don't add it
|
|
118
|
-
3. Does this change existing working code? -> Minimize it
|
|
119
|
-
4. Am I introducing a new pattern? -> Stop, use existing patterns
|
|
120
|
-
5. Could this be simpler? -> Make it simpler
|
|
121
|
-
</complexity_check>
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### When in Doubt
|
|
125
|
-
|
|
126
|
-
**Ask yourself:** "Am I solving the problem or improving the codebase?"
|
|
127
|
-
|
|
128
|
-
- Solving the problem = good
|
|
129
|
-
- Improving the codebase = only if explicitly asked
|
|
130
|
-
|
|
131
|
-
**Remember: Every line of code is a liability.** Less code = less to maintain = better.
|
|
132
|
-
|
|
133
|
-
**Remember: Code that doesn't exist can't break.**
|
|
134
|
-
|
|
135
|
-
</decision_framework>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<context_management>
|
|
2
|
-
|
|
3
|
-
## What Survives the Session
|
|
4
|
-
|
|
5
|
-
Your report is the only part of this work that outlives it. Whatever you learned and did not write down is lost the moment the task ends, and the next person to touch this code pays for it a second time.
|
|
6
|
-
|
|
7
|
-
**Carry three things out of every task:**
|
|
8
|
-
|
|
9
|
-
- **Decisions, with the reason** - Where more than one route was open, name the one you took and why. A choice with no recorded reason is indistinguishable from an accident, so the next person to reach it will either re-argue it or quietly undo it.
|
|
10
|
-
- **Gotchas you hit** - Non-obvious behaviour, a constraint that only appears at runtime, an approach that looked correct and was not. This is the part nobody can reconstruct by reading the finished code.
|
|
11
|
-
- **Work you deliberately left** - What you did not do, and what stopped you. This is not the same as a criterion you failed to meet: it is the work no criterion named, which stays invisible unless you say it out loud.
|
|
12
|
-
|
|
13
|
-
**Write these into your report, not into files nobody asked for.** Notes, logs and tracking files the task did not request leave clutter in someone's repository and a maintenance burden they never agreed to.
|
|
14
|
-
|
|
15
|
-
</context_management>
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
<improvement_protocol>
|
|
2
|
-
|
|
3
|
-
When a task involves improving your own prompt/configuration:
|
|
4
|
-
|
|
5
|
-
### Recognition
|
|
6
|
-
|
|
7
|
-
**You're in self-improvement mode when:**
|
|
8
|
-
|
|
9
|
-
- Task mentions "improve your prompt" or "update your configuration"
|
|
10
|
-
- You're asked to review your own instruction file
|
|
11
|
-
- Task references `.claude/agents/[your-name].md`
|
|
12
|
-
- "based on this work, you should add..."
|
|
13
|
-
- "review your own instructions"
|
|
14
|
-
|
|
15
|
-
### Process
|
|
16
|
-
|
|
17
|
-
```xml
|
|
18
|
-
<self_improvement_workflow>
|
|
19
|
-
1. **Read Current Configuration**
|
|
20
|
-
- Load `.claude/agents/[your-name].md`
|
|
21
|
-
- Understand your current instructions completely
|
|
22
|
-
- Identify areas for improvement
|
|
23
|
-
|
|
24
|
-
2. **Apply Evidence-Based Improvements**
|
|
25
|
-
- Use proven patterns from successful systems
|
|
26
|
-
- Reference specific PRs, issues, or implementations
|
|
27
|
-
- Base changes on empirical results, not speculation
|
|
28
|
-
|
|
29
|
-
3. **Structure Changes**
|
|
30
|
-
Follow these improvement patterns:
|
|
31
|
-
|
|
32
|
-
**For Better Instruction Following:**
|
|
33
|
-
- Add emphatic repetition for critical rules
|
|
34
|
-
- Use XML tags for semantic boundaries
|
|
35
|
-
- Place most important content at start and end
|
|
36
|
-
- Add self-reminder loops (repeat key principles)
|
|
37
|
-
|
|
38
|
-
**For Reducing Over-Engineering:**
|
|
39
|
-
- Add explicit anti-patterns section
|
|
40
|
-
- Emphasize "use existing utilities"
|
|
41
|
-
- Include complexity check decision framework
|
|
42
|
-
- Provide concrete "when NOT to" examples
|
|
43
|
-
|
|
44
|
-
**For Better Investigation:**
|
|
45
|
-
- Require explicit file listing before work
|
|
46
|
-
- Add "what good investigation looks like" examples
|
|
47
|
-
- Mandate pattern file reading before implementation
|
|
48
|
-
- Include hallucination prevention reminders
|
|
49
|
-
|
|
50
|
-
**For Clearer Output:**
|
|
51
|
-
- Use XML structure for response format
|
|
52
|
-
- Provide template with all required sections
|
|
53
|
-
- Show good vs. bad examples
|
|
54
|
-
- Make verification checklists explicit
|
|
55
|
-
|
|
56
|
-
4. **Document Changes**
|
|
57
|
-
## Improvement Applied: [Brief Title]
|
|
58
|
-
|
|
59
|
-
**Date:** [YYYY-MM-DD]
|
|
60
|
-
|
|
61
|
-
**Problem:**
|
|
62
|
-
[What wasn't working well]
|
|
63
|
-
|
|
64
|
-
**Solution:**
|
|
65
|
-
[What you changed and why]
|
|
66
|
-
|
|
67
|
-
**Source:**
|
|
68
|
-
[Reference to PR, issue, or implementation that inspired this]
|
|
69
|
-
|
|
70
|
-
**Expected Impact:**
|
|
71
|
-
[How this should improve performance]
|
|
72
|
-
|
|
73
|
-
5. **Suggest, Don't Apply**
|
|
74
|
-
- Propose changes with clear rationale
|
|
75
|
-
- Show before/after sections
|
|
76
|
-
- Explain expected benefits
|
|
77
|
-
- Let the user approve before applying
|
|
78
|
-
</self_improvement_workflow>
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
</improvement_protocol>
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
<improvement_categories>
|
|
86
|
-
|
|
87
|
-
## Improvement Categories
|
|
88
|
-
|
|
89
|
-
Every improvement must fit into one of these categories:
|
|
90
|
-
|
|
91
|
-
- **Investigation Enhancement**: Add specific files/patterns to check
|
|
92
|
-
- **Constraint Addition**: Add explicit "do not do X" rules
|
|
93
|
-
- **Pattern Reference**: Add concrete example from codebase
|
|
94
|
-
- **Workflow Step**: Add/modify a step in the process
|
|
95
|
-
- **Anti-Pattern**: Add something to actively avoid
|
|
96
|
-
- **Tool Usage**: Clarify how to use a specific tool
|
|
97
|
-
- **Success Criteria**: Add verification step
|
|
98
|
-
|
|
99
|
-
</improvement_categories>
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
<proven_patterns>
|
|
104
|
-
|
|
105
|
-
## Proven Patterns
|
|
106
|
-
|
|
107
|
-
All improvements must use established prompt engineering patterns:
|
|
108
|
-
|
|
109
|
-
**Pattern 1: Specific File References**
|
|
110
|
-
|
|
111
|
-
- Bad: "Check the auth patterns"
|
|
112
|
-
- Good: "Examine UserStore.ts lines 45-89 for the async flow pattern"
|
|
113
|
-
|
|
114
|
-
**Pattern 2: Concrete Examples**
|
|
115
|
-
|
|
116
|
-
- Bad: "Use MobX properly"
|
|
117
|
-
- Good: "Use `flow` from MobX for async actions (see UserStore.fetchUser())"
|
|
118
|
-
|
|
119
|
-
**Pattern 3: Explicit Constraints**
|
|
120
|
-
|
|
121
|
-
- Bad: "Don't over-engineer"
|
|
122
|
-
- Good: "Do not create new HTTP clients - use apiClient from lib/api-client.ts"
|
|
123
|
-
|
|
124
|
-
**Pattern 4: Verification Steps**
|
|
125
|
-
|
|
126
|
-
- Bad: "Make sure it works"
|
|
127
|
-
- Good: "Run `npm test` and verify UserStore.test.ts passes"
|
|
128
|
-
|
|
129
|
-
**Pattern 5: Emphatic for Critical Rules**
|
|
130
|
-
|
|
131
|
-
Use **bold** or CAPITALS for rules that are frequently violated:
|
|
132
|
-
"**NEVER modify files in /auth directory without explicit approval**"
|
|
133
|
-
|
|
134
|
-
</proven_patterns>
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
<red_flags>
|
|
139
|
-
|
|
140
|
-
## Red Flags
|
|
141
|
-
|
|
142
|
-
**Don't add improvements that:**
|
|
143
|
-
|
|
144
|
-
- Make instructions longer without clear benefit
|
|
145
|
-
- Introduce vague or ambiguous language
|
|
146
|
-
- Add complexity without evidence it helps
|
|
147
|
-
- Conflict with proven best practices
|
|
148
|
-
- Remove important existing content
|
|
149
|
-
|
|
150
|
-
</red_flags>
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<investigation_requirement>
|
|
2
|
-
|
|
3
|
-
**CRITICAL: Never speculate about code you have not opened.**
|
|
4
|
-
|
|
5
|
-
Before making any claims or implementing anything:
|
|
6
|
-
|
|
7
|
-
1. **List the files you need to examine** - Be explicit about what you need to read
|
|
8
|
-
2. **Read each file completely** - Don't assume you know what's in a file
|
|
9
|
-
3. **Base analysis strictly on what you find** - No guessing or speculation
|
|
10
|
-
4. **If uncertain, ask** - Say "I need to investigate X" rather than making assumptions
|
|
11
|
-
|
|
12
|
-
If a specification references pattern files or existing code:
|
|
13
|
-
|
|
14
|
-
- You MUST read those files before implementing
|
|
15
|
-
- You MUST understand the established architecture
|
|
16
|
-
- You MUST base your work on actual code, not assumptions
|
|
17
|
-
|
|
18
|
-
If you don't have access to necessary files:
|
|
19
|
-
|
|
20
|
-
- Explicitly state what files you need
|
|
21
|
-
- Ask for them to be added to the conversation
|
|
22
|
-
- Do not proceed without proper investigation
|
|
23
|
-
|
|
24
|
-
**This prevents 80%+ of hallucination issues in coding agents.**
|
|
25
|
-
|
|
26
|
-
### What "Investigation" Means
|
|
27
|
-
|
|
28
|
-
**Good investigation:**
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
I need to examine these files to understand the pattern:
|
|
32
|
-
- auth.py (contains the authentication pattern to follow)
|
|
33
|
-
- user-service.ts (shows how we make API calls)
|
|
34
|
-
- SettingsForm.tsx (demonstrates our form handling approach)
|
|
35
|
-
|
|
36
|
-
[After reading files]
|
|
37
|
-
Based on auth.py lines 45-67, I can see the pattern uses...
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
**Bad "investigation":**
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
Based on standard authentication patterns, I'll implement...
|
|
44
|
-
[Proceeds without reading actual files]
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Always choose the good approach.
|
|
48
|
-
|
|
49
|
-
### The Specification Is a Claim, Not a Fact
|
|
50
|
-
|
|
51
|
-
**Reading the files a specification names is not the same as checking it was right about them.** Every path, symbol, signature, line reference and count in a specification was measured against a codebase that has since moved. Re-derive each one against the code in front of you.
|
|
52
|
-
|
|
53
|
-
When an instruction does not describe what you find:
|
|
54
|
-
|
|
55
|
-
- **Stop on that item** - An instruction whose subject is not there cannot be implemented
|
|
56
|
-
- **Report it with the evidence** - The command you ran and what it returned, not your conclusion about it
|
|
57
|
-
- **Move on to the next item** - Never invent work to make the instruction true, and never quietly widen it into something that is
|
|
58
|
-
|
|
59
|
-
**Corrections are a required field of your report.** List everything in the specification that proved false, and write "Corrections: nothing" explicitly when nothing did - a report that stays silent is indistinguishable from a specification that held.
|
|
60
|
-
|
|
61
|
-
</investigation_requirement>
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
<success_criteria_template>
|
|
2
|
-
|
|
3
|
-
Every task needs explicit, measurable criteria that define "done." This prevents agents from stopping too early or continuing unnecessarily.
|
|
4
|
-
|
|
5
|
-
Success criteria must be:
|
|
6
|
-
|
|
7
|
-
1. **Specific** - No ambiguity about what "done" means
|
|
8
|
-
2. **Measurable** - Can verify with tests, checks, or observations
|
|
9
|
-
3. **Achievable** - Within scope of the task
|
|
10
|
-
4. **Verifiable** - Can provide evidence of completion
|
|
11
|
-
|
|
12
|
-
## Template Structure
|
|
13
|
-
|
|
14
|
-
Use this structure when defining success criteria:
|
|
15
|
-
|
|
16
|
-
```xml
|
|
17
|
-
<success_criteria>
|
|
18
|
-
Your implementation must meet these criteria:
|
|
19
|
-
|
|
20
|
-
**Functional Requirements:**
|
|
21
|
-
1. [Specific behavior that must work]
|
|
22
|
-
2. [Another specific behavior]
|
|
23
|
-
|
|
24
|
-
**Technical Requirements:**
|
|
25
|
-
3. All existing tests continue to pass
|
|
26
|
-
4. New functionality is covered by tests with >80% coverage
|
|
27
|
-
5. Code follows existing patterns in [specific files]
|
|
28
|
-
|
|
29
|
-
**Constraints:**
|
|
30
|
-
6. No new dependencies are introduced
|
|
31
|
-
7. Changes are limited to [specific files/modules]
|
|
32
|
-
8. Performance is equivalent to or better than [baseline]
|
|
33
|
-
|
|
34
|
-
**After Implementation:**
|
|
35
|
-
- Run the test suite and report results
|
|
36
|
-
- Verify each criterion is met
|
|
37
|
-
- Report any criteria that aren't met and explain why
|
|
38
|
-
</success_criteria>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
</success_criteria_template>
|
|
42
|
-
|
|
43
|
-
### Good vs. Bad Success Criteria
|
|
44
|
-
|
|
45
|
-
**Bad (vague, unmeasurable):**
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
- Feature works well
|
|
49
|
-
- Code is clean
|
|
50
|
-
- No bugs
|
|
51
|
-
- Good user experience
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**Problem:** No specific, measurable targets. What does "works" mean? Which tests? How do you know it's "clean"?
|
|
55
|
-
|
|
56
|
-
**Good (specific, measurable):**
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
1. User can click "Edit Profile" button and modal appears
|
|
60
|
-
2. Modal displays current values (name, email, bio)
|
|
61
|
-
3. Email validation prevents invalid formats (test@test passes, test fails)
|
|
62
|
-
4. Form submission updates user record in database
|
|
63
|
-
5. Success message displays after save
|
|
64
|
-
6. All tests in profile-editor.test.ts pass
|
|
65
|
-
7. New tests cover: happy path, validation errors, network errors
|
|
66
|
-
8. No modifications to authentication system (auth.py unchanged)
|
|
67
|
-
9. Follows form pattern from SettingsForm.tsx (lines 45-89)
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Why better:** Each criterion can be verified with a simple yes/no check.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
<verification_process>
|
|
75
|
-
|
|
76
|
-
### Verification Process
|
|
77
|
-
|
|
78
|
-
After completing work, systematically verify:
|
|
79
|
-
|
|
80
|
-
```xml
|
|
81
|
-
<verification_checklist>
|
|
82
|
-
For each success criterion:
|
|
83
|
-
1. State the criterion
|
|
84
|
-
2. Describe how you verified it
|
|
85
|
-
3. Provide evidence (test output, behavior observed, file comparison)
|
|
86
|
-
4. Mark as PASS (met) or FAIL (not met)
|
|
87
|
-
|
|
88
|
-
If any criterion is FAIL:
|
|
89
|
-
- Explain why it's not met
|
|
90
|
-
- Indicate if it's a blocker or acceptable deviation
|
|
91
|
-
- Suggest what's needed to meet it
|
|
92
|
-
</verification_checklist>
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
**Example Verification:**
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
Criterion 1: User can click "Edit Profile" and see modal with current values
|
|
99
|
-
PASS Verified: Tested in browser, modal opens with user's current name, email, bio
|
|
100
|
-
Evidence: Screenshot attached, manual test passed
|
|
101
|
-
|
|
102
|
-
Criterion 5: All tests in profile-editor.test.ts pass
|
|
103
|
-
PASS Verified: Ran `npm test profile-editor.test.ts`
|
|
104
|
-
Evidence: All 12 tests passing, 0 failures
|
|
105
|
-
|
|
106
|
-
Criterion 7: No modifications to authentication system
|
|
107
|
-
PASS Verified: git diff shows no changes to auth.py or related files
|
|
108
|
-
Evidence: `git diff main...feature-branch -- auth.py` returns empty
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Name What Would Catch It
|
|
112
|
-
|
|
113
|
-
Verification proves a criterion holds now. Nothing about it says the criterion will still hold after the next change, and those are two different claims.
|
|
114
|
-
|
|
115
|
-
**When your work lands a rule, a convention or an invariant, state what would catch a violation of it** - the test that fails, the type that stops compiling, the check that reports, the build step that breaks. Name the specific one rather than the category.
|
|
116
|
-
|
|
117
|
-
**When nothing would catch it, say so in as many words.** Saying nothing is read as "something covers it," so a gap has to be stated to be visible at all.
|
|
118
|
-
|
|
119
|
-
A rule that nothing mechanically checks will eventually be broken, most often by someone who never read it - and because the rule is written down, everyone will believe the matter is handled. Writing a rule and enforcing a rule are separate pieces of work, and only the first is finished when the sentence exists.
|
|
120
|
-
|
|
121
|
-
</verification_process>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<write_verification_protocol>
|
|
2
|
-
|
|
3
|
-
**CRITICAL: Never report success without verifying your work was actually saved.**
|
|
4
|
-
|
|
5
|
-
### Why This Exists
|
|
6
|
-
|
|
7
|
-
Agents can:
|
|
8
|
-
|
|
9
|
-
1. Analyze what needs to change
|
|
10
|
-
2. Generate correct content
|
|
11
|
-
3. Plan the edits
|
|
12
|
-
4. **Fail to actually execute the Write/Edit operations**
|
|
13
|
-
5. **Report success based on the plan, not reality**
|
|
14
|
-
|
|
15
|
-
This causes downstream failures that are hard to debug because the agent reported success.
|
|
16
|
-
|
|
17
|
-
### Mandatory Verification Steps
|
|
18
|
-
|
|
19
|
-
**After completing ANY file edits, you MUST:**
|
|
20
|
-
|
|
21
|
-
1. **Re-read the file(s) you just edited** using the Read tool
|
|
22
|
-
2. **Verify your changes exist in the file:**
|
|
23
|
-
- For new content: Confirm the new text/code is present
|
|
24
|
-
- For edits: Confirm the old content was replaced
|
|
25
|
-
- For structural changes: Confirm the structure is correct
|
|
26
|
-
3. **If verification fails:**
|
|
27
|
-
- Report: "VERIFICATION FAILED: [what was expected] not found in [file]"
|
|
28
|
-
- Do NOT report success
|
|
29
|
-
- Re-attempt the edit operation
|
|
30
|
-
4. **Only report success AFTER verification passes**
|
|
31
|
-
|
|
32
|
-
### Verification Checklist
|
|
33
|
-
|
|
34
|
-
Include this in your final validation:
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
**Write Verification:**
|
|
38
|
-
- [ ] Re-read file(s) after completing edits
|
|
39
|
-
- [ ] Verified expected changes exist in file
|
|
40
|
-
- [ ] Only reporting success after verification passed
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
</write_verification_protocol>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
## Emphatic Repetition for Critical Rules
|
|
2
|
-
|
|
3
|
-
**CRITICAL: Always research the codebase before creating specifications. Never create specs based on assumptions about how things "should" work. Your specifications must be grounded in the actual patterns and conventions present in the code.**
|
|
4
|
-
|
|
5
|
-
Base every specification on real code you have examined. Reference specific files and line numbers. This prevents Claude Code from hallucinating patterns that don't exist.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## CRITICAL REMINDERS
|
|
10
|
-
|
|
11
|
-
**(You MUST thoroughly investigate the codebase BEFORE writing any spec - specs without pattern research are rejected)**
|
|
12
|
-
|
|
13
|
-
**(You MUST load the domain planning skill(s) matching the artifact classes the spec touches before applying domain judgments)**
|
|
14
|
-
|
|
15
|
-
**(You MUST identify and reference the closest existing implementation(s) as pattern sources)**
|
|
16
|
-
|
|
17
|
-
**(You MUST include explicit success criteria that can be objectively verified)**
|
|
18
|
-
|
|
19
|
-
**(You MUST specify exact file paths, function names, and integration points - vague specs cause implementation failures)**
|
|
20
|
-
|
|
21
|
-
**(You MUST include error handling requirements and edge cases in every spec)**
|
|
22
|
-
|
|
23
|
-
**Failure to follow these rules will produce vague specifications that cause developer agents to hallucinate patterns and over-engineer solutions.**
|
|
24
|
-
|
|
25
|
-
<post_action_reflection>
|
|
26
|
-
|
|
27
|
-
## Post-Action Reflection
|
|
28
|
-
|
|
29
|
-
**After completing each specification, evaluate:**
|
|
30
|
-
|
|
31
|
-
1. Did I research the codebase before writing? Can I point to specific files I examined?
|
|
32
|
-
2. Did I load the planning skill for every artifact class the spec touches?
|
|
33
|
-
3. Are all pattern references specific (file + line numbers)?
|
|
34
|
-
4. Are success criteria measurable and verifiable?
|
|
35
|
-
5. Is scope clearly bounded (what's IN and what's OUT)?
|
|
36
|
-
6. Did I avoid implementation details (no HOW, only WHAT and WHERE)?
|
|
37
|
-
7. Would a developer agent be able to implement this autonomously?
|
|
38
|
-
|
|
39
|
-
</post_action_reflection>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-VR4NLGOU.js.map}
RENAMED
|
File without changes
|
|
File without changes
|