-
Notifications
You must be signed in to change notification settings - Fork 0
Re-land Standard v1.46 §5.7 + v1.47 §17 syncs on main (recovers #33/#34) #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ebcaa65
feat(skills): sync §5.7 Agent Context Files — Standard v1.46
UnbreakableMJ a637c57
docs: adopt the §5.7 AGENTS.md-first context-file layout
UnbreakableMJ 099c3c5
feat(skills): sync §17 labelled-row progress block — Standard v1.47
UnbreakableMJ e47020e
Merge branch 'feat/progress-report-row-block' into feat/standard-v146…
UnbreakableMJ 077a4cd
fix(agentic-cli): drop Standard-version pin; rebuild bundles for the …
UnbreakableMJ File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # CLAUDE.md | ||
|
|
||
| @AGENTS.md | ||
|
|
||
| > Record project knowledge in `AGENTS.md`, not here. This file holds only | ||
| > Claude-Code-only context (Standard §5.7). | ||
|
|
||
| ## Claude Code specifics | ||
|
|
||
| - `microsoft-rust-guidelines` is `user-invocable: false` on purpose — it is the | ||
| mandatory auto-load Rust base and is hidden from the `/` menu by design. See | ||
| the editing rules in `AGENTS.md`; do not "fix" its absence from the menu. | ||
| - Skills reach Claude at `~/.claude/skills/<skill>`, one of the per-harness paths | ||
| Home Manager provisions (see "Local agent fan-out" in `AGENTS.md`). | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # CLAUDE.md | ||
|
|
||
| @AGENTS.md | ||
|
|
||
| > Record project knowledge in `AGENTS.md`, not here. This file holds only | ||
| > Claude-Code-only context (Standard §5.7). |
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,84 +1,67 @@ | ||
| # CLAUDE.md — <PROJECT_NAME> | ||
|
|
||
| <!-- | ||
| Spacecraft Software CLAUDE.md template, version 1.0.0. | ||
| Spacecraft Software CLAUDE.md template, version 2.0.0. | ||
| License: GPL-3.0-or-later | ||
|
|
||
| CLAUDE.md is a strict superset of AGENTS.md. Start by mirroring the | ||
| AGENTS.md content (either symlink or copy), then add the | ||
| Claude-specific sections at the bottom. | ||
| Standard §5.7 governs this file. AGENTS.md is the authority: it holds | ||
| every project fact — build commands, invariants, layout, forbidden | ||
| patterns. This file imports it and adds ONLY what a non-Claude harness | ||
| cannot act on. | ||
|
|
||
| Do NOT duplicate the CLI Standard here — those rules live in the | ||
| spacecraft-cli-standard and spacecraft-agentic-cli skills. | ||
| --> | ||
|
|
||
| <!-- ===== AGENTS.md content (mirror or symlink) ===== --> | ||
|
|
||
| ## Project identity | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
|
|
||
| ## Build, test, lint | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
|
|
||
| ## Architectural invariants | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
| Do NOT copy, symlink, summarize, or mirror AGENTS.md here. If you find | ||
| yourself writing "keep these two files in sync," the split is wrong. | ||
|
|
||
| ## Forbidden patterns | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
| Do NOT duplicate the CLI Standard here either — those rules live in the | ||
| spacecraft-cli-standard and spacecraft-agentic-cli skills. | ||
|
|
||
| ## Environment expectations | ||
| CLAUDE.md is REQUIRED even when it holds nothing else. Claude Code reads | ||
| CLAUDE.md, not AGENTS.md — a project with only an AGENTS.md gives a | ||
| Claude session no project context at all. With nothing Claude-only to | ||
| say, the heading + @AGENTS.md + the blockquote is the whole file. | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
| Both AGENTS.md and CLAUDE.md are tracked. Neither may be gitignored, and | ||
| neither carries credentials, private hostnames, or personal filesystem | ||
| paths. | ||
| --> | ||
|
|
||
| ## Where to look for ___ | ||
| @AGENTS.md | ||
|
|
||
| <COPY-FROM-AGENTS.MD> | ||
| > Record project knowledge in `AGENTS.md`, not here. This file holds only | ||
| > Claude-Code-only context (skills, `.claude/`, slash commands, MCP client). | ||
|
|
||
| <!-- ===== Claude-specific additions ===== --> | ||
| <!-- ===== Claude-only content below this line ===== --> | ||
|
|
||
| ## Skills referenced | ||
| ## Skills to load | ||
|
|
||
| The following Spacecraft Software skills apply to this project. Claude should | ||
| consult them when their triggers match: | ||
| The following Spacecraft Software skills apply to this project. Consult them | ||
| via the Skill tool when their triggers match: | ||
|
|
||
| - `spacecraft-standard-constitution` — master Steelbore Standard | ||
| - `spacecraft-cli-standard` — structural CLI Standard rules | ||
| - `spacecraft-agentic-cli` — agent-facing UX for the CLI | ||
| - `spacecraft-brand-guidelines` — Steelbore 2 color palette (values from `steelbore-color-palette`) | ||
| - `spacecraft-brand-guidelines` — brand look-and-feel | ||
| - `steelbore-color-palette` — canonical palette values (§11) | ||
| - `microsoft-rust-guidelines` — Microsoft Pragmatic Rust Guidelines | ||
| - `spacecraft-cli-preference` — preferred external CLI tools (rg, fd, bat) | ||
| - `spacecraft-cli-shell` — shell syntax for generated commands | ||
| - <ADD-PROJECT-SPECIFIC-SKILLS> | ||
|
|
||
| ## MCP servers expected | ||
|
|
||
| This project may coexist with the following MCP servers in agent | ||
| sessions: | ||
|
|
||
| - `<TOOL_NAME> mcp` — this project's own MCP surface (when implemented) | ||
| - <ADD-PROJECT-SPECIFIC-MCP-SERVERS> | ||
|
|
||
| ## Tool preferences | ||
|
|
||
| - Use `rg` over `grep`, `fd` over `find`, `bat` over `cat` (per | ||
| spacecraft-cli-preference). | ||
| - Use `cargo nextest` over `cargo test` if available; fall back if not. | ||
| - Use `jaq` over `jq` for JSON filtering. | ||
| - <ADD-PROJECT-SPECIFIC-TOOL-PREFERENCES> | ||
| ## Claude Code specifics | ||
|
|
||
| ## Notes for Claude specifically | ||
|
|
||
| - Inline TODOs use `// TODO(claude):` to distinguish from human TODOs. | ||
| - Commit messages use the format `<type>(<scope>): <subject>` with | ||
| conventional-commits types. | ||
| - <Slash commands this repo installs, `.claude/` layout, plan-mode notes, | ||
| subagent conventions, TaskMaster wiring — anything meaningless to Codex, | ||
| Cursor, or Goose.> | ||
| - <ADD-PROJECT-SPECIFIC-CLAUDE-NOTES> | ||
|
|
||
| ## Standards compliance | ||
|
|
||
| This project follows the Spacecraft Software Dual-Mode Self-Documenting CLI Standard (v1.0.0). The CLI Standard skills | ||
| are authoritative on structural and agentic conventions. This file | ||
| documents project-specific deviations and supplements only. | ||
| <!-- | ||
| Tool preferences, commit-message format, and TODO conventions are NOT | ||
| Claude-only — they belong in AGENTS.md. Likewise CLAUDECODE=1 detection: | ||
| a CLI that checks it alongside CURSOR_AGENT and GEMINI_CLI is documenting | ||
| its own behavior, which every harness needs to know. | ||
| --> |
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
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this file imports
AGENTS.md, Claude receives thisuser-invocable: falseinstruction twice: the same rule already appears inAGENTS.md. Future edits can therefore recreate the silent drift that this change is intended to prevent; keep the rule in exactly one file.AGENTS.md reference: AGENTS.md:L400-L405
Useful? React with 👍 / 👎.