@punks/cli 2.6.1 → 3.0.0-beta.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.
Files changed (102) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +42 -24
  3. package/dist/BASELINE_CHANGELOG.md +57 -0
  4. package/dist/CHANGELOG.md +80 -0
  5. package/dist/data/scripts/harness-projection/adapters/claude.d.mts +3 -0
  6. package/dist/data/scripts/harness-projection/adapters/claude.mjs +124 -0
  7. package/dist/data/scripts/harness-projection/adapters/codex.d.mts +3 -0
  8. package/dist/data/scripts/harness-projection/adapters/codex.mjs +137 -0
  9. package/dist/data/scripts/harness-projection/adapters/cursor.d.mts +5 -0
  10. package/dist/data/scripts/harness-projection/adapters/cursor.mjs +106 -0
  11. package/dist/data/scripts/harness-projection/adapters/opencode.d.mts +5 -0
  12. package/dist/data/scripts/harness-projection/adapters/opencode.mjs +100 -0
  13. package/dist/data/scripts/harness-projection/apply.d.mts +12 -0
  14. package/dist/data/scripts/harness-projection/apply.mjs +96 -0
  15. package/dist/data/scripts/harness-projection/core.d.mts +8 -0
  16. package/dist/data/scripts/harness-projection/core.mjs +239 -0
  17. package/dist/data/scripts/harness-projection/test-fixtures/application-context-plan.json +27 -0
  18. package/dist/data/scripts/harness-projection/test-fixtures/claude/actions.json +109 -0
  19. package/dist/data/scripts/harness-projection/test-fixtures/claude/context-plan.json +150 -0
  20. package/dist/data/scripts/harness-projection/test-fixtures/claude/matrix.json +23 -0
  21. package/dist/data/scripts/harness-projection/test-fixtures/claude/traces.json +15 -0
  22. package/dist/data/scripts/harness-projection/test-fixtures/codex/actions.json +124 -0
  23. package/dist/data/scripts/harness-projection/test-fixtures/codex/context-plan.json +150 -0
  24. package/dist/data/scripts/harness-projection/test-fixtures/codex/matrix.json +23 -0
  25. package/dist/data/scripts/harness-projection/test-fixtures/codex/traces.json +15 -0
  26. package/dist/data/scripts/harness-projection/test-fixtures/cursor/compiler-input.json +93 -0
  27. package/dist/data/scripts/harness-projection/test-fixtures/cursor/context-plan.json +108 -0
  28. package/dist/data/scripts/harness-projection/test-fixtures/cursor/matrix.json +19 -0
  29. package/dist/data/scripts/harness-projection/test-fixtures/cursor/projection.json +54 -0
  30. package/dist/data/scripts/harness-projection/test-fixtures/mixed-context-plan.json +35 -0
  31. package/dist/data/scripts/harness-projection/test-fixtures/opencode/compiler-input.json +93 -0
  32. package/dist/data/scripts/harness-projection/test-fixtures/opencode/context-plan.json +108 -0
  33. package/dist/data/scripts/harness-projection/test-fixtures/opencode/matrix.json +19 -0
  34. package/dist/data/scripts/harness-projection/test-fixtures/opencode/projection.json +51 -0
  35. package/dist/data/scripts/sync-subagents.mjs +1113 -33
  36. package/dist/data/subagents/manifest.mjs +5 -6
  37. package/dist/index.js +1373 -62672
  38. package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +1 -1
  39. package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +2 -2
  40. package/dist/skills/agnostic/planning/create-plan/SKILL.md +11 -10
  41. package/dist/skills/agnostic/planning/create-plan/references/grill-ambiguity.md +10 -31
  42. package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +2 -2
  43. package/dist/skills/agnostic/planning/create-spec/SKILL.md +3 -5
  44. package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +1 -0
  45. package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +2 -2
  46. package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +4 -9
  47. package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +1 -0
  48. package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +1 -1
  49. package/dist/skills/agnostic/requirements/grilling/LICENSE +21 -0
  50. package/dist/skills/agnostic/requirements/grilling/SKILL.md +6 -30
  51. package/dist/skills/agnostic/requirements/grilling/UPSTREAM.md +16 -0
  52. package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +3 -5
  53. package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +40 -16
  54. package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +3 -16
  55. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +21 -15
  56. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +14 -14
  57. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +28 -9
  58. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +45 -5
  59. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +48 -28
  60. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +22 -6
  61. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +47 -22
  62. package/dist/skills/frameworks/effect/effect/LICENSE +21 -0
  63. package/dist/skills/frameworks/effect/effect/SKILL.md +100 -0
  64. package/dist/skills/frameworks/effect/effect/UPSTREAM.md +11 -0
  65. package/dist/skills/frameworks/effect/effect/references/CACHING.md +76 -0
  66. package/dist/skills/frameworks/effect/effect/references/CONFIG.md +67 -0
  67. package/dist/skills/frameworks/effect/effect/references/HTTP_CLIENTS.md +101 -0
  68. package/dist/skills/frameworks/effect/{effect-authoring/references/otel-patterns.md → effect/references/OBSERVABILITY.md} +4 -29
  69. package/dist/skills/frameworks/effect/effect/references/SCHEDULING.md +135 -0
  70. package/dist/skills/frameworks/effect/effect/references/SCHEMA.md +130 -0
  71. package/dist/skills/frameworks/effect/effect/references/SERVICES_LAYERS.md +168 -0
  72. package/dist/skills/frameworks/effect/effect/references/STREAMS.md +135 -0
  73. package/dist/skills/frameworks/effect/effect/references/TESTING.md +118 -0
  74. package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +7 -8
  75. package/dist/skills/frameworks/effect/effect-recoverable-actions/SKILL.md +1 -1
  76. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.gitignore +29 -0
  77. package/dist/skills/misc/secrets-cli/SKILL.md +54 -0
  78. package/dist/skills/misc/secrets-cli/references/command-reference.md +107 -0
  79. package/dist/skills/misc/secrets-cli/references/safety-and-errors.md +54 -0
  80. package/dist/skills/misc/secrets-cli/references/workflows.md +106 -0
  81. package/dist/skills/phases/design-phase/phases/grill.md +1 -1
  82. package/dist/skills/phases/requirements-phase/SKILL.md +2 -4
  83. package/dist/skills/phases/review-phase/REFERENCE.md +13 -5
  84. package/dist/skills/phases/review-phase/SKILL.md +3 -2
  85. package/package.json +1 -1
  86. package/dist/skills/agnostic/planning/create-spec/references/handoff.md +0 -47
  87. package/dist/skills/frameworks/effect/effect-authoring/SKILL.md +0 -116
  88. package/dist/skills/frameworks/effect/effect-authoring/references/branded-types.md +0 -98
  89. package/dist/skills/frameworks/effect/effect-authoring/references/effect-primitives.md +0 -144
  90. package/dist/skills/frameworks/effect/effect-authoring/references/error-patterns.md +0 -156
  91. package/dist/skills/frameworks/effect/effect-authoring/references/test-patterns.md +0 -146
  92. package/dist/skills/frameworks/effect/effect-best-practices/SKILL.md +0 -517
  93. package/dist/skills/frameworks/effect/effect-best-practices/references/anti-patterns.md +0 -392
  94. package/dist/skills/frameworks/effect/effect-best-practices/references/effect-atom-patterns.md +0 -653
  95. package/dist/skills/frameworks/effect/effect-best-practices/references/error-patterns.md +0 -464
  96. package/dist/skills/frameworks/effect/effect-best-practices/references/language-server.md +0 -287
  97. package/dist/skills/frameworks/effect/effect-best-practices/references/layer-patterns.md +0 -495
  98. package/dist/skills/frameworks/effect/effect-best-practices/references/observability-patterns.md +0 -342
  99. package/dist/skills/frameworks/effect/effect-best-practices/references/rpc-cluster-patterns.md +0 -418
  100. package/dist/skills/frameworks/effect/effect-best-practices/references/schema-patterns.md +0 -353
  101. package/dist/skills/frameworks/effect/effect-best-practices/references/service-patterns.md +0 -299
  102. /package/dist/skills/frameworks/effect/{effect-authoring/references/effect-atom-patterns.md → effect/references/EFFECT_ATOM.md} +0 -0
@@ -0,0 +1,109 @@
1
+ [
2
+ {
3
+ "id": "claude:scoped-prompt:.agents:.agents:shared-agents",
4
+ "operation": "mirror",
5
+ "source": ".agents/AGENTS.md",
6
+ "target": ".claude/CLAUDE.md"
7
+ },
8
+ {
9
+ "id": "claude:skill:apps/cli:effect-authoring",
10
+ "operation": "use-native-mirror",
11
+ "canonicalPath": ".agents/skills/effect-authoring",
12
+ "nativePath": ".claude/skills/effect-authoring"
13
+ },
14
+ {
15
+ "id": "claude:skill:apps/cli:tdd",
16
+ "operation": "use-native-mirror",
17
+ "canonicalPath": ".agents/skills/tdd",
18
+ "nativePath": ".claude/skills/tdd"
19
+ },
20
+ {
21
+ "id": "claude:scoped-prompt:apps/cli:apps/cli:workspace-prompt-spec",
22
+ "operation": "mirror",
23
+ "source": "apps/cli/AGENTS.md",
24
+ "target": "apps/cli/CLAUDE.md"
25
+ },
26
+ {
27
+ "id": "claude:skill:root:effect-authoring",
28
+ "operation": "use-native-mirror",
29
+ "canonicalPath": ".agents/skills/effect-authoring",
30
+ "nativePath": ".claude/skills/effect-authoring"
31
+ },
32
+ {
33
+ "id": "claude:skill:root:tdd",
34
+ "operation": "use-native-mirror",
35
+ "canonicalPath": ".agents/skills/tdd",
36
+ "nativePath": ".claude/skills/tdd"
37
+ },
38
+ {
39
+ "id": "claude:scoped-prompt:root:root:root-prompt-spec",
40
+ "operation": "mirror",
41
+ "source": "AGENTS.md",
42
+ "target": "CLAUDE.md"
43
+ },
44
+ {
45
+ "id": "claude:lifecycle-hook:root:format-edited-file:mirror",
46
+ "operation": "mirror",
47
+ "source": ".agents/hooks/format-edited-file.mjs",
48
+ "target": ".claude/hooks/format-edited-file.mjs"
49
+ },
50
+ {
51
+ "id": "claude:lifecycle-hook:root:format-edited-file:configure",
52
+ "operation": "merge-json",
53
+ "target": ".claude/settings.json#hooks.PostToolUse:format-edited-file",
54
+ "file": ".claude/settings.json",
55
+ "path": ["hooks", "PostToolUse"],
56
+ "value": {
57
+ "matcher": "Edit|Write|MultiEdit",
58
+ "hooks": [
59
+ {
60
+ "type": "command",
61
+ "command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-edited-file.mjs claude",
62
+ "timeout": 30
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "id": "claude:lifecycle-hook:root:scaffold-update-check:mirror",
69
+ "operation": "mirror",
70
+ "source": ".agents/hooks/scaffold-update-check.mjs",
71
+ "target": ".claude/hooks/scaffold-update-check.mjs"
72
+ },
73
+ {
74
+ "id": "claude:lifecycle-hook:root:scaffold-update-check:configure",
75
+ "operation": "merge-json",
76
+ "target": ".claude/settings.json#hooks.SessionStart:scaffold-update-check",
77
+ "file": ".claude/settings.json",
78
+ "path": ["hooks", "SessionStart"],
79
+ "value": {
80
+ "hooks": [
81
+ {
82
+ "type": "command",
83
+ "command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/scaffold-update-check.mjs claude",
84
+ "timeout": 60
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "id": "claude:subagent-template:root:apps-cli",
91
+ "operation": "render-template",
92
+ "templateId": "apps-cli",
93
+ "source": ".agents/subagents/manifest.mjs#apps-cli",
94
+ "filename": "apps-cli.md",
95
+ "target": ".claude/agents/apps-cli.md",
96
+ "format": "claude-markdown",
97
+ "skills": ["effect-authoring", "tdd"]
98
+ },
99
+ {
100
+ "id": "claude:subagent-template:root:code-review",
101
+ "operation": "render-template",
102
+ "templateId": "code-review",
103
+ "source": ".agents/subagents/manifest.mjs#code-review",
104
+ "filename": "code-review.md",
105
+ "target": ".claude/agents/code-review.md",
106
+ "format": "claude-markdown",
107
+ "skills": ["tdd"]
108
+ }
109
+ ]
@@ -0,0 +1,150 @@
1
+ {
2
+ "version": "1",
3
+ "scopes": [
4
+ {
5
+ "id": ".agents",
6
+ "packs": [{ "id": "subagents", "order": 0 }],
7
+ "contributions": [
8
+ {
9
+ "kind": "scoped-prompt",
10
+ "identity": { "id": ".agents:shared-agents", "version": "2026.07.17" },
11
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
12
+ "compatibility": [],
13
+ "references": [],
14
+ "order": 0
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "id": "apps/cli",
20
+ "packs": [
21
+ { "id": "effect", "order": 0 },
22
+ { "id": "quality", "order": 1 }
23
+ ],
24
+ "contributions": [
25
+ {
26
+ "kind": "skill",
27
+ "identity": { "id": "effect-authoring", "version": "2026.07.17" },
28
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
29
+ "compatibility": [{ "id": "effect", "versionRange": "^3.21.2" }],
30
+ "references": ["references/effect-primitives.md"],
31
+ "order": 0
32
+ },
33
+ {
34
+ "kind": "skill",
35
+ "identity": { "id": "tdd", "version": "2026.07.17" },
36
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
37
+ "compatibility": [],
38
+ "references": ["high-signal-tests.md"],
39
+ "order": 1
40
+ },
41
+ {
42
+ "kind": "scoped-prompt",
43
+ "identity": { "id": "apps/cli:workspace-prompt-spec", "version": "2026.07.17" },
44
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
45
+ "compatibility": [],
46
+ "references": [],
47
+ "order": 2
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "id": "root",
53
+ "packs": [
54
+ { "id": "effect", "order": 0 },
55
+ { "id": "quality", "order": 1 },
56
+ { "id": "subagents", "order": 2 }
57
+ ],
58
+ "contributions": [
59
+ {
60
+ "kind": "skill",
61
+ "identity": { "id": "effect-authoring", "version": "2026.07.17" },
62
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
63
+ "compatibility": [{ "id": "effect", "versionRange": "^3.21.2" }],
64
+ "references": ["references/effect-primitives.md"],
65
+ "order": 0
66
+ },
67
+ {
68
+ "kind": "skill",
69
+ "identity": { "id": "tdd", "version": "2026.07.17" },
70
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
71
+ "compatibility": [],
72
+ "references": ["high-signal-tests.md"],
73
+ "order": 1
74
+ },
75
+ {
76
+ "kind": "scoped-prompt",
77
+ "identity": { "id": "root:root-prompt-spec", "version": "2026.07.17" },
78
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
79
+ "compatibility": [],
80
+ "references": [],
81
+ "order": 2
82
+ },
83
+ {
84
+ "kind": "lifecycle-hook",
85
+ "identity": { "id": "format-edited-file", "version": "2026.07.17" },
86
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
87
+ "compatibility": [],
88
+ "references": [],
89
+ "order": 3
90
+ },
91
+ {
92
+ "kind": "lifecycle-hook",
93
+ "identity": { "id": "scaffold-update-check", "version": "2026.07.17" },
94
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
95
+ "compatibility": [],
96
+ "references": [],
97
+ "order": 4
98
+ },
99
+ {
100
+ "kind": "tool-configuration",
101
+ "identity": { "id": "agent-browser", "version": "2026.07.17" },
102
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
103
+ "compatibility": [],
104
+ "references": [],
105
+ "order": 5
106
+ },
107
+ {
108
+ "kind": "tool-configuration",
109
+ "identity": { "id": "opensrc", "version": "2026.07.17" },
110
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
111
+ "compatibility": [],
112
+ "references": [],
113
+ "order": 6
114
+ },
115
+ {
116
+ "kind": "tool-configuration",
117
+ "identity": { "id": "portless", "version": "2026.07.17" },
118
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
119
+ "compatibility": [],
120
+ "references": [],
121
+ "order": 7
122
+ },
123
+ {
124
+ "kind": "tool-configuration",
125
+ "identity": { "id": "skills", "version": "2026.07.17" },
126
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
127
+ "compatibility": [],
128
+ "references": [],
129
+ "order": 8
130
+ },
131
+ {
132
+ "kind": "subagent-template",
133
+ "identity": { "id": "apps-cli", "version": "2026.07.17" },
134
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
135
+ "compatibility": [],
136
+ "references": ["effect-authoring", "tdd"],
137
+ "order": 9
138
+ },
139
+ {
140
+ "kind": "subagent-template",
141
+ "identity": { "id": "code-review", "version": "2026.07.17" },
142
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
143
+ "compatibility": [],
144
+ "references": ["tdd"],
145
+ "order": 10
146
+ }
147
+ ]
148
+ }
149
+ ]
150
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "matrixVersion": "2026.07.17-v1",
3
+ "adapter": { "id": "claude", "version": "1.0.0" },
4
+ "capabilities": [
5
+ {
6
+ "family": "skill",
7
+ "support": "degraded",
8
+ "reason": "Skills use the shared Claude compatibility mirror rather than per-scope registrations"
9
+ },
10
+ { "family": "scoped-prompt", "support": "supported" },
11
+ {
12
+ "family": "lifecycle-hook",
13
+ "support": "degraded",
14
+ "reason": "Only SessionStart and file-edit command hooks have native Claude projections"
15
+ },
16
+ {
17
+ "family": "tool-configuration",
18
+ "support": "unsupported",
19
+ "reason": "Harness tool configuration is not projected into Claude settings"
20
+ },
21
+ { "family": "subagent-template", "support": "supported" }
22
+ ]
23
+ }
@@ -0,0 +1,15 @@
1
+ [
2
+ [".agents", ".agents:shared-agents"],
3
+ ["apps/cli", "effect-authoring"],
4
+ ["apps/cli", "tdd"],
5
+ ["apps/cli", "apps/cli:workspace-prompt-spec"],
6
+ ["root", "effect-authoring"],
7
+ ["root", "tdd"],
8
+ ["root", "root:root-prompt-spec"],
9
+ ["root", "format-edited-file"],
10
+ ["root", "format-edited-file"],
11
+ ["root", "scaffold-update-check"],
12
+ ["root", "scaffold-update-check"],
13
+ ["root", "apps-cli"],
14
+ ["root", "code-review"]
15
+ ]
@@ -0,0 +1,124 @@
1
+ [
2
+ {
3
+ "id": "codex:scoped-prompt:.agents:.agents:shared-agents",
4
+ "operation": "mirror",
5
+ "source": ".agents/AGENTS.md",
6
+ "target": ".codex/AGENTS.md"
7
+ },
8
+ {
9
+ "id": "codex:skill:apps/cli:effect-authoring",
10
+ "operation": "use-native-skill",
11
+ "canonicalPath": ".agents/skills/effect-authoring"
12
+ },
13
+ {
14
+ "id": "codex:skill:apps/cli:tdd",
15
+ "operation": "use-native-skill",
16
+ "canonicalPath": ".agents/skills/tdd"
17
+ },
18
+ {
19
+ "id": "codex:scoped-prompt:apps/cli:apps/cli:workspace-prompt-spec",
20
+ "operation": "use-native-prompt",
21
+ "canonicalPath": "apps/cli/AGENTS.md"
22
+ },
23
+ {
24
+ "id": "codex:skill:root:effect-authoring",
25
+ "operation": "use-native-skill",
26
+ "canonicalPath": ".agents/skills/effect-authoring"
27
+ },
28
+ {
29
+ "id": "codex:skill:root:tdd",
30
+ "operation": "use-native-skill",
31
+ "canonicalPath": ".agents/skills/tdd"
32
+ },
33
+ {
34
+ "id": "codex:scoped-prompt:root:root:root-prompt-spec",
35
+ "operation": "use-native-prompt",
36
+ "canonicalPath": "AGENTS.md"
37
+ },
38
+ {
39
+ "id": "codex:lifecycle-hook:root:format-edited-file:mirror",
40
+ "operation": "mirror",
41
+ "source": ".agents/hooks/format-edited-file.mjs",
42
+ "target": ".codex/hooks/format-edited-file.mjs"
43
+ },
44
+ {
45
+ "id": "codex:lifecycle-hook:root:format-edited-file:configure",
46
+ "operation": "merge-toml",
47
+ "target": ".codex/config.toml#hook:format-edited-file",
48
+ "file": ".codex/config.toml",
49
+ "entries": [
50
+ {
51
+ "event": "SessionStart",
52
+ "matcher": "startup|resume",
53
+ "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/format-edited-file.mjs\" session-start",
54
+ "statusMessage": "Capturing edited-file baseline",
55
+ "timeout": 30
56
+ },
57
+ {
58
+ "event": "PostToolUse",
59
+ "matcher": "Bash|apply_patch|.*apply.?patch.*|edit|write|multiedit",
60
+ "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/format-edited-file.mjs\" post",
61
+ "statusMessage": "Auto-formatting edited files",
62
+ "timeout": 30
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "id": "codex:lifecycle-hook:root:scaffold-update-check:mirror",
68
+ "operation": "mirror",
69
+ "source": ".agents/hooks/scaffold-update-check.mjs",
70
+ "target": ".codex/hooks/scaffold-update-check.mjs"
71
+ },
72
+ {
73
+ "id": "codex:lifecycle-hook:root:scaffold-update-check:configure",
74
+ "operation": "merge-toml",
75
+ "target": ".codex/config.toml#hook:scaffold-update-check",
76
+ "file": ".codex/config.toml",
77
+ "entries": [
78
+ {
79
+ "event": "SessionStart",
80
+ "matcher": "startup|resume",
81
+ "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/scaffold-update-check.mjs\" codex",
82
+ "statusMessage": "Checking Harness scaffold",
83
+ "timeout": 60
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "id": "codex:subagent-template:root:apps-cli",
89
+ "operation": "render-template",
90
+ "templateId": "apps-cli",
91
+ "source": ".agents/subagents/manifest.mjs#apps-cli",
92
+ "filename": "apps-cli.toml",
93
+ "target": ".codex/agents/apps-cli.toml",
94
+ "format": "codex-toml",
95
+ "skills": [
96
+ {
97
+ "id": "effect-authoring",
98
+ "path": "../../.agents/skills/effect-authoring",
99
+ "enabled": true
100
+ },
101
+ {
102
+ "id": "tdd",
103
+ "path": "../../.agents/skills/tdd",
104
+ "enabled": true
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "id": "codex:subagent-template:root:code-review",
110
+ "operation": "render-template",
111
+ "templateId": "code-review",
112
+ "source": ".agents/subagents/manifest.mjs#code-review",
113
+ "filename": "code-review.toml",
114
+ "target": ".codex/agents/code-review.toml",
115
+ "format": "codex-toml",
116
+ "skills": [
117
+ {
118
+ "id": "tdd",
119
+ "path": "../../.agents/skills/tdd",
120
+ "enabled": true
121
+ }
122
+ ]
123
+ }
124
+ ]
@@ -0,0 +1,150 @@
1
+ {
2
+ "version": "1",
3
+ "scopes": [
4
+ {
5
+ "id": ".agents",
6
+ "packs": [{ "id": "subagents", "order": 0 }],
7
+ "contributions": [
8
+ {
9
+ "kind": "scoped-prompt",
10
+ "identity": { "id": ".agents:shared-agents", "version": "2026.07.17" },
11
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
12
+ "compatibility": [],
13
+ "references": [],
14
+ "order": 0
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "id": "apps/cli",
20
+ "packs": [
21
+ { "id": "effect", "order": 0 },
22
+ { "id": "quality", "order": 1 }
23
+ ],
24
+ "contributions": [
25
+ {
26
+ "kind": "skill",
27
+ "identity": { "id": "effect-authoring", "version": "2026.07.17" },
28
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
29
+ "compatibility": [{ "id": "effect", "versionRange": "^3.21.2" }],
30
+ "references": ["references/effect-primitives.md"],
31
+ "order": 0
32
+ },
33
+ {
34
+ "kind": "skill",
35
+ "identity": { "id": "tdd", "version": "2026.07.17" },
36
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
37
+ "compatibility": [],
38
+ "references": ["high-signal-tests.md"],
39
+ "order": 1
40
+ },
41
+ {
42
+ "kind": "scoped-prompt",
43
+ "identity": { "id": "apps/cli:workspace-prompt-spec", "version": "2026.07.17" },
44
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
45
+ "compatibility": [],
46
+ "references": [],
47
+ "order": 2
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "id": "root",
53
+ "packs": [
54
+ { "id": "effect", "order": 0 },
55
+ { "id": "quality", "order": 1 },
56
+ { "id": "subagents", "order": 2 }
57
+ ],
58
+ "contributions": [
59
+ {
60
+ "kind": "skill",
61
+ "identity": { "id": "effect-authoring", "version": "2026.07.17" },
62
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
63
+ "compatibility": [{ "id": "effect", "versionRange": "^3.21.2" }],
64
+ "references": ["references/effect-primitives.md"],
65
+ "order": 0
66
+ },
67
+ {
68
+ "kind": "skill",
69
+ "identity": { "id": "tdd", "version": "2026.07.17" },
70
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
71
+ "compatibility": [],
72
+ "references": ["high-signal-tests.md"],
73
+ "order": 1
74
+ },
75
+ {
76
+ "kind": "scoped-prompt",
77
+ "identity": { "id": "root:root-prompt-spec", "version": "2026.07.17" },
78
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
79
+ "compatibility": [],
80
+ "references": [],
81
+ "order": 2
82
+ },
83
+ {
84
+ "kind": "lifecycle-hook",
85
+ "identity": { "id": "format-edited-file", "version": "2026.07.17" },
86
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
87
+ "compatibility": [],
88
+ "references": [],
89
+ "order": 3
90
+ },
91
+ {
92
+ "kind": "lifecycle-hook",
93
+ "identity": { "id": "scaffold-update-check", "version": "2026.07.17" },
94
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
95
+ "compatibility": [],
96
+ "references": [],
97
+ "order": 4
98
+ },
99
+ {
100
+ "kind": "tool-configuration",
101
+ "identity": { "id": "agent-browser", "version": "2026.07.17" },
102
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
103
+ "compatibility": [],
104
+ "references": [],
105
+ "order": 5
106
+ },
107
+ {
108
+ "kind": "tool-configuration",
109
+ "identity": { "id": "opensrc", "version": "2026.07.17" },
110
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
111
+ "compatibility": [],
112
+ "references": [],
113
+ "order": 6
114
+ },
115
+ {
116
+ "kind": "tool-configuration",
117
+ "identity": { "id": "portless", "version": "2026.07.17" },
118
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
119
+ "compatibility": [],
120
+ "references": [],
121
+ "order": 7
122
+ },
123
+ {
124
+ "kind": "tool-configuration",
125
+ "identity": { "id": "skills", "version": "2026.07.17" },
126
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
127
+ "compatibility": [],
128
+ "references": [],
129
+ "order": 8
130
+ },
131
+ {
132
+ "kind": "subagent-template",
133
+ "identity": { "id": "apps-cli", "version": "2026.07.17" },
134
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
135
+ "compatibility": [],
136
+ "references": ["effect-authoring", "tdd"],
137
+ "order": 9
138
+ },
139
+ {
140
+ "kind": "subagent-template",
141
+ "identity": { "id": "code-review", "version": "2026.07.17" },
142
+ "provenance": { "source": "bundled", "revision": "2026.07.17" },
143
+ "compatibility": [],
144
+ "references": ["tdd"],
145
+ "order": 10
146
+ }
147
+ ]
148
+ }
149
+ ]
150
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "matrixVersion": "2026.07.17-v1",
3
+ "adapter": { "id": "codex", "version": "1.0.0" },
4
+ "capabilities": [
5
+ {
6
+ "family": "skill",
7
+ "support": "degraded",
8
+ "reason": "Skills are linked only from the Codex subagent templates that reference them"
9
+ },
10
+ { "family": "scoped-prompt", "support": "supported" },
11
+ {
12
+ "family": "lifecycle-hook",
13
+ "support": "degraded",
14
+ "reason": "Only SessionStart and PostToolUse command hooks have native Codex projections"
15
+ },
16
+ {
17
+ "family": "tool-configuration",
18
+ "support": "unsupported",
19
+ "reason": "Harness tool configuration is not projected into Codex config"
20
+ },
21
+ { "family": "subagent-template", "support": "supported" }
22
+ ]
23
+ }
@@ -0,0 +1,15 @@
1
+ [
2
+ [".agents", ".agents:shared-agents"],
3
+ ["apps/cli", "effect-authoring"],
4
+ ["apps/cli", "tdd"],
5
+ ["apps/cli", "apps/cli:workspace-prompt-spec"],
6
+ ["root", "effect-authoring"],
7
+ ["root", "tdd"],
8
+ ["root", "root:root-prompt-spec"],
9
+ ["root", "format-edited-file"],
10
+ ["root", "format-edited-file"],
11
+ ["root", "scaffold-update-check"],
12
+ ["root", "scaffold-update-check"],
13
+ ["root", "apps-cli"],
14
+ ["root", "code-review"]
15
+ ]