This repository was archived by the owner on Sep 22, 2026. It is now read-only.
docs: merge CLAUDE.md into AGENTS.md as the single instruction source - #43
Draft
robotlearning123 wants to merge 1 commit into
Draft
robotlearning123 wants to merge 1 commit into
robotlearning123 wants to merge 1 commit into
Conversation
Move all CLAUDE.md content into AGENTS.md: overview, architecture, tech stack, development rules and test files sit in or beside the matching sections. Flywheel, API, lifecycle, quality, harness, self-evolution, vision, repository, security and gotchas sections follow verbatim (harness self-reference now names AGENTS.md). Build/test/run commands merge into the npm script bullets (build per package.json); the duplicate .js-extension rule is stated once. CLAUDE.md is now the single import line @AGENTS.md.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on the agent-runner fix: merge that PR first.
AGENTS.md becomes the single source of agent instructions and
CLAUDE.mdbecomes a one-line import,@AGENTS.md.## Development Rulesstays an exact H2, sobuildSystemPrompt()(with the fix below this PR) still injects it: the agent-runner tests pass on this branch.npx tsc && cp src/web/index.html dist/web/index.html, which fails on a clean checkout (nodist/web), whilenpm run build(package.json) creates the directory first. The build bullet usesnpm run buildand keeps the paths.Why: Codex and other agents read AGENTS.md directly. Claude Code 2.1.277 reads AGENTS.md on its own only behind a server-side rollout flag, and never on launchers that disable telemetry. The import loads the same file on every Claude Code version and launcher.
Draft until independent review passes.