Skip to content

Sync §5.7 Agent Context Files — Standard v1.46 - #33

Open
UnbreakableMJ wants to merge 2 commits into
mainfrom
feat/agents-md-context-files
Open

Sync §5.7 Agent Context Files — Standard v1.46#33
UnbreakableMJ wants to merge 2 commits into
mainfrom
feat/agents-md-context-files

Conversation

@UnbreakableMJ

Copy link
Copy Markdown
Contributor

Construct-side sync of Standard v1.46 §5.7 — Agent Context Files (Spacecraft-Software/Standard#26).

AGENTS.md becomes the single authoritative context file in every project; CLAUDE.md becomes an @AGENTS.md import plus only what is meaningless to a non-Claude harness.

This inverts guidance previously carried only in spacecraft-agentic-cli, which instructed authors to make CLAUDE.md a strict superset of AGENTS.md and to start by symlinking or copying it — a rule that produced the duplication by construction and that every new scaffold reproduced. That skill's references/agents-md-authoring.md and both assets/ templates are rewritten to match.

⚠️ Known CI failure on arrival

The cross-reference gate will fail:

spacecraft-agentic-cli/references/agents-md-authoring.md:132:
  pins a document version ('Standard v1.46') — cite the section
  instead, or say when that section last changed

Pre-existing in commit ebcaa65 on this branch, not introduced by the stacked v1.47 PR. It needs a one-line edit to cite §5.7 rather than pin v1.46. I have deliberately not changed it — it is your authored content and you may prefer your own wording. Say the word and I will push the fix.

Base of a stack

PR 1 of 2 in Construct. The v1.47 §17 sync is based on this branch and should merge after it.

🤖 Generated with Claude Code

UnbreakableMJ and others added 2 commits August 8, 2026 13:02
spacecraft-standard-constitution: adds §5.7 (AGENTS.md is the authority,
CLAUDE.md is an @AGENTS.md import plus Claude-only content), the §16
checklist bullet, the spacecraft-agentic-cli cross-reference row, and the
v1.46 changelog entry. Masthead and frontmatter to v1.46 / 2026-08-08;
description measures 988 chars under the §5.6 cap.

spacecraft-agentic-cli: inverts the rule this skill previously taught.
references/agents-md-authoring.md §1 and §3 said "CLAUDE.md MUST be a
strict superset of AGENTS.md. Start by symlinking or copying" — a rule
that produced duplication by construction and that every new scaffold
reproduced. Both assets/ templates rewritten to the import model;
CLAUDE.md length budget cut from 100-250 to 5-40 lines.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The maintainer-local CLAUDE.md overlay (444 lines) becomes the tracked,
authoritative AGENTS.md; the old 45-line AGENTS.md digest is folded into
it so the hard rules survive in one place. CLAUDE.md is now the
@AGENTS.md import plus two Claude-Code-only notes.

Both leave .gitignore. The file was read end to end and reviewed for
sensitive content first: the Home Manager fan-out section describes
`~/`-relative and /nix/store paths only, with no credentials, hostnames,
or personal filesystem paths. construct-cli's byte-identical pair is
collapsed the same way.

Steelbore Standard v1.46 §5.7.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a637c57524

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +85 to +86
| `AGENTS.md` | **Every** agent (Codex CLI, Cursor, Aider, OpenCode, and Claude Code via the import) | **Authoritative.** Coding conventions, test/build commands, forbidden patterns, repository invariants |
| `CLAUDE.md` | Claude Code agent | An `@AGENTS.md` import plus Claude-only context (skills, `.claude/`, slash commands, MCP client) — never a restatement of AGENTS.md |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Rebuild the agentic CLI bundles

For users who install spacecraft-agentic-cli.zip or .skill, both unchanged bundles still contain the old guidance that CLAUDE.md should duplicate AGENTS.md; they also omit all four updated source/reference/template files in this commit. Rebuild and commit both bundles so the install surface actually delivers the policy introduced here.

AGENTS.md reference: AGENTS.md:L406-L409

Useful? React with 👍 / 👎.

If the user mentions "Spacecraft Software", a Spacecraft Software subproject name, or asks you to work on
anything in the Spacecraft Software ecosystem, consult this skill immediately. It encodes
The Steelbore Standard v1.45 (§13 design systems; §3.1.1 TypeScript over JS; §6.4 contribution targets; §5.6 skill packaging; §11 palettes + §11.6 system theme; §18 accessibility; §17 progress reporting; §3.2 compiler flags; concurrency; §3.3 security-by-design) so
The Steelbore Standard v1.46 (§13 design systems; §3.1.1 TypeScript; §5.7 AGENTS.md; §6.4 contribution targets; §5.6 skill packaging; §11 palettes + §11.6 system theme; §18 accessibility; §17 progress reporting; §3.2 compiler flags; concurrency; §3.3 security-by-design) so

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Rebuild the Standard constitution bundles

For consumers installing spacecraft-standard-constitution.zip or .skill, both unchanged archives still identify themselves as Standard v1.44 and contain no §5.7, despite the source now advertising v1.46. Rebuild both bundles with the modified SKILL.md and changelog before shipping this governance update.

AGENTS.md reference: AGENTS.md:L406-L409

Useful? React with 👍 / 👎.

Comment on lines +139 to +140
Anything that is true of the *project* goes in AGENTS.md. Only what a
non-Claude harness cannot act on belongs here:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep generic conventions out of the CLAUDE.md example

When authors follow this canonical example, the subsequent Tool preferences entries and the TODO(claude) source convention are placed only in CLAUDE.md, although Codex and other harnesses also need those project-wide rules. Remove those generic entries from the overlay example or move them into its AGENTS.md example so the reference does not contradict the new single-source rule.

AGENTS.md reference: AGENTS.md:L434-L436

Useful? React with 👍 / 👎.

Comment thread AGENTS.md
Comment on lines +50 to +51
none is repeated here to go stale. Load it before any non-trivial edit — its §14 checklist is the
audit gate. The skill is the upstream of the published `standard/` document;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point agents to the §16 audit checklist

The constitution added by this commit explicitly names §16 as its compliance checklist, while this authoritative context directs agents to a nonexistent §14 checklist; §14 is the date/time section. Agents following the mandatory pre-edit instruction can therefore skip the actual audit gate, so change this reference to §16.

AGENTS.md reference: AGENTS.md:L47-L52

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant