Skip to content

Commit de9903e

Browse files
committed
chore(workflow): replace Codex agent layout with Claude Code
The repository targeted Codex sessions. Move the agent contract, skills, and session configuration to their Claude Code equivalents so a clean session at the repository root loads the correct instructions. - AGENTS.md becomes CLAUDE.md. - .agents/skills/ becomes .claude/skills/, dropping the Codex-only agents/openai.yaml interface metadata that Claude Code does not read. - .codex/config.toml becomes .claude/settings.json, pinning the same model and reasoning effort in Claude Code's native format. Tooling follows the layout rather than only its names: verify_metadata.py drops interface_metadata() and TOML parsing and now validates the settings JSON, and verification_scope.py drops the openai.yaml lightweight-path rule. .claude/settings.json classifies as a control file, so editing it still fails closed to the full hosted matrix, while SKILL.md edits stay lightweight. Verification: tools/verify_metadata.py passes (5 skills, 19 links); tests/tools/verify_metadata_test.py and tests/tools/verification_scope_test.py pass (3 tests each).
1 parent 31f25c7 commit de9903e

25 files changed

Lines changed: 46 additions & 109 deletions

File tree

.agents/skills/change-protocol/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.agents/skills/conclude-project/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.agents/skills/proceed-project/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.agents/skills/status-project/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.agents/skills/verify-project/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.claude/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"model": "opus[1m]",
3+
"effortLevel": "xhigh"
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Design or implement consensus-visible changes in protocol-stack, in
1212
2. Classify the change: primitive, encoding, validation, state transition,
1313
economics, authority, compatibility, or adapter-only.
1414
3. Research credible alternatives, select a recommended default under the
15-
standing delegation in `AGENTS.md`, and record the rationale and
15+
standing delegation in `CLAUDE.md`, and record the rationale and
1616
consequences in an ADR. Do not pause for owner approval.
1717
4. Write or update the canonical specification before implementation.
1818

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ description: Conclude active work in protocol-stack when the owner says "conclud
66
# Conclude the project session
77

88
Treat conclusion as a delivery workflow, not a summary request. Finish all
9-
in-scope work already started and leave the repository safe for a clean Codex
10-
session. Do not start the next roadmap slice, even when it is unblocked.
9+
in-scope work already started and leave the repository safe for a clean Claude
10+
Code session. Do not start the next roadmap slice, even when it is unblocked.
1111

1212
## 1. Freeze and reconstruct scope
1313

14-
1. Read `AGENTS.md`, `docs/project/current-state.md`,
14+
1. Read `CLAUDE.md`, `docs/project/current-state.md`,
1515
`docs/project/founder-constitution.md`, `docs/project/charter.md`, and
1616
`docs/project/first-goal.md`.
1717
2. Fetch and prune `origin`, verify GitHub authentication, and inspect the
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: proceed-project
3-
description: Continue autonomous work in protocol-stack when the owner says "proceed", "continue", or asks to resume from a clean Codex session. Reconstruct verified repository state, execute the next unblocked milestone slice, verify it, update the handoff, and keep working while safe work and execution capacity remain.
3+
description: Continue autonomous work in protocol-stack when the owner says "proceed", "continue", or asks to resume from a clean Claude Code session. Reconstruct verified repository state, execute the next unblocked milestone slice, verify it, update the handoff, and keep working while safe work and execution capacity remain.
44
---
55

66
# Proceed with the project
77

8-
1. Read `AGENTS.md`, `docs/project/current-state.md`,
8+
1. Read `CLAUDE.md`, `docs/project/current-state.md`,
99
`docs/project/founder-constitution.md`, `docs/project/charter.md`, and
1010
`docs/project/first-goal.md`.
1111
2. Read only the roadmap, ADRs, specifications, and engineering documents
@@ -36,7 +36,7 @@ description: Continue autonomous work in protocol-stack when the owner says "pro
3636
execution capacity remains. A completed slice is not a reason to yield.
3737

3838
Use meaningful issues, focused branches, and evidence-bearing PRs as defined in
39-
`AGENTS.md`. Do not manufacture activity with empty commits or vanity issues.
39+
`CLAUDE.md`. Do not manufacture activity with empty commits or vanity issues.
4040

4141
The repository's standing delegation makes ordinary owner approval
4242
unnecessary. Do not pause for technical, product-mechanism, protocol,
@@ -49,7 +49,7 @@ resolution of conflicting unexplained user work. Complete all other unblocked
4949
work first.
5050

5151
Never use chat history as the authoritative handoff. Never claim continuous
52-
background execution after the current Codex run ends. Never leave detached
52+
background execution after the current Claude Code run ends. Never leave detached
5353
local work running. At each phase boundary, cancel obsolete GitHub runs, audit
5454
local processes, and remove reproducible artifacts with
5555
`tools/clean-local.sh`.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ workflow. Do not create issues, branches, commits, PRs, or documentation edits.
1010

1111
## Reconstruct the evidence
1212

13-
1. Read `AGENTS.md`, `docs/project/current-state.md`,
13+
1. Read `CLAUDE.md`, `docs/project/current-state.md`,
1414
`docs/project/founder-constitution.md`, `docs/project/charter.md`,
1515
`docs/project/first-goal.md`,
1616
`docs/project/roadmap.md`, `docs/project/vision.md`, and `README.md`.

0 commit comments

Comments
 (0)