Skip to content

chore: sync SpecLedger templates to constitution v2.1.0#2

Open
so0k wants to merge 1 commit into
mainfrom
worktree-sync-templates-constitution
Open

chore: sync SpecLedger templates to constitution v2.1.0#2
so0k wants to merge 1 commit into
mainfrom
worktree-sync-templates-constitution

Conversation

@so0k
Copy link
Copy Markdown
Contributor

@so0k so0k commented May 24, 2026

Why

The constitution was amended to v2.1.0 (nine principles): added III. Ground-Truth Anchoring and IX. Skill–CLI Co-Evolution, folded output-shape assertions into II, and split the old Simplicity/YAGNI principle into VI–VIII. The .specledger/templates/ still reflected the old five-principle structure, so the Constitution Check gate and task scaffolding were stale and partly Python-flavored.

Changes

plan-template.md

  • Constitution Check rewritten to all nine principles — renumber Agent-First CLI Design (III→IV) and Code Quality (IV→V); add III. Ground-Truth Anchoring and IX. Skill–CLI Co-Evolution; output-shape assertions in II; split V → VI–VIII.
  • Testing line cites output-shape assertions + ground-truth fixtures/tiers.
  • Source Code layout replaced with skillrig's Go structure (cmd/skillrig, internal/skillcore|config|lock|index|client, testdata/cassettes) instead of the src/models/services Python placeholder (Constitution V).

spec-template.md

  • Acceptance-scenario output-shape guidance so scenarios seed shape-asserting tests, not strings.Contains checks (Constitution II).

tasks-template.md

  • Foundational ground-truth fixture task (III).
  • Output-shape assertions noted in every user-story test section.
  • Polish tasks for pattern-gate classification (IV) and skill co-evolution trigger evals (IX) + design-doc sync.
  • Implementation tasks use Go paths (internal/, cmd/skillrig), not .py.
  • Definition of Done extended: shape assertions · ground-truth fixtures · pattern classification · skill coverage.

Deferred (not in this PR)

  • Checklist rename — there are two same-named checklist-template.md files (.specledger/templates/ generic vs docs/design/ pattern-gate). Renaming the design-doc one (+ updating constitution/cli.md references) was flagged optional; left as a follow-up to avoid touching files already on main.

🤖 Generated with Claude Code

Re-align the plan/spec/tasks templates with the nine-principle constitution
(v2.1.0); they still reflected the old five-principle structure.

plan-template.md
- Constitution Check gate rewritten to all nine principles: renumber
  Agent-First CLI Design (III→IV) and Code Quality (IV→V); add the new
  III. Ground-Truth Anchoring and IX. Skill–CLI Co-Evolution gates; fold
  output-shape assertions into II; split V into VI–VIII (Simplicity).
- Testing line cites output-shape assertions + ground-truth fixtures/tiers.
- Source Code layout replaced with skillrig's Go structure (cmd/skillrig,
  internal/skillcore|config|lock|index|client, testdata/cassettes) instead
  of the Python-flavored src/models/services placeholder (Constitution V).

spec-template.md
- Acceptance scenarios get output-shape guidance so they seed shape-asserting
  tests, not content-only checks (Constitution II).

tasks-template.md
- Foundational ground-truth fixture task (Constitution III).
- Output-shape assertions noted in every US test section.
- Polish tasks for pattern-gate classification (IV) and skill co-evolution
  trigger evals (IX); design-doc sync note.
- Implementation tasks use Go paths (internal/, cmd/skillrig) not .py.
- Definition of Done extended to shape assertions, ground-truth fixtures,
  pattern classification, and skill coverage.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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