Skip to content

Commit c3fbbaf

Browse files
Merge pull request #170 from engineeredsoftware/v42/gate-1-mvp-experience-roadmap-opening
V42 Gate 1: MVP Experience Roadmap Opening
2 parents 9761a74 + ee48119 commit c3fbbaf

20 files changed

Lines changed: 1032 additions & 44 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: `V41 Gate N: Concise Topical Title`.
4-
Use the version and promotion prefix for version promotion PRs: `V41 Canonical Promotion: Concise Topical Title`.
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`.
55

66
## Closure
77

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ jobs:
292292
node scripts/check-bitcode-canonical-inputs.mjs --current-target V41
293293
node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V41 --draft-target V42
294294
node scripts/check-v41-gate9-promotion-readiness.mjs --promotion-mode --skip-branch-check --skip-package-tests
295+
if [ -f BITCODE_SPEC_V42.md ]; then
296+
node scripts/check-bitcode-spec-family.mjs --version V42 --mode draft --current-target V41
297+
node scripts/check-v42-gate1-mvp-experience-roadmap-opening.mjs --skip-branch-check
298+
fi
295299
else
296300
echo "Unexpected BITCODE_SPEC.txt pointer: $POINTER" >&2
297301
exit 1
@@ -431,7 +435,15 @@ jobs:
431435
node scripts/check-bitcode-spec-family.mjs --version V41 --mode draft --current-target V40
432436
fi
433437
;;
438+
spec:\ V42*|spec:\ v42*)
439+
POINTER="$(cat BITCODE_SPEC.txt)"
440+
if [ "$POINTER" = "V42" ]; then
441+
node scripts/check-bitcode-spec-family.mjs --version V42 --mode promoted --current-target V42
442+
else
443+
node scripts/check-bitcode-spec-family.mjs --version V42 --mode draft --current-target V41
444+
fi
445+
;;
434446
*)
435-
echo "Skipping strict spec-title conformance; title is not a V29/V30/V31/V32/V33/V34/V35/V36/V37/V38/V39/V40/V41 spec change."
447+
echo "Skipping strict spec-title conformance; title is not a V29/V30/V31/V32/V33/V34/V35/V36/V37/V38/V39/V40/V41/V42 spec change."
436448
;;
437449
esac

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ jobs:
421421
node scripts/check-bitcode-canonical-inputs.mjs --current-target V41
422422
node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V41 --draft-target V42
423423
node scripts/check-v41-gate9-promotion-readiness.mjs --promotion-mode --skip-branch-check --skip-package-tests
424+
if [ -f BITCODE_SPEC_V42.md ]; then
425+
node scripts/check-bitcode-spec-family.mjs --version V42 --mode draft --current-target V41
426+
node scripts/check-v42-gate1-mvp-experience-roadmap-opening.mjs --skip-branch-check
427+
fi
424428
else
425429
echo "Unexpected BITCODE_SPEC.txt pointer: $POINTER" >&2
426430
exit 1

BITCODE_SPEC_V42.md

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

BITCODE_SPEC_V42_DELTA.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Bitcode Spec V42 Delta
2+
3+
## Status
4+
5+
- Version: `V42`
6+
- V42 state: draft opened; this delta records the planned V41-to-V42 reliable MVP experience work
7+
- Current canonical/latest target: `V41`
8+
- Prior canonical anchor: `BITCODE_SPEC_V41.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V41_PROVEN.md`
10+
- Generated structured artifact inventory: draft `.bitcode/v42-spec-family-report.json`, `.bitcode/v42-canonical-input-report.json`, `.bitcode/v42-canon-posture-drift-report.json`, and later V42 gate artifacts for Depositing, Reading, Finding Fits, settlement/delivery, AI-reading demonstration, local/staging rehearsal, and promotion readiness
11+
- Source parity state: V42 source parity is opened by Gate 1 and remains incomplete until later gates implement the product paths
12+
- Scope: V42 draft delta for reliable MVP product experience over promoted V41 prompt-program excellence canon
13+
14+
## Why V42 exists
15+
16+
V42 turns the promoted V39 Reading product, V40 testing depth, and V41 prompt-program excellence into a reliable MVP enterprise experience.
17+
The version focuses on shortest-path Depositing, shortest-path Reading, settlement-gated AssetPack delivery, depositor compensation visibility, and an AI-reading dominant demonstration that proves AssetPacks improve an AI system beyond public-data-only baseline performance.
18+
19+
## Accepted V42 decisions
20+
21+
- V42 starts from active `V41` canon and keeps `BITCODE_SPEC.txt` at `V41` until promotion.
22+
- V42 product work stays unversioned in source paths.
23+
- Depositing must minimize the path to Depository admission proof and future compensation visibility.
24+
- Reading must use five product steps: request read, review synthesized Need, request Finding Fits, review source-safe AssetPack preview, and buy/settle/deliver AssetPack.
25+
- `ReadNeedComprehensionSynthesis` and `ReadFitsFindingSynthesis` remain the formal Reading pipeline names.
26+
- Source-bearing AssetPack content remains withheld until BTC settlement, BTD rights transfer, and storage/delivery reconciliation.
27+
- The demonstration remains self-contained in `protocol-demonstration/` and must prove AI-reading value without importing commercial code.
28+
29+
## V42 gate plan
30+
31+
### Gate 1: MVP Experience Roadmap And Spec Opening
32+
33+
Open the V42 full specification family, roadmap, package script, workflow posture, documentation posture, branch convention, and checker.
34+
35+
### Gate 2: Depositing Shortest Path And Compensation Visibility
36+
37+
Implement and prove the shortest path from source material to Depository admission proof and later compensation readback.
38+
39+
### Gate 3: Reading Shortest Path State Machine
40+
41+
Implement and prove the five-step Reading product state machine with low-detail defaults and expandable proof/telemetry detail.
42+
43+
### Gate 4: ReadNeed Review And Resynthesis Product Closure
44+
45+
Implement and prove reviewed synthesized Need flow, feedback/resynthesis, accepted-Need admission, storage projection, telemetry, and UI readback.
46+
47+
### Gate 5: ReadFitsFinding AssetPack Preview And Quote Closure
48+
49+
Implement and prove many-candidate Depository search, selected-fit provenance, source-safe AssetPack preview, deterministic BTD/BTC quote, and no pre-settlement source leakage.
50+
51+
### Gate 6: Settlement Rights Transfer And Repository Delivery Closure
52+
53+
Implement and prove purchase, settlement observation, BTD rights transfer, source unlock, repository pull request delivery, compensation accounting, and repair posture.
54+
55+
### Gate 7: AI-Reading Dominant Demonstration MVP
56+
57+
Implement and prove the standalone demonstration where deposited technical intelligence improves an AI system beyond a public-data-only baseline.
58+
59+
### Gate 8: Local And Staging-Testnet Full MVP Rehearsal
60+
61+
Run and prove the complete MVP path locally and in staging-testnet with value-bearing mainnet blocked.
62+
63+
### Gate 9: V42 Promotion Readiness
64+
65+
Bind every V42 product artifact, workflow, generated proof, promotion command, source-safety result, and active V42 / draft V43 runtime posture.
66+
67+
## Explicitly deferred
68+
69+
- V43+ agentic deposit AssetPack option synthesis remains deferred.
70+
- `/terminal` is not split into `/read` and `/deposit` during V42.
71+
- `/exchange` is not renamed to `/packs` during V42.
72+
- Production-mainnet value-bearing operation remains blocked unless a later promoted canon explicitly admits it.
73+
- V42 Gate 1 does not change route behavior, pipeline behavior, settlement behavior, or demonstration behavior.
74+
75+
## Pre-Implementation Sequence
76+
77+
1. Open `version/v42` and `v42/gate-1-mvp-experience-roadmap-opening`.
78+
2. Keep `BITCODE_SPEC.txt` at `V41`.
79+
3. Add the V42 spec family and Gate 1 checker.
80+
4. Update roadmap, docs, package scripts, and workflows for active V41 / draft V42.
81+
5. Validate V42 draft family and V41 active posture.
82+
83+
## Commit-Body Direction
84+
85+
V42 commits should name the product path, protocol object, pipeline or route ownership, source-safety boundary, generated artifact or checker, and tests run.

BITCODE_SPEC_V42_NOTES.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Bitcode Spec V42 Notes
2+
3+
## Status
4+
5+
- Version: `V42`
6+
- V42 state: draft opened; notes track reliable MVP experience planning over active V41
7+
- Current canonical/latest target: `V41`
8+
- Prior canonical anchor: `BITCODE_SPEC_V41.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V41_PROVEN.md`
10+
- Generated structured artifact inventory: draft `.bitcode/v42-spec-family-report.json`, `.bitcode/v42-canonical-input-report.json`, `.bitcode/v42-canon-posture-drift-report.json`, and later V42 gate artifacts
11+
- Source parity state: notes are source-facing planning until later gates implement and prove product behavior
12+
- Scope: V42 notes for reliable MVP product experience
13+
14+
## Notes companion rule
15+
16+
This notes companion records the working V42 product plan and simplified reading.
17+
It does not override `BITCODE_SPEC_V42.md`.
18+
Product behavior changes remain blocked until the relevant V42 gate admits and verifies them.
19+
20+
## V42 Gate 1 opening note
21+
22+
Gate 1 is intentionally specification, documentation, workflow, and checker posture only.
23+
It opens the reliable MVP experience version after V41 prompt-program promotion and prepares later gates to implement Depositing, Reading, settlement, delivery, and demonstration behavior without ad hoc scope drift.
24+
25+
## Depositing shortest-path note
26+
27+
The V42 Depositing path should minimize the journey from source material to Depository admission proof.
28+
The user needs to know that the source is admitted, searchable for future Need-Fit work, and eligible for BTC compensation if it contributes to a synthesized AssetPack.
29+
The UX can stay simple, but expandable details must show source authority, admission proof, storage projection, search-document posture, compensation route, and repair state.
30+
31+
## Reading shortest-path note
32+
33+
The V42 Reading path should be a five-step enterprise flow:
34+
35+
1. request read;
36+
2. review synthesized Need;
37+
3. request Finding Fits;
38+
4. review source-safe AssetPack measurements and preview metadata;
39+
5. buy, settle, transfer rights, and receive repository delivery.
40+
41+
The default UI should be guided and low-detail.
42+
The rich execution log, proof roots, telemetry rows, and ledger/storage details remain available on expansion.
43+
44+
## AssetPack source-safety note
45+
46+
V42 must make the preview valuable without leaking the source-bearing AssetPack before settlement.
47+
Readers may see measurements, fit confidence, quote posture, selected-fit provenance summaries, proof roots, and source-safe explanations.
48+
They may not see protected source, raw provider responses, protected prompts, private settlement payloads, wallet private material, or unpaid AssetPack source before BTC settlement and BTD rights transfer.
49+
50+
## AI-reading demonstration note
51+
52+
The standalone demonstration should prove why Bitcode matters for AI-dominant Reading.
53+
A deposited proprietary or otherwise non-public technical intelligence source should contribute to an AssetPack that measurably improves an AI system's training, prompt/context, or evaluation result beyond what a public-data-only baseline can do.
54+
The demonstration must remain minimal, local, deterministic where feasible, and self-contained inside `protocol-demonstration/`.
55+
56+
## V43+ agentic depositing roadmap note
57+
58+
V43 or a later explicitly opened version should evolve the deposit side into an agentic AssetPack option experience for enterprises.
59+
Repository-installed Bitcode Agents should compare a connected enterprise codebase, the current Bitcode Depository, and Reading activity to propose deposit AssetPack options.
60+
Those options should be source-safe, sub-critical, likely positive ROI, and approve/rejectable before Depository admission.
61+
That later version should split `/terminal` into `/read` and `/deposit`, and rename `/exchange` to `/packs` across routes, code naming, docs, and operator vocabulary.
62+
63+
## Concise current-system reading
64+
65+
Bitcode is active at V41.
66+
V42 drafts the next canon: the reliable MVP experience for enterprise Depositing and Reading.
67+
The central product promise is that a user can deposit source, request a read, review a synthesized Need, find fitting Depository sources, preview a source-safe AssetPack, pay in BTC/BTD settlement terms, receive rights, and get repository delivery.
68+
69+
## Simplified-spec reading rule
70+
71+
Read V42 as shortest credible paths over existing protocol law.
72+
If a product step cannot be routed, stored, replayed, telemetered, proven, and source-safely explained, it is not V42-ready.
73+
74+
## Non-goals during V42 opening
75+
76+
- Do not implement product behavior in Gate 1.
77+
- Do not split `/terminal` or rename `/exchange`.
78+
- Do not expose protected source or unpaid AssetPack source.
79+
- Do not bypass Need review before Finding Fits.
80+
- Do not claim settlement, BTD rights transfer, or repository delivery without synchronized ledger/database/storage proof.

BITCODE_SPEC_V42_PARITY_MATRIX.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Bitcode Spec V42 Parity Matrix
2+
3+
## Status
4+
5+
- Version: `V42`
6+
- V42 state: draft opened; parity tracks reliable MVP experience gaps and closure gates over active V41
7+
- Current canonical/latest target: `V41`
8+
- Prior canonical anchor: `BITCODE_SPEC_V41.md`
9+
- Prior generated proof appendix: `BITCODE_SPEC_V41_PROVEN.md`
10+
- Generated structured artifact inventory: draft `.bitcode/v42-spec-family-report.json`, `.bitcode/v42-canonical-input-report.json`, `.bitcode/v42-canon-posture-drift-report.json`, and later V42 gate artifacts
11+
- Source parity state: Gate 1 parity is documentation/checker/workflow posture; product behavior rows remain draft-required until their gates close
12+
- Scope: V42 parity ledger for reliable MVP product experience
13+
14+
## Purpose
15+
16+
This matrix records the reliable MVP product surfaces that must become promotion-grade before V42 can replace V41 as active canon.
17+
18+
## Audit basis
19+
20+
- `BITCODE_SPEC.txt` -> `V41`
21+
- `BITCODE_SPEC_V41.md`
22+
- `BITCODE_SPEC_V41_PROVEN.md`
23+
- `BITCODE_SPEC_V42.md`
24+
- `BITCODE_SPEC_V42_DELTA.md`
25+
- `BITCODE_SPEC_V42_NOTES.md`
26+
- commercial product routes, packages, pipelines, BTD/ledger code, generated artifacts, workflows, and `protocol-demonstration/`
27+
28+
## V42 implementation matrix
29+
30+
| Area | Required V42 result | Source evidence | Judgment |
31+
| --- | --- | --- | --- |
32+
| Draft family | V42 SPEC, DELTA, NOTES, and PARITY files exist over active V41 | `BITCODE_SPEC_V42.md` family | drafted |
33+
| Roadmap truth | Roadmap states V41 active and V42 draft reliable MVP experience | `SPECIFICATIONS_ROADMAP.md` | drafted |
34+
| Gate workflow | Gate quality knows active V41 / draft V42 posture and V42 Gate 1 | `.github/workflows/bitcode-gate-quality.yml` | drafted |
35+
| Canon workflow | Canon quality knows active V41 / draft V42 posture and V42 Gate 1 | `.github/workflows/bitcode-canon-quality.yml` | drafted |
36+
| Depositing shortest path | Source material can be admitted with Depository proof and compensation visibility | later V42 Gate 2 artifact | draft-required |
37+
| Reading state machine | Five-step Reading UX is route-owned, persistent, and source-safe | later V42 Gate 3 artifact | draft-required |
38+
| ReadNeed product closure | Need synthesis, review, feedback, resynthesis, and accepted-Need admission are product-ready | later V42 Gate 4 artifact | draft-required |
39+
| Finding Fits preview and quote | Many-candidate search, selected-fit provenance, source-safe preview, and quote are product-ready | later V42 Gate 5 artifact | draft-required |
40+
| Settlement and delivery | BTC/BTD settlement, rights transfer, compensation, and repository PR delivery are synchronized | later V42 Gate 6 artifact | draft-required |
41+
| AI-reading demonstration | Standalone demonstration proves AssetPack improves AI beyond public-data-only baseline | later V42 Gate 7 artifact | draft-required |
42+
| Local/staging rehearsal | Full MVP path rehearsed locally and in staging-testnet with mainnet blocked | later V42 Gate 8 artifact | draft-required |
43+
| Promotion readiness | V42 proof and workflow promotion ready | later V42 Gate 9 artifact | draft-required |
44+
45+
## V42 implementation checklist
46+
47+
| Area | Closure requirement | Judgment |
48+
| --- | --- | --- |
49+
| Gate 1 | Open V42 family, roadmap, docs, workflow posture, package script, and checker | drafted |
50+
| Gate 2 | Depositing shortest path and compensation visibility artifact | draft-required |
51+
| Gate 3 | Reading shortest path state machine artifact | draft-required |
52+
| Gate 4 | ReadNeed review and resynthesis product closure artifact | draft-required |
53+
| Gate 5 | ReadFitsFinding AssetPack preview and quote closure artifact | draft-required |
54+
| Gate 6 | Settlement rights transfer and repository delivery closure artifact | draft-required |
55+
| Gate 7 | AI-reading dominant demonstration MVP artifact | draft-required |
56+
| Gate 8 | Local and staging-testnet full MVP rehearsal artifact | draft-required |
57+
| Gate 9 | Promotion readiness artifact and workflow | draft-required |
58+
59+
## V42 accepted boundaries
60+
61+
V42 Gate 1 may open specification, workflow, docs, and validation posture.
62+
It may not implement route, pipeline, settlement, or demonstration behavior.
63+
64+
V42 later gates may implement product behavior only if source-safe disclosure, Need review, BTD/BTC settlement, depositor compensation, repository delivery, telemetry, and generated proof obligations are represented in tests and artifacts.
65+
66+
V42 may not split `/terminal` into `/read` and `/deposit`, and may not rename `/exchange` to `/packs`; those are V43+ roadmap items unless explicitly reopened.
67+
68+
## V42 completion condition
69+
70+
V42 closes when reliable MVP Depositing, Reading, Finding Fits, AssetPack preview, BTD/BTC settlement, repository delivery, compensation visibility, AI-reading demonstration, local/staging rehearsal, and promotion readiness are all specified, implemented, tested, generated, workflow-bound, source-safe, and promotion-ready.

README.md

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

33
`BITCODE_SPEC.txt` is the canonical pointer for active-system work. It currently
4-
resolves to `V40`; V41 is the active draft target for Prompt and PromptPart
5-
excellence after the promoted exhaustive commercial application testing canon.
4+
resolves to `V41`; V42 is the active draft target for reliable MVP product
5+
experience after the promoted Prompt and PromptPart excellence canon.
66

77
## Current Product Posture
88

@@ -81,12 +81,12 @@ dry-run support, gate/canon workflow posture, active V41 / draft V42 runtime
8181
preparation, and source-safe value-bearing mainnet blocking through
8282
`generate:v41-promotion-readiness`, `check:v41-promotion-readiness`, and
8383
`check:v41-gate9`.
84-
V42 is now roadmapped as the next MVP experience version: shortest-path
85-
Depositing with later BTC compensation, shortest-path Reading through
86-
Need review/resynthesis, Finding Fits, source-safe AssetPack preview,
87-
BTD/BTC settlement, repository delivery, and an AI-reading dominant
88-
demonstration whose AssetPack measurably improves an AI system beyond
89-
public-data-only performance.
84+
V42 Gate 1 opens the reliable MVP experience specification family over active
85+
V41 with `check:v42-gate1`. V42 is scoped to shortest-path Depositing with
86+
later BTC compensation, shortest-path Reading through Need review/resynthesis,
87+
Finding Fits, source-safe AssetPack preview, BTD/BTC settlement, repository
88+
delivery, and an AI-reading dominant demonstration whose AssetPack measurably
89+
improves an AI system beyond public-data-only performance.
9090
V43+ is roadmapped as the later agentic depositing evolution: repository
9191
agents synthesize deposit AssetPack options from connected enterprise code,
9292
Depository state, and Reading demand; enterprises approve or reject
@@ -710,9 +710,9 @@ or promotion validation.
710710
## Key Surfaces
711711

712712
- [BITCODE_SPEC.txt](BITCODE_SPEC.txt) is the canonical version pointer.
713-
- [BITCODE_SPEC_V39.md](BITCODE_SPEC_V39.md) is the active promoted spec family.
714-
- [BITCODE_SPEC_V40.md](BITCODE_SPEC_V40.md) is the active draft target.
715-
- [BITCODE_SPEC_V40_PARITY_MATRIX.md](BITCODE_SPEC_V40_PARITY_MATRIX.md) tracks V40 gate parity.
713+
- [BITCODE_SPEC_V41.md](BITCODE_SPEC_V41.md) is the active promoted spec family.
714+
- [BITCODE_SPEC_V42.md](BITCODE_SPEC_V42.md) is the active draft target.
715+
- [BITCODE_SPEC_V42_PARITY_MATRIX.md](BITCODE_SPEC_V42_PARITY_MATRIX.md) tracks V42 gate parity.
716716
- [uapi/README.md](uapi/README.md) documents the commercial website/API surface.
717717
- [uapi/app/terminal/README.md](uapi/app/terminal/README.md) documents Terminal.
718718
- [uapi/app/exchange/README.md](uapi/app/exchange/README.md) documents Exchange.

0 commit comments

Comments
 (0)