Add agent-native CLI surface and conform the Texinfo manual (SFRS v1.0.0) - #1
Merged
Merged
Conversation
…0.0) CLI (spacecraft-cli-standard + spacecraft-agentic-cli): - Structured machine-mode errors on stderr with canonical exit codes and runnable "tips-thinking" hints (new vacuum-cli/error.rs). Exit codes follow the SFRS §4 map (2 usage, 4 safety refusal, 127 missing tool, …). - Self-documenting `schema` and `describe` subcommands (new introspect.rs); `schema` emits raw JSON Schema (Draft 2020-12), Anthropic/MCP-ready. - Token economy: compact JSON when piped (pretty only on a TTY), optional fields omitted when absent, `--fields` projection, `--format jsonl` streaming; added `--verbose/--quiet`, `--force` alias, `--format explore`. - Expanded integration tests 5 → 12 covering schema, describe, --fields, jsonl, structured-error hints, and the non-interactive confirmation guard. Docs (spacecraft-texinfo): - Resolve the manual's license mismatch: consistently CC-BY-SA-4.0 per Standard §4.1.1 (header + @copying), add LICENSES/CC-BY-SA-4.0.txt and a scoped doc/*.texi carve-out in REUSE.toml. - Add @documentlanguage, dated attribution, and chapters documenting the agent surface (output modes, exit codes, errors/hints, agent integration). - House HTML theme (spacecraft.css) and A4 PDF in the Makefile. Repo artifacts: add SKILL.md; refresh AGENTS.md CLI-conformance section. Gate: cargo fmt/clippy -D warnings/test --workspace, reuse lint, and a zero-warning makeinfo build all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Brings Vacuum into conformance with the Spacecraft Software Dual-Mode Self-Documenting CLI Standard (SFRS v1.0.0) and the Texinfo house style, using the
spacecraft-cli-standard,spacecraft-agentic-cli, andspacecraft-texinfoskills.CLI surface
2usage,4safety refusal,127missing tool, …) and runnable "tips-thinking" hints — newvacuum-cli/src/error.rs.schema+describe(newintrospect.rs);schemaemits raw JSON Schema (Draft 2020-12), droppable into Anthropic/MCP function-calling.--fieldsprojection,--format jsonlstreaming. Added--verbose/--quiet,--forcealias,--format explore.Texinfo manual
@copying), withLICENSES/CC-BY-SA-4.0.txtadded and a scopeddoc/*.texicarve-out inREUSE.toml(software-classspacecraft.cssstays GPL).@documentlanguage, dated attribution, and four chapters documenting the agent surface (output modes, exit codes, errors/hints, agent integration).Makefile.Repo artifacts
SKILL.md; refreshedAGENTS.mdCLI-conformance section.The manual is treated as CC-BY-SA-4.0 (document-class) rather than GPL, resolving the header/
@copyingmismatch in favor of Standard §4.1.1. If the repo should stay uniformly GPL, revert theREUSE.tomlcarve-out +.texiSPDX tag and align@copyingto GPL instead.Gate
cargo fmt·clippy -D warnings·cargo test --workspace(12 pass) ·reuse lint· zero-warningmakeinfobuild — all green. Commit is signed/verified (§6.3).🤖 Generated with Claude Code