-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.html
More file actions
800 lines (760 loc) · 28 KB
/
Copy pathREADME.html
File metadata and controls
800 lines (760 loc) · 28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc 3.10" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>README</title>
<style>
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: 1.5em;}
div.column{flex: auto;}
@media screen {
div.columns{gap: min(4vw, 1.5em);}
div.column{overflow-x: auto;}
}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
html { -webkit-text-size-adjust: 100%; }
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
pre.numberSource code > span
{ position: relative; left: -4em; counter-increment: source-line; }
pre.numberSource code > span > a:first-child::before
{ content: counter(source-line);
position: relative; left: -1em; text-align: right; vertical-align: baseline;
border: none; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
color: #aaaaaa;
}
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
div.sourceCode
{ }
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
}
code span.al { color: #ff0000; font-weight: bold; }
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; }
code span.at { color: #7d9029; }
code span.bn { color: #40a070; }
code span.bu { color: #008000; }
code span.cf { color: #007020; font-weight: bold; }
code span.ch { color: #4070a0; }
code span.cn { color: #880000; }
code span.co { color: #60a0b0; font-style: italic; }
code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; }
code span.do { color: #ba2121; font-style: italic; }
code span.dt { color: #902000; }
code span.dv { color: #40a070; }
code span.er { color: #ff0000; font-weight: bold; }
code span.ex { }
code span.fl { color: #40a070; }
code span.fu { color: #06287e; }
code span.im { color: #008000; font-weight: bold; }
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; }
code span.kw { color: #007020; font-weight: bold; }
code span.op { color: #666666; }
code span.ot { color: #007020; }
code span.pp { color: #bc7a00; }
code span.sc { color: #4070a0; }
code span.ss { color: #bb6688; }
code span.st { color: #4070a0; }
code span.va { color: #19177c; }
code span.vs { color: #4070a0; }
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; }
</style>
<style type="text/css">
:root {
--od-bg: #f5f8ff;
--od-surface: #ffffff;
--od-surface-warm: #eaf1ff;
--od-surface-muted: #f4f6fb;
--od-fg: #101828;
--od-fg-2: #344054;
--od-muted: #667085;
--od-border: #d7e0ef;
--od-border-soft: #edf2f8;
--od-accent: #2563eb;
--od-accent-on: #ffffff;
--od-accent-hover: #205fd6;
--od-accent-tint: #eaf1ff;
--od-success: #16a34a;
--od-warn: #f59e0b;
--od-danger: #ef4444;
--od-font-body: "Source Sans 3", "Source Sans Pro", "Source Sans", Inter,
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", "DejaVu Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji";
--od-font-mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace,
SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
--od-leading-body: 1.65;
--od-leading-tight: 1.2;
--od-radius-xs: 4px;
--od-radius-sm: 6px;
--od-radius: 8px;
--od-radius-lg: 12px;
--od-radius-pill: 9999px;
--od-elev-ring: 0 0 0 1px var(--od-border);
--od-elev-raised: 0 18px 48px rgba(16, 24, 40, 0.10);
--od-focus-ring: 0 0 0 4px rgba(37, 99, 235, 0.22);
--doc-fg: var(--od-fg);
--doc-fg-muted: var(--od-muted);
--doc-bg: var(--od-bg);
--doc-surface: var(--od-surface);
--doc-accent: var(--od-accent);
--doc-accent-soft: var(--od-accent-tint);
--doc-border: var(--od-border);
--doc-border-soft: var(--od-border-soft);
--doc-code-bg: #eef2fb;
--doc-code-fg: #1d2433;
--doc-quote-bar: var(--od-accent);
--doc-quote-bg: #f4f7fe;
--doc-table-stripe:#f7f9fe;
}
html {
font-size: 16px;
}
body {
font-family: var(--od-font-body);
color: var(--doc-fg);
background: var(--doc-bg);
line-height: var(--od-leading-body);
font-size: 1rem;
max-width: 58rem;
margin: 2.5rem auto;
padding: 2.25rem 2.5rem 4rem;
background-clip: padding-box;
border-radius: var(--od-radius-lg);
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 62rem) {
body {
background: var(--doc-surface);
box-shadow: var(--od-elev-raised);
}
html { background: var(--doc-bg); }
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--od-font-body);
font-weight: 600;
line-height: var(--od-leading-tight);
letter-spacing: -0.011em;
margin: 1.8em 0 0.6em;
color: var(--od-fg);
}
h1 {
font-size: 2.1rem;
font-weight: 700;
letter-spacing: -0.022em;
border-bottom: 2px solid var(--doc-border);
padding-bottom: 0.32em;
margin-top: 0;
}
h2 {
font-size: 1.55rem;
border-bottom: 1px solid var(--doc-border-soft);
padding-bottom: 0.25em;
}
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1.0rem; color: var(--od-fg-2); }
h6 { font-size: 0.92rem; color: var(--doc-fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }
h3.status-group-heading {
margin-top: 1.6em;
padding: 0.4em 0.7em;
background: var(--doc-accent-soft);
color: var(--od-fg);
border-left: 4px solid var(--doc-accent);
border-radius: var(--od-radius-sm);
font-size: 1.15rem;
}
p { margin: 0.75em 0; }
a {
color: var(--doc-accent);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color 150ms cubic-bezier(0.2, 0, 0, 1);
}
a:hover { color: var(--od-accent-hover); border-bottom-color: currentColor; }
a:focus-visible {
outline: none;
border-radius: var(--od-radius-xs);
box-shadow: var(--od-focus-ring);
}
strong { font-weight: 600; color: var(--od-fg); }
em { font-style: italic; }
hr {
border: 0;
border-top: 1px solid var(--doc-border);
margin: 2.25em 0;
}
blockquote {
margin: 1.1em 0;
padding: 0.6em 1.2em;
color: var(--od-fg-2);
border-left: 4px solid var(--doc-quote-bar);
background: var(--doc-quote-bg);
border-radius: 0 var(--od-radius-sm) var(--od-radius-sm) 0;
}
ul, ol { padding-left: 1.6em; margin: 0.75em 0; }
li { margin: 0.3em 0; }
li::marker { color: var(--doc-fg-muted); }
code, pre, kbd, samp {
font-family: var(--od-font-mono);
font-size: 0.88em;
}
code {
background: var(--doc-code-bg);
color: var(--doc-code-fg);
padding: 0.15em 0.42em;
border-radius: var(--od-radius-xs);
border: 1px solid var(--doc-border-soft);
}
pre {
background: var(--doc-code-bg);
color: var(--doc-code-fg);
padding: 1em 1.2em;
border-radius: var(--od-radius);
overflow-x: auto;
line-height: 1.5;
border: 1px solid var(--doc-border);
}
pre code {
background: transparent;
padding: 0;
border: 0;
border-radius: 0;
}
kbd {
background: var(--od-surface);
color: var(--od-fg-2);
padding: 0.1em 0.45em;
border-radius: var(--od-radius-xs);
border: 1px solid var(--doc-border);
box-shadow: 0 1px 0 var(--doc-border);
}
table {
border-collapse: separate;
border-spacing: 0;
width: 100%;
margin: 1.3em 0;
font-size: 0.93rem;
display: block;
overflow-x: auto;
border: 1px solid var(--doc-border);
border-radius: var(--od-radius-sm);
}
thead th {
background: var(--doc-accent-soft);
color: var(--od-fg);
font-weight: 600;
text-align: left;
}
th, td {
border-bottom: 1px solid var(--doc-border-soft);
border-right: 1px solid var(--doc-border-soft);
padding: 0.55em 0.8em;
vertical-align: top;
overflow-wrap: break-word;
word-break: normal;
white-space: normal;
hyphens: auto;
}
tr > th:last-child, tr > td:last-child { border-right: 0; }
tbody tr:last-child > td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--doc-table-stripe); }
td.cell-type-bug { background: #fdecec; }
td.cell-type-feature { background: #e7f6ec; }
td.cell-type-task { background: #eef2fb; }
td.cell-status-queued { background: #eef1f6; }
td.cell-status-in-progress { background: #e7eefc; }
td.cell-status-ready-for-testing { background: #e3eefe; }
td.cell-status-in-testing { background: #d8e6fd; }
td.cell-status-reopened { background: #fdeccd; }
td.cell-status-operator-blocked { background: #fdd9d9; }
td.cell-status-fixed { background: #d8f3e2; }
td.cell-status-obsolete { background: #e3e6ec; color: var(--doc-fg-muted); }
tr.row-status-fixed { background: #f1faf4; }
tr.row-status-fixed td { border-color: #cfead8; }
tr.row-status-operator-blocked { background: #fdf4f4; }
tr.row-status-operator-blocked td { border-color: #f4cccc; }
tr.row-status-obsolete {
background: #e3e6ec;
color: var(--doc-fg-muted);
}
tr.row-status-obsolete td {
text-decoration: line-through;
border-color: #d1d5dd;
}
tr.row-status-obsolete td.cell-status-obsolete {
text-decoration: line-through;
}
.tag-done, .tag-completed, .tag-in-progress, .tag-future, .tag-planned {
display: inline-block;
padding: 0.12em 0.66em;
border-radius: var(--od-radius-pill);
font-size: 0.82em;
font-weight: 600;
line-height: 1.5;
letter-spacing: 0.01em;
white-space: nowrap;
border: 1px solid transparent;
vertical-align: baseline;
}
.tag-done, .tag-completed {
background: #e7f6ec;
color: #14773a;
border-color: #bfe6cd;
}
.tag-in-progress {
background: #e7eefc;
color: #1c4fce;
border-color: #c4d6fb;
}
.tag-future, .tag-planned {
background: #fdf3d3;
color: #8a6400;
border-color: #f0dca0;
}
img {
max-width: 100%;
height: auto;
border-radius: var(--od-radius-sm);
}
@media screen and (prefers-color-scheme: dark) {
:root {
--od-bg: #0f1420;
--od-surface: #161c2b;
--od-surface-warm: #1c2740;
--od-surface-muted: #141a28;
--od-fg: #e6ebf4;
--od-fg-2: #c2cad8;
--od-muted: #8b94a7;
--od-border: #2a3346;
--od-border-soft: #1f2839;
--od-accent: #5b8def;
--od-accent-on: #0f1420;
--od-accent-hover: #79a3f4;
--od-accent-tint: #19233a;
--od-success: #4caf72;
--od-warn: #e0a13a;
--od-danger: #e0655f;
--od-elev-ring: 0 0 0 1px var(--od-border);
--od-elev-raised: 0 18px 48px rgba(0, 0, 0, 0.5);
--od-focus-ring: 0 0 0 4px rgba(91, 141, 239, 0.32);
--doc-code-bg: #11192a;
--doc-code-fg: #d7def0;
--doc-quote-bg: #161f33;
--doc-table-stripe:#141b29;
}
td.cell-type-bug { background: #2a1110; }
td.cell-type-feature { background: #0f2a18; }
td.cell-type-task { background: #141f38; }
td.cell-status-queued { background: #1c2330; }
td.cell-status-in-progress { background: #14233f; }
td.cell-status-ready-for-testing { background: #14223c; }
td.cell-status-in-testing { background: #182a4a; }
td.cell-status-reopened { background: #2c2008; }
td.cell-status-operator-blocked { background: #2f0f0d; }
td.cell-status-fixed { background: #0f2a18; }
td.cell-status-obsolete { background: #20242e; color: var(--od-muted); }
tr.row-status-fixed { background: #0d1f15; }
tr.row-status-fixed td { border-color: #1c402a; }
tr.row-status-operator-blocked { background: #220d0c; }
tr.row-status-operator-blocked td { border-color: #45201e; }
tr.row-status-obsolete { background: #20242e; color: var(--od-muted); }
tr.row-status-obsolete td { border-color: #2c313c; }
.tag-done, .tag-completed { background: #0f2a18; color: #6fd497; border-color: #1c4a2c; }
.tag-in-progress { background: #14233f; color: #88aef7; border-color: #28406a; }
.tag-future, .tag-planned { background: #2c2208; color: #e3bd55; border-color: #54430f; }
h3.status-group-heading { background: var(--od-accent-tint); color: var(--od-fg); }
kbd { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); }
}
</style>
</head>
<body>
<header id="title-block-header">
<h1 class="title">README</h1>
</header>
<h1 id="helix-constitution">Helix Constitution</h1>
<table>
<thead>
<tr>
<th>Field</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Revision</td>
<td>4</td>
</tr>
<tr>
<td>Created</td>
<td>2026-05-14</td>
</tr>
<tr>
<td>Last modified</td>
<td>2026-07-23T10:55:33Z</td>
</tr>
<tr>
<td>Status</td>
<td>active</td>
</tr>
<tr>
<td>Status summary</td>
<td>Universal engineering constitution shared by every project that
includes this repository as a Git submodule. R4 refresh (2026-07-23 —
the §11.4.226/§11.4.227 reopen-root-cause-harvest round; prior R3
refresh = review Minor M3): the anchor corpus now extends through
§11.4.227 (§11.4.226 evidence-class-at-closure + standing detection
pressure; §11.4.227 governance-corpus self-custody; §11.4.225
scheduler-quota burst-throttling telemetry) plus the §12.11/§12.12
host-safety axes, with governance mirrored in lockstep across CLAUDE.md
/ AGENTS.md / QWEN.md / GEMINI.md (§11.4.157); the authoritative
per-round history lives in Constitution.md's own header Status summary.
The previous R2 blurb (Recent additions 2026-05-20: §11.4.73–78 ...) had
been stale for roughly 150 anchors.</td>
</tr>
<tr>
<td>Issues</td>
<td>none</td>
</tr>
<tr>
<td>Issues summary</td>
<td>—</td>
</tr>
<tr>
<td>Fixed</td>
<td>initial creation (R1, 2026-05-14); README overhaul +
recent-additions refresh (R2, 2026-05-20); revision-header +
recent-anchor-coverage refresh (R3, 2026-07-23 — review Minor M3 of
commit 698dd52).</td>
</tr>
<tr>
<td>Fixed summary</td>
<td>—</td>
</tr>
<tr>
<td>Continuation</td>
<td>—</td>
</tr>
</tbody>
</table>
<blockquote>
<p>The universal engineering constitution shared by every project that
includes this repository as a Git submodule.</p>
</blockquote>
<h2 id="what-this-is">What this is</h2>
<p>This repository contains the <strong>universal,
project-agnostic</strong> rules, constraints, and conventions that every
Helix project (and any other project that opts in) inherits
automatically. Project-specific rules live in the consuming project's
own <code>Constitution.md</code> / <code>CLAUDE.md</code> /
<code>AGENTS.md</code> / <code>QWEN.md</code> and
<strong>extend</strong> what is in here.</p>
<p>The model is three-layer (top-to-bottom evaluation, project overrides
universal when conflicts are explicit):</p>
<ol type="1">
<li><strong>Base layer (this submodule)</strong> — universal rules:
anti-bluff covenant (§11.4), data safety, host safety, test coverage,
commit/ push discipline, credentials handling (§11.4.10), documentation
discipline (§11.4.65), submodule-catalogue-first discovery (§11.4.74),
containers-submodule mandate (§11.4.76).</li>
<li><strong>Project layer</strong> — project root
<code>Constitution.md</code> / <code>CLAUDE.md</code> /
<code>AGENTS.md</code> / <code>QWEN.md</code>: domain-specific rules,
hardware-specific constraints, service-specific configuration.</li>
<li><strong>Subdirectory layer (optional)</strong> —
<code><subdir>/CLAUDE.md</code> for module-local overrides. CLI
agents (Claude Code, Codex, Cursor, OpenCode, Qwen Code, Kimi CLI,
Crush) merge these by walking up from the working directory.</li>
</ol>
<h2 id="how-to-consume">How to consume</h2>
<h3 id="1-add-the-submodule">1. Add the submodule</h3>
<p>In each consuming project:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> submodule add git@github.com:HelixDevelopment/HelixConstitution.git constitution</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Pin to a tag for reproducibility (recommended)</span></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a><span class="bu">cd</span> constitution</span>
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> checkout v1.0.0 <span class="co"># whatever the current stable tag is</span></span>
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a><span class="bu">cd</span> ..</span>
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> add constitution</span>
<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> commit <span class="at">-m</span> <span class="st">"chore: add Helix Constitution submodule pinned to v1.0.0"</span></span></code></pre></div>
<p>When teammates clone your project:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> clone <span class="at">--recurse-submodules</span> <span class="op"><</span>your-project-url<span class="op">></span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="co"># or if already cloned:</span></span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> submodule update <span class="at">--init</span> <span class="at">--recursive</span></span></code></pre></div>
<h3 id="2-wire-the-inheritance">2. Wire the inheritance</h3>
<p>Add a clearly-marked pointer at the top of your project's root
<code>CLAUDE.md</code>:</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">## INHERITED FROM constitution/CLAUDE.md</span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a>All rules in <span class="in">`constitution/CLAUDE.md`</span> (and the <span class="in">`constitution/Constitution.md`</span></span>
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a>it references) apply unconditionally. Project-specific rules below</span>
<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a>extend them.</span>
<span id="cb3-6"><a href="#cb3-6" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-7"><a href="#cb3-7" aria-hidden="true" tabindex="-1"></a>@constitution/CLAUDE.md</span></code></pre></div>
<p>Same for <code>AGENTS.md</code> (any AI-agent tooling) and (since
2026-05-20) <code>QWEN.md</code> for Qwen Code:</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="at">> Base agent rules: </span><span class="in">`constitution/AGENTS.md`</span><span class="at"> — READ IT FIRST.</span></span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="at">> The base file is authoritative for any topic not covered here.</span></span></code></pre></div>
<p>And for your project Constitution:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>This constitution **extends** the Helix Universal Constitution at</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a><span class="in">`constitution/Constitution.md`</span>. All clauses there apply unless</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>explicitly overridden below with an explicit <span class="in">`Override §X.Y`</span></span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a>section.</span></code></pre></div>
<h3 id="3-set-up-the-multi-upstream-push">3. Set up the multi-upstream
push</h3>
<p>From the <strong>constitution submodule's</strong> root
directory:</p>
<div class="sourceCode" id="cb6"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="bu">cd</span> constitution</span>
<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a><span class="fu">bash</span> install_upstreams.sh</span></code></pre></div>
<p>This reads every <code>Upstreams/*.sh</code> declaration and
configures matching git remotes locally, so a single
<code>git push</code> reaches every provider (GitHub, GitLab, GitFlic,
GitVerse).</p>
<p>Alternatively, if your toolkit ships the system-wide
<code>install_upstreams</code> command (Project-Toolkit
<code>Upstreamable/</code>), you can invoke that instead — it reads the
same <code>Upstreams/</code> directory.</p>
<h3 id="4-verify-inheritance-with-an-automated-test">4. Verify
inheritance with an automated test</h3>
<p>Every consuming project should ship a test that verifies the
constitution submodule is present, at the expected pinned revision, and
that the project's CLAUDE.md / AGENTS.md / QWEN.md / Constitution all
reference the submodule. See:</p>
<ul>
<li>The ATMOSphere project's
<code>test_constitution_inheritance.sh</code> for the reference
implementation pattern.</li>
<li>The Herald project's
<code>tests/test_constitution_inheritance.sh</code> + paired
<code>tests/test_i6_refinement_meta.sh</code> for an example with
refined I6 invariant (allows non-constitution submodules) per the
original pattern.</li>
<li>The Herald <code>scripts/audit_antibluff.sh</code> for the canonical
anti-bluff audit pattern (3 invariants: §11.4 anchor across submodules +
default test suite green + paired §1.1 meta-test green).</li>
</ul>
<h2 id="contents">Contents</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Constitution.md</code></td>
<td><strong>The canonical universal constitution.</strong> All clauses
are project-agnostic.</td>
</tr>
<tr>
<td><code>CLAUDE.md</code></td>
<td>Universal CLAUDE.md for Claude Code agents. Imports
<code>Constitution.md</code> by reference.</td>
</tr>
<tr>
<td><code>AGENTS.md</code></td>
<td>Universal AGENTS.md for every other CLI agent (Codex, Cursor, Aider,
OpenCode, Crush, Kimi CLI).</td>
</tr>
<tr>
<td><code>QWEN.md</code></td>
<td>Universal QWEN.md for the Qwen Code CLI agent. Created 2026-05-20
per the §11.4.76 propagation set.</td>
</tr>
<tr>
<td><code>submodules-catalogue.md</code></td>
<td>Canonical inventory of every owned-by-us repository under
<code>vasic-digital</code> + <code>HelixDevelopment</code> (142 repos at
landing time). Created 2026-05-20 per §11.4.74 follow-up mandate.</td>
</tr>
<tr>
<td><code>LICENSE</code></td>
<td>License governing the constitution text itself.</td>
</tr>
<tr>
<td><code>Upstreams/</code></td>
<td>One <code>.sh</code> declaration file per upstream Git remote.</td>
</tr>
<tr>
<td><code>install_upstreams.sh</code></td>
<td>Configures every declared upstream as a local git remote.</td>
</tr>
<tr>
<td><code>find_constitution.sh</code></td>
<td>Helper that locates this submodule from arbitrary nested depth.</td>
</tr>
<tr>
<td><code>meta_test_inheritance.sh</code></td>
<td>Sentinel-based meta-test that verifies the inheritance gate catches
a deletion of the §11.4 anchor.</td>
</tr>
<tr>
<td><code>templates/</code></td>
<td>Templates for project-specific Constitution / CLAUDE / AGENTS / QWEN
files.</td>
</tr>
</tbody>
</table>
<h2 id="recent-additions-2026-05-20">Recent additions (2026-05-20)</h2>
<p>The following clauses + companion files landed this session in
response to operator mandates. Each entry includes the verbatim user
mandate in its forensic-anchor block within
<code>Constitution.md</code>:</p>
<table>
<thead>
<tr>
<th>Clause</th>
<th>Topic</th>
</tr>
</thead>
<tbody>
<tr>
<td>§11.4.73</td>
<td>Main-specification document versioning + Revision discipline
(V1/V2/V3 primary + Revision secondary axes).</td>
</tr>
<tr>
<td>§11.4.74</td>
<td>Submodule-catalogue-first discovery + extend-don't-reimplement. See
<code>submodules-catalogue.md</code>.</td>
</tr>
<tr>
<td>§11.4.75</td>
<td>Mechanical enforcement without exception (5-layer git-hook
discipline).</td>
</tr>
<tr>
<td>§11.4.76</td>
<td>Containers-submodule mandate — use
<code>vasic-digital/containers</code> for ALL containerised
workloads.</td>
</tr>
<tr>
<td>§11.4.77</td>
<td>Regeneration-mechanism-required mandate.</td>
</tr>
<tr>
<td>§11.4.78</td>
<td>CodeGraph code-intelligence mandate (npm
<code>@colbymchenry/codegraph</code>).</td>
</tr>
</tbody>
</table>
<p>New companion file: <code>submodules-catalogue.md</code> — 142 repos
categorised into 10 capability groups (Container + lifecycle, AI/LLM +
agent, Messaging + observability + storage, Auth + security +
middleware, Cross-platform KMP, TypeScript/React + Web, Testing + QA,
Apps/tools, Misc/scaffolds).</p>
<p>New file: <code>QWEN.md</code> — Qwen Code CLI agent's view of the
universal constitution, structured analogously to <code>AGENTS.md</code>
but tailored to Qwen Code's expectations.</p>
<h2 id="multi-upstream-topology">Multi-upstream topology</h2>
<p>This repository is hosted on four providers, with GitHub as the
primary:</p>
<table>
<thead>
<tr>
<th>Remote</th>
<th>URL</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>github</code> (primary)</td>
<td><code>git@github.com:HelixDevelopment/HelixConstitution.git</code></td>
</tr>
<tr>
<td><code>gitlab</code></td>
<td><code>git@gitlab.com:helixdevelopment1/helixconstitution.git</code></td>
</tr>
<tr>
<td><code>gitflic</code></td>
<td><code>git@gitflic.ru:helixdevelopment/helixconstitution.git</code></td>
</tr>
<tr>
<td><code>gitverse</code></td>
<td><code>git@gitverse.ru:helixdevelopment/HelixConstitution.git</code></td>
</tr>
</tbody>
</table>
<p>Every commit MUST be pushed to ALL four. The <code>origin</code>
remote is configured with multiple push URLs so
<code>git push origin <branch></code> fans out to every provider
in one command.</p>
<h2 id="recursive-inheritance">Recursive inheritance</h2>
<p>Between the consuming project's root and any submodule that uses this
constitution there may be N intermediate levels. The
<code>find_constitution.sh</code> helper walks up parents until it
locates the constitution submodule, so nested submodules can source the
helper without knowing their own depth.</p>
<h2 id="versioning">Versioning</h2>
<p>Tag the constitution at semantically meaningful checkpoints
(<code>v1.0.0</code>, <code>v1.1.0</code>, <code>v2.0.0</code>).
Consuming projects pin to a specific tag and upgrade deliberately. Major
version bumps mean breaking changes to the universal rules; minor bumps
mean additions; patches mean clarifications.</p>
<p>Per the new §11.4.73 spec-versioning discipline (added 2026-05-20),
consuming projects that maintain a main specification document follow
the <strong>two-axis</strong> rule: primary V<N> for major rewrites,
secondary <code>Revision N</code> (in metadata table) for additive
changes within a primary version.</p>
<h2 id="contributing">Contributing</h2>
<p>Universal status has to be <strong>earned</strong>, not assumed.
Project-specific content does NOT belong here. When in doubt, classify a
rule as project-specific and keep it in the consuming project's own
Constitution.</p>
<p>A rule is <strong>universal</strong> only if ALL are true:</p>
<ol type="1">
<li>It would be true for at least 3 unrelated projects across different
domains.</li>
<li>It does not reference a specific service / schema / port / topic /
table / vendor / hardware unique to one project.</li>
<li>It encodes a <em>policy</em> or <em>principle</em>, not a
<em>configuration value</em>.</li>
<li>Removing it from any consuming project would be just as wrong as
removing it from any other.</li>
</ol>
<p>A rule is <strong>project-specific</strong> if any are true:</p>
<ul>
<li>Mentions a specific service, package, topic, table, ML model,
protocol version, hardware, or vendor.</li>
<li>Encodes a numeric threshold tuned for one codebase (coverage %,
latency SLOs, retry counts).</li>
<li>Describes a workaround for a bug or quirk in a dependency this
project uses.</li>
</ul>
<h2 id="license">License</h2>
<p>See <code>LICENSE</code>.</p>
</body>
</html>