You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ENGI_SPEC_V23_DELTA.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,23 +55,25 @@ The current accepted V23 drafting decisions are:
55
55
56
56
1. V23 is deployment-facing rather than another truth-alignment pass.
57
57
2. Bitcoin enters ENGI first as a commitment and spend substrate.
58
-
3. ENGI proof computation and bulk private artifact storage remain off-chain by default.
58
+
3. ENGI proof computation and bulk private artifact storage remain off-chain by default, while NGI remains the denomination for share and settlement units.
59
59
4. V23 opens two new proof families: `bitcoin-audit-anchor` and `bitcoin-settlement-interface`.
60
60
5. V23 requires bounded-public and private commitment scopes at minimum.
61
61
6. V23 requires audited payment intent and audited payment observation carriers before any future live settlement claim can be made.
62
-
7. V23 keeps optional sidechain or L2 transferability as later work, not as the entry point.
62
+
7. V23 keeps a sidechain connection point inside first gate so the ENGI:BTC bridge is not mainchain-only; generalized sidechain-issued transferability remains later work.
63
63
8. V23 does not authorize canonical promotion or generated-proof claims until source and validation land.
64
64
9. V23 first gate fixes replayable manifest-root derivation instead of leaving root construction implicit.
65
65
10. V23 first gate fixes the minimum enum vocabulary and mode-specific journal finalization rules for BTC-facing artifacts.
66
66
11. V23 first gate adds a treasury-policy surface and a BTC artifact projection matrix so buyer, reviewer, and public visibility are explicit.
67
+
12. V23 first gate also requires prototype-demonstration compute-reality and storage-reality artifacts so deployed compute and storage posture are spec-bearing rather than implied.
67
68
68
69
## Explicitly deferred
69
70
70
71
Still explicitly deferred beyond this drafting pass:
71
72
- live Bitcoin transaction assembly and signing,
72
73
- live anchor publication,
73
74
- live repeated-read payment network integration,
74
-
- live optional L2 or sidechain transferability,
75
+
- live sidechain bridge execution,
76
+
- live generalized sidechain-issued transferability,
75
77
- and any V23 `_PROVEN_` appendix or generated `.engi/v23-*` artifact family.
76
78
77
79
## Draft implementation sequence
@@ -82,18 +84,20 @@ The accepted V23 sequencing is:
82
84
2. define the new Bitcoin-facing artifact family and proof-family members,
83
85
3. derive public and private commitment scopes from existing deliverables classification,
84
86
4. fix the manifest-root derivation contract, enum vocabulary, treasury policy shape, and mode-specific finalization rules,
85
-
5. specialize the external-boundary manifest into anchor and spend interfaces,
86
-
6. bind settlement intent and observation to existing exact settlement artifacts,
87
-
7. add fail-closed validation for scope leakage, receipt drift, and mode-specific finalization drift,
88
-
8. generate V23 proof and draft-readiness artifacts from real source behavior,
89
-
9. and only then consider promotion away from V22.
87
+
5. define and prototype-demonstrate compute-reality and storage-reality artifacts,
88
+
6. specialize the external-boundary manifest into anchor and spend interfaces,
89
+
7. bind settlement intent and observation to existing exact settlement artifacts,
90
+
8. add fail-closed validation for scope leakage, receipt drift, compute/storage reality drift, and mode-specific finalization drift,
91
+
9. generate V23 proof and draft-readiness artifacts from real source behavior,
92
+
10. and only then consider promotion away from V22.
90
93
91
94
## Commit-body direction
92
95
93
96
The eventual V23 canonical commit body should describe:
94
97
- the Bitcoin-facing artifact family added to source,
95
98
- the exact public and private commitment-scope rules,
96
99
- the manifest-root derivation contract, enum vocabulary, treasury-policy surface, and finalization policy,
100
+
- the prototype-demonstration compute-reality and storage-reality surfaces,
97
101
- the spend-intent and payment-observation closure path,
98
102
- the new proof families and validation surfaces,
99
103
- and the explicit continued honesty about what remains modeled versus live.
Copy file name to clipboardExpand all lines: ENGI_SPEC_V23_PARITY_MATRIX.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,18 +49,21 @@ This matrix is grounded in:
49
49
| Deliverables confidentiality classification |`run-artifacts.js` already classifies deliverables by `confidentialityClass` and `potentiallyDisclosable`| V23 public commitment scope must derive only from disclosable artifacts | public-root inclusion rule is derived from deliverables classification and projection policy | implemented prerequisite |
50
50
| Manifest-root derivation contract | current source has stable hashing but no BTC-specific root contract | V23 requires replayable manifest-root derivation rather than an implicit or ad hoc root algorithm |`publicRoot` and `privateRoot` are derived from sorted scope entries under a fixed `v23.manifest-root.v1` contract | implemented in docs |
51
51
| BTC enum vocabulary | current source has no BTC-specific enum set | V23 requires fixed enum values for anchor, payment, publication, confirmation, network, and journal-binding states | enum vocabulary is declared in spec and used consistently across artifact definitions | implemented in docs |
52
+
| Compute-reality surface | current source exposes model execution as a boundary but has no compute-reality manifest | V23 requires a prototype-demonstration compute-reality artifact that binds off-chain execution to replayable proof and settlement surfaces |`.engi/compute-reality-manifest.json` is emitted, classified, and test-covered | not yet implemented |
53
+
| Storage-reality surface | current source exposes artifact uploads and deliverables but has no storage-reality manifest | V23 requires a prototype-demonstration storage-reality artifact that binds commitment scopes to content-addressed retrieval posture |`.engi/storage-reality-manifest.json` is emitted, classified, and test-covered | not yet implemented |
52
54
| Exact settlement event size |`engi-demo/src/engi-demo.js` exports `METERED_MICRO_UNITS = '100000000'`; `settlement.js` allocates exact micro-units against it | V23 payment intent and observation must bind to the same exact event size | settlement-intent and settlement-observation artifacts reference the same metered-unit event | implemented prerequisite |
55
+
| NGI denomination rule | current source has exact integer settlement carriers but no BTC-facing denomination rule | V23 requires ENGI to remain the system name and NGI to be the share and settlement denomination | BTC-facing artifacts declare `unitDenomination = NGI` and treasury policy declares settlement denomination explicitly | implemented in docs |
53
56
| Settlement proof chain | source-to-shares, settlement participation, accounting precision, journal diff, and settlement proof already close over exact accounting | V23 audited spend surfaces must bind to the existing settlement proof chain | payment observation does not contradict or replace settlement proof closure | implemented prerequisite |
54
57
| Bounded-public proof surfaces | projection policy, bounded-public proof, redaction proof, and disclosure proof already exist | V23 public anchor receipts must project only these safe surfaces | bounded-public anchor is derivable without leaking private artifacts | implemented prerequisite |
55
-
| Treasury-policy surface | current source has no explicit treasury or finalization policy artifact | V23 requires a treasury-policy carrier referenced by settlement intent, anchor policy, and finalization rules |`.engi/bitcoin-treasury-policy.json` is emitted and classified in deliverables manifest | not yet implemented |
58
+
| Treasury-policy surface | current source has no explicit treasury or finalization policy artifact | V23 requires a treasury-policy carrier referenced by settlement intent, anchor policy, sidechain bridge policy, and finalization rules |`.engi/bitcoin-treasury-policy.json` is emitted and classified in deliverables manifest | not yet implemented |
56
59
| BTC artifact projection matrix | current source has no per-principal visibility matrix for `bitcoin-*` artifacts | V23 requires explicit public/reviewer/buyer/internal visibility for each new BTC artifact | projection policy and deliverables classification cover each BTC artifact explicitly | implemented in docs |
| Bitcoin-facing artifact family | no current source emits `bitcoin-*` artifacts | V23 requires commitment-manifest, anchor, bounded-public anchor, settlement intent, settlement observation, and two proof artifacts | new artifact family is emitted in `.engi/` and classified in deliverables manifest | not yet implemented |
59
62
| Bitcoin proof-family validation | no current source emits `bitcoin-audit-anchor` or `bitcoin-settlement-interface` proof families | V23 requires both proof families with theorem and replay closure | proof-witness manifest and proof-contract include the new families | not yet implemented |
60
-
|Mode-specific finalization policy | current source has no BTC-facing finalization semantics | V23 requires explicit finalization rules for base-layer, repeated-read, and checkpointed-L2 modes | tests and runtime enforce `journalBindingState` transitions by mode | not yet implemented |
63
+
|Sidechain bridge mode and finalization policy | current source has no BTC-facing sidechain bridge semantics | V23 requires an explicit sidechain bridge connection point and finalization rules for base-layer, repeated-read, and checkpointed-sidechain modes | tests and runtime enforce `journalBindingState` transitions by mode and sidechain checkpoints| not yet implemented |
61
64
| Live network execution | README and external-boundary surfaces remain explicit that networked settlement effects are modeled only | V23 must preserve that honesty until real implementation lands | docs and runtime continue to state modeled versus live boundaries accurately | accepted boundary |
62
65
| Generated V23 evidence | no `ENGI_SPEC_V23_PROVEN.md` or generated `.engi/v23-*` evidence exists | V23 promotion requires generated evidence from real source behavior | generated appendix and generated V23 reports exist before promotion | accepted boundary |
63
-
|Optional sidechain or L2 transferability | no current source models transferability beyond deterministic settlement accounting | V23 keeps this as later optional deployment work | any future transfer mode still binds back to the same commitment and settlement carriers |accepted boundary|
66
+
|Sidechain connection point with later transferability | no current source models a sidechain bridge connection point or transferability beyond deterministic settlement accounting | V23 keeps the sidechain bridge connection point in first-gate scope while generalized transferability remains later work |sidechain bridge mode is specified now; any later generalized transfer mode still binds back to the same commitment and settlement carriers |implemented in docs / pending in source|
64
67
65
68
---
66
69
@@ -73,32 +76,38 @@ This matrix is grounded in:
73
76
| Public/private commitment scope rule | bounded-public and private roots are specified distinctly | implemented in docs |
74
77
| Manifest-root derivation contract |`publicRoot` and `privateRoot` are defined replayably | implemented in docs |
75
78
| Enum vocabulary | BTC-facing artifact state enums are fixed | implemented in docs |
79
+
| Compute-reality surface | prototype compute posture is explicit | implemented in docs |
80
+
| Storage-reality surface | prototype storage posture is explicit | implemented in docs |
81
+
| NGI denomination rule | ENGI versus NGI naming and unit semantics are explicit | implemented in docs |
76
82
| Bitcoin artifact family | new `.engi/bitcoin-*` carriers are defined | implemented in docs |
77
83
| Bitcoin proof families | new proof families are defined and bounded | implemented in docs |
78
84
| Treasury policy surface | spend-policy and finalization carrier is defined | implemented in docs |
79
85
| BTC artifact projection matrix | per-principal visibility for BTC artifacts is explicit | implemented in docs |
86
+
| Sidechain bridge connection point | sidechain bridge mode is explicit in first-gate scope | implemented in docs |
80
87
| Source emission | current runtime emits the new artifacts | pending |
88
+
| Prototype compute/storage emission | current runtime emits compute-reality and storage-reality artifacts | pending |
81
89
| Deliverables classification | current deliverables manifest classifies new artifacts correctly | pending |
82
90
| External boundary specialization | current external-boundary manifest splits anchor and spend interfaces | pending |
83
-
| Test closure | tests fail closed on scope leakage, receipt drift, and mode-specific finalization drift | pending |
91
+
| Test closure | tests fail closed on scope leakage, receipt drift, compute/storage reality drift, and mode-specific finalization drift | pending |
| No pointer promotion in this pass | V22 remains the only active canon | Reopen only after real source implementation and generated evidence exist |
91
-
| No live BTC execution claims | current source does not execute those flows | Reopen only when runtime, tests, and generated evidence prove it |
99
+
| No live BTC execution claims beyond prototype demonstration | current source does not execute those flows end-to-end yet| Reopen only when runtime, tests, and generated evidence prove it |
92
100
| No `_PROVEN_` appendix yet | V23 is still a draft target | Reopen only when V23 behavior is generated from source |
93
-
| No mandatory transferability layer | Bitcoin-audit anchoringand spend binding come first| Reopen only if later implementation requires optional L2 or sidechain support|
101
+
| No mandatory generalized transferability layer | Bitcoin-audit anchoring, sidechain bridge connectivity, and spend binding come first; generalized transferability can remain later | Reopen only if later implementation requires sidechain-issued transferability in first gate|
94
102
| No Merkle inclusion requirement in first gate | first-gate V23 uses replayable manifest roots instead | Reopen only if a later version needs compact inclusion-path semantics beyond manifest replay |
95
103
96
104
## Completion condition
97
105
98
106
This parity file is complete for V23 only when:
99
107
1. every draft artifact and proof-family row is either implemented in source or explicitly deferred,
100
108
2. public and private commitment scopes are enforced by source and tests,
101
-
3. manifest-root derivation, enum vocabulary, treasury-policy surface, and mode-specific finalization rules are enforced by source and tests,
102
-
4. external-boundary specialization is emitted in current runtime artifacts,
103
-
5. generated V23 evidence exists,
104
-
6. and promotion away from V22 is justified by real implementation rather than by draft intent alone.
109
+
3. prototype compute-reality and storage-reality surfaces are emitted and enforced by source and tests,
110
+
4. manifest-root derivation, enum vocabulary, treasury-policy surface, and mode-specific finalization rules are enforced by source and tests,
111
+
5. external-boundary specialization is emitted in current runtime artifacts,
112
+
6. generated V23 evidence exists,
113
+
7. and promotion away from V22 is justified by real implementation rather than by draft intent alone.
0 commit comments