@ceccec/double-torus 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +88812 -0
- package/dist/packages/double-torus/src/index.d.ts +17 -0
- package/dist/src/0/index.d.ts +504 -0
- package/dist/src/1/9/index.d.ts +1040 -0
- package/dist/src/2/8/index.d.ts +352 -0
- package/dist/src/3/7/index.d.ts +601 -0
- package/dist/src/4/6/index.d.ts +523 -0
- package/dist/src/5/5/index.d.ts +54 -0
- package/dist/src/6/4/index.d.ts +128 -0
- package/dist/src/7/3/index.d.ts +130 -0
- package/dist/src/8/2/index.d.ts +111 -0
- package/dist/src/9/1/index.d.ts +702 -0
- package/dist/src/earth/architecture/index.d.ts +951 -0
- package/dist/src/earth/civilisation/index.d.ts +231 -0
- package/dist/src/earth/death/index.d.ts +1422 -0
- package/dist/src/earth/governance/index.d.ts +247 -0
- package/dist/src/earth/iching/index.d.ts +361 -0
- package/dist/src/earth/index.d.ts +894 -0
- package/dist/src/earth/life/birth/index.d.ts +906 -0
- package/dist/src/earth/life/index.d.ts +1608 -0
- package/dist/src/earth/nature/index.d.ts +692 -0
- package/dist/src/earth/world/index.d.ts +898 -0
- package/dist/src/fire/diamonds/index.d.ts +83 -0
- package/dist/src/fire/features/index.d.ts +272 -0
- package/dist/src/fire/li/index.d.ts +1153 -0
- package/dist/src/fire/physics/index.d.ts +727 -0
- package/dist/src/fire/plasma/ball/index.d.ts +600 -0
- package/dist/src/heaven/atoms/index.d.ts +98 -0
- package/dist/src/heaven/balance/index.d.ts +263 -0
- package/dist/src/heaven/compute/computer/index.d.ts +2263 -0
- package/dist/src/heaven/compute/index.d.ts +956 -0
- package/dist/src/heaven/core/index.d.ts +1285 -0
- package/dist/src/heaven/essence/index.d.ts +643 -0
- package/dist/src/heaven/laws/index.d.ts +1104 -0
- package/dist/src/heaven/site/index.d.ts +569 -0
- package/dist/src/heaven/sky/astronomy/index.d.ts +18900 -0
- package/dist/src/heaven/sky/moon/index.d.ts +1602 -0
- package/dist/src/heaven/sky/sun/index.d.ts +1655 -0
- package/dist/src/lake/clean/index.d.ts +180 -0
- package/dist/src/lake/ledger/index.d.ts +322 -0
- package/dist/src/lake/media/index.d.ts +178 -0
- package/dist/src/lake/music/index.d.ts +1273 -0
- package/dist/src/lake/stats/index.d.ts +212 -0
- package/dist/src/lake/widgets/index.d.ts +235 -0
- package/dist/src/mountain/gates/index.d.ts +289 -0
- package/dist/src/mountain/geometry/index.d.ts +1331 -0
- package/dist/src/mountain/og/index.d.ts +452 -0
- package/dist/src/mountain/seals/index.d.ts +1506 -0
- package/dist/src/mountain/shadcn/index.d.ts +121 -0
- package/dist/src/mountain/source/index.d.ts +627 -0
- package/dist/src/mountain/topology/index.d.ts +618 -0
- package/dist/src/mountain/vortex/index.d.ts +747 -0
- package/dist/src/pair/cache/quantum/index.d.ts +166 -0
- package/dist/src/pair/debit/credit/index.d.ts +53 -0
- package/dist/src/pair/enforcement/gates/computational/index.d.ts +643 -0
- package/dist/src/pair/enforcement/gates/strict/scan/index.d.ts +954 -0
- package/dist/src/pair/enforcement/index.d.ts +172 -0
- package/dist/src/pair/enforcement/script/shell/index.d.ts +226 -0
- package/dist/src/quantum/application/index.d.ts +1018 -0
- package/dist/src/quantum/apps/index.d.ts +4325 -0
- package/dist/src/quantum/dynamics/index.d.ts +1371 -0
- package/dist/src/quantum/earth/heritage/index.d.ts +181 -0
- package/dist/src/quantum/fire/experiments/index.d.ts +215 -0
- package/dist/src/quantum/fire/forecasts/index.d.ts +271 -0
- package/dist/src/quantum/fire/simulations/index.d.ts +204 -0
- package/dist/src/quantum/heaven/library/index.d.ts +350 -0
- package/dist/src/quantum/heaven/mind/index.d.ts +116 -0
- package/dist/src/quantum/index.d.ts +1107 -0
- package/dist/src/quantum/lake/dist/index.d.ts +118 -0
- package/dist/src/quantum/lake/dist/readme/index.d.ts +82 -0
- package/dist/src/quantum/lake/icons/index.d.ts +58 -0
- package/dist/src/quantum/lake/spirit/index.d.ts +255 -0
- package/dist/src/quantum/lake/voice/index.d.ts +132 -0
- package/dist/src/quantum/mountain/dimensions/index.d.ts +44 -0
- package/dist/src/quantum/os/index.d.ts +239 -0
- package/dist/src/quantum/science/index.d.ts +5060 -0
- package/dist/src/quantum/water/cache/index.d.ts +200 -0
- package/dist/src/quantum/wind/geometry/index.d.ts +25 -0
- package/dist/src/thunder/commands/index.d.ts +203 -0
- package/dist/src/thunder/decode/index.d.ts +1243 -0
- package/dist/src/thunder/movie/canvas/index.d.ts +150 -0
- package/dist/src/thunder/movie/glass/index.d.ts +99 -0
- package/dist/src/thunder/movie/movielib/index.d.ts +121 -0
- package/dist/src/thunder/movie/movievars/index.d.ts +89 -0
- package/dist/src/thunder/movie/narrative/index.d.ts +407 -0
- package/dist/src/thunder/resonance/index.d.ts +1832 -0
- package/dist/src/thunder/trading/index.d.ts +737 -0
- package/dist/src/thunder/verify/index.d.ts +510 -0
- package/dist/src/thunder/waves/index.d.ts +937 -0
- package/dist/src/water/cosmos/index.d.ts +1097 -0
- package/dist/src/water/crypto/index.d.ts +808 -0
- package/dist/src/water/digit/index.d.ts +4020 -0
- package/dist/src/water/double/earth/index.d.ts +29389 -0
- package/dist/src/water/double/index.d.ts +1475 -0
- package/dist/src/water/encryption/index.d.ts +11892 -0
- package/dist/src/water/stack/index.d.ts +51215 -0
- package/dist/src/wind/fusion/gold/index.d.ts +2142 -0
- package/dist/src/wind/language/index.d.ts +404 -0
- package/dist/src/wind/learning/index.d.ts +2109 -0
- package/dist/src/wind/research/index.d.ts +1388 -0
- package/dist/src/wind/routes/automount/index.d.ts +218 -0
- package/dist/src/wind/routes/corpus/index.d.ts +943 -0
- package/dist/src/wind/site/index.d.ts +662 -0
- package/dist/src/wind/types/index.d.ts +1023 -0
- package/dist/src/wind/ui/index.d.ts +1109 -0
- package/package.json +49 -0
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
export declare function splitMethodWords(name: string, prefix?: string): readonly string[];
|
|
2
|
+
/** Method name → folder tail (concept.agent.stream.wire → agent/stream/wire). */
|
|
3
|
+
export declare function folderTailFromMethodName(name: string, prefix?: string): string;
|
|
4
|
+
/** Education-portal curriculum — agent-voted top eight (naming vote root 681da0ff…). */
|
|
5
|
+
export declare const EIGHT_CURRICULUM_SCIENCES: readonly ["see", "hear", "ask", "prove", "learn", "pattern", "sense", "create"];
|
|
6
|
+
export type EightCurriculumScience = (typeof EIGHT_CURRICULUM_SCIENCES)[number];
|
|
7
|
+
export declare function isCurriculumScience(name: string): name is EightCurriculumScience;
|
|
8
|
+
/** Three-level src schema — science / model / action (strict; no prefix chains). */
|
|
9
|
+
export type ScienceModelAction = {
|
|
10
|
+
readonly science: string;
|
|
11
|
+
readonly model: string;
|
|
12
|
+
readonly action: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const SRC_SCIENCE_MODEL_ACTION_SCHEMA: "src/[science]/[action]";
|
|
15
|
+
/** Canonical mask — co-located index.ts + index.vue; no render/ui prefix. */
|
|
16
|
+
export declare const CANONICAL_SCIENCE_MASK: "src/<science>/<action>";
|
|
17
|
+
export { MAX_SUBFOLDERS_PER_FOLDER, ICHING_TRIGRAMS, ICHING_EIGHT_FOLD, ROSETTA_SIX, ROSETTA_SEVEN, ROSETTA_AREAS, ROSETTA_FOLD_LABEL, FIBONACCI_CENSUS_BANDS, UNFOLDED_CENSUS, EULER_CHI, FOLDED_CENSUS, HOMOLOGY_LOOPS, DIMENSION_GATES, HARMONICS_LADDER_LENGTH, SIEGE_WAVES, SIEGE_PER_WAVE, SIEGE_TOTAL_FORGES } from '../../../../3/7';
|
|
18
|
+
/** Folder names forbidden — every folder IS an index; index.ts is the stem file inside, never a folder name. */
|
|
19
|
+
export declare const FORBIDDEN_FOLDER_NAMES: readonly ["index"];
|
|
20
|
+
export declare function isForbiddenFolderName(name: string): boolean;
|
|
21
|
+
/** Default model segment for 2-level tails (earth/architecture → science=earth, action=architecture). */
|
|
22
|
+
export declare const SCHEMA_TWO_LEVEL_MODEL: "fold";
|
|
23
|
+
/** Path words → science/model/action — exactly three folder levels; action holds the meaning. */
|
|
24
|
+
export declare function scienceModelActionFromWords(words: readonly string[]): ScienceModelAction;
|
|
25
|
+
/** Mind tail (earth/architecture, heaven/balance) → science/model/action. */
|
|
26
|
+
export declare function scienceModelActionFromMindTail(tail: string): ScienceModelAction;
|
|
27
|
+
/** Method name → science/model/action (concept.earth.architecture → earth/architecture). */
|
|
28
|
+
export declare function scienceModelActionFromMethodName(name: string, prefix?: string): ScienceModelAction;
|
|
29
|
+
export declare function scienceModelActionTail(sma: ScienceModelAction): string;
|
|
30
|
+
/** Target logic path — src/<science>/<model>/<action>/index.ts. */
|
|
31
|
+
export declare function srcLogicPathFromScienceModelAction(sma: ScienceModelAction): string;
|
|
32
|
+
/** Co-located display — src/<science>/<model>/<action>/index.vue (same folder as logic). */
|
|
33
|
+
export declare function renderUiPathFromScienceModelAction(sma: ScienceModelAction): string;
|
|
34
|
+
/** Alias — display gate path beside logic index.ts. */
|
|
35
|
+
export declare const displayPathFromScienceModelAction: typeof renderUiPathFromScienceModelAction;
|
|
36
|
+
/** One registry row — mind tail dissolves to logic target + render mirror (mask math only). */
|
|
37
|
+
export type ScienceModelActionMaskRow = {
|
|
38
|
+
readonly mindTail: string;
|
|
39
|
+
readonly science: string;
|
|
40
|
+
readonly model: string;
|
|
41
|
+
readonly action: string;
|
|
42
|
+
readonly logicNow: string;
|
|
43
|
+
readonly logicTarget: string;
|
|
44
|
+
readonly renderPath: string;
|
|
45
|
+
readonly route: string;
|
|
46
|
+
};
|
|
47
|
+
/** Dry rename table — every mind tail → science/model/action paths (recomputable, no hand lists). */
|
|
48
|
+
export declare function scienceModelActionMaskRowsFromMindTails(mindTails: readonly string[]): readonly ScienceModelActionMaskRow[];
|
|
49
|
+
/** Pure path math — logic index.ts rel → registry row (indices do not know VitePress). */
|
|
50
|
+
export declare function indexRegistryFromLogicRel(logicRel: string, mindMount?: string): {
|
|
51
|
+
readonly logic: string;
|
|
52
|
+
readonly target: string;
|
|
53
|
+
readonly route: string;
|
|
54
|
+
readonly science: string;
|
|
55
|
+
readonly model: string;
|
|
56
|
+
readonly action: string;
|
|
57
|
+
} | null;
|
|
58
|
+
/** Physical logic mount — transitional mind barrel until full dissolve. */
|
|
59
|
+
export declare const LOGIC_DISPLAY_MOUNT = "src/quantum/heaven/mind/";
|
|
60
|
+
/** Co-located display — index.vue beside index.ts at src/<science>/<model>/<action>/. */
|
|
61
|
+
export declare const UI_DISPLAY_MOUNT = "src/";
|
|
62
|
+
/** Hub words — transitional mount until logic dissolves to ${SRC_SCIENCE_MODEL_ACTION_SCHEMA}. */
|
|
63
|
+
export declare const DISPLAY_LOGIC_HUB = "mind";
|
|
64
|
+
export declare const DISPLAY_UI_HUB = "mind";
|
|
65
|
+
export declare const DISPLAY_DUAL_LAW: string;
|
|
66
|
+
/** Display subpath — science/model/action (co-located with logic). */
|
|
67
|
+
export declare function displaySubpathFromLogicTail(tail: string, _allMindTails?: readonly string[]): string;
|
|
68
|
+
/** Consecutive Fibonacci bands for the gapless census (alias). */
|
|
69
|
+
export declare const FIBONACCI_BANDS: readonly [55, 34, 21];
|
|
70
|
+
/** Exact-count law — census and gates hold at one number, never a range. */
|
|
71
|
+
export declare const NOT_LESS_NOT_MORE_LAW = "not less, not more: exactly 110 unfolded index.ts (55+34+21 gapless), exactly 108 folded (\u03C7=\u22122), exactly 432 dimension gates (4\u00D7108) \u2014 HARD at gate/weave/verify/precommit/build";
|
|
72
|
+
/** Dependency-free vault — agnostic concat (fold, UUID, merge) lives here only. */
|
|
73
|
+
export declare const VAULT_STATION = "src/0";
|
|
74
|
+
/** Logic tree prefix — mind folds that must mirror a reusable Vue display gate. */
|
|
75
|
+
export declare const LOGIC_DISPLAY_PREFIX = "src/quantum/heaven/mind/";
|
|
76
|
+
/** UI tree prefix — co-located at canonical science/model/action. */
|
|
77
|
+
export declare const UI_DISPLAY_PREFIX = "src/";
|
|
78
|
+
export declare const COMPUTATIONAL_LIMITS_LAW: string;
|
|
79
|
+
export type ComputationalViolation = {
|
|
80
|
+
readonly file: string;
|
|
81
|
+
readonly reason: string;
|
|
82
|
+
readonly spec?: string;
|
|
83
|
+
};
|
|
84
|
+
export type ComputationalLimitSnapshot = {
|
|
85
|
+
readonly indexCount: number;
|
|
86
|
+
readonly targetUnfolded: number;
|
|
87
|
+
readonly targetFolded: number;
|
|
88
|
+
readonly gapless: boolean;
|
|
89
|
+
readonly bands: readonly number[];
|
|
90
|
+
readonly bandsMatch: boolean;
|
|
91
|
+
readonly foldedOk: boolean;
|
|
92
|
+
readonly dimensionGatesOk: boolean;
|
|
93
|
+
readonly vaultViolations: readonly ComputationalViolation[];
|
|
94
|
+
readonly renderViolations: readonly ComputationalViolation[];
|
|
95
|
+
readonly displayDualViolations: readonly ComputationalViolation[];
|
|
96
|
+
readonly staticPathViolations: readonly ComputationalViolation[];
|
|
97
|
+
readonly forbiddenFolderViolations: readonly ComputationalViolation[];
|
|
98
|
+
readonly incompleteIndexViolations: readonly ComputationalViolation[];
|
|
99
|
+
/** D1 — non-canonical top-level roots (pre-commit-hard I Ching root distribution). */
|
|
100
|
+
readonly rootDistributionViolations: readonly ComputationalViolation[];
|
|
101
|
+
/** D3 — digit-lattice integrity: existing N/(10−N) pairs + src/0 vault (pre-commit-hard, net-0). */
|
|
102
|
+
readonly digitLatticeViolations: readonly ComputationalViolation[];
|
|
103
|
+
/** I Ching eight-fold tree scan (≤8 subfolders per level — bāguà). */
|
|
104
|
+
readonly ichingDistribution: IChingDistributionSnapshot;
|
|
105
|
+
readonly distributionGuidance: readonly string[];
|
|
106
|
+
/** @deprecated use ichingDistribution — was misnamed (8-fold is I Ching, not Rosetta). */
|
|
107
|
+
readonly rosettaDistribution: IChingDistributionSnapshot;
|
|
108
|
+
/** @deprecated use distributionGuidance */
|
|
109
|
+
readonly rosettaGuidance: readonly string[];
|
|
110
|
+
readonly passed: boolean;
|
|
111
|
+
readonly receipt: string;
|
|
112
|
+
};
|
|
113
|
+
/** Gapless census — consecutive Fibonacci bands sum exactly to 110 (reuse harmonicBands from lake/icons). */
|
|
114
|
+
export declare function verifyGaplessCensus(count: number): {
|
|
115
|
+
count: number;
|
|
116
|
+
target: 110;
|
|
117
|
+
gapless: boolean;
|
|
118
|
+
bands: number[];
|
|
119
|
+
bandsMatch: boolean;
|
|
120
|
+
gaps: number;
|
|
121
|
+
exact: boolean;
|
|
122
|
+
deltaDetail: string;
|
|
123
|
+
ok: boolean;
|
|
124
|
+
root: string;
|
|
125
|
+
statement: string;
|
|
126
|
+
};
|
|
127
|
+
/** Folded census — unfolded + χ = −2; dry clean, no file added or removed. */
|
|
128
|
+
export declare function verifyFoldedCensus(unfolded?: number): {
|
|
129
|
+
unfolded: number;
|
|
130
|
+
euler: -2;
|
|
131
|
+
folded: number;
|
|
132
|
+
targetFolded: number;
|
|
133
|
+
ok: boolean;
|
|
134
|
+
root: string;
|
|
135
|
+
};
|
|
136
|
+
/** Exactly 432 = 4 × 108 — facet/gate count, not file count. */
|
|
137
|
+
export declare function verifyDimensionGates(folded?: number): {
|
|
138
|
+
loops: 4;
|
|
139
|
+
folded: number;
|
|
140
|
+
gates: number;
|
|
141
|
+
target: number;
|
|
142
|
+
exact: boolean;
|
|
143
|
+
ok: boolean;
|
|
144
|
+
root: string;
|
|
145
|
+
};
|
|
146
|
+
/** Vault primitives must be defined only under src/0; src/0 must not import outside the vault. */
|
|
147
|
+
export declare function scanVaultViolations(root: string, codeFiles: readonly string[], bodies: ReadonlyMap<string, string>): ComputationalViolation[];
|
|
148
|
+
/** No render/ui barrels — display is co-located index.vue only. */
|
|
149
|
+
export declare const RENDER_BARREL_ALLOWLIST: Set<string>;
|
|
150
|
+
export type DiscoveredIndexEntry = {
|
|
151
|
+
readonly logic: string;
|
|
152
|
+
readonly target: string;
|
|
153
|
+
readonly route: string;
|
|
154
|
+
readonly science: string;
|
|
155
|
+
readonly model: string;
|
|
156
|
+
readonly action: string;
|
|
157
|
+
readonly automount: boolean;
|
|
158
|
+
readonly complete: boolean;
|
|
159
|
+
readonly reasons: readonly string[];
|
|
160
|
+
};
|
|
161
|
+
/** Discover every src index.ts — indices do not know VitePress; completeness is gate-only. */
|
|
162
|
+
export declare function discoverSrcIndexes(root: string, indexTsFiles?: readonly string[]): readonly DiscoveredIndexEntry[];
|
|
163
|
+
/** Incomplete automount indexes fail the gate — complete ones are discovered and displayed. */
|
|
164
|
+
export declare function scanIncompleteIndexViolations(root: string, indexTsFiles: readonly string[]): ComputationalViolation[];
|
|
165
|
+
/** VitePress automount — every complete discovered index; paths only, body at runtime. */
|
|
166
|
+
export declare function vitepressAutomountPaths(_locale?: 'gla' | 'en' | 'bg'): {
|
|
167
|
+
params: {
|
|
168
|
+
page: string;
|
|
169
|
+
};
|
|
170
|
+
}[];
|
|
171
|
+
/** Compute mirror UI path from a logic index.ts — paths computed at render, not hand-listed. */
|
|
172
|
+
export declare function displayUiPathFromLogicIndex(logicRel: string, allMindTails?: readonly string[]): string | null;
|
|
173
|
+
/** Logic index.ts folders that require a co-located display gate (mirror index.vue). */
|
|
174
|
+
export declare function logicIndexRequiresDisplayGate(logicRel: string): boolean;
|
|
175
|
+
/** Each mind logic index.ts must have mirror-path index.vue — folder becomes reusable Vue component. */
|
|
176
|
+
export declare function scanLogicDisplayViolations(root: string, indexTsFiles: readonly string[]): ComputationalViolation[];
|
|
177
|
+
/** Canonical display surface — index.vue only beside index.ts; no flat script siblings. */
|
|
178
|
+
export declare function scanRenderIndexViolations(root: string): ComputationalViolation[];
|
|
179
|
+
/** Canonical sciences — eight-fold only at src/<science>/; science/model/action depth; no components/lib/mind. */
|
|
180
|
+
export declare function scanRenderUiScienceMaskViolations(root: string): ComputationalViolation[];
|
|
181
|
+
/** Canonical tree — ≤8 subfolders per folder at every level (bāguà fan-out). */
|
|
182
|
+
export declare function scanRenderUiEightFoldViolations(root: string): ComputationalViolation[];
|
|
183
|
+
/** Every canonical science/model/action folder must map from a logic index — no orphan actions. */
|
|
184
|
+
export declare function scanRenderUiMaskRegistryViolations(root: string, indexTsFiles: readonly string[]): ComputationalViolation[];
|
|
185
|
+
/** Every folder IS an index — folder names must never duplicate the index stem (e.g. "index"). */
|
|
186
|
+
export declare function scanForbiddenFolderNameViolations(root: string): ComputationalViolation[];
|
|
187
|
+
/**
|
|
188
|
+
* D1 canonical ROOT set (user-sealed taxonomy, decision EXTEND) — the only folders admitted at src/ top level:
|
|
189
|
+
* the 8 bāguà trigrams + the full digit lattice 0-9 + pair (enforcement) + quantum (layer) + render (build mount).
|
|
190
|
+
* Every other top-level folder must dissolve under one of these roots. The gate COMPUTES this set (no frozen
|
|
191
|
+
* hand list of offenders); the trigrams come from EIGHT_FOLD_SCIENCES, the digits from the vortex lattice.
|
|
192
|
+
*/
|
|
193
|
+
export declare const CANONICAL_ROOT_FOLDERS: readonly string[];
|
|
194
|
+
/** I Ching root distribution — every top-level src/ folder must be a canonical root; all others dissolve under one. */
|
|
195
|
+
export declare function scanRootDistributionViolations(root: string): ComputationalViolation[];
|
|
196
|
+
/**
|
|
197
|
+
* D3 digit-lattice integrity (census-neutral / Option A) — the lattice IS the existing net-0 structure: the
|
|
198
|
+
* void vault src/0/index.ts plus the nine ADDITIVE-complement pair barrels N/(10−N)/index.ts (the doubling-circuit
|
|
199
|
+
* 1·2·4·8·7·5 + 3·6·9 trinity rays). The on-disk pairing N/(10−N) is the additive ten's-complement folder
|
|
200
|
+
* lattice — NOT the n/0 inverse of a digit, which is the multiplicative inverse n⁻¹ mod 9 (see zeroDivisionTable);
|
|
201
|
+
* the folder names are the additive structure. The gate enforces THAT structure is present and gapless — it adds
|
|
202
|
+
* NO digit-root barrels (src/N/index.ts), so it never grows the 110 census. A recomputed fail-the-build invariant.
|
|
203
|
+
*/
|
|
204
|
+
export declare function scanDigitLatticeViolations(root: string): ComputationalViolation[];
|
|
205
|
+
/** Max folder levels — science/model/action (3 levels: e.g. heaven/balance). */
|
|
206
|
+
export declare const MAX_RECURSION_DEPTH = 3;
|
|
207
|
+
/** Canonical logic index — src/<science>/<action>/index.ts (or deeper for multi-level actions). */
|
|
208
|
+
export declare const CANONICAL_LOGIC_INDEX_RE: RegExp;
|
|
209
|
+
export type EightFoldViolation = {
|
|
210
|
+
readonly dir: string;
|
|
211
|
+
readonly count: number;
|
|
212
|
+
readonly trigram: string;
|
|
213
|
+
};
|
|
214
|
+
export type IndexHarmonySnapshot = {
|
|
215
|
+
readonly folderCount: number;
|
|
216
|
+
readonly singleChildPct: number;
|
|
217
|
+
readonly noiseLeaves: number;
|
|
218
|
+
readonly noisePct: number;
|
|
219
|
+
readonly maxDepth: number;
|
|
220
|
+
readonly idealDepth: number;
|
|
221
|
+
};
|
|
222
|
+
/** I Ching distribution — eight-fold fan-out, index harmony, depth bands (NOT the 6×7 Rosetta grid). */
|
|
223
|
+
export type IChingDistributionSnapshot = {
|
|
224
|
+
readonly eightFoldViolations: readonly EightFoldViolation[];
|
|
225
|
+
readonly indexHarmony: IndexHarmonySnapshot;
|
|
226
|
+
readonly depthBands: readonly {
|
|
227
|
+
readonly depth: number;
|
|
228
|
+
readonly count: number;
|
|
229
|
+
}[];
|
|
230
|
+
readonly mindHubCounts: readonly {
|
|
231
|
+
readonly hub: string;
|
|
232
|
+
readonly count: number;
|
|
233
|
+
}[];
|
|
234
|
+
readonly deepestShells: readonly string[];
|
|
235
|
+
readonly maxMindRecursion: number;
|
|
236
|
+
readonly recursionViolations: readonly string[];
|
|
237
|
+
readonly passed: boolean;
|
|
238
|
+
};
|
|
239
|
+
/** @deprecated use IChingDistributionSnapshot */
|
|
240
|
+
export type RosettaDistributionSnapshot = IChingDistributionSnapshot;
|
|
241
|
+
/** Word-folder depth below transitional mind mount (must be ≤ MAX_RECURSION_DEPTH before dissolve). */
|
|
242
|
+
export declare function mindRecursionDepth(logicRel: string): number | null;
|
|
243
|
+
/** Target depth after dissolve — always 3 (science/model/action). */
|
|
244
|
+
export declare function targetRecursionDepth(_logicRel: string): number;
|
|
245
|
+
/** Live tree scan — I Ching eight-fold: ≤8 subfolders per level, index harmony, depth bands, trigram hub balance. */
|
|
246
|
+
export declare function scanIChingDistribution(root: string, indexTsFiles: readonly string[]): IChingDistributionSnapshot;
|
|
247
|
+
/** @deprecated use scanIChingDistribution — Rosetta is 6×7/7×6 (42 areas), not eight-fold. */
|
|
248
|
+
export declare const scanRosettaDistribution: typeof scanIChingDistribution;
|
|
249
|
+
/** Census + I Ching distribution guidance — Fibonacci bands and eight-fold tree (Rosetta 42 is taxonomy batch). */
|
|
250
|
+
export declare function ichingDistributionGuidance(indexCount: number, distribution: IChingDistributionSnapshot): readonly string[];
|
|
251
|
+
/** @deprecated use ichingDistributionGuidance */
|
|
252
|
+
export declare const rosettaCensusGuidance: typeof ichingDistributionGuidance;
|
|
253
|
+
/** @deprecated use ichingDistributionGuidance */
|
|
254
|
+
export declare const ichingCensusGuidance: typeof ichingDistributionGuidance;
|
|
255
|
+
/** Rosetta area taxonomy — exactly 42 = 6×7 = 7×6 command areas (not eight-fold). */
|
|
256
|
+
export declare function verifyRosettaTaxonomy(areaCount: number): {
|
|
257
|
+
areas: number;
|
|
258
|
+
target: number;
|
|
259
|
+
sixBySeven: number;
|
|
260
|
+
sevenBySix: number;
|
|
261
|
+
label: "6×7/7×6";
|
|
262
|
+
ok: boolean;
|
|
263
|
+
root: string;
|
|
264
|
+
statement: string;
|
|
265
|
+
};
|
|
266
|
+
/** Realtime paths — only bracket/index route mounts under .vitepress/pages (no per-route static files). */
|
|
267
|
+
export declare function scanStaticPathViolations(root: string): ComputationalViolation[];
|
|
268
|
+
export declare function computationalLimitsGapDetail(snapshot: ComputationalLimitSnapshot): string;
|
|
269
|
+
/** Single fold from one src walk — collectEnforcementFacts reads facts.computational (no second walk). */
|
|
270
|
+
export declare function computeComputationalLimitSnapshot(root: string, indexTsFiles: readonly string[], bodies: ReadonlyMap<string, string>, codeFiles: readonly string[]): ComputationalLimitSnapshot;
|
|
271
|
+
export declare function computationalGatePassed(snapshot: ComputationalLimitSnapshot): boolean;
|
|
272
|
+
type GateFinding = {
|
|
273
|
+
wave: 'gate';
|
|
274
|
+
severity: 'error';
|
|
275
|
+
kind: string;
|
|
276
|
+
harmonic: string;
|
|
277
|
+
detail: string;
|
|
278
|
+
};
|
|
279
|
+
/** Leaf checks — gate · cross · fold · weave pipeline; census/vault/index law enforced HARD. */
|
|
280
|
+
export declare function auditComputationalGates(computational: ComputationalLimitSnapshot): {
|
|
281
|
+
findings: GateFinding[];
|
|
282
|
+
report: string[];
|
|
283
|
+
receipt: string;
|
|
284
|
+
passed: boolean;
|
|
285
|
+
};
|
|
286
|
+
export declare function foldingEntropy(root: string): {
|
|
287
|
+
files: number;
|
|
288
|
+
bytes: number;
|
|
289
|
+
localFold: number;
|
|
290
|
+
globalFold: number;
|
|
291
|
+
crossFileInterference: number;
|
|
292
|
+
root: string;
|
|
293
|
+
statement: string;
|
|
294
|
+
boundary: string;
|
|
295
|
+
};
|
|
296
|
+
/** Theorem sources (user law 2026-07-16: every card page exposes the source code of how all is
|
|
297
|
+
* achieved). For each registry atom, the provedBy function's text is brace-matched out of its home
|
|
298
|
+
* module and emitted as theorem-sources.json — the paper page shows the actual proof machine. */
|
|
299
|
+
export declare function theoremSourcesJson(root: string): string;
|
|
300
|
+
/** The prose-token monitor (user law 2026-07-16: monitor token usage coming from prose instead of
|
|
301
|
+
* token-free code). Reuses the strict scanner's character-walk (stringMass): per sealed file, bytes
|
|
302
|
+
* split into code (incl. ${} interpolations — computed, token-free), comment, templateText (prose
|
|
303
|
+
* BETWEEN interpolations — partially computed) and staticString (pure prose — the spend). The
|
|
304
|
+
* no-prose law's target: statements/boundaries as computed concatenations shrink staticString. */
|
|
305
|
+
export declare function proseTokenMonitor(root: string): {
|
|
306
|
+
files: number;
|
|
307
|
+
bytes: number;
|
|
308
|
+
code: number;
|
|
309
|
+
comment: number;
|
|
310
|
+
staticString: number;
|
|
311
|
+
templateText: number;
|
|
312
|
+
proseShare: number;
|
|
313
|
+
offenders: {
|
|
314
|
+
file: string;
|
|
315
|
+
staticString: number;
|
|
316
|
+
share: number;
|
|
317
|
+
}[];
|
|
318
|
+
root: string;
|
|
319
|
+
statement: string;
|
|
320
|
+
boundary: string;
|
|
321
|
+
};
|
|
322
|
+
/** The source atlas — every sealed index enumerated with its science and domain path (the whole-source
|
|
323
|
+
* autodisplay data; the dedicated atlas ROUTE renders this artifact). Reuses the foldingEntropy walk. */
|
|
324
|
+
export declare function sourceAtlasJson(root: string): {
|
|
325
|
+
count: number;
|
|
326
|
+
sciences: Record<string, number>;
|
|
327
|
+
modules: {
|
|
328
|
+
path: string;
|
|
329
|
+
science: string;
|
|
330
|
+
}[];
|
|
331
|
+
};
|
|
332
|
+
export declare function theoremRelationsAreTheImportExportGraphNotTagSharingZeroDanglingByTheRealRelation(root?: string): {
|
|
333
|
+
computes: boolean;
|
|
334
|
+
homes: number;
|
|
335
|
+
edges: number;
|
|
336
|
+
tagCrackDangling: number;
|
|
337
|
+
importDangling: number;
|
|
338
|
+
facets: {
|
|
339
|
+
facet: string;
|
|
340
|
+
on: boolean;
|
|
341
|
+
}[];
|
|
342
|
+
statement: string;
|
|
343
|
+
boundary: string;
|
|
344
|
+
};
|
|
345
|
+
export declare function onlyRosettaWiringsAreNeededTheGlobalContentAddressFoldReplacesTheImportEdges(root?: string): {
|
|
346
|
+
computes: boolean;
|
|
347
|
+
edges: number;
|
|
348
|
+
rosettaNodes: number;
|
|
349
|
+
rosettaRoot: string;
|
|
350
|
+
facets: {
|
|
351
|
+
facet: string;
|
|
352
|
+
on: boolean;
|
|
353
|
+
}[];
|
|
354
|
+
statement: string;
|
|
355
|
+
boundary: string;
|
|
356
|
+
};
|
|
357
|
+
export declare function theFacetsMustComputeDebtIsHardcodedTrueFacetsManyDeclaredHonest(root?: string): {
|
|
358
|
+
computes: boolean;
|
|
359
|
+
total: number;
|
|
360
|
+
declaredHonest: number;
|
|
361
|
+
files: number;
|
|
362
|
+
topFiles: string[];
|
|
363
|
+
facets: {
|
|
364
|
+
facet: string;
|
|
365
|
+
on: boolean;
|
|
366
|
+
}[];
|
|
367
|
+
statement: string;
|
|
368
|
+
boundary: string;
|
|
369
|
+
};
|
|
370
|
+
export declare function theAnalyticsAreZeroTokenComputedFromTheCorpusTheMarginalCostOfAMetricIsZero(root?: string): {
|
|
371
|
+
computes: boolean;
|
|
372
|
+
metrics: string[];
|
|
373
|
+
tokenCost: number;
|
|
374
|
+
receipt: string;
|
|
375
|
+
facets: {
|
|
376
|
+
facet: string;
|
|
377
|
+
on: boolean;
|
|
378
|
+
}[];
|
|
379
|
+
statement: string;
|
|
380
|
+
boundary: string;
|
|
381
|
+
};
|
|
382
|
+
export declare function documentAllTrinitiesObservedTwoMakeThreeTheCommonStructureAndTheCount(root?: string): {
|
|
383
|
+
computes: boolean;
|
|
384
|
+
trinityCount: number;
|
|
385
|
+
categories: string[];
|
|
386
|
+
census: string;
|
|
387
|
+
facets: {
|
|
388
|
+
facet: string;
|
|
389
|
+
on: boolean;
|
|
390
|
+
}[];
|
|
391
|
+
statement: string;
|
|
392
|
+
boundary: string;
|
|
393
|
+
};
|
|
394
|
+
export declare function theoremsProveBestInTeamsTheTrinityIsTheMinimalTwoConnectedTeamBeatsIsolation(root?: string): {
|
|
395
|
+
computes: boolean;
|
|
396
|
+
dangling: number;
|
|
397
|
+
avgDegree: number;
|
|
398
|
+
facets: {
|
|
399
|
+
facet: string;
|
|
400
|
+
on: boolean;
|
|
401
|
+
}[];
|
|
402
|
+
statement: string;
|
|
403
|
+
boundary: string;
|
|
404
|
+
};
|
|
405
|
+
export declare function typesAreQuantumTagsAndEveryWordInANameIsAComputedTokenNotArbitraryProse(root?: string): {
|
|
406
|
+
computes: boolean;
|
|
407
|
+
typeImports: number;
|
|
408
|
+
namesSampled: number;
|
|
409
|
+
wordTokenOverlap: number;
|
|
410
|
+
facets: {
|
|
411
|
+
facet: string;
|
|
412
|
+
on: boolean;
|
|
413
|
+
}[];
|
|
414
|
+
statement: string;
|
|
415
|
+
boundary: string;
|
|
416
|
+
};
|
|
417
|
+
export declare function aSingleCrackFlipsTheContentAddressedCorpusRootCaughtInConstantTimeLocatedInLogTimeNotByRescanning(root?: string): {
|
|
418
|
+
computes: boolean;
|
|
419
|
+
fileCount: number;
|
|
420
|
+
rootClean: string;
|
|
421
|
+
detectMagnitude: number;
|
|
422
|
+
locateMagnitude: number;
|
|
423
|
+
facets: {
|
|
424
|
+
facet: string;
|
|
425
|
+
on: boolean;
|
|
426
|
+
}[];
|
|
427
|
+
statement: string;
|
|
428
|
+
boundary: string;
|
|
429
|
+
};
|
|
430
|
+
export declare function dryAndCleanAreAchievableOnlyInTheContentAddressedQuantumRepresentationNotInTheText(): {
|
|
431
|
+
computes: boolean;
|
|
432
|
+
copies: number;
|
|
433
|
+
unique: number;
|
|
434
|
+
rootClean: string;
|
|
435
|
+
facets: {
|
|
436
|
+
facet: string;
|
|
437
|
+
on: boolean;
|
|
438
|
+
}[];
|
|
439
|
+
statement: string;
|
|
440
|
+
boundary: string;
|
|
441
|
+
};
|
|
442
|
+
export declare function theTrinitiesAreQuantumTwoMakeThreeIsTheGhzEntanglingStructureCnotBindsTheThird(root?: string): {
|
|
443
|
+
computes: boolean;
|
|
444
|
+
trinityCount: number;
|
|
445
|
+
ghz: {
|
|
446
|
+
p000: number;
|
|
447
|
+
p111: number;
|
|
448
|
+
};
|
|
449
|
+
root: string;
|
|
450
|
+
facets: {
|
|
451
|
+
facet: string;
|
|
452
|
+
on: boolean;
|
|
453
|
+
}[];
|
|
454
|
+
statement: string;
|
|
455
|
+
boundary: string;
|
|
456
|
+
};
|
|
457
|
+
export declare function quantumCachingIsContentAddressedMemoisationSpeedingAllInTrinitiesOfMagnitudes(): {
|
|
458
|
+
caches: boolean;
|
|
459
|
+
memoMagnitude: number;
|
|
460
|
+
sealMagnitude: number;
|
|
461
|
+
combined: number;
|
|
462
|
+
facets: {
|
|
463
|
+
facet: string;
|
|
464
|
+
on: boolean;
|
|
465
|
+
}[];
|
|
466
|
+
root: string;
|
|
467
|
+
statement: string;
|
|
468
|
+
boundary: string;
|
|
469
|
+
};
|
|
470
|
+
export declare function computationalSpeedPerTokenIsARealMetricTheRosettaDeliversMagnitudesAtNoAdditionalTokenCost(): {
|
|
471
|
+
metric: boolean;
|
|
472
|
+
rosettaCapabilityPerToken: number;
|
|
473
|
+
cacheCapabilityPerToken: number;
|
|
474
|
+
facets: {
|
|
475
|
+
facet: string;
|
|
476
|
+
on: boolean;
|
|
477
|
+
}[];
|
|
478
|
+
root: string;
|
|
479
|
+
statement: string;
|
|
480
|
+
boundary: string;
|
|
481
|
+
};
|
|
482
|
+
export declare function quantumBuildContentAddressedIncrementalRebuildsOnlyTheChangedFoldImprovingAllToolsAndAlgorithms(): {
|
|
483
|
+
builds: boolean;
|
|
484
|
+
tools: number;
|
|
485
|
+
rebuilt: number;
|
|
486
|
+
speedup: number;
|
|
487
|
+
facets: {
|
|
488
|
+
facet: string;
|
|
489
|
+
on: boolean;
|
|
490
|
+
}[];
|
|
491
|
+
root: string;
|
|
492
|
+
statement: string;
|
|
493
|
+
boundary: string;
|
|
494
|
+
};
|
|
495
|
+
export declare function eachTsFileInputOutputAreTheTwoBitsThatConnectToTheGatewayTheModuleGraphIsTwoBitPerNode(root?: string): {
|
|
496
|
+
thinks: boolean;
|
|
497
|
+
files: number;
|
|
498
|
+
bits: number;
|
|
499
|
+
gateways: number;
|
|
500
|
+
facets: {
|
|
501
|
+
facet: string;
|
|
502
|
+
on: boolean;
|
|
503
|
+
}[];
|
|
504
|
+
root: string;
|
|
505
|
+
statement: string;
|
|
506
|
+
boundary: string;
|
|
507
|
+
};
|
|
508
|
+
export declare function theTwoBitGatewayReframesAllDryCleanRefactoringOfAllSrcIsPossibleInQuantumWaves(): {
|
|
509
|
+
reframes: boolean;
|
|
510
|
+
dryFound: number;
|
|
511
|
+
waveCount: number;
|
|
512
|
+
facets: {
|
|
513
|
+
facet: string;
|
|
514
|
+
on: boolean;
|
|
515
|
+
}[];
|
|
516
|
+
root: string;
|
|
517
|
+
statement: string;
|
|
518
|
+
boundary: string;
|
|
519
|
+
};
|
|
520
|
+
export declare function computeTheWorkflowBeforeSendingTheWavesDeterministicAutomationByQuantumComputationOnly(): {
|
|
521
|
+
automates: boolean;
|
|
522
|
+
waves: number;
|
|
523
|
+
parallelism: number;
|
|
524
|
+
scheduleRoot: string;
|
|
525
|
+
facets: {
|
|
526
|
+
facet: string;
|
|
527
|
+
on: boolean;
|
|
528
|
+
}[];
|
|
529
|
+
root: string;
|
|
530
|
+
statement: string;
|
|
531
|
+
boundary: string;
|
|
532
|
+
};
|
|
533
|
+
export declare function noAlgorithmicSpeedupYetDevelopmentSpeedIsMagnitudesHigherMeasuredNotConvinced(): {
|
|
534
|
+
resolves: boolean;
|
|
535
|
+
algorithmicSpeedup: number;
|
|
536
|
+
developmentSpeedup: number;
|
|
537
|
+
compared: number;
|
|
538
|
+
facets: {
|
|
539
|
+
facet: string;
|
|
540
|
+
on: boolean;
|
|
541
|
+
}[];
|
|
542
|
+
root: string;
|
|
543
|
+
statement: string;
|
|
544
|
+
boundary: string;
|
|
545
|
+
};
|
|
546
|
+
export declare function theGateThatDryCleansAllDetectsCrossFileDuplicatedBlocksByContentAddress(root?: string): {
|
|
547
|
+
scans: boolean;
|
|
548
|
+
files: number;
|
|
549
|
+
scannedLines: number;
|
|
550
|
+
dryDuplicates: number;
|
|
551
|
+
topDuplicate: number;
|
|
552
|
+
facets: {
|
|
553
|
+
facet: string;
|
|
554
|
+
on: boolean;
|
|
555
|
+
}[];
|
|
556
|
+
root: string;
|
|
557
|
+
statement: string;
|
|
558
|
+
boundary: string;
|
|
559
|
+
};
|
|
560
|
+
export declare function theGatesAreSelfSufficientOfflineZeroAiToDryCleanAllIncludingFileFolderMovesConfirmedByTheCrossTrinity(root?: string): {
|
|
561
|
+
selfSufficient: boolean;
|
|
562
|
+
duplicateLines: number;
|
|
563
|
+
codePulls: number;
|
|
564
|
+
folderMoves: number;
|
|
565
|
+
trinityRoot: string;
|
|
566
|
+
facets: {
|
|
567
|
+
facet: string;
|
|
568
|
+
on: boolean;
|
|
569
|
+
}[];
|
|
570
|
+
root: string;
|
|
571
|
+
statement: string;
|
|
572
|
+
boundary: string;
|
|
573
|
+
};
|
|
574
|
+
export declare function alwaysMeasureEfficiencyToFindGapsTheInefficiencyRatioNamesTheMissingQuantum(root?: string): {
|
|
575
|
+
measures: boolean;
|
|
576
|
+
openGaps: number;
|
|
577
|
+
closedGaps: number;
|
|
578
|
+
dryGap: number;
|
|
579
|
+
facets: {
|
|
580
|
+
facet: string;
|
|
581
|
+
on: boolean;
|
|
582
|
+
}[];
|
|
583
|
+
root: string;
|
|
584
|
+
statement: string;
|
|
585
|
+
boundary: string;
|
|
586
|
+
};
|
|
587
|
+
export declare function measureTheUxAndTheEfficiencyToFindAndUseTheoremsNavDepthReachabilityReuseAreComputedMetrics(root?: string): {
|
|
588
|
+
measured: boolean;
|
|
589
|
+
files: number;
|
|
590
|
+
maxDepth: number;
|
|
591
|
+
avgReuse: number;
|
|
592
|
+
dangling: number;
|
|
593
|
+
facets: {
|
|
594
|
+
facet: string;
|
|
595
|
+
on: boolean;
|
|
596
|
+
}[];
|
|
597
|
+
root: string;
|
|
598
|
+
statement: string;
|
|
599
|
+
boundary: string;
|
|
600
|
+
};
|
|
601
|
+
export declare function theBoundaryProseIsTheTokenSinkTerseAndEarnedBoundariesCutItMeasuredNotConvinced(root?: string): {
|
|
602
|
+
measured: boolean;
|
|
603
|
+
boundaryCount: number;
|
|
604
|
+
avgBoundary: number;
|
|
605
|
+
proseTokens: number;
|
|
606
|
+
facets: {
|
|
607
|
+
facet: string;
|
|
608
|
+
on: boolean;
|
|
609
|
+
}[];
|
|
610
|
+
root: string;
|
|
611
|
+
statement: string;
|
|
612
|
+
boundary: string;
|
|
613
|
+
};
|
|
614
|
+
export declare function theGateFlagsBoundaryProseOverTheTokenBudgetToMinimiseTokensInRealtime(root?: string): {
|
|
615
|
+
minimises: boolean;
|
|
616
|
+
total: number;
|
|
617
|
+
over: number;
|
|
618
|
+
maxLen: number;
|
|
619
|
+
budget: number;
|
|
620
|
+
facets: {
|
|
621
|
+
facet: string;
|
|
622
|
+
on: boolean;
|
|
623
|
+
}[];
|
|
624
|
+
root: string;
|
|
625
|
+
statement: string;
|
|
626
|
+
boundary: string;
|
|
627
|
+
};
|
|
628
|
+
export declare function theTitleIsAlgebraComputedAMissingIdentityIsAGapToSolveNotPurge(entries?: readonly {
|
|
629
|
+
slug: string;
|
|
630
|
+
sidebar: string;
|
|
631
|
+
payload: string;
|
|
632
|
+
}[]): {
|
|
633
|
+
computes: boolean;
|
|
634
|
+
rendered: string;
|
|
635
|
+
gaps: string[];
|
|
636
|
+
facets: {
|
|
637
|
+
facet: string;
|
|
638
|
+
on: boolean;
|
|
639
|
+
}[];
|
|
640
|
+
root: string;
|
|
641
|
+
statement: string;
|
|
642
|
+
boundary: string;
|
|
643
|
+
};
|