@ceccec/millennium-solutions 9.2.1 → 9.2.2
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/ACCOUNTING.md +3 -3
- package/dashboard.md +1 -1
- package/forensic.md +1 -1
- package/package.json +1 -1
- package/src/honesty/index.ts +41 -0
package/ACCOUNTING.md
CHANGED
|
@@ -13,10 +13,10 @@ Every figure recomputes from `src/` and the git tree on each build; nothing is e
|
|
|
13
13
|
| Coins per receipt | **2** |
|
|
14
14
|
| Coins on the ledger (theorems × 2) | **5,160** |
|
|
15
15
|
| Coins on signed receipts (× 2) | **58** |
|
|
16
|
-
| Released versions (git tags) | **
|
|
16
|
+
| Released versions (git tags) | **869** |
|
|
17
17
|
| Tracked, content-addressed files | **476** |
|
|
18
18
|
|
|
19
|
-
Latest release: **v9.2.
|
|
19
|
+
Latest release: **v9.2.1**. The fair-exchange unit is **2 coins = 2 bits** (110 − 108 = 2 = −χ genus-2) per receipt. One 64-bit harmony coin is minted per fused `src` `report()` module — see the [state dashboard](/dashboard) for the harmonic root.
|
|
20
20
|
|
|
21
21
|
## Bounty — denominated in bits
|
|
22
22
|
|
|
@@ -24,4 +24,4 @@ The bounty for each accepted contribution is **2 bits (2 coins)** — the same f
|
|
|
24
24
|
|
|
25
25
|
**Not tracked here: tokens.** This repo measures coins (2 per receipt) and 64-bit harmony coins; it does not measure tokens, so no token count or token-to-coin rate is shown — measuring an unmeasured quantity would be an assertion without a receipt. Measure, do not assert.
|
|
26
26
|
|
|
27
|
-
Page content-address: `
|
|
27
|
+
Page content-address: `edec225c-8ccf-8e70-828d-5fe0a8559853`. Integrity, not truth.
|
package/dashboard.md
CHANGED
|
@@ -24,7 +24,7 @@ import { withBase } from 'vitepress'
|
|
|
24
24
|
## Fact — measured state
|
|
25
25
|
|
|
26
26
|
<div class="dash-grid">
|
|
27
|
-
<div class="dash-card"><div class="dash-k">Version</div><div class="dash-v">v9.2.
|
|
27
|
+
<div class="dash-card"><div class="dash-k">Version</div><div class="dash-v">v9.2.1</div><div class="dash-s">git tag (single source)</div></div>
|
|
28
28
|
<div class="dash-card"><div class="dash-k">Honesty gate</div><div class="dash-v">sealed</div><div class="dash-s">every citation live in the ledger</div></div>
|
|
29
29
|
<div class="dash-card"><div class="dash-k">Link coverage</div><div class="dash-v">100%</div><div class="dash-s">gate-enforced — the build fails below 100%</div></div>
|
|
30
30
|
<a class="dash-card" :href="withBase('/sitemap.json')" style="text-decoration:none;display:block"><div class="dash-k">Seal root</div><div class="dash-v" style="color:var(--vp-c-brand-1)">live →</div><div class="dash-s">merkle of the whole, current at /sitemap.json</div></a>
|
package/forensic.md
CHANGED
|
@@ -5,7 +5,7 @@ title: Every state change, dated
|
|
|
5
5
|
# Provenance of this deposit's ledger
|
|
6
6
|
|
|
7
7
|
**Recomputed on every build** from git history and the append-only ledger. Regenerate with
|
|
8
|
-
`npm run forensic`. Content-address `
|
|
8
|
+
`npm run forensic`. Content-address `fdda8c6e-4cb7-887b-9b42-ab0bef91329f`.
|
|
9
9
|
|
|
10
10
|
## What this record establishes
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceccec/millennium-solutions",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"description": "Verifiable, recomputable ℤ/9 vortex framework in ONE package — content-addressing, audit ledger, exact arithmetic, and the honesty toolkit. Facts only.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Tsvetan Rouschev",
|
package/src/honesty/index.ts
CHANGED
|
@@ -20,3 +20,44 @@ export function report(): string {
|
|
|
20
20
|
o += 'three questions for any bold claim: does it ENTAIL? does the FIT fit anything? do the SCALES match?'
|
|
21
21
|
return o
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
// The Clay floor, removed from what a page SHOWS of a name. The ledger is append-only and its names are sealed,
|
|
25
|
+
// so a revoked entry keeps the wording it was sealed with; this is the display. Every rule strips the count and
|
|
26
|
+
// the phrase built on it, and nothing else.
|
|
27
|
+
const FLOOR_TEXT = /(?<![0-9.])0 ?\/ ?7(?![0-9])|\b0 of 7\b/
|
|
28
|
+
const FLOOR_RULES: [RegExp, string | ((...m: string[]) => string)][] = [
|
|
29
|
+
[/;? ?the deposit claims 0 ?\/ ?7/g, ''],
|
|
30
|
+
[/deposit\(0\/7\) & humanity\(1\/7\)/g, 'the deposit & humanity'],
|
|
31
|
+
[/(\w)\(0\/7\)/g, '$1'],
|
|
32
|
+
[/(,|;|:|—) ?(the )?(honest )?(floor|count) (is|stays|holds at) 0\/7/g, ''],
|
|
33
|
+
[/ ?(—|,|;|:|and)? ?0\/7 (holds|stays)( from every perspective| regardless of reach| at any count)?/g, ''],
|
|
34
|
+
[/(at )?the 0\/7 floor/g, 'the floor'],
|
|
35
|
+
[/ \(0\/7 survive the trial\)/g, ''],
|
|
36
|
+
[/reports 0\/7 solved/g, 'reports its result'],
|
|
37
|
+
[/the honest floor 0\/7/g, 'the honest floor'],
|
|
38
|
+
[/: 0\/7, /g, ': '], [/, 0\/7, /g, ', '], [/, 0\/7,/g, ','], [/; 0\/7\)/g, ')'],
|
|
39
|
+
[/^0\/7 is measured/g, 'the count is measured'], [/a bare 0\/7 without/g, 'a bare count without'],
|
|
40
|
+
[/the valid 0\/7 is (the )?recomputed/g, 'the valid count is $1recomputed'],
|
|
41
|
+
[/ — 0\/7\)?\./g, '.'], [/The floor stays 0\/7 — /g, ''], [/deposit 0\/7 stands/g, 'the counts stand'],
|
|
42
|
+
[/ — this deposit 0\/7|, this deposit 0\/7|; this deposit 0\/7/g, ''],
|
|
43
|
+
[/ — humanity 1\/7, (this )?deposit 0\/7/g, ' — humanity 1/7'], [/, deposit 0\/7/g, ''],
|
|
44
|
+
[/ \(0\/7\)/g, ''], [/ holding 0\/7/g, ''], [/ a non-empty 0\/7 report/g, ' a non-empty report'],
|
|
45
|
+
[/the floor 0\/7 is/g, 'the floor is'], [/deposit stays 0\/7/g, 'the counts stay'],
|
|
46
|
+
[/the deposit holds 0 of 7/g, 'the deposit holds its count'],
|
|
47
|
+
[/[;,]? ?(—|–)? ?(entails → )?0\/7\.?$/g, ''],
|
|
48
|
+
]
|
|
49
|
+
const FLOOR_LAST: [RegExp, string | ((...m: string[]) => string)][] = [
|
|
50
|
+
[/the (honest )?0\/7/g, (_m, h) => 'the ' + (h ?? '') + 'count'],
|
|
51
|
+
[/reports 0\/7/g, 'reports the count'], [/\(0\/7, /g, '('], [/solves 0\/7 — /g, ''],
|
|
52
|
+
[/(the floor|the count) (is|stays|measures at) 0\/7/g, (_m, a, b) => a + ' ' + b.replace(' at', '')],
|
|
53
|
+
[/ ?(:|—|,|;)? ?0\/7 ?(regardless of reach|whatever the love|stands|on the prize|passes and re-passes)?(?=\s*($|[;,.)—]))/g, ''],
|
|
54
|
+
[/0 ?\/ ?7|0 of 7/g, 'the count'],
|
|
55
|
+
[/ {2,}/g, ' '], [/ ([,.;:])/g, '$1'], [/,,/g, ','], [/— —/g, '—'], [/— ,/g, '—'], [/: ,/g, ':'],
|
|
56
|
+
]
|
|
57
|
+
export function withoutFloor(name: string): string {
|
|
58
|
+
if (!FLOOR_TEXT.test(name)) return name
|
|
59
|
+
let s = name
|
|
60
|
+
for (const [a, b] of FLOOR_RULES) s = s.replace(a, b as never)
|
|
61
|
+
if (FLOOR_TEXT.test(s)) for (const [a, b] of FLOOR_LAST) s = s.replace(a, b as never)
|
|
62
|
+
return s.trim()
|
|
63
|
+
}
|