Skip to content

Commit 9dfa60d

Browse files
committed
release: enforce Kroki-compatible governed diagram doctrine
1 parent 3322a88 commit 9dfa60d

20 files changed

Lines changed: 511 additions & 117 deletions

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<table>
2020
<tr>
2121
<td align="center" width="200">
22-
<b>v10.36</b><br><sub>P128 Released</sub>
22+
<b>v10.37</b><br><sub>P129 Released</sub>
2323
</td>
2424
<td align="center" width="200">
2525
<b>18</b><br><sub>Active Runtime Rules</sub>
@@ -28,12 +28,12 @@
2828
<b>Released</b><br><sub>Verified and published</sub>
2929
</td>
3030
<td align="center" width="200">
31-
<b>Diagram Lane</b><br><sub>Unified visual doctrine</sub>
31+
<b>Diagram Lane</b><br><sub>Kroki-compatible doctrine</sub>
3232
</td>
3333
</tr>
3434
</table>
3535

36-
> **Current release note:** `v10.36 / P128` establishes `diagram/` as the dedicated governed visual lane, opens `diagram/STRUCTURE.md` as the whole-repo visual anchor, and keeps repository diagram doctrine separate from inline answer/phase-local text-diagram formatting.
36+
> **Current release note:** `v10.37 / P129` makes governed `diagram/` source mandatory Kroki-compatible, supports all suitable formats by defining them as Kroki-compatible + governance-suitable, upgrades `diagram/STRUCTURE.md` into a bodyful whole-project detailed visual structure authority, and keeps inline answer/phase-local text-diagram formatting outside governed source truth by default.
3737
3838
<!-- CTA Buttons -->
3939
<p>
@@ -333,9 +333,9 @@ ls "$HOME/.claude/rules/worker-routing-and-context.md"
333333
| `./design/<slug>.design.md` | Compact active parent design index/gateway for governed chains | Active design parent |
334334
| `./design/<slug>/*.design.md` | Active child target-state shards in same-stem nested mode | Active design shards |
335335
| `./design/*.design.md` beside a compact parent | Flat sibling design shards when the current folder already scopes the chain | Active design sibling shards |
336-
| `./diagram/STRUCTURE.md` | Whole-repo visual anchor when a governed diagram lane is opened | Active diagram global anchor |
337-
| `./diagram/<subject>.design.md` | Default integrated subject diagram in the dedicated visual lane | Active subject diagram |
338-
| `./diagram/<subject>/*.design.md` | Child visual shards only after a real visual split trigger | Active diagram child shards |
336+
| `./diagram/STRUCTURE.md` | Bodyful whole-project detailed visual structure authority when a governed diagram lane is opened | Active diagram global anchor |
337+
| `./diagram/<subject>.design.md` | Default integrated Kroki-compatible subject diagram as a zoom-in / decomposition view of the global structure | Active subject diagram |
338+
| `./diagram/<subject>/*.design.md` | Kroki-compatible child visual shards only after a real visual split trigger | Active diagram child shards |
339339
| `*.md` (root) | Active runtime rules | Rules files |
340340
| `./changelog/changelog.md` | Compact master repository-wide current-version authority and shard map | Master changelog parent |
341341
| `./changelog/*.changelog.md` | Per-chain authoritative active parent history/current version state | Active parent changelogs |
@@ -358,9 +358,10 @@ ls "$HOME/.claude/rules/worker-routing-and-context.md"
358358

359359
> **💡 Single Source of Truth Principle:**
360360
> - Governed design/changelog chains should classify chain shape before parent files absorb more detail
361-
> - `diagram/STRUCTURE.md` is the top-level visual anchor when a governed diagram lane is opened
362-
> - `diagram/<subject>.design.md` is the default bodyful integrated subject diagram; split only when visual complexity or genuinely different visual questions justify it
363-
> - Diagram structure must not auto-mirror design shards, and `design/` remains semantic authority when text and diagram differ
361+
> - `diagram/STRUCTURE.md` is the bodyful top-level whole-project detailed visual structure authority when a governed diagram lane is opened
362+
> - governed `diagram/` source is mandatory Kroki-compatible and supports all formats that are both Kroki-compatible and governance-suitable
363+
> - `diagram/<subject>.design.md` is the default bodyful integrated subject diagram as a zoom-in / decomposition view of the global structure; split only when visual complexity or genuinely different visual questions justify it
364+
> - Diagram structure must not auto-mirror design shards, inline answer/phase-local text diagrams do not become governed source truth automatically, and `design/` remains semantic authority when text and diagram differ
364365
> - Flat sibling shards are valid when the current folder already scopes the chain and the compact parent clearly exposes the shard map
365366
> - Broad active design chains should still strongly prefer same-stem parent/index + shard pairs (`design/<slug>.design.md` + `design/<slug>/`) and do not use a default `design/done/` surface
366367
> - Per-chain active changelogs (`*.changelog.md`) remain the authority for current governed chain history/version state
@@ -394,7 +395,7 @@ This section defines how `design`, `diagram`, `changelog`, `runtime rules`, `TOD
394395
| Document | Role | Update Trigger |
395396
|----------|------|----------------|
396397
| `design/*.design.md` | Target behavior/specification | Requirement or policy change |
397-
| `diagram/STRUCTURE.md` and `diagram/*.design.md` | Governed visual synthesis / relationship explanation | A whole-repo or subject-level visual explanation needs active source truth |
398+
| `diagram/STRUCTURE.md` and `diagram/*.design.md` | Governed Kroki-compatible visual synthesis / relationship explanation | A whole-repo or subject-level visual explanation needs active source truth |
398399
| `*.md` (root runtime rules) | Active runtime behavior | Approved design change requires runtime sync |
399400
| `changelog/changelog.md` | Master repository-wide synchronization history | Repository-level governed sync events |
400401
| `changelog/*.changelog.md` | Authoritative active per-chain version history | Any rule/design update with version impact |
@@ -1005,7 +1006,7 @@ Result: ✅ Verified from actual files
10051006
### Runtime install boundary
10061007

10071008
- Current README meaning: the Quick Start block installs the compact 18-rule source-owned active runtime set and uses owner-aware cleanup instead of filename-only deletion.
1008-
- Source state: this README reflects the released `v10.36 / P128` unified diagram doctrine model while the active runtime install set remains 18 root rules, `diagram/` stays the governed visual lane, and `playground/` stays outside the install payload.
1009+
- Source state: this README reflects the released `v10.37 / P129` Kroki-compatible diagram doctrine model while the active runtime install set remains 18 root rules, `diagram/` stays the governed Kroki-compatible visual lane, and `playground/` stays outside the install payload.
10091010
- Ownership guard: manifest-owned files are removed only when they still match the last recorded install snapshot, and legacy pre-manifest files are quarantined only when their content exactly matches this repo's git history for that rule path.
10101011
- Boundary: files already present in a shared runtime destination but outside this repo's recorded install ownership or repo-history proof are not cleanup targets by default.
10111012
- Impact: protects install scope and other-owner runtime files while still allowing safe cleanup of this repo's old runtime leftovers, including legacy installs from before the merged-rule transition.
@@ -1128,8 +1129,8 @@ Personal rule set and configuration framework for Claude Code CLI.
11281129
---
11291130

11301131
<p>
1131-
<b>Version</b>: 10.36 |
1132-
<b>Last Updated</b>: 2026-06-01 |
1132+
<b>Version</b>: 10.37 |
1133+
<b>Last Updated</b>: 2026-06-02 |
11331134
<b>Framework</b>: Sophisticated AI Framework with Constitutional Governance
11341135
</p>
11351136

TODO.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Claude Code Rules - TODO
22

3-
> **Last Updated:** 2026-06-01
4-
> **Current Release:** v10.36 / P128 RULES unified diagram doctrine correction
3+
> **Last Updated:** 2026-06-02
4+
> **Current Release:** v10.37 / P129 Kroki-compatible governed diagram doctrine
55
> **Active Wave:** none selected
66
> **History:** [todo/history/2026-05-16.md](todo/history/2026-05-16.md); [todo/history/2026-05-08.md](todo/history/2026-05-08.md); [pre-rollover TODO snapshot](todo/history/2026-05-08-pre-rollover-TODO.md)
77
> **Done Detail:** [todo/done/rules-release-closeouts.md](todo/done/rules-release-closeouts.md); [todo/done/](todo/done/)
@@ -10,6 +10,10 @@
1010

1111
## ✅ Completed
1212

13+
- [x] P129 / v10.37 Kroki-compatible governed diagram doctrine was completed, pushed, mirrored to the remote default branch, and released.
14+
- Verified: governed `diagram/` source is now mandatory Kroki-compatible; allowed breadth is defined as all formats that are both Kroki-compatible and governance-suitable; `design/` remains semantic authority; `diagram/STRUCTURE.md` is now a bodyful whole-project detailed visual structure authority; subject diagrams are positioned as zoom-in / decomposition views of the global structure; inline answer/phase-local text diagrams are explicitly kept outside governed source truth unless promoted; touched README/design/TODO/phase/changelog/patch surfaces are aligned; `git diff --check` passed; branch/default-branch/tag/release evidence is aligned to the promoted `v10.37` state.
15+
- Release URL: https://github.com/DarKWinGTM/claude-code-rules/releases/tag/v10.37
16+
1317
- [x] P128 / v10.36 RULES unified diagram doctrine correction was completed, pushed, mirrored to the remote default branch, and released.
1418
- Verified: RULES now recognizes `diagram/` as a dedicated governed visual lane; `diagram/STRUCTURE.md` is present as the whole-repo visual anchor; integrated subject diagrams are the default visual posture; automatic design-shard mirroring was rejected; plugin-first fragmented companion assumptions were withdrawn from active current-state doctrine; touched README/design/TODO/phase/changelog/patch surfaces are aligned; `git diff --check` passed; temporary project-local install proof passed with 18 active runtime rule markdown files; touched runtime-owner parity matched for `document-governance.md` and `explanation-and-presentation.md`; reconciled branch/default-branch/tag/release evidence is aligned to the promoted `v10.36` state.
1519
- Release URL: https://github.com/DarKWinGTM/claude-code-rules/releases/tag/v10.36

changelog/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Master Changelog - Claude Code Rules
22

33
> **Project:** Claude Code Rules System
4-
> **Current Version:** 10.36
4+
> **Current Version:** 10.37
55
> **Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
66
> **Version Shards:** [changelog/](changelog/)
77
> **Legacy Archive:** [done/master-legacy-v6.3-v9.59.changelog.md](done/master-legacy-v6.3-v9.59.changelog.md)
@@ -12,6 +12,7 @@
1212

1313
| Version | Date | Changes | Session ID |
1414
|---------|------|---------|------------|
15+
| 10.37 | 2026-06-02 | **[Released mandatory Kroki-compatible governed diagram doctrine](changelog/v10.37-released-mandatory-kroki-compatible-governed-diagram-doctrine.changelog.md#version-1037)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1516
| 10.36 | 2026-06-01 | **[Released unified diagram doctrine correction](changelog/v10.36-released-unified-diagram-doctrine-correction.changelog.md#version-1036)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1617
| 10.35 | 2026-05-31 | **[Released README Core Capabilities list and doctrine framing](changelog/v10.35-refined-readme-core-capabilities-presentation.changelog.md#version-1035)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1718
| 10.34 | 2026-05-31 | **[Released explicit phase grammar forms and legacy-only alphanumeric handling](changelog/v10.34-added-phase-grammar-forms-and-runtime-parity.changelog.md#version-1034)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog Detail - Version 10.37: Released mandatory Kroki-compatible governed diagram doctrine
2+
3+
> **Parent Changelog:** [../changelog.md](../changelog.md)
4+
> **Parent Design:** [../../design/document-governance.design.md](../../design/document-governance.design.md)
5+
> **Current Version:** 10.37
6+
> **Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
7+
> **Status:** Released detail shard / Completed
8+
9+
---
10+
11+
<a id="version-1037"></a>
12+
## Version 10.37: Released mandatory Kroki-compatible governed diagram doctrine
13+
14+
**Date:** 2026-06-02
15+
**Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
16+
17+
### Changes
18+
- Released P129 on top of the previous `v10.36 / P128` baseline.
19+
- Made governed `diagram/` source mandatory Kroki-compatible instead of optional or implicit.
20+
- Defined allowed breadth as all diagram formats that are both Kroki-compatible and governance-suitable.
21+
- Strengthened `diagram/STRUCTURE.md` into a bodyful whole-project detailed visual structure authority rather than a shallow router.
22+
- Positioned subject diagrams as zoom-in / decomposition views under the global structure.
23+
- Clarified that inline answer/phase-local text diagrams remain outside governed source truth unless explicitly promoted into `diagram/`.
24+
- Synced touched owner surfaces across README/design/TODO/phase/changelog/patch.
25+
- Verified `git diff --check` and updated branch/default-branch/tag/release surfaces for the promoted `v10.37` state.
26+
- Release URL: https://github.com/DarKWinGTM/claude-code-rules/releases/tag/v10.37
27+
28+
### Summary
29+
P129 closes the remaining doctrine gap in the RULES diagram lane by making governed diagram source enforceably Kroki-compatible, keeping breadth open to all governance-suitable Kroki formats, and turning `diagram/STRUCTURE.md` into the primary detailed whole-project visual understanding surface.

changelog/document-governance.changelog.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog - Document Governance
22

33
> **Parent Document:** [../document-governance.md](../document-governance.md)
4-
> **Current Version:** 1.11
4+
> **Current Version:** 1.12
55
> **Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
66
77
---
@@ -10,6 +10,7 @@
1010

1111
| Version | Date | Changes | Session ID |
1212
|---------|------|---------|------------|
13+
| 1.12 | 2026-06-02 | **[Added P129 mandatory Kroki-compatible diagram governance](#version-112)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1314
| 1.11 | 2026-06-01 | **[Added P128 governed diagram lane role model](#version-111)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1415
| 1.10 | 2026-05-31 | **[Added P127 README front-page capability framing refinement](#version-110)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1516
| 1.9 | 2026-05-31 | **[Added P126 explicit live phase-file grammar wording](#version-19)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
@@ -27,6 +28,25 @@
2728

2829
---
2930

31+
<a id="version-112"></a>
32+
## Version 1.12: Added P129 mandatory Kroki-compatible diagram governance
33+
34+
**Date:** 2026-06-02
35+
**Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
36+
37+
### Changes
38+
- Updated `document-governance.md` from v1.11 to v1.12.
39+
- Updated `design/document-governance.design.md` from v1.11 to v1.12.
40+
- Made governed `diagram/` source mandatory Kroki-compatible.
41+
- Defined allowed breadth as all formats that are both Kroki-compatible and governance-suitable.
42+
- Clarified that `diagram/STRUCTURE.md` is a bodyful whole-project detailed visual structure authority rather than a shallow router.
43+
- Clarified that inline answer/status/phase-local text diagrams do not become governed source truth automatically.
44+
45+
### Summary
46+
`document-governance.md` now treats governed `diagram/` source as mandatory Kroki-compatible, defines the allowed breadth as Kroki-compatible + governance-suitable, and elevates `diagram/STRUCTURE.md` into a bodyful whole-project detailed visual structure authority.
47+
48+
---
49+
3050
<a id="version-111"></a>
3151
## Version 1.11: Added P128 governed diagram lane role model
3252

changelog/explanation-and-presentation.changelog.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog - Explanation and Presentation
22

33
> **Parent Document:** [../explanation-and-presentation.md](../explanation-and-presentation.md)
4-
> **Current Version:** 1.15
4+
> **Current Version:** 1.16
55
> **Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
66
77
---
@@ -10,6 +10,7 @@
1010

1111
| Version | Date | Changes | Session ID |
1212
|---------|------|---------|------------|
13+
| 1.16 | 2026-06-02 | **[Added P129 inline-diagram Kroki-boundary retention](#version-116)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1314
| 1.15 | 2026-06-01 | **[Added P128 inline-diagram boundary refinement](#version-115)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1415
| 1.14 | 2026-05-30 | **[Added P125 integrated goal-with-planning presentation refinement](#version-114)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1516
| 1.13 | 2026-05-29 | **[Added P124 plan-backed advisory `/goal` presentation refinement](#version-113)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
@@ -31,6 +32,22 @@
3132

3233
---
3334

35+
<a id="version-116"></a>
36+
## Version 1.16: Added P129 inline-diagram Kroki-boundary retention
37+
38+
**Date:** 2026-06-02
39+
**Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
40+
41+
### Changes
42+
- Updated `explanation-and-presentation.md` from v1.15 to v1.16.
43+
- Updated `design/explanation-and-presentation.design.md` from v1.15 to v1.16.
44+
- Clarified that mandatory Kroki-compatible enforcement belongs to governed `diagram/` source rather than inline explanatory diagrams by default.
45+
46+
### Summary
47+
`explanation-and-presentation.md` now keeps inline answer/status/phase-local text diagrams explicitly outside mandatory Kroki-compatible governed-diagram enforcement unless they are deliberately promoted into the governed lane.
48+
49+
---
50+
3451
<a id="version-115"></a>
3552
## Version 1.15: Added P128 inline-diagram boundary refinement
3653

changelog/flow-diagram-no-frame.changelog.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog - Flow Diagram No Frame
22

33
> **Parent Document:** [../flow-diagram-no-frame.md](../flow-diagram-no-frame.md)
4-
> **Current Version:** 1.3
4+
> **Current Version:** 1.4
55
> **Session:** d42465eb-30a7-4bc8-b9d6-03e52306e9a5
66
77
---
@@ -10,6 +10,7 @@
1010

1111
| Version | Date | Changes | Session ID |
1212
|---------|------|---------|------------|
13+
| 1.4 | 2026-06-02 | **[Added P129 inline-text-diagram non-governed Kroki boundary](#version-14)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1314
| 1.3 | 2026-06-01 | **[Narrowed inline text-diagram scope and boundary](#version-13)** | 1f1873d2-0feb-485f-a5ff-d383254590dd |
1415
| 1.2 | 2026-05-06 | **[Materialized active runtime body and closed metadata-only stub drift](#version-12)** | d42465eb-30a7-4bc8-b9d6-03e52306e9a5 |
1516
| | | Summary: Re-materialized root `flow-diagram-no-frame.md` as a substantive active runtime rule with `Full history`, preserving current design target behavior while removing design-only runtime dependency | |
@@ -20,6 +21,21 @@
2021

2122
---
2223

24+
<a id="version-14"></a>
25+
## Version 1.4: Added P129 inline-text-diagram non-governed Kroki boundary
26+
27+
**Date:** 2026-06-02
28+
**Session:** 1f1873d2-0feb-485f-a5ff-d383254590dd
29+
30+
### Changes
31+
- Updated `design/flow-diagram-no-frame.design.md` from v1.3 to v1.4.
32+
- Clarified that repository governed visual source under `diagram/` includes mandatory Kroki-compatible doctrine, while inline text diagrams stay outside that boundary unless promoted.
33+
34+
### Summary
35+
Flow-diagram-no-frame now states more explicitly that inline text diagrams stay outside mandatory Kroki-compatible governed-source doctrine unless explicitly promoted into the governed lane.
36+
37+
---
38+
2339
<a id="version-13"></a>
2440
## Version 1.3: Narrowed inline text-diagram scope and boundary
2541

0 commit comments

Comments
 (0)