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
Add source-safe PromptPart and Prompt inventory generation for V41 Gate 2, including package exports, protocol tests, artifact freshness checks, and gate/canon workflow wiring.
Record V42 as the planned MVP experience version for shortest-path Depositing, shortest-path Reading, and the AI-reading dominant demonstration while preserving V41's prompt-program scope.
Copy file name to clipboardExpand all lines: BITCODE_SPEC_V41.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,9 @@ It closes when active V40 / draft V41 truth is visible in the root docs, protoco
108
108
Gate 2 must emit a source-safe inventory of every raw PromptPart and every composed Prompt.
109
109
Rows must include prompt id, part id, source root, registry owner, semantic purpose, prompt family, composed prompt membership, current title, template variable names, benchmark fixture ids, disclosure tier, and validation command.
110
110
The artifact may include ids, hashes, counts, and source-safe previews, but no raw protected prompt text.
111
+
Gate 2 is closed by the package-backed `buildV41PromptPartPromptInventory` source, deterministic `.bitcode/v41-promptpart-prompt-inventory.json` artifact, `generate:v41-prompt-inventory`, `check:v41-prompt-inventory`, `check:v41-gate2`, protocol tests, and gate/canon workflow wiring.
112
+
The current inventory source-safe count contract is 1,459 raw PromptPart rows, 105 composed Prompt rows, 59 generic PromptPart rows, 1,400 specific PromptPart rows, 49 Reading prompt rows, 2 Conversation prompt rows, 74 tool prompt rows, 10 interface prompt rows, 87 prompt rows with registry paths, 1,135 registry paths, 8 benchmark fixture families, V38 benchmark report binding, and V40 prompt benchmark smoke binding.
113
+
Gate 2 also preserves V41 scope and prepares draft V42 only as forward roadmap truth: V42 will focus on shortest-path Depositing, shortest-path Reading, and an AI-reading dominant demonstration MVP.
111
114
112
115
## V41 Gate 3 Registry Composition And Interpolation Contracts
113
116
@@ -445,6 +448,7 @@ Generation must fail closed when artifact freshness, source-safety, benchmark co
445
448
### Appendix D. Validation and checking gate catalog
446
449
447
450
V41 Gate 1 validates with `pnpm run check:v41-gate1`, `node scripts/check-bitcode-spec-family.mjs --version V41 --mode draft --current-target V40`, `node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V40 --draft-target V41`, and `node scripts/check-bitcode-canonical-inputs.mjs --current-target V40`.
451
+
V41 Gate 2 validates with `pnpm run generate:v41-prompt-inventory`, `pnpm run check:v41-prompt-inventory`, `pnpm run check:v41-gate2`, and `node --test --test-force-exit packages/protocol/test/v41-promptpart-prompt-inventory.test.js`.
448
452
Later gates add focused generator, checker, package, benchmark, and workflow commands.
Copy file name to clipboardExpand all lines: BITCODE_SPEC_V41_DELTA.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,8 @@ Open the V41 full specification family, roadmap, package script, workflow postur
33
33
### Gate 2: PromptPart And Prompt Inventory Catalog
34
34
35
35
Inventory every raw PromptPart and composed Prompt across Reading, Conversation, tool-definition, and interface inference surfaces.
36
+
Gate 2 is package-backed by `buildV41PromptPartPromptInventory`, emits `.bitcode/v41-promptpart-prompt-inventory.json`, covers 1,459 raw PromptPart rows and 105 composed Prompt rows, binds V38/V40 benchmark handoff artifacts, and records only source-safe metadata.
37
+
It also records V42 as the subsequent MVP experience version for shortest-path Depositing, shortest-path Reading, and an AI-reading dominant demonstration without expanding V41 beyond prompt-program work.
36
38
37
39
### Gate 3: Registry Composition And Interpolation Contracts
- Source parity state: V41 notes track prompt-program planning, catalogue, benchmark, rewrite, telemetry, and promotion parity over active V40
13
13
- Draft target posture: V41 Gate 1 creates the full SPEC, DELTA, NOTES, and PARITY family.
14
14
- Scope: Prompt and PromptPart excellence over the promoted V40 exhaustive testing base.
@@ -19,6 +19,18 @@ This notes companion records the working prompt-program plan and simplified read
19
19
It does not override `BITCODE_SPEC_V41.md`.
20
20
Prompt content changes remain blocked until the relevant catalogue and benchmark gates admit them.
21
21
22
+
## Gate 2 prompt inventory note
23
+
24
+
Gate 2 makes the first prompt-program catalogue concrete.
25
+
The package-backed inventory currently emits 1,459 raw PromptPart rows and 105 composed Prompt rows with source path, source hash, registry owner, semantic purpose id, prompt family ids, composed prompt memberships, template variable names, benchmark fixture ids, disclosure tier, validation command, and source-safe raw-payload exclusions.
26
+
This is an inventory and admission artifact, not a rewrite artifact.
27
+
28
+
## V42 forward roadmap note
29
+
30
+
V42 is re-roadmapped as the MVP experience version after V41.
31
+
Its focus is shortest-path Depositing, shortest-path Reading, and a strong AI-reading dominant demonstration where any deposit source can contribute proprietary or otherwise non-public training, prompt, context, or evaluation material to an AssetPack that measurably improves an AI system beyond public-data-only performance.
32
+
V42 must keep depositor compensation, reader purchase, BTD/AssetPack rights, and repository delivery visible in the shortest path without widening V41 beyond Prompt and PromptPart excellence.
@@ -63,6 +63,10 @@ V41 Gate 1 may open specification, workflow, docs, and validation posture.
63
63
It may not rewrite prompt content.
64
64
Later gates may rewrite prompts only after catalogue, registry, interpolation, benchmark, parser, and disclosure checks exist.
65
65
66
+
V41 Gate 2 may catalogue PromptPart and Prompt metadata, hashes, registry owners, family ids, template variables, benchmark fixture ids, and validation commands.
67
+
It may not serialize raw prompt text, raw provider responses, protected source, secrets, or unpaid AssetPack source.
68
+
It also may record the V42 MVP roadmap posture as forward planning while preserving V41 as the active prompt-program draft target.
69
+
66
70
## V41 completion condition
67
71
68
72
V41 closes when prompt-program quality is fully specified, implemented, benchmarked, source-safe, tested, documented, generated, workflow-checked, and promotion-ready across Reading, Conversation, tool-definition, and interface inference surfaces.
0 commit comments