chore(claude): encode 10 borrowings from IDSD series — disciplines + /feature-spec rigor + lineage#119
Conversation
…n Triangle Net result of auditing all 5 articles in Kapil Viren Ahuja's IDSD vs SDD series (Activated Thinker, March–May 2026). 10 method additions across 3 surfaces. One originally-proposed change (Connections section) dropped after re-audit — Ahuja himself walked it back in "The Anatomy of Intent." CLAUDE.md "Debugging Discipline" (+ 2 rules, 4 lines net): - Presence in the loop, not approval at the gate — distinguishes pattern-conforming features (gate review fine) from non-pattern-conforming features (stay present during build). Tied to `/feature-spec` Significance Check. - Continue is the verb that gets you in trouble. Build is not. — prototypes need token budget + stop-time, set up front. From The Trap: "Nobody approves that. Nobody ever approves that. It approves itself, one month at a time." .claude/commands/feature-spec.md (6 additions): - Step 1 prepended with Value gate (3 CXO questions): who needs this, would we still build it at engineering-time cost, who owns saying no. From The Trap. - Goal section: two-implementations test — if only one implementation can satisfy this, you wrote a spec disguised as a goal. From IDSD. - Acceptance criteria: constraints-vs-failure-conditions decision rule callout. From IDSD. - Affects: Upstream dependencies (assumptions that could shift) — names the load-bearing context the spec depends on, so the AI flags during build if any of it moves. From "SDD Will Collapse." - New Non-functional constraints section (optional, 5-7 lines max, business language, not implementation patterns). From IDSD's anatomy of Intent. - Step 5 added: Hole-test — final completeness check before shipping spec. From IDSD. - Existing Closing the loop renumbered to step 6. docs/dev-loop.md (2 additions): - "This is a method, not a harness" section after At a glance — encoding loop is the method; Claude Code, CodeRabbit, GitHub Actions, Spec Kit, BMAD, Kiro, Garura are harnesses. Adopting a harness without a method is the default failure mode today. - "Lineage and grounding" section before Source links — Larman/Basili 2003, Ostroff/Makalsky/Paige 2004 XP, METR 2025, Anthropic Sept 2025 postmortem, OpenAI Symphony April 2026, Uber 2026 budget burn, Ahuja's IDSD series. Includes the decay-warning rule and the encoding loop's contribution to the lineage (cross-feature compounding). Also corrected stale "six destinations" in At a glance → "five surfaces" to match the 5-surface encoding model we shipped in #114. Verification: - wc -l CLAUDE.md: 305 (was 301; soft cap 400, hard 500 — comfortably under) - broken-link audit on full repo: exit 0 - All rule headlines linkable via /check-rules Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Ready to act? Review this PR in Change Stack to turn feedback into patch suggestions you can inspect and refine. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR refines the continuous rule-encoding methodology documentation across three files. The feature-spec command template gains validation gates and completeness checks; the debugging discipline rules expand from three to five; and the development-loop documentation aligns surface counts and adds historical lineage and decay-resistance explanations. ChangesContinuous Rule-Encoding Methodology Refinement
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…nd the diagram (#120) Follow-up to #119. The 10 borrowings landed CLAUDE.md disciplines (Presence in the loop, Continue is the verb) but didn't surface them in dev-loop.md / README / dev-loop.svg — the docs and diagram people read at-a-glance to understand the loop. A reader could see the loop in the diagram, then open CLAUDE.md and find two disciplines they weren't told about. docs/dev-loop.md - New "### The disciplines (encoded in CLAUDE.md 'Debugging Discipline')" subsection under "The reflexive step" — catalogs all 6 disciplines (cross-reference convention, file-move, doc-and-diagram, lean-CLAUDE.md, presence-in-loop, continue-is-the-verb) with their layered enforcement (which 4 have mechanical floors, which 2 are convention-tier only). Points at CLAUDE.md "Debugging Discipline" for full text. README.md - "Continuous Rule Encoding" callout adds a sentence naming the 6 disciplines + the lean-CLAUDE.md / presence / continue framings. Adds /feature-spec's value gate (3 CXO questions) and hole-test to the feature-handoff description. docs/dev-loop.svg (the rendered diagram on the README) - "Continuous Rule Encoding" footer in the diagram gets a new "Disciplines →" row listing all 6 by name, with a muted note about the split between mechanical and convention-tier - Rect height extended 180 → 220, viewBox height 1940 → 1985, bottom footer line moved 1915 → 1960 to avoid overlap This makes the README a faithful surface-up of what's actually in CLAUDE.md. Anyone reading the diagram now sees the disciplines and can follow the pointer to the canonical rule text. Verification: - broken-link guard on README + dev-loop.md: exit 0 - SVG renders without overlap (rect extended, footer pushed down, viewBox grown by 45px to match) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Summary
Outcome of auditing all 5 articles in Kapil Viren Ahuja's IDSD vs SDD series (Activated Thinker, March–May 2026) plus our own deliberation. 10 method additions across 3 surfaces. One originally-proposed change (Connections section in `/feature-spec`) dropped — Ahuja himself walked it back in "The Anatomy of Intent" article.
Changes by file
`CLAUDE.md` — 2 new disciplines under Debugging Discipline (+4 lines)
CLAUDE.md size: 301 → 305 (well under the 400 soft cap).
`.claude/commands/feature-spec.md` — 6 additions
`docs/dev-loop.md` — 2 additions
Also corrected stale "six destinations" in At a glance → "five surfaces" to match the 5-surface encoding model shipped in #114.
What was deliberately NOT added
Connections section in `/feature-spec`— Ahuja walked this back in "The Anatomy of Intent": "For every team that already had a service mesh, the slot bled straight into Context, and the line stopped being sharp."Verification
What this is NOT
🤖 Generated with Claude Code
Summary by CodeRabbit