Harden sourceos-ai CLI contract: top-level list/validate, repo maturity record#5
Open
Harden sourceos-ai CLI contract: top-level list/validate, repo maturity record#5
Conversation
Agent-Logs-Url: https://github.com/SourceOS-Linux/sourceos-model-carry/sessions/082895ec-14b6-4f58-bab5-8ee82bcaed99 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
…CLI contract Agent-Logs-Url: https://github.com/SourceOS-Linux/sourceos-model-carry/sessions/082895ec-14b6-4f58-bab5-8ee82bcaed99 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add and harden SourceOS AI CLI contract documentation
Harden sourceos-ai CLI contract: top-level list/validate, repo maturity record
Apr 29, 2026
mdheller
approved these changes
Apr 30, 2026
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.
sourceos-model-carrylacked a maturity record and thesourceos-aiCLI was missing ergonomic top-levellistandvalidatecommands required by the installable CLI contract.Changes
cmd/sourceos-ai/main.go— Added top-levellistandvalidatecommands as direct aliases forcarry list/carry validate, completing the five-command CLI contract (--version,doctor,list,validate,emit-evidence)docs/SOURCEOS_AI_CLI.md— Updated command contract table to include top-levellistandvalidatewith alias note; gives a future Homebrew/Prophet implementer the full surface without guessingrepo.maturity.yaml(new) —repo-maturity.v1record documenting maturity level M2→M3, the explicit carry boundary (sourceosRefuses/sourceosCarries), upstream integrations, and next actionsMakefile—make validatenow exercises bothcarry validateand the new top-levelvalidate+listpaths, proving the full contract end-to-end.gitignore— Excludesbin/,dist/,tmp/build artifacts