|
3 | 3 | ## Status |
4 | 4 |
|
5 | 5 | - Version: `V37` |
6 | | -- V37 state: draft implementation; Gate 3 closes ConversationStreamEvent stream UI and event contracts over active V36 Exchange canon |
| 6 | +- V37 state: draft implementation; Gate 4 closes ConversationWritingWorkspace fullscreen writing mode and composer workspace over active V36 Exchange canon |
7 | 7 | - Current canonical/latest target: `V36` |
8 | 8 | - Prior canonical anchor: `BITCODE_SPEC_V36.md` |
9 | 9 | - Prior generated proof appendix: `BITCODE_SPEC_V36_PROVEN.md` |
10 | | -- Generated structured artifact inventory: draft `.bitcode/v37-spec-family-report.json`, `.bitcode/v37-canonical-input-report.json`, `.bitcode/v37-canon-posture-drift-report.json`, `.bitcode/v37-conversation-session-route-history.json`, and `.bitcode/v37-conversation-stream-event-contract.json` |
11 | | -- Source parity state: V37 source parity includes Gate 1 spec family, roadmap, docs, workflow, and checker posture, Gate 2 package-owned ConversationSession route-history contracts, and Gate 3 package-owned ConversationStreamEvent stream UI/event contracts |
| 10 | +- Generated structured artifact inventory: draft `.bitcode/v37-spec-family-report.json`, `.bitcode/v37-canonical-input-report.json`, `.bitcode/v37-canon-posture-drift-report.json`, `.bitcode/v37-conversation-session-route-history.json`, `.bitcode/v37-conversation-stream-event-contract.json`, and `.bitcode/v37-conversation-writing-workspace.json` |
| 11 | +- Source parity state: V37 source parity includes Gate 1 spec family, roadmap, docs, workflow, and checker posture, Gate 2 package-owned ConversationSession route-history contracts, Gate 3 package-owned ConversationStreamEvent stream UI/event contracts, and Gate 4 package-owned ConversationWritingWorkspace fullscreen writing contracts |
12 | 12 | - Active canonical pointer during draft opening: `BITCODE_SPEC.txt` -> `V36` |
13 | 13 | - Notes companion: `BITCODE_SPEC_V37_NOTES.md` |
14 | 14 | - Delta companion: `BITCODE_SPEC_V37_DELTA.md` |
@@ -107,6 +107,31 @@ package tests, route/UI tests, telemetry binding, docs, workflow wiring, |
107 | 107 | source safety, event kind coverage, proof roots, disclosure posture, and |
108 | 108 | fail-closed states. |
109 | 109 |
|
| 110 | +## V37 Gate 4 ConversationWritingWorkspace writing canon |
| 111 | + |
| 112 | +Gate 4 implements `ConversationWritingWorkspace` as the package-owned |
| 113 | +fullscreen writing contract for Website Conversations. It owns Read Request, |
| 114 | +Need feedback, AssetPack review note, and Terminal handoff summary drafting |
| 115 | +modes. It emits `.bitcode/v37-conversation-writing-workspace.json` with |
| 116 | +`source-safe-conversation-writing-workspace-metadata`, deterministic row roots, |
| 117 | +deterministic detail roots, mode ids, action ids, required field ids, proof |
| 118 | +roots, event ids, route-local draft keys, source evidence roots, and |
| 119 | +source-safe disclosure limits. |
| 120 | + |
| 121 | +Conversation writing state is route-local workspace state. It can be saved, |
| 122 | +restored, summarized, and handed off from the fullscreen composer workspace. |
| 123 | +Saved drafts may remain in route-local browser storage for recovery, but |
| 124 | +summaries and handoff messages crossing the stream boundary are redacted |
| 125 | +source-safe metadata. Protected source, raw protected prompts, provider |
| 126 | +tokens, wallet private material, settlement private payloads, unpaid AssetPack |
| 127 | +source, and global ledger authority claims are never valid emitted workspace |
| 128 | +payloads. Terminal remains authoritative for transaction execution. |
| 129 | + |
| 130 | +`check:v37-gate4` validates package source, generated artifact freshness, |
| 131 | +package tests, UI tests, docs, workflow wiring, source safety, mode/action |
| 132 | +coverage, route-local draft keys, keyboard behavior, responsive fullscreen |
| 133 | +layout, recovery states, proof roots, and source-safe handoff summaries. |
| 134 | + |
110 | 135 | ## Inherited V36 Exchange canon |
111 | 136 |
|
112 | 137 | The promoted V36 sections below remain inherited canonical law for Exchange. |
@@ -782,11 +807,15 @@ V36 inherits operator quality, visual/accessibility/performance posture, project |
782 | 807 | | `.bitcode/v37-canonical-input-report.json` | Gate 1 | source-safe | V37 canonical-input checker | |
783 | 808 | | `.bitcode/v37-canon-posture-drift-report.json` | Gate 1 | source-safe | V36 active / V37 draft posture checker | |
784 | 809 | | `.bitcode/v37-conversation-session-route-history.json` | Gate 2 | source-safe | ConversationSession route-local history contracts | |
| 810 | +| `.bitcode/v37-conversation-stream-event-contract.json` | Gate 3 | source-safe | ConversationStreamEvent stream UI/event contracts | |
| 811 | +| `.bitcode/v37-conversation-writing-workspace.json` | Gate 4 | source-safe | ConversationWritingWorkspace fullscreen composer contracts | |
785 | 812 |
|
786 | 813 | ### V37 specifying generated artifacts |
787 | 814 |
|
788 | 815 | Gate 1 requires `.bitcode/v37-spec-family-report.json`, `.bitcode/v37-canonical-input-report.json`, and `.bitcode/v37-canon-posture-drift-report.json` readiness. |
789 | 816 | Gate 2 adds `.bitcode/v37-conversation-session-route-history.json` from the package-owned ConversationSession route-history builder with package tests, route tests, workflow checks, and source-safety checks. |
| 817 | +Gate 3 adds `.bitcode/v37-conversation-stream-event-contract.json` from the package-owned ConversationStreamEvent builder with package tests, route/UI tests, workflow checks, and source-safety checks. |
| 818 | +Gate 4 adds `.bitcode/v37-conversation-writing-workspace.json` from the package-owned ConversationWritingWorkspace builder with package tests, fullscreen workspace UI tests, workflow checks, and source-safety checks. |
790 | 819 | Later V37 gates add Conversations generated artifacts only when their package-owned builders, route checks, stream tests, telemetry checks, and source-safety tests exist. |
791 | 820 |
|
792 | 821 | ### Shared generated-artifact fields |
|
0 commit comments