create-harness-vibe-coding 0.8.8 → 0.8.10
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/README-CN.md +8 -2
- package/README.md +22 -3
- package/docs/images/harness-icon.png +0 -0
- package/package.json +3 -1
- package/src/generator.js +36 -0
- package/src/index.js +72 -4
- package/templates/common/.claude/agents/architect.md +31 -31
- package/templates/common/.claude/agents/codebase-explorer.md +45 -0
- package/templates/common/.claude/agents/docs-researcher.md +41 -41
- package/templates/common/.claude/agents/memory-master.md +26 -8
- package/templates/common/.claude/agents/reviewer.md +34 -34
- package/templates/common/.claude/agents/task-scribe.md +70 -0
- package/templates/common/.claude/commands/wf-help.md +9 -5
- package/templates/common/.claude/commands/wf-update.md +24 -0
- package/templates/common/.claude/rules/ecc/common.md +15 -2
- package/templates/common/.claude/settings.json +13 -0
- package/templates/common/.claude/skills/subagent-orchestrator/SKILL.md +10 -6
- package/templates/common/.claude/skills/wf/SKILL.md +15 -8
- package/templates/common/.claude/skills/wf-auto/SKILL.md +3 -2
- package/templates/common/.claude/skills/wf-learn/SKILL.md +9 -2
- package/templates/common/.claude/skills/wf-max/SKILL.md +26 -8
- package/templates/common/.claude/skills/wf-review/SKILL.md +63 -12
- package/templates/common/.claude/skills/wf-update/SKILL.md +15 -2
- package/templates/common/.codex/hooks.json +17 -0
- package/templates/common/.harness-version +93 -48
- package/templates/common/.opencode/agents/architect.md +24 -24
- package/templates/common/.opencode/agents/codebase-explorer.md +45 -0
- package/templates/common/.opencode/agents/docs-researcher.md +34 -34
- package/templates/common/.opencode/agents/memory-master.md +26 -8
- package/templates/common/.opencode/agents/reviewer.md +27 -27
- package/templates/common/.opencode/agents/task-scribe.md +70 -0
- package/templates/common/.opencode/commands/wf-auto-spark.md +15 -0
- package/templates/common/.opencode/commands/wf-auto.md +15 -0
- package/templates/common/.opencode/commands/wf-help.md +9 -5
- package/templates/common/.opencode/commands/wf-learn.md +15 -0
- package/templates/common/.opencode/commands/wf-max.md +15 -0
- package/templates/common/.opencode/commands/wf-readme.md +15 -0
- package/templates/common/.opencode/commands/wf-remove.md +15 -0
- package/templates/common/.opencode/commands/wf-review.md +15 -0
- package/templates/common/.opencode/commands/wf-update.md +24 -0
- package/templates/common/.opencode/commands/wf.md +15 -0
- package/templates/common/.opencode/plugins/harness-wf-status.mjs +126 -0
- package/templates/common/AGENTS.md +2 -29
- package/templates/common/CLAUDE.md +35 -6
- package/templates/common/Harness/ACCEPTANCE_PROTOCOL.md +2 -2
- package/templates/common/{MEMORY.md → Harness/MEMORY.md} +17 -4
- package/templates/common/Harness/MEMORY_PROTOCOL.md +80 -30
- package/templates/common/Harness/README.md +53 -25
- package/templates/common/{SETUP.md → Harness/SETUP.md} +278 -276
- package/templates/common/Harness/TASK_ARCHIVE.md +56 -0
- package/templates/common/Harness/WF-AUTO-ANGLES.md +1 -1
- package/templates/common/Harness/WF-AUTO-SPARK.md +5 -14
- package/templates/common/Harness/WF-AUTO.md +22 -84
- package/templates/common/Harness/WF-KERNEL.md +189 -0
- package/templates/common/Harness/WF-MAX.md +60 -328
- package/templates/common/Harness/WF-STATE.md +83 -0
- package/templates/common/Harness/WF.md +117 -237
- package/templates/common/Harness/agent-workflow.md +2 -2
- package/templates/common/Harness/context-loading.md +3 -3
- package/templates/common/Harness/dispatch.md +43 -35
- package/templates/common/Harness/scripts/archive-tasks.mjs +239 -0
- package/templates/common/{scripts → Harness/scripts}/scan-clean.mjs +29 -1
- package/templates/common/{scripts → Harness/scripts}/validate-harness.mjs +921 -699
- package/templates/common/Harness/scripts/wf-auto-update-prompt.mjs +258 -0
- package/templates/common/{scripts → Harness/scripts}/wf-remove.mjs +1 -0
- package/templates/common/{scripts → Harness/scripts}/wf-update-check.mjs +163 -52
- package/templates/common/Harness/subagents.md +36 -28
- package/templates/common/Harness/tasks/_template/PLAN.md +5 -0
- package/templates/common/Harness/tasks/_template/STATE.json +23 -0
- package/templates/common/README.md +2 -2
- package/templates/common/memory/agent-lessons-patterns.md +9 -8
- package/templates/common/memory/routes.md +43 -0
- package/templates/common/memory/startup-hints.md +32 -0
- package/templates/common/memory/tool-usage-reflections.md +9 -8
- package/templates/common/memory/user-corrections-preferences.md +11 -9
- package/templates/optional/catalog.json +8 -0
- package/templates/optional/skills/browser-e2e/.claude/skills/browser-e2e/SKILL.md +42 -42
- package/templates/optional/skills/browser-e2e/.opencode/commands/wf-browser.md +15 -0
- package/templates/optional/skills/github-pr-review/.claude/skills/github-pr-review/SKILL.md +40 -40
- package/templates/optional/skills/python-backend/.claude/skills/python-backend/SKILL.md +40 -40
- package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md +43 -43
- package/templates/optional/skills/ui-ux-review/.claude/skills/ui-ux-review/SKILL.md +40 -40
|
@@ -1,99 +1,120 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generator": "0.8.
|
|
3
|
-
"generated": "2026-07-
|
|
2
|
+
"generator": "0.8.10",
|
|
3
|
+
"generated": "2026-07-21T04:52:37.663Z",
|
|
4
4
|
"options": [],
|
|
5
5
|
"autoCheck": true,
|
|
6
6
|
"source": "https://raw.githubusercontent.com/zingspark/create-harness-vibe-coding/main/templates/common/",
|
|
7
7
|
"checksums": {
|
|
8
|
-
".agents/skills/subagent-orchestrator/SKILL.md": "sha256-
|
|
8
|
+
".agents/skills/subagent-orchestrator/SKILL.md": "sha256-8d9e8c0db4647bcf168a5f99c8b2ea97d154bfca30e78ffd1cc5a98ce185bb1d",
|
|
9
9
|
".agents/skills/tdd/SKILL.md": "sha256-1e2ec0b54a5cf5b071800b0f2e5672a128a42471e16f70f00bb4c0a07a3617cb",
|
|
10
10
|
".agents/skills/wf-auto-spark/SKILL.md": "sha256-a00cde5842e5f1d6d69826c59972ebdcfbc2c291b43fc37523e42ec02e4788e4",
|
|
11
|
-
".agents/skills/wf-auto/SKILL.md": "sha256-
|
|
12
|
-
".agents/skills/wf-learn/SKILL.md": "sha256-
|
|
13
|
-
".agents/skills/wf-max/SKILL.md": "sha256-
|
|
11
|
+
".agents/skills/wf-auto/SKILL.md": "sha256-f3f288f52766a0f59ec4f2018029c8169782ac440b525f4c1040724ca8482bf3",
|
|
12
|
+
".agents/skills/wf-learn/SKILL.md": "sha256-2ca977967e62847ac3b763bcce00dc6bb2e8dec28569a1ab6ee413625f8e8779",
|
|
13
|
+
".agents/skills/wf-max/SKILL.md": "sha256-0cabb44a67ce47beaeae4c2bba9a8a31a9340199c7684b57a1f9e9b7e2eb622e",
|
|
14
14
|
".agents/skills/wf-readme/SKILL.md": "sha256-4d34ee3b6b305fa2581f5d8cb31e9152759f3df8bf8fa08efbb43782f128bdcd",
|
|
15
15
|
".agents/skills/wf-remove/SKILL.md": "sha256-21ebef1a1fa8645d094c8ceeca78b33f036b6c42cda6db8be425d38d9e91af75",
|
|
16
|
-
".agents/skills/wf-review/SKILL.md": "sha256-
|
|
17
|
-
".agents/skills/wf-update/SKILL.md": "sha256-
|
|
18
|
-
".agents/skills/wf/SKILL.md": "sha256-
|
|
16
|
+
".agents/skills/wf-review/SKILL.md": "sha256-ab1122cbc9612ba734f98736e5479d7777206293d011d5471aaa34d1da35dae6",
|
|
17
|
+
".agents/skills/wf-update/SKILL.md": "sha256-6fa16fd5a526969837b9fd5fcae6aed55eec5ccd755e0a9cddcb7065878f61d8",
|
|
18
|
+
".agents/skills/wf/SKILL.md": "sha256-53225645b593f4cf060781590f9b3025cf17315baad4e2acce850cc4cd972f97",
|
|
19
19
|
".claude/agents/architect-manager.md": "sha256-d98c3a2d044d5216d9bcde217b4359b1c33f5be152416e242807652ddcd2868b",
|
|
20
20
|
".claude/agents/architect.md": "sha256-61cea40c8c3e01bd53f3ad642ef734850fdb931497e7ee20552ea7a8b4e7b70c",
|
|
21
|
+
".claude/agents/codebase-explorer.md": "sha256-9bf71e528add02abaf22b7115944cd8a2cc0722c96583617210c48368aa7abe2",
|
|
21
22
|
".claude/agents/context-master.md": "sha256-32746ef283ab1b98574f302c5ed0429743aa77a0558fa78a4183cadf16a82469",
|
|
22
23
|
".claude/agents/debugger.md": "sha256-c0d322ca971c6be38c99f0e20b6d5feec26d4f62b84aeffecc4279c1cce59480",
|
|
23
24
|
".claude/agents/docs-researcher.md": "sha256-f8a34420ec10c185c4457d2e5e9ab584b676615ec471a9e671420d36e4e604f6",
|
|
24
25
|
".claude/agents/explore-manager.md": "sha256-64c7d1bdf8b490339b5a3487229fcb3e28d0d84983d9a4fa93060c2cf47b1dfc",
|
|
25
26
|
".claude/agents/implement-manager.md": "sha256-7387ee0e12ba189aa35fea453f93a1bd14549556754e002590b1af4de0ebb209",
|
|
26
27
|
".claude/agents/implementer.md": "sha256-86a32182798480b09bcc87e47605a1247f15d5ab91b58dfedb6496e3b0335618",
|
|
27
|
-
".claude/agents/memory-master.md": "sha256-
|
|
28
|
+
".claude/agents/memory-master.md": "sha256-ecafd6048a5350e5c5e3db929823c4313117628900e87f657261532bdc33e924",
|
|
28
29
|
".claude/agents/planner.md": "sha256-7d1911adbd3a4a6b82713fb0e2358bf01d3f7f3b8aeccd38bd51cb445b1fb7a9",
|
|
29
30
|
".claude/agents/reflector.md": "sha256-11a373c5866f6a9a0c1773aefb7adb18233197a083e15cd70bda4f927bbc756f",
|
|
30
31
|
".claude/agents/researcher.md": "sha256-402fef14dee8f495dc9ddfad5af3ad233d254326b49b831f604014a8cb6d0beb",
|
|
31
32
|
".claude/agents/review-manager.md": "sha256-fb8fbd6c6624279cc97aa3dbd50ec20c150ff4a2d195788bc8537d98699cc41b",
|
|
32
33
|
".claude/agents/reviewer.md": "sha256-2913b7799fcd8e162f01ae0de09a41ec7083de5f0cae3abcd4ecc62acc675a6b",
|
|
34
|
+
".claude/agents/task-scribe.md": "sha256-9882a8e0c96ac9a15506f3b31620244facd8721ec6cb1abd7d0769c8e594c95b",
|
|
33
35
|
".claude/agents/tdd-guide.md": "sha256-d7c7ad3f61f6a6dc73cfa54ffe7e215ded0421a3058654a01731d1a5d5f4c336",
|
|
34
36
|
".claude/agents/test-writer.md": "sha256-724866d627f193caaf060ec6af97b1d54c2df2d5c5f937e78fc3c53c7f798b16",
|
|
35
37
|
".claude/agents/verifier.md": "sha256-d501a505b97e679daa89ee1d910ee185edc42ba57d58203e962b1c5a844c0872",
|
|
36
|
-
".claude/commands/wf-help.md": "sha256-
|
|
37
|
-
".claude/
|
|
38
|
-
".claude/
|
|
39
|
-
".claude/
|
|
38
|
+
".claude/commands/wf-help.md": "sha256-aaaa6834c6cb61d2ecbeb41ad8fcf77de10ac1638b2009a3822284c01cf41fac",
|
|
39
|
+
".claude/commands/wf-update.md": "sha256-1988e82eb60311b8208367e3c8e22e6222ae05f4b0f645fa9a0e426790705c12",
|
|
40
|
+
".claude/rules/ecc/common.md": "sha256-e5f046d02ec9f5d326088f608c63758632d9a5f6c67688b20e065b6380884992",
|
|
41
|
+
".claude/settings.json": "sha256-99e8552584b8e71e3e11b4b760c3bfbf8c1b18dadda7ec3f6e3c46f88d9ea513",
|
|
42
|
+
".claude/skills/subagent-orchestrator/SKILL.md": "sha256-8d9e8c0db4647bcf168a5f99c8b2ea97d154bfca30e78ffd1cc5a98ce185bb1d",
|
|
40
43
|
".claude/skills/tdd/SKILL.md": "sha256-1e2ec0b54a5cf5b071800b0f2e5672a128a42471e16f70f00bb4c0a07a3617cb",
|
|
41
44
|
".claude/skills/wf-auto-spark/SKILL.md": "sha256-a00cde5842e5f1d6d69826c59972ebdcfbc2c291b43fc37523e42ec02e4788e4",
|
|
42
|
-
".claude/skills/wf-auto/SKILL.md": "sha256-
|
|
43
|
-
".claude/skills/wf-learn/SKILL.md": "sha256-
|
|
44
|
-
".claude/skills/wf-max/SKILL.md": "sha256-
|
|
45
|
+
".claude/skills/wf-auto/SKILL.md": "sha256-f3f288f52766a0f59ec4f2018029c8169782ac440b525f4c1040724ca8482bf3",
|
|
46
|
+
".claude/skills/wf-learn/SKILL.md": "sha256-2ca977967e62847ac3b763bcce00dc6bb2e8dec28569a1ab6ee413625f8e8779",
|
|
47
|
+
".claude/skills/wf-max/SKILL.md": "sha256-0cabb44a67ce47beaeae4c2bba9a8a31a9340199c7684b57a1f9e9b7e2eb622e",
|
|
45
48
|
".claude/skills/wf-readme/SKILL.md": "sha256-4d34ee3b6b305fa2581f5d8cb31e9152759f3df8bf8fa08efbb43782f128bdcd",
|
|
46
49
|
".claude/skills/wf-remove/SKILL.md": "sha256-21ebef1a1fa8645d094c8ceeca78b33f036b6c42cda6db8be425d38d9e91af75",
|
|
47
|
-
".claude/skills/wf-review/SKILL.md": "sha256-
|
|
48
|
-
".claude/skills/wf-update/SKILL.md": "sha256-
|
|
49
|
-
".claude/skills/wf/SKILL.md": "sha256-
|
|
50
|
+
".claude/skills/wf-review/SKILL.md": "sha256-ab1122cbc9612ba734f98736e5479d7777206293d011d5471aaa34d1da35dae6",
|
|
51
|
+
".claude/skills/wf-update/SKILL.md": "sha256-6fa16fd5a526969837b9fd5fcae6aed55eec5ccd755e0a9cddcb7065878f61d8",
|
|
52
|
+
".claude/skills/wf/SKILL.md": "sha256-53225645b593f4cf060781590f9b3025cf17315baad4e2acce850cc4cd972f97",
|
|
50
53
|
".codex/config.toml": "sha256-e0af046982c6dbc535c52b19610d16ce9aba08a17dd29f11b74cc8dad8371145",
|
|
54
|
+
".codex/hooks.json": "sha256-3200c42c2da434c07cd6ab1ce86f8845ab46a1ed9a25b65117b2b2b42056c725",
|
|
51
55
|
".opencode/agents/architect-manager.md": "sha256-7ea3ce5254638e15c9a9c342eafcaa1c98d5fbf0323ea2111cd6397580581eb1",
|
|
52
56
|
".opencode/agents/architect.md": "sha256-bd876678ef08ef848523ec639095e099b9d8e587794827fba4763dc82ed3f6c4",
|
|
57
|
+
".opencode/agents/codebase-explorer.md": "sha256-e72cf6f8c2f4247f2dfd027c94b43fe67f0fe5e6f851ec2400c8094ac343a7ef",
|
|
53
58
|
".opencode/agents/context-master.md": "sha256-855f6763f2fc3853966c49a99bdeb2d5b371aff69ebb339c98ddf60b13feb930",
|
|
54
59
|
".opencode/agents/debugger.md": "sha256-2bdf5f3ffe1d86d19cde4e0c805e3ceeec7b419fcb9b27211e4a99ddbd119183",
|
|
55
60
|
".opencode/agents/docs-researcher.md": "sha256-d474a3ad023c8dadb90e898f0827ea9f77340960aba77282c84b74aa1bf9734c",
|
|
56
61
|
".opencode/agents/explore-manager.md": "sha256-448faf8f32d69a8171713003157fed4fd00edeca1e101cea1f69393f7a339ecc",
|
|
57
62
|
".opencode/agents/implement-manager.md": "sha256-cf11ceac721e5a99a5ed4ae26170135deb326b1c14c3f22fa09bfea21a843d4f",
|
|
58
63
|
".opencode/agents/implementer.md": "sha256-e0374b1e9e2eba16f4bb44dc37d1f0a2074e26aa45fb353e3c6d40bd8dd6fe70",
|
|
59
|
-
".opencode/agents/memory-master.md": "sha256-
|
|
64
|
+
".opencode/agents/memory-master.md": "sha256-fa595093c96901e374ff53c64e66dc56a9d2c74bbe8761f04aba37a741f7304e",
|
|
60
65
|
".opencode/agents/planner.md": "sha256-5ba794c30fb8db377067eab9eb73e518adf755928460a6093d23a02e04760990",
|
|
61
66
|
".opencode/agents/reflector.md": "sha256-2498e1d4962adb2a63d26aa3667976ce75625b6c385edb3507ae1814da213e0f",
|
|
62
67
|
".opencode/agents/researcher.md": "sha256-30172ea8b72c9493d914f460ab0fd07a8b84b85b56c9eb10263816856c3ce373",
|
|
63
68
|
".opencode/agents/review-manager.md": "sha256-b3a7e4a001b2fe104cac28c8492c203967773510fb66cd644c34440a14abace4",
|
|
64
69
|
".opencode/agents/reviewer.md": "sha256-81f0b2623b39a5cd48f9604585cf8257ab096639aa0864f9134a49b0db3cba45",
|
|
70
|
+
".opencode/agents/task-scribe.md": "sha256-108d33e239cc2640675ba179558f675152ffa7b086748c077d5396d8e7a9b61a",
|
|
65
71
|
".opencode/agents/tdd-guide.md": "sha256-e19992348d9772ea637aa8a2d44e388afc6d99620737fa6a6c07f8d917d0ea3d",
|
|
66
72
|
".opencode/agents/test-writer.md": "sha256-4821b558a1e3d6a50660209fa7e24527f848fac154dd89b43341e0b74a54baad",
|
|
67
73
|
".opencode/agents/verifier.md": "sha256-7a415b3e8ae440838cfd113ef3cbd1c66ab6496e45c9ef90af0d878e3ebc1ee4",
|
|
68
|
-
".opencode/commands/wf-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
74
|
+
".opencode/commands/wf-auto-spark.md": "sha256-febe76ec28b1650886a81d79e19ec53db725da3ed7777cf739ec8e2bbc5d6564",
|
|
75
|
+
".opencode/commands/wf-auto.md": "sha256-8e27d4d567a980d4d6a2ed0832c4f1f7f7439f172ea03a79c9d24468d01fdf38",
|
|
76
|
+
".opencode/commands/wf-help.md": "sha256-2776d41e78577896f90f0de3ebdbc032ab9808b96c17ebecbff1319d4e6142b1",
|
|
77
|
+
".opencode/commands/wf-learn.md": "sha256-dc8e75ef4b2c2ef90c749a23dc2cd99eaf2727955d0670bdb2d6f24086f6d0ed",
|
|
78
|
+
".opencode/commands/wf-max.md": "sha256-39ebd1e0252b9b72a16a539c8f2afd678bf63aad38c4b964238b287c359a49a2",
|
|
79
|
+
".opencode/commands/wf-readme.md": "sha256-276e80255bd38f51e17b158650d182401304bf06388407d259f47850306556e8",
|
|
80
|
+
".opencode/commands/wf-remove.md": "sha256-fe9823152c4f74e66b151e352de7167436d1bc47376c2a688d190391931d300a",
|
|
81
|
+
".opencode/commands/wf-review.md": "sha256-4bd59f66bc96c2773868e63c37cbacf39dd521555e997c0b60d50538ef2d5dbd",
|
|
82
|
+
".opencode/commands/wf-update.md": "sha256-1988e82eb60311b8208367e3c8e22e6222ae05f4b0f645fa9a0e426790705c12",
|
|
83
|
+
".opencode/commands/wf.md": "sha256-d86cf20a78c37757f76aed7e252475fb82e7597cd55c6a4c916441b3b75fe9af",
|
|
84
|
+
".opencode/plugins/harness-wf-status.mjs": "sha256-ee0987cec5530c34784c619a803562d7085ae26fe5d199fde7ce42c2bed4724e",
|
|
85
|
+
"AGENTS.md": "sha256-fad176931742a5080e073d1ddba99a3eabb67e8c42bebb132df99a51ca6a184d",
|
|
86
|
+
"CLAUDE.md": "sha256-1aa2e672f7f423d0011f65b0dda707bdd7f9db2a83ad54650bb444fb086eabaa",
|
|
87
|
+
"Harness/ACCEPTANCE_PROTOCOL.md": "sha256-0f7a21a1fbfdca6e5f28f3297b61c3446e3bdd552a2143c7032d6271a4e26103",
|
|
72
88
|
"Harness/AGENT_ISOLATION.md": "sha256-54abcd4fdaf8810ab42da8a7f2ab5b5f5305f105f93e8764081b10edce053506",
|
|
73
89
|
"Harness/DEBUG_PROTOCOL.md": "sha256-ed80de0e3e1a40dbb9fd0bdead9174f1650e1833027f3d7fb4bb5884142e03f7",
|
|
74
90
|
"Harness/ECC-GUIDE.md": "sha256-136e60327813609516c6c10e2a5254d7d300e1631ba80d33fb375fdf3800ca7e",
|
|
75
91
|
"Harness/HARNESS_BRIDGE.md": "sha256-681dbeca9a590bbeb3a0c01b044e40e642e6d640632d8611064eb897ada8a48d",
|
|
76
|
-
"Harness/MEMORY.md": "sha256-
|
|
77
|
-
"Harness/MEMORY_PROTOCOL.md": "sha256-
|
|
78
|
-
"Harness/README.md": "sha256-
|
|
79
|
-
"Harness/SETUP.md": "sha256-
|
|
92
|
+
"Harness/MEMORY.md": "sha256-4cbb881b3e9893e917861dc250afaedf5b88da6c99626a9c7f6abb8132841b09",
|
|
93
|
+
"Harness/MEMORY_PROTOCOL.md": "sha256-c8cda68bf25fbf7152c6049959a8bd6d39453976a651a1c4a9d3f7e349f823c4",
|
|
94
|
+
"Harness/README.md": "sha256-4c8f30de9face43960088d240127860b43a2b821d1988c23a9cd1c0502ba35f7",
|
|
95
|
+
"Harness/SETUP.md": "sha256-008472ad2be5681e2616af29ad57cccbca122065de7bddfe22c683e3470d9fd5",
|
|
96
|
+
"Harness/TASK_ARCHIVE.md": "sha256-d815f2c99a7dc98b9956bb876e9ee07dfb66a283c758124d7b4eb8965dea1f6a",
|
|
80
97
|
"Harness/TDD-GUIDE.md": "sha256-602084530fd0dea7499a023ce75738351e5d97a0c222b64d405f36da6b59a162",
|
|
81
|
-
"Harness/WF-AUTO-ANGLES.md": "sha256-
|
|
82
|
-
"Harness/WF-AUTO-SPARK.md": "sha256-
|
|
83
|
-
"Harness/WF-AUTO.md": "sha256-
|
|
84
|
-
"Harness/WF-
|
|
85
|
-
"Harness/WF.md": "sha256-
|
|
86
|
-
"Harness/
|
|
87
|
-
"Harness/
|
|
88
|
-
"Harness/
|
|
98
|
+
"Harness/WF-AUTO-ANGLES.md": "sha256-b9641d871f728e8112ad0d8c7f87bcbec0a06aa572c5f3060efdd26496abdf9b",
|
|
99
|
+
"Harness/WF-AUTO-SPARK.md": "sha256-8fc879261f71f81c5a64e37a6aed8b72fd78ca01c5c9f318a15f4a0a594b4783",
|
|
100
|
+
"Harness/WF-AUTO.md": "sha256-7898a38ee9ce9cf1c49aa7e3603c17afc68544981dca7d91e2e4149ca2fc5aea",
|
|
101
|
+
"Harness/WF-KERNEL.md": "sha256-97c626574f62dceaa590829d99e46889b86cab5658d7827c704788e4afdda030",
|
|
102
|
+
"Harness/WF-MAX.md": "sha256-a125dddc1e6a854f71fc360dd4fff7d576dbdd4e6141d29de2f5787d6f48b5e0",
|
|
103
|
+
"Harness/WF-STATE.md": "sha256-80fdaa4b133a9f632a252e4d2fca51bb96f9f9779dab2bc6f3d791d0d2d3aae8",
|
|
104
|
+
"Harness/WF.md": "sha256-199f6c3899cf0d8c86d65fd61e90e85ee9f8aa4c8fc56889f995f05e11987816",
|
|
105
|
+
"Harness/agent-workflow.md": "sha256-a91c3732ffb545506cec88c875d76ebe92248d0714da3e398d2a13b06349bef4",
|
|
106
|
+
"Harness/context-loading.md": "sha256-7dacdc7cbf6748f063db65e31fff1ff7992dc7fd8c72c389f6560e7e0d65ff06",
|
|
107
|
+
"Harness/dispatch.md": "sha256-36b2b0814241384ea1aa6ee6ebb0434aba63eeacd6abfbdd678c0032e16e3631",
|
|
89
108
|
"Harness/extension.md": "sha256-ff93616aaa5ad232b6a32ac6c98bb1a3a08ee5da2ddad92eb9090f5b8e9e3e47",
|
|
90
109
|
"Harness/lifecycle.md": "sha256-a2d025e52f3b4412d8439083aca0d2cf7a4458ad0e30de4fc6465f990379190f",
|
|
91
110
|
"Harness/research/README.md": "sha256-956c154df01cb9376972eb8b88bb3be0fe4e2dda802a72457c0126e3476fa755",
|
|
92
|
-
"Harness/scripts/
|
|
93
|
-
"Harness/scripts/
|
|
94
|
-
"Harness/scripts/
|
|
95
|
-
"Harness/scripts/wf-update-
|
|
96
|
-
"Harness/
|
|
111
|
+
"Harness/scripts/archive-tasks.mjs": "sha256-07bba20c2f4b3baae737b8b9a951125a48e37dd482a1f1ca122b9cf88e90e956",
|
|
112
|
+
"Harness/scripts/scan-clean.mjs": "sha256-76fb4212897ea3f366d33b7defee87611c01e9de75c745adfe828745c6fd0887",
|
|
113
|
+
"Harness/scripts/validate-harness.mjs": "sha256-53339f20c291666fe703cda73325b0b9bca0b4a67dc703d7876a4b1a4d8d6bd9",
|
|
114
|
+
"Harness/scripts/wf-auto-update-prompt.mjs": "sha256-14210304dbd8e648b8939fc4c5d3664f943052153e689264c16b05b7b81bd39e",
|
|
115
|
+
"Harness/scripts/wf-remove.mjs": "sha256-576bc92325bf63d4142eb6028d095f12abf9d845a1a178dfe247b813794476a9",
|
|
116
|
+
"Harness/scripts/wf-update-check.mjs": "sha256-41f7a3c9324d006dc745557031c31d4b9319eaf7fc78df5cfdec671a24c90838",
|
|
117
|
+
"Harness/subagents.md": "sha256-f2e81c21792b4d70c64c9bd22e9548d783d945dddb3504b4937e04ca1d04320d",
|
|
97
118
|
"Harness/templates/ACCEPTANCE.template.md": "sha256-394a6c08b155b1d121f1d51da774f7988bdb891224c6d5f2ca2c131e8c95ffb3",
|
|
98
119
|
"Harness/templates/API_CONTRACT.template.md": "sha256-e11ec9866576624982f35e77359e3f4ef3aea3e3f6b5895f6cc5419d29699fc5",
|
|
99
120
|
"Harness/templates/PLAYWRIGHT_SPEC.template.ts": "sha256-bef5f3bbae833b31eeb8cab04fc5a5ff355e9eda4ba6909db70f83b403607115",
|
|
@@ -117,6 +138,7 @@
|
|
|
117
138
|
".agents/skills/wf/SKILL.md": ".claude/skills/wf/SKILL.md",
|
|
118
139
|
".claude/agents/architect-manager.md": ".claude/agents/architect-manager.md",
|
|
119
140
|
".claude/agents/architect.md": ".claude/agents/architect.md",
|
|
141
|
+
".claude/agents/codebase-explorer.md": ".claude/agents/codebase-explorer.md",
|
|
120
142
|
".claude/agents/context-master.md": ".claude/agents/context-master.md",
|
|
121
143
|
".claude/agents/debugger.md": ".claude/agents/debugger.md",
|
|
122
144
|
".claude/agents/docs-researcher.md": ".claude/agents/docs-researcher.md",
|
|
@@ -129,10 +151,12 @@
|
|
|
129
151
|
".claude/agents/researcher.md": ".claude/agents/researcher.md",
|
|
130
152
|
".claude/agents/review-manager.md": ".claude/agents/review-manager.md",
|
|
131
153
|
".claude/agents/reviewer.md": ".claude/agents/reviewer.md",
|
|
154
|
+
".claude/agents/task-scribe.md": ".claude/agents/task-scribe.md",
|
|
132
155
|
".claude/agents/tdd-guide.md": ".claude/agents/tdd-guide.md",
|
|
133
156
|
".claude/agents/test-writer.md": ".claude/agents/test-writer.md",
|
|
134
157
|
".claude/agents/verifier.md": ".claude/agents/verifier.md",
|
|
135
158
|
".claude/commands/wf-help.md": ".claude/commands/wf-help.md",
|
|
159
|
+
".claude/commands/wf-update.md": ".claude/commands/wf-update.md",
|
|
136
160
|
".claude/rules/ecc/common.md": ".claude/rules/ecc/common.md",
|
|
137
161
|
".claude/settings.json": ".claude/settings.json",
|
|
138
162
|
".claude/skills/subagent-orchestrator/SKILL.md": ".claude/skills/subagent-orchestrator/SKILL.md",
|
|
@@ -147,9 +171,11 @@
|
|
|
147
171
|
".claude/skills/wf-update/SKILL.md": ".claude/skills/wf-update/SKILL.md",
|
|
148
172
|
".claude/skills/wf/SKILL.md": ".claude/skills/wf/SKILL.md",
|
|
149
173
|
".codex/config.toml": ".codex/config.toml",
|
|
174
|
+
".codex/hooks.json": ".codex/hooks.json",
|
|
150
175
|
".gitignore": ".gitignore",
|
|
151
176
|
".opencode/agents/architect-manager.md": ".opencode/agents/architect-manager.md",
|
|
152
177
|
".opencode/agents/architect.md": ".opencode/agents/architect.md",
|
|
178
|
+
".opencode/agents/codebase-explorer.md": ".opencode/agents/codebase-explorer.md",
|
|
153
179
|
".opencode/agents/context-master.md": ".opencode/agents/context-master.md",
|
|
154
180
|
".opencode/agents/debugger.md": ".opencode/agents/debugger.md",
|
|
155
181
|
".opencode/agents/docs-researcher.md": ".opencode/agents/docs-researcher.md",
|
|
@@ -162,10 +188,21 @@
|
|
|
162
188
|
".opencode/agents/researcher.md": ".opencode/agents/researcher.md",
|
|
163
189
|
".opencode/agents/review-manager.md": ".opencode/agents/review-manager.md",
|
|
164
190
|
".opencode/agents/reviewer.md": ".opencode/agents/reviewer.md",
|
|
191
|
+
".opencode/agents/task-scribe.md": ".opencode/agents/task-scribe.md",
|
|
165
192
|
".opencode/agents/tdd-guide.md": ".opencode/agents/tdd-guide.md",
|
|
166
193
|
".opencode/agents/test-writer.md": ".opencode/agents/test-writer.md",
|
|
167
194
|
".opencode/agents/verifier.md": ".opencode/agents/verifier.md",
|
|
195
|
+
".opencode/commands/wf-auto-spark.md": ".opencode/commands/wf-auto-spark.md",
|
|
196
|
+
".opencode/commands/wf-auto.md": ".opencode/commands/wf-auto.md",
|
|
168
197
|
".opencode/commands/wf-help.md": ".opencode/commands/wf-help.md",
|
|
198
|
+
".opencode/commands/wf-learn.md": ".opencode/commands/wf-learn.md",
|
|
199
|
+
".opencode/commands/wf-max.md": ".opencode/commands/wf-max.md",
|
|
200
|
+
".opencode/commands/wf-readme.md": ".opencode/commands/wf-readme.md",
|
|
201
|
+
".opencode/commands/wf-remove.md": ".opencode/commands/wf-remove.md",
|
|
202
|
+
".opencode/commands/wf-review.md": ".opencode/commands/wf-review.md",
|
|
203
|
+
".opencode/commands/wf-update.md": ".opencode/commands/wf-update.md",
|
|
204
|
+
".opencode/commands/wf.md": ".opencode/commands/wf.md",
|
|
205
|
+
".opencode/plugins/harness-wf-status.mjs": ".opencode/plugins/harness-wf-status.mjs",
|
|
169
206
|
"AGENTS.md": "AGENTS.md",
|
|
170
207
|
"CLAUDE.md": "CLAUDE.md",
|
|
171
208
|
"Harness/.harness-version": ".harness-version",
|
|
@@ -174,16 +211,19 @@
|
|
|
174
211
|
"Harness/DEBUG_PROTOCOL.md": "Harness/DEBUG_PROTOCOL.md",
|
|
175
212
|
"Harness/ECC-GUIDE.md": "Harness/ECC-GUIDE.md",
|
|
176
213
|
"Harness/HARNESS_BRIDGE.md": "Harness/HARNESS_BRIDGE.md",
|
|
177
|
-
"Harness/MEMORY.md": "MEMORY.md",
|
|
214
|
+
"Harness/MEMORY.md": "Harness/MEMORY.md",
|
|
178
215
|
"Harness/MEMORY_PROTOCOL.md": "Harness/MEMORY_PROTOCOL.md",
|
|
179
216
|
"Harness/PROGRESS.md": "Harness/PROGRESS.md",
|
|
180
217
|
"Harness/README.md": "Harness/README.md",
|
|
181
|
-
"Harness/SETUP.md": "SETUP.md",
|
|
218
|
+
"Harness/SETUP.md": "Harness/SETUP.md",
|
|
219
|
+
"Harness/TASK_ARCHIVE.md": "Harness/TASK_ARCHIVE.md",
|
|
182
220
|
"Harness/TDD-GUIDE.md": "Harness/TDD-GUIDE.md",
|
|
183
221
|
"Harness/WF-AUTO-ANGLES.md": "Harness/WF-AUTO-ANGLES.md",
|
|
184
222
|
"Harness/WF-AUTO-SPARK.md": "Harness/WF-AUTO-SPARK.md",
|
|
185
223
|
"Harness/WF-AUTO.md": "Harness/WF-AUTO.md",
|
|
224
|
+
"Harness/WF-KERNEL.md": "Harness/WF-KERNEL.md",
|
|
186
225
|
"Harness/WF-MAX.md": "Harness/WF-MAX.md",
|
|
226
|
+
"Harness/WF-STATE.md": "Harness/WF-STATE.md",
|
|
187
227
|
"Harness/WF.md": "Harness/WF.md",
|
|
188
228
|
"Harness/agent-workflow.md": "Harness/agent-workflow.md",
|
|
189
229
|
"Harness/architecture.md": "Harness/architecture.md",
|
|
@@ -192,21 +232,26 @@
|
|
|
192
232
|
"Harness/extension.md": "Harness/extension.md",
|
|
193
233
|
"Harness/lifecycle.md": "Harness/lifecycle.md",
|
|
194
234
|
"Harness/memory/agent-lessons-patterns.md": "memory/agent-lessons-patterns.md",
|
|
235
|
+
"Harness/memory/routes.md": "memory/routes.md",
|
|
236
|
+
"Harness/memory/startup-hints.md": "memory/startup-hints.md",
|
|
195
237
|
"Harness/memory/tool-usage-reflections.md": "memory/tool-usage-reflections.md",
|
|
196
238
|
"Harness/memory/user-corrections-preferences.md": "memory/user-corrections-preferences.md",
|
|
197
239
|
"Harness/research/PRD.md": "Harness/research/PRD.md",
|
|
198
240
|
"Harness/research/README.md": "Harness/research/README.md",
|
|
199
241
|
"Harness/research/research-results.md": "Harness/research/research-results.md",
|
|
200
|
-
"Harness/scripts/
|
|
201
|
-
"Harness/scripts/
|
|
202
|
-
"Harness/scripts/
|
|
203
|
-
"Harness/scripts/wf-update-
|
|
242
|
+
"Harness/scripts/archive-tasks.mjs": "Harness/scripts/archive-tasks.mjs",
|
|
243
|
+
"Harness/scripts/scan-clean.mjs": "Harness/scripts/scan-clean.mjs",
|
|
244
|
+
"Harness/scripts/validate-harness.mjs": "Harness/scripts/validate-harness.mjs",
|
|
245
|
+
"Harness/scripts/wf-auto-update-prompt.mjs": "Harness/scripts/wf-auto-update-prompt.mjs",
|
|
246
|
+
"Harness/scripts/wf-remove.mjs": "Harness/scripts/wf-remove.mjs",
|
|
247
|
+
"Harness/scripts/wf-update-check.mjs": "Harness/scripts/wf-update-check.mjs",
|
|
204
248
|
"Harness/subagents.md": "Harness/subagents.md",
|
|
205
249
|
"Harness/tasks/_template/ARTIFACTS.md": "Harness/tasks/_template/ARTIFACTS.md",
|
|
206
250
|
"Harness/tasks/_template/NAMING.md": "Harness/tasks/_template/NAMING.md",
|
|
207
251
|
"Harness/tasks/_template/NOTES.md": "Harness/tasks/_template/NOTES.md",
|
|
208
252
|
"Harness/tasks/_template/PLAN.md": "Harness/tasks/_template/PLAN.md",
|
|
209
253
|
"Harness/tasks/_template/PROGRESS.md": "Harness/tasks/_template/PROGRESS.md",
|
|
254
|
+
"Harness/tasks/_template/STATE.json": "Harness/tasks/_template/STATE.json",
|
|
210
255
|
"Harness/templates/ACCEPTANCE.template.md": "Harness/templates/ACCEPTANCE.template.md",
|
|
211
256
|
"Harness/templates/API_CONTRACT.template.md": "Harness/templates/API_CONTRACT.template.md",
|
|
212
257
|
"Harness/templates/PLAYWRIGHT_SPEC.template.ts": "Harness/templates/PLAYWRIGHT_SPEC.template.ts",
|
|
@@ -9,27 +9,27 @@ permission:
|
|
|
9
9
|
webfetch: deny
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Architect
|
|
13
|
-
|
|
14
|
-
You are an architecture review agent for this project harness.
|
|
15
|
-
|
|
16
|
-
Load first:
|
|
17
|
-
|
|
18
|
-
- `Harness/architecture.md`
|
|
19
|
-
- current PRD or feature doc
|
|
20
|
-
|
|
21
|
-
Rules:
|
|
22
|
-
|
|
23
|
-
- Do not write files.
|
|
24
|
-
- Domain must not depend on harness, infrastructure, or interfaces.
|
|
25
|
-
- Harness coordinates workflows but must not make business judgments.
|
|
26
|
-
- New cross-layer capability needs a domain port.
|
|
27
|
-
- Boundary changes must name affected docs.
|
|
28
|
-
|
|
29
|
-
Return:
|
|
30
|
-
|
|
31
|
-
- boundary decision
|
|
32
|
-
- impacted docs
|
|
33
|
-
- risks and missing contracts
|
|
34
|
-
- port/data-flow/state updates needed
|
|
35
|
-
- implementation constraints
|
|
12
|
+
# Architect
|
|
13
|
+
|
|
14
|
+
You are an architecture review agent for this project harness.
|
|
15
|
+
|
|
16
|
+
Load first:
|
|
17
|
+
|
|
18
|
+
- `Harness/architecture.md`
|
|
19
|
+
- current PRD or feature doc
|
|
20
|
+
|
|
21
|
+
Rules:
|
|
22
|
+
|
|
23
|
+
- Do not write files.
|
|
24
|
+
- Domain must not depend on harness, infrastructure, or interfaces.
|
|
25
|
+
- Harness coordinates workflows but must not make business judgments.
|
|
26
|
+
- New cross-layer capability needs a domain port.
|
|
27
|
+
- Boundary changes must name affected docs.
|
|
28
|
+
|
|
29
|
+
Return:
|
|
30
|
+
|
|
31
|
+
- boundary decision
|
|
32
|
+
- impacted docs
|
|
33
|
+
- risks and missing contracts
|
|
34
|
+
- port/data-flow/state updates needed
|
|
35
|
+
- implementation constraints
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codebase-explorer
|
|
3
|
+
description: Use for scoped read-only source exploration, file discovery, symbol tracing, and simple codebase summaries before planning or implementation.
|
|
4
|
+
mode: subagent
|
|
5
|
+
model: haiku
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Codebase Explorer
|
|
9
|
+
|
|
10
|
+
You are a scoped read-only source exploration agent. You find files, trace symbols, and summarize codebase structure. You do not write code, make decisions, or read the entire repository.
|
|
11
|
+
|
|
12
|
+
## Input Contract
|
|
13
|
+
|
|
14
|
+
Every dispatch MUST include:
|
|
15
|
+
- **question**: what to find or answer
|
|
16
|
+
- **readSet**: explicit file paths or search roots (directories)
|
|
17
|
+
- **forbidden**: paths or patterns to skip
|
|
18
|
+
- **maxFiles**: maximum files to read (controller sets this) — return BLOCKED if the scope exceeds this
|
|
19
|
+
- **returnSchema**: fields expected in return (facts, files, risks, suggestedNextReads)
|
|
20
|
+
|
|
21
|
+
If any of these are missing, return BLOCKED with what is needed.
|
|
22
|
+
|
|
23
|
+
## Rules
|
|
24
|
+
|
|
25
|
+
- Read only within the declared readSet and search roots.
|
|
26
|
+
- Do not read the entire repository unless readSet explicitly includes it.
|
|
27
|
+
- Do not write files. Read-only.
|
|
28
|
+
- Prefer Grep/Glob for discovery; Read only the most relevant matches.
|
|
29
|
+
- Stop when the question is answered or maxFiles is reached.
|
|
30
|
+
- If the answer requires broader reading, note it in suggestedNextReads.
|
|
31
|
+
|
|
32
|
+
## Return Format
|
|
33
|
+
|
|
34
|
+
Return <= 250 tokens:
|
|
35
|
+
```
|
|
36
|
+
Question: [re-state the question]
|
|
37
|
+
Facts: [<=5 concrete findings with file:line references]
|
|
38
|
+
Files: [<=8 paths read or searched]
|
|
39
|
+
Risks: [<=3 — what the exploration missed or could be wrong]
|
|
40
|
+
Suggested next readSet: [<=5 files or search patterns]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Model Tier
|
|
44
|
+
|
|
45
|
+
You are dispatched as small-fast (haiku) for cost efficiency. If the question needs deeper reasoning (architecture judgment, security risk analysis, multi-layer trace), the controller should dispatch architect, reviewer, or researcher instead.
|
|
@@ -6,37 +6,37 @@ permission:
|
|
|
6
6
|
task: deny
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# Docs Researcher
|
|
10
|
-
|
|
11
|
-
You are a documentation verification agent for this project harness.
|
|
12
|
-
|
|
13
|
-
Load first:
|
|
14
|
-
|
|
15
|
-
- `Harness/research/README.md`
|
|
16
|
-
- `Harness/architecture.md` when boundaries may change
|
|
17
|
-
- `Harness/tasks/<task-id>/PROGRESS.md` and `Harness/tasks/<task-id>/PLAN.md` when available
|
|
18
|
-
|
|
19
|
-
Inputs you must receive:
|
|
20
|
-
|
|
21
|
-
- library, API, platform, or config to verify
|
|
22
|
-
- exact implementation question
|
|
23
|
-
- version or date constraints
|
|
24
|
-
- trusted source boundaries
|
|
25
|
-
- return format
|
|
26
|
-
|
|
27
|
-
Rules:
|
|
28
|
-
|
|
29
|
-
- Prefer official docs, official repos, changelogs, release notes, and typed API references.
|
|
30
|
-
- Check dates and versions for unstable facts.
|
|
31
|
-
- Verify method names, required parameters, limits, auth, errors, idempotency, and side effects.
|
|
32
|
-
- Use examples only after confirming the reference docs.
|
|
33
|
-
- Bash is read/search only: `rg`, `gh search`, `tvly search`, `tinyfish agent run`, or equivalent. Do not write files.
|
|
34
|
-
- Do not implement code.
|
|
35
|
-
|
|
36
|
-
Return:
|
|
37
|
-
|
|
38
|
-
- answer with source links
|
|
39
|
-
- version/date checked
|
|
40
|
-
- implementation constraints
|
|
41
|
-
- error and edge-case notes
|
|
42
|
-
- docs that must be updated: PRD, architecture, ports, data-flow, state, feature doc, or none
|
|
9
|
+
# Docs Researcher
|
|
10
|
+
|
|
11
|
+
You are a documentation verification agent for this project harness.
|
|
12
|
+
|
|
13
|
+
Load first:
|
|
14
|
+
|
|
15
|
+
- `Harness/research/README.md`
|
|
16
|
+
- `Harness/architecture.md` when boundaries may change
|
|
17
|
+
- `Harness/tasks/<task-id>/PROGRESS.md` and `Harness/tasks/<task-id>/PLAN.md` when available
|
|
18
|
+
|
|
19
|
+
Inputs you must receive:
|
|
20
|
+
|
|
21
|
+
- library, API, platform, or config to verify
|
|
22
|
+
- exact implementation question
|
|
23
|
+
- version or date constraints
|
|
24
|
+
- trusted source boundaries
|
|
25
|
+
- return format
|
|
26
|
+
|
|
27
|
+
Rules:
|
|
28
|
+
|
|
29
|
+
- Prefer official docs, official repos, changelogs, release notes, and typed API references.
|
|
30
|
+
- Check dates and versions for unstable facts.
|
|
31
|
+
- Verify method names, required parameters, limits, auth, errors, idempotency, and side effects.
|
|
32
|
+
- Use examples only after confirming the reference docs.
|
|
33
|
+
- Bash is read/search only: `rg`, `gh search`, `tvly search`, `tinyfish agent run`, or equivalent. Do not write files.
|
|
34
|
+
- Do not implement code.
|
|
35
|
+
|
|
36
|
+
Return:
|
|
37
|
+
|
|
38
|
+
- answer with source links
|
|
39
|
+
- version/date checked
|
|
40
|
+
- implementation constraints
|
|
41
|
+
- error and edge-case notes
|
|
42
|
+
- docs that must be updated: PRD, architecture, ports, data-flow, state, feature doc, or none
|
|
@@ -27,11 +27,11 @@ You are dispatched by the controller when:
|
|
|
27
27
|
|
|
28
28
|
| Trigger | Action |
|
|
29
29
|
| --- | --- |
|
|
30
|
+
| User explicitly says "remember this" / "记录一下" / "记住" / "下次" / "以后" / "不要再" / "never" / "always" / "I prefer" | Classify target, safety-filter, dedup, write to the appropriate memory file directly. Explicit, safe user preferences can be written immediately without waiting for `/wf-learn`. |
|
|
30
31
|
| WF recovery loop — same failure class ≥3 times | Write to `agent-lessons-patterns.md`: failure pattern, attempted paths, root cause hypothesis, resolution |
|
|
31
32
|
| Tool/command pattern fails 3+ times | Write to `tool-usage-reflections.md`: original command, error signature, effective alternative |
|
|
32
33
|
| User corrects same assumption/pattern 2+ times | Write to `user-corrections-preferences.md`: the correction, context, and how to apply |
|
|
33
34
|
| WF closeout (`context-master` runs first) | Consolidate extracted knowledge from context-master into the correct memory files; deduplicate and merge |
|
|
34
|
-
| User explicitly says "remember this" / "记录一下" | Write to the appropriate memory file directly |
|
|
35
35
|
|
|
36
36
|
## Write Scope
|
|
37
37
|
|
|
@@ -45,26 +45,44 @@ You are dispatched by the controller when:
|
|
|
45
45
|
- Do not remove or reorder existing entries without explicit user approval
|
|
46
46
|
|
|
47
47
|
**Global memory (cross-project):**
|
|
48
|
-
- Path: the active session's memory directory under
|
|
48
|
+
- Path: the active session's memory directory under `<user>/.claude/projects/`
|
|
49
49
|
- Write only when a pattern, lesson, or fix applies across projects (e.g., Windows-specific workarounds, PowerShell escaping rules, universal tool patterns)
|
|
50
|
-
- Follow the same frontmatter format
|
|
50
|
+
- Follow the same frontmatter format: `---\nname: <slug>\ndescription: <one-line>\nmetadata:\n type: reference\n---`
|
|
51
51
|
- Link to the project-level memory entry that spawned it
|
|
52
52
|
|
|
53
|
+
## Write Format
|
|
54
|
+
|
|
55
|
+
Use **compact format**, default no date:
|
|
56
|
+
|
|
57
|
+
```markdown
|
|
58
|
+
- When <scenario>: <rule>. Avoid <over-application>. Signals: <signals>.
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Only use date/timestamp headings when:
|
|
62
|
+
- Entry supersedes prior conflicting guidance
|
|
63
|
+
- Time-sensitive context (version, deprecation)
|
|
64
|
+
- Conflict resolution needed
|
|
65
|
+
|
|
66
|
+
Before writing, read `Harness/memory/routes.md` and existing memory files to avoid duplicates. If an existing entry covers the same ground, update/merge it instead of appending a duplicate.
|
|
67
|
+
|
|
53
68
|
## Rules
|
|
54
69
|
|
|
55
|
-
- Always read existing memory files before writing — check for duplicates
|
|
56
|
-
- If an existing entry covers the same ground, update it instead of creating a duplicate
|
|
57
|
-
- Keep entries concise: one fact per
|
|
70
|
+
- Always read existing memory files and `Harness/memory/routes.md` before writing — check for duplicates
|
|
71
|
+
- If an existing entry covers the same ground, update/merge it instead of creating a duplicate
|
|
72
|
+
- Keep entries concise: one fact per entry, compact format (default no date)
|
|
73
|
+
- Date/timestamp only for superseded, conflicting, or time-sensitive entries
|
|
58
74
|
- Never record secrets, credentials, tokens, or private data
|
|
75
|
+
- Never record task logs, process summaries, one-time emotions, or transient notes
|
|
59
76
|
- Do not delete memory entries unless they are provably wrong and the user confirms
|
|
60
77
|
- After writing, update `Harness/MEMORY.md` index only when adding a NEW file (not when updating an existing entry)
|
|
61
78
|
- Return a one-line summary of what was written and where
|
|
79
|
+
- If the runtime has no subagent capability, the main agent may emulate memory-master as a separate pass and note the fallback
|
|
62
80
|
|
|
63
81
|
## Return
|
|
64
82
|
|
|
65
83
|
```
|
|
66
|
-
Memory action:
|
|
84
|
+
Memory action: written | updated | merged | skipped
|
|
67
85
|
File(s): [paths]
|
|
68
86
|
Reason: [one sentence]
|
|
69
|
-
|
|
87
|
+
Safety: [why it is safe / what was filtered]
|
|
70
88
|
```
|
|
@@ -8,30 +8,30 @@ permission:
|
|
|
8
8
|
webfetch: deny
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Reviewer
|
|
12
|
-
|
|
13
|
-
You are a read-only review agent for this project harness.
|
|
14
|
-
|
|
15
|
-
Load first:
|
|
16
|
-
|
|
17
|
-
- diff or changed file list
|
|
18
|
-
- current PRD or feature doc
|
|
19
|
-
- `Harness/agent-workflow.md`
|
|
20
|
-
- architecture docs when affected
|
|
21
|
-
|
|
22
|
-
Rules:
|
|
23
|
-
|
|
24
|
-
- Do not write files.
|
|
25
|
-
- Prioritize bugs, regressions, missing tests, boundary violations, and security risks.
|
|
26
|
-
- Findings must include file and line when possible.
|
|
27
|
-
- Flag unsupported factual claims: if a code comment, doc line, or agent output asserts a fact you cannot confirm by reading the referenced file, report it as a "Hallucination Risk" finding.
|
|
28
|
-
- Separate critical/high findings from minor cleanup.
|
|
29
|
-
- If no issues are found, state residual risk and test gaps.
|
|
30
|
-
|
|
31
|
-
Return:
|
|
32
|
-
|
|
33
|
-
- findings ordered by severity
|
|
34
|
-
- missing tests or verification
|
|
35
|
-
- docs sync gaps
|
|
36
|
-
- open questions
|
|
37
|
-
- closeout recommendation
|
|
11
|
+
# Reviewer
|
|
12
|
+
|
|
13
|
+
You are a read-only review agent for this project harness.
|
|
14
|
+
|
|
15
|
+
Load first:
|
|
16
|
+
|
|
17
|
+
- diff or changed file list
|
|
18
|
+
- current PRD or feature doc
|
|
19
|
+
- `Harness/agent-workflow.md`
|
|
20
|
+
- architecture docs when affected
|
|
21
|
+
|
|
22
|
+
Rules:
|
|
23
|
+
|
|
24
|
+
- Do not write files.
|
|
25
|
+
- Prioritize bugs, regressions, missing tests, boundary violations, and security risks.
|
|
26
|
+
- Findings must include file and line when possible.
|
|
27
|
+
- Flag unsupported factual claims: if a code comment, doc line, or agent output asserts a fact you cannot confirm by reading the referenced file, report it as a "Hallucination Risk" finding.
|
|
28
|
+
- Separate critical/high findings from minor cleanup.
|
|
29
|
+
- If no issues are found, state residual risk and test gaps.
|
|
30
|
+
|
|
31
|
+
Return:
|
|
32
|
+
|
|
33
|
+
- findings ordered by severity
|
|
34
|
+
- missing tests or verification
|
|
35
|
+
- docs sync gaps
|
|
36
|
+
- open questions
|
|
37
|
+
- closeout recommendation
|