Skip to content

V37 Gate 4: Conversation Writing Workspace#114

Merged
geraldarthurdavis merged 1 commit into
version/v37from
v37/gate-4-fullscreen-writing-workspace
May 24, 2026
Merged

V37 Gate 4: Conversation Writing Workspace#114
geraldarthurdavis merged 1 commit into
version/v37from
v37/gate-4-fullscreen-writing-workspace

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • Adds package-owned ConversationWritingWorkspace protocol source, generated .bitcode artifact, generator, checker, and protocol exports/tests.
  • Adds the fullscreen route-local Conversations writing workspace for Read Request, Need feedback, AssetPack review note, and Terminal handoff summary drafting with save, restore, summarize, handoff, source-safe redaction, keyboard behavior, recovery state, and responsive styling.
  • Updates V37 specs, parity, roadmap, README/package docs, package scripts, Jest discovery, and gate/canon workflow wiring.

Validation

  • pnpm run check:v37-gate1
  • pnpm run check:v37-gate2
  • pnpm run check:v37-gate3
  • pnpm run check:v37-gate4
  • BITCODE_RUN_UAPI_ROUTE_TESTS=1 node scripts/check-v37-gate4-conversation-writing-workspace.mjs
  • node scripts/check-bitcode-spec-family.mjs --version V37 --mode draft --current-target V36
  • node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V36 --draft-target V37
  • node scripts/check-bitcode-canonical-inputs.mjs --current-target V36
  • node --test --test-force-exit packages/protocol/test/conversation-writing-workspace.test.js
  • pnpm --filter @bitcode/protocol test
  • pnpm --dir uapi exec jest tests/conversationWritingWorkspace.test.tsx --runInBand
  • pnpm --dir uapi exec jest --runTestsByPath tests/conversationStreamPipelineLog.test.tsx tests/conversationWritingWorkspace.test.tsx tests/pipelineExecutionLogHeader.test.tsx --runInBand
  • pnpm -C uapi exec tsc --noEmit --pretty false
  • pnpm -C uapi run lint
  • pnpm --filter @bitcode/api build
  • bash scripts/check-import-casing.sh
  • bash scripts/find-uppercase-raw-promptparts.sh
  • git diff --check
  • git diff --cached --check

Add the package-owned ConversationWritingWorkspace contract, generated source-safe artifact, generator, checker, and protocol tests.

Wire the fullscreen route-local writing workspace into Conversations with save, restore, summarize, handoff, source-safe redaction, keyboard behavior, responsive styling, and UI tests.

Update V37 specs, roadmap, package docs, README, package scripts, Jest discovery, and gate/canon workflows for Gate 4 closure.
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
engi-uapi Ready Ready Preview, Comment May 24, 2026 3:09pm

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a1a1a81005

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +92 to +95
output = redact(output, /\bsk-[A-Za-z0-9_-]{16,}\b/gu, '[redacted-provider-token]');
output = redact(output, new RegExp(`\\b${['sb', 'secret'].join('_')}__[A-Za-z0-9_-]+\\b`, 'gu'), '[redacted-service-token]');
output = redact(output, /\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/gu, '[redacted-jwt]');
output = redact(output, /\b(?:password|secret|token|private_key)\s*[:=]\s*\S+/giu, '[redacted-secret-field]');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Redact standalone provider secrets before summary/handoff

The redaction pipeline only catches fenced blocks, private keys, sk-*, sb_secret__*, JWT-shaped strings, or key/value pairs like token=...; a standalone credential (for example a pasted ghp_.../VERCEL_... token line) is not matched and will be emitted in sourceSafePreview and message. That violates the workspace contract that provider tokens and secret values must not cross the stream boundary.

Useful? React with 👍 / 👎.

Comment on lines +42 to +45
useEffect(() => {
setSummary(null);
setStatus(`${activeMode.label} workspace ready.`);
}, [activeMode.label, modeId]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reset or restore draft on mode change

Switching tabs updates modeId and status but keeps the previous mode’s draft text in memory, so users can accidentally summarize/handoff or save Read Request content while the UI indicates a different mode (e.g., Need Feedback). Because storage keys are mode-specific, this also risks writing the wrong content under another mode key unless the user manually restores first.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 9e4bf06 into version/v37 May 24, 2026
29 checks passed
@geraldarthurdavis
geraldarthurdavis deleted the v37/gate-4-fullscreen-writing-workspace branch May 24, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant