Skip to content

docs: refresh §9 refactor state — R0–R7 COMPLETE (ADR-0007–0009 shipped) - #107

Merged
KraHsu merged 1 commit into
devfrom
docs/r6-r7-refactor-state
May 22, 2026
Merged

KraHsu merged 1 commit into
devfrom
docs/r6-r7-refactor-state

Conversation

@KraHsu

@KraHsu KraHsu commented May 22, 2026

Copy link
Copy Markdown
Owner

What

Closing docs refresh: the R0–R7 architecture refactor is complete. lint-imports is now a required CI gate (6 contracts, 0 violations). Updates ROADMAP §9 to reflect R6 + R7. Docs-only PR (matching #93 / #96 / #99).

Changes (ROADMAP.md)

Note

CLAUDE.md and plans/adr/ (the ADR-0007/0008/0009 Accepted flips + outcome notes, the updated invariants/lessons/status) are gitignored local artifacts, refreshed in the same pass for future local sessions; only the tracked ROADMAP.md is committed here.

🤖 Generated with Claude Code

…0009 shipped)

The architecture refactor is done: importlinter is now a required CI gate with a
clean 6-contract / 0-violation baseline. Update ROADMAP §9 accordingly.

- §9.0 phase header + status table: R6 (#100) and R7 (#101–#106) marked complete;
  ADR-0007/0008/0009 → Accepted; ADR-0010 deferred. Reviewed against dev @ fe5f604.
- Add "Completed" entries for R6, R7.1, R7.2, R7.3a–d and matching "Tests run"
  lines (incl. the R6 cv2/Qt subprocess-isolation incident and the R7.3d 6/0
  baseline).
- Dependency-graph note: 3,982 nodes / 11,433 edges post-R7 (net growth from new
  modules + deprecation shims; cross-layer imports 24 → 0).
- R4/R5.2/R7 risk rows marked resolved; the "21 violations gating R7" notes
  rewritten to reflect the cleared baseline.
- §9.2 diagram + prose: all phases ✅; Phase R6/R7 detail headers → COMPLETE.
- New lessons: layers-contract forbids intra-band siblings (use forbidden
  contracts); fix-the-layer beats DI; precise contract beats blanket ban + waivers;
  subprocess-isolate cv2-importing tests.
- "Next steps" rewritten: refactor complete; remaining items are optional
  follow-ups (BaseTermManager for metrics/curriculum is the recommended next
  slice; ADR flips; ≤400 cli target; test_cli split; shim removal; ADR-0010).

(CLAUDE.md, plans/adr/0007–0009, and the ADR status flips are gitignored local
artifacts, refreshed in the same pass; only ROADMAP.md is committed — matching
docs PRs #93 / #96 / #99.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@KraHsu
KraHsu merged commit 1c72bdf into dev May 22, 2026
3 checks passed
@KraHsu
KraHsu deleted the docs/r6-r7-refactor-state branch May 22, 2026 08:43
KraHsu added a commit that referenced this pull request Jun 5, 2026
docs: refresh §9 refactor state — R0–R7 COMPLETE (ADR-0007–0009 shipped)
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