Skip to content

Commit 7794b52

Browse files
Merge pull request #180 from engineeredsoftware/v43/gate-1-packs-read-deposit-roadmap
V43 Gate 1: Packs Read Deposit Roadmap
2 parents cc173ed + 5cb8d14 commit 7794b52

20 files changed

Lines changed: 926 additions & 36 deletions

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Title
22

3-
Use the version and gate prefix for gate PRs: `V42 Gate N: Concise Topical Title`.
4-
Use the version and promotion prefix for version promotion PRs: `V42 Canonical Promotion: Concise Topical Title`.
3+
Use the version and gate prefix for gate PRs: `V43 Gate N: Concise Topical Title`.
4+
Use the version and promotion prefix for version promotion PRs: `V43 Canonical Promotion: Concise Topical Title`.
55

66
## Closure
77

.github/workflows/bitcode-canon-quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ jobs:
327327
node scripts/check-v42-gate9-promotion-readiness.mjs --promotion-mode --skip-branch-check --skip-package-tests
328328
if [ -f BITCODE_SPEC_V43.md ]; then
329329
node scripts/check-bitcode-spec-family.mjs --version V43 --mode draft --current-target V42
330+
node scripts/check-v43-gate1-packs-read-deposit-roadmap.mjs --skip-branch-check
330331
fi
331332
else
332333
echo "Unexpected BITCODE_SPEC.txt pointer: $POINTER" >&2

.github/workflows/bitcode-gate-quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ jobs:
456456
node scripts/check-v42-gate9-promotion-readiness.mjs --promotion-mode --skip-branch-check --skip-package-tests
457457
if [ -f BITCODE_SPEC_V43.md ]; then
458458
node scripts/check-bitcode-spec-family.mjs --version V43 --mode draft --current-target V42
459+
node scripts/check-v43-gate1-packs-read-deposit-roadmap.mjs --skip-branch-check
459460
fi
460461
else
461462
echo "Unexpected BITCODE_SPEC.txt pointer: $POINTER" >&2
@@ -486,6 +487,9 @@ jobs:
486487
else
487488
node scripts/check-v42-gate9-promotion-readiness.mjs --promotion-mode --skip-branch-check
488489
fi
490+
if [ -f scripts/check-v43-gate1-packs-read-deposit-roadmap.mjs ]; then
491+
node scripts/check-v43-gate1-packs-read-deposit-roadmap.mjs --skip-branch-check
492+
fi
489493
pnpm --filter @bitcode/protocol test
490494
pnpm --filter @bitcode/btd exec jest --config jest.config.cjs --runInBand --forceExit
491495
pnpm --filter @bitcode/pipeline-asset-pack exec jest --config jest.config.cjs --passWithNoTests --forceExit

BITCODE_SPEC_V43.md

Lines changed: 524 additions & 0 deletions
Large diffs are not rendered by default.

BITCODE_SPEC_V43_DELTA.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Bitcode Spec V43 Delta
2+
3+
## Status
4+
5+
- Version: `V43`
6+
- V43 state: draft opened over promoted V42 for product-route cleanup and agentic deposit AssetPack option synthesis
7+
- Current canonical/latest target: `V42`
8+
- Prior canonical anchor: `BITCODE_SPEC_V42.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V42_PROVEN.md`
10+
- Generated structured artifact inventory: `.bitcode/v43-spec-family-report.json`, `.bitcode/v43-canonical-input-report.json`, and V43 gate artifacts as introduced
11+
- Source parity state: Gate 1 opens V43 specification and validation posture; implementation parity is gate-scoped
12+
13+
## Why V43 exists
14+
15+
V42 proved the reliable MVP path, but the product route vocabulary is still transitional. V43 exists to make the commercial website experience match Bitcode's actual protocol objects: AssetPacks in and AssetPacks out, Reading through a clear `/read` path, Depositing through a clear `/deposit` path, and all activity through a searchable `/packs` surface.
16+
17+
## Accepted V43 decisions
18+
19+
1. `/exchange` becomes `/packs` across route names, component prefixes, tests, docs, telemetry labels, and operator vocabulary.
20+
2. `/terminal` splits into `/read` and `/deposit` as the default product paths; retained cockpit/debug surfaces must not be the main experience.
21+
3. `/packs` becomes the master-detail table for all pack activity, with search, filtering, sorting, and source-safe detail expansion.
22+
4. `/deposit` gains agentic deposit AssetPack option synthesis from connected source, depositor instructions, Depository state, and Reading demand.
23+
5. Deposit options must expose source-safe measurements, sub-criticality, demand, likely ROI, BTD potential, compensation posture, and admission blockers before approval.
24+
6. `/read` remains the five-step Reading path: request read, review synthesized Need, request Finding Fits, review source-safe AssetPack preview, settle/buy/deliver.
25+
7. Product UX outside public documentation must be self-explanatory through structure, labels, progressive detail, rich components, and visual quality, not self-referential copy.
26+
27+
## Explicitly deferred
28+
29+
- Value-bearing mainnet admission remains gated by a later canon.
30+
- Advanced conversational overlays are not the default V43 route experience unless a gate explicitly scopes them.
31+
- BTD supply law, BTC settlement conservation, source-to-shares accounting, and unpaid source disclosure boundaries remain inherited from V42/V27.
32+
33+
## Pre-Implementation Sequence
34+
35+
1. Open V43 spec family, roadmap, checker, package script, and workflow posture.
36+
2. Inventory current Exchange/Terminal naming and define route migration.
37+
3. Implement `/packs` data contracts and searchable master-detail.
38+
4. Extract `/read` from Terminal into the default Reading path.
39+
5. Implement `/deposit` and agentic deposit AssetPack option synthesis.
40+
6. Add criticality, demand, ROI, BTD potential, and compensation policy.
41+
7. Close deposit option review/admission and pack activity synchronization.
42+
8. Run UX/UI excellence pass and remove self-referential product copy.
43+
9. Rehearse cross-route local/staging-testnet path.
44+
10. Close promotion readiness.
45+
46+
## Commit-Body Direction
47+
48+
V43 gate commits should state the route/product surface changed, the protocol objects preserved, the proof/test commands run, and the source-safety boundaries maintained. Gate PR titles must begin with `V43 Gate N:`.

BITCODE_SPEC_V43_NOTES.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Bitcode Spec V43 Notes
2+
3+
## Status
4+
5+
- Version: `V43`
6+
- V43 state: draft notes opened for product-route cleanup, pack activity, agentic deposit options, and enterprise UX
7+
- Current canonical/latest target: `V42`
8+
- Prior canonical anchor: `BITCODE_SPEC_V42.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V42_PROVEN.md`
10+
- Generated structured artifact inventory: `.bitcode/v43-spec-family-report.json`, `.bitcode/v43-canonical-input-report.json`, and future V43 gate artifacts
11+
- Source parity state: notes define operating memory for V43 gates; implementation parity is pending gate work
12+
13+
## Notes companion rule
14+
15+
These notes clarify V43 only. The active canon remains V42 until V43 promotion.
16+
17+
## Concise current-system reading
18+
19+
V42 made the reliable MVP path real enough to refine product shape. V43 should now remove transitional vocabulary and make the primary enterprise experience:
20+
21+
- `/deposit`: connect source, synthesize deposit AssetPack options, review source-safe measurements and demand/ROI posture, approve or reject Depository admission.
22+
- `/read`: request technical knowledge, review synthesized Need, request Finding Fits, preview source-safe AssetPack measurements, settle in BTC/BTD, receive repository delivery.
23+
- `/packs`: inspect and search all pack activity, including deposit options, Depository admission, previews, settlement, rights transfer, compensation, delivery, proof roots, and repair states.
24+
25+
The strongest simplification is AssetPacks in and AssetPacks out. Depositing creates AssetPacks for the Depository; Reading buys synthesized Need-Fit AssetPacks.
26+
27+
## Simplified-spec reading rule
28+
29+
When V43 work feels broad, reduce it to the route law:
30+
31+
1. Packs is activity and inspection.
32+
2. Read is buying source-bearing technical knowledge after Need review and settlement.
33+
3. Deposit is selling source-derived AssetPack options only after depositor review and approval.
34+
4. Source is never disclosed before settlement and rights transfer.
35+
5. The UI should explain itself through the workflow, not through in-app essays.
36+
37+
## V43 UX/product note
38+
39+
The current UX is not good enough. V43 should keep strong themed components where they work, especially execution-log rows and proof expansion, but replace confusing cockpit flow with direct route paths and dense, legible master-detail surfaces.
40+
41+
The `/packs` master table must support search over measurements, synthesized titles and descriptions, values, activity/transaction type, settlement state, compensation posture, proof roots, and repair state.
42+
43+
## V43 agentic deposit note
44+
45+
The deposit-side pipeline should help an enterprise decide what IP to sell. It should compare connected source, Depository supply, and Reading demand. It should propose multiple deposit AssetPack options, reject or warn on critical IP, estimate positive ROI where possible, expose BTD potential as an estimate only, and preserve final BTD mint/right law for paid Need-Fit settlement.
46+
47+
## V43 copy boundary
48+
49+
Outside public docs, avoid self-referential copy such as text explaining that a component is powerful or that Bitcode is doing a thing. Use clear route names, labels, status rows, measurement summaries, empty states, and expandable proof metadata. Public docs may explain the protocol; product UI should operate it.

BITCODE_SPEC_V43_PARITY_MATRIX.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Bitcode Spec V43 Parity Matrix
2+
3+
## Status
4+
5+
- Version: `V43`
6+
- V43 state: draft parity matrix opened over active V42
7+
- Current canonical/latest target: `V42`
8+
- Prior canonical anchor: `BITCODE_SPEC_V42.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V42_PROVEN.md`
10+
- Generated structured artifact inventory: `.bitcode/v43-spec-family-report.json`, `.bitcode/v43-canonical-input-report.json`, and future V43 gate artifacts
11+
- Source parity state: V43 Gate 1 parity is documentation/workflow posture; implementation parity is pending
12+
13+
## Purpose
14+
15+
This matrix tracks V43 parity from product-route specification through source implementation, tests, generated artifacts, and promotion readiness.
16+
17+
## Audit basis
18+
19+
Audit V43 against `BITCODE_SPEC_V43.md`, V42 active canon, route source, package source, generated artifacts, workflow checks, and local/staging rehearsal receipts.
20+
21+
## V43 implementation matrix
22+
23+
| Area | Required V43 result | Source evidence | Judgment |
24+
| --- | --- | --- | --- |
25+
| Gate 1 roadmap | Active V42 / draft V43 posture, route vocabulary, gate plan, docs, checker, workflows | `BITCODE_SPEC_V43.md`, `scripts/check-v43-gate1-packs-read-deposit-roadmap.mjs` | drafted |
26+
| Route vocabulary | `/exchange` renamed to `/packs`; `/terminal` split into `/read` and `/deposit` default paths | future Gate 2 artifact | draft-required |
27+
| Packs master-detail | Searchable, sortable, filterable pack activity table and source-safe detail route | future Gate 3 artifact | draft-required |
28+
| Read route | Five-step Reading UX owns Read Request through settlement/delivery | future Gate 4 artifact | draft-required |
29+
| Deposit route | Connected-source deposit AssetPack option synthesis and review | future Gate 5 artifact | draft-required |
30+
| Criticality/ROI policy | Source criticality, demand, ROI, BTD potential, and compensation posture | future Gate 6 artifact | draft-required |
31+
| Admission sync | Approved deposit options enter Depository and `/packs` activity | future Gate 7 artifact | draft-required |
32+
| UX excellence | Self-explanatory, polished, progressive-detail UI without self-referential product copy | future Gate 8 artifact | draft-required |
33+
| Rehearsal | Local/staging-testnet cross-route path verifies deposit, read, packs, settlement, compensation, delivery | future Gate 9 artifact | draft-required |
34+
| Promotion readiness | V43 generated proof and active V43 / draft V44 posture ready | future Gate 10 artifact | draft-required |
35+
36+
## V43 implementation checklist
37+
38+
| Area | Closure requirement | Current judgment |
39+
| --- | --- | --- |
40+
| Specification family | V43 SPEC, DELTA, NOTES, PARITY files exist and pass spec-family check | drafted |
41+
| Package script | `check:v43-gate1` exists | drafted |
42+
| Workflows | Gate/canon quality know active V42 / draft V43 | drafted |
43+
| Documentation | README and roadmap name V43 route/product scope | drafted |
44+
| Implementation | Route and pipeline source changes are not part of Gate 1 | accepted boundary |
45+
46+
## V43 accepted boundaries
47+
48+
Gate 1 is allowed to specify and wire validation posture only. It must not rename application routes or add deposit option synthesis behavior before the migration inventory is complete.
49+
50+
## V43 completion condition
51+
52+
The matrix is complete when every V43 gate row is closed with source, tests, documentation, generated artifacts, and promotion proof.

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# Bitcode Repository
22

33
`BITCODE_SPEC.txt` is the canonical pointer for active-system work. It currently
4-
resolves to `V41`; V42 is the active draft target for reliable MVP product
5-
experience after the promoted Prompt and PromptPart excellence canon.
4+
resolves to `V42`; V43 is the active draft target for the Packs, Read, Deposit
5+
route model, agentic deposit AssetPack options, and product UX cleanup after the
6+
promoted reliable MVP experience canon.
67

78
## Current Product Posture
89

910
Bitcode is the protocol and the commercial source tree implements it in-place.
10-
The primary operator routes are:
11+
The promoted V42 operator route is still:
1112

1213
- `/terminal` for depositing, reading, transaction work, and protocol follow-through.
1314
- `/auxillaries` for Wallet, Externals, Profile, and Interfaces support surfaces.
1415

16+
The active V43 draft target moves the primary enterprise routes to:
17+
18+
- `/packs` for searchable master-detail pack activity.
19+
- `/read` for the five-step Reading path from Read Request to settlement-gated delivery.
20+
- `/deposit` for connected-source deposit AssetPack option synthesis, review, and admission.
21+
1522
V41 Gate 1 opens the prompts-as-programs specification family over active V40
1623
with `check:v41-gate1`. V41 will catalogue every raw PromptPart and composed
1724
Prompt, map registry composition and interpolation contracts, benchmark Reading
@@ -155,13 +162,14 @@ V42 Gate 9 adds promotion readiness with `buildV42PromotionReadinessReport`,
155162
The report binds every V42 product artifact, workflow posture, promotion
156163
script, generated proof path, source-safety result, value-bearing mainnet
157164
block, and post-promotion V42 active / draft V43 runtime preparation.
158-
V43+ is roadmapped as the later agentic depositing evolution: repository
165+
V43 Gate 1 opens the Packs, Read, Deposit roadmap over active V42 with
166+
`check:v43-gate1`. V43 owns the agentic depositing evolution: repository
159167
agents synthesize deposit AssetPack options from connected enterprise code,
160168
Depository state, and Reading demand; enterprises approve or reject
161169
sub-critical positive-ROI options; `/terminal` separates into `/read` and
162170
`/deposit`; and `/exchange` is renamed to `/packs` across routes, component
163-
prefixes, tests, docs, and product naming.
164-
That future route model treats AssetPacks as the product object in and out:
171+
prefixes, tests, docs, telemetry labels, and product naming.
172+
The V43 route model treats AssetPacks as the product object in and out:
165173
`/deposit` proposes deposit AssetPack options from source and Bitcode demand,
166174
`/read` buys synthesized Need-Fit AssetPacks, and `/packs` becomes the
167175
searchable master-detail activity surface for pack measurements, values,

0 commit comments

Comments
 (0)