docs(constitution): add Principle X on README co-evolution#12
Merged
Conversation
Review Summary by QodoAdd Principle X and comprehensively update README for full command surface
WalkthroughsDescription• Establish Principle X: User-Facing Documentation Co-Evolution - Mandates README updates in same branch as command-surface changes - Treats stale README as blocking review finding, not backlog item • Comprehensively rewrite README to document full command surface - Add workflow section with quick-start scenario (init→search→add→verify) - Document all five commands with examples and flags (init, search, add, verify, index) - Clarify exit codes including new code 2 for verification failure • Bump constitution version 2.1.1 → 2.2.0 with amendment record • Amend Development Workflow section to bind README sync to CLI changes Diagramflowchart LR
A["Issue #10: README<br/>lags commands"] -->|"Principle X<br/>added"| B["Constitution<br/>2.2.0"]
A -->|"Full rewrite"| C["README documents<br/>all 5 commands"]
B -->|"enforces"| C
C -->|"with examples"| D["Consumer workflow<br/>+ origin tools"]
File Changes1. .specledger/memory/constitution.md
|
so0k
commented
Jun 1, 2026
so0k
pushed a commit
that referenced
this pull request
Jun 1, 2026
Reframe Principle X as task-creation (a README-update task is created when feature work changes CLI behavior) rather than a 'blocking defect', and explicitly position it as an extension of the existing co-evolution discipline (IX skill sync + the docs/design sync rule) — which named neither the root README — instead of a standalone new rule. Update the Sync Impact Report and the Development Workflow bullet to match.
…loses #10) The root README documented only `init` while 002/003 shipped `add`, `verify`, `search`, and `index`. Rewrite it to cover the full command surface (the consumer init→search→add→verify workflow plus the origin-side index generator), refresh the exit-code table with the now- live code 2 (verification failure), and align wording with the consolidated skillrig skill. Add constitution Principle X (User-Facing Documentation Co-Evolution): the root README MUST be updated in the same branch as any command-surface or user-facing behavior change, and a lagging README is a blocking review finding — the standing obligation that prevents a repeat of this gap. Bump constitution 2.1.1 → 2.2.0 and record it in the Sync Impact Report.
Reframe Principle X as task-creation (a README-update task is created when feature work changes CLI behavior) rather than a 'blocking defect', and explicitly position it as an extension of the existing co-evolution discipline (IX skill sync + the docs/design sync rule) — which named neither the root README — instead of a standalone new rule. Update the Sync Impact Report and the Development Workflow bullet to match.
8264b58 to
f73c4f0
Compare
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.
Summary
Amend the constitution to establish Principle X: User-Facing Documentation Co-Evolution. This principle mandates that the root
README.mdmust be updated in the same branch whenever the command surface or user-facing behavior changes, treating an out-of-date README as a blocking review finding rather than a backlog item.This is a corrective amendment addressing issue #10, where features 002 and 003 shipped
add,verify,search, andindexcommands without updating the README, leaving it documenting onlyinit.Key Changes
init,search,add,verify) with examples and flagsindexcommand (origin-maintainer tool) with full documentation2for verification failure)Rationale
The constitution now explicitly binds README updates to CLI changes, making it a load-bearing development obligation rather than an aspirational practice. This closes the gap where the README lagged the implemented command surface by multiple features. Reviews will treat stale README documentation as a blocking finding, ensuring the entry-point document stays current with shipped behavior.
The README updates themselves demonstrate the principle in action, documenting the full command surface (
init,search,add,verify,index) with examples, flags, and behavioral contracts that were previously missing.https://claude.ai/code/session_01AS1Q9DvPqPELF7kqeVze5T