Skip to content

V39 Gate 6: AssetPack Preview Quote Boundary#141

Merged
geraldarthurdavis merged 1 commit into
version/v39from
v39/gate-6-assetpack-preview-quote-disclosure
May 25, 2026
Merged

V39 Gate 6: AssetPack Preview Quote Boundary#141
geraldarthurdavis merged 1 commit into
version/v39from
v39/gate-6-assetpack-preview-quote-disclosure

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • Adds AssetPackPreviewBoundary for source-safe AssetPack preview, selected-fit provenance, deterministic share-to-fee BTC quote receipts, disclosure review, settlement instructions, withheld pull-request delivery posture, replay receipts, repair posture, and storage projection.
  • Wires the boundary into AssetPack preprocess/postprocess payloads, package/protocol exports, generated V39 proof artifact generation, Gate 6 checks, and gate/canon quality workflows.
  • Updates V39 specification, notes, delta, parity matrix, roadmap, and package/protocol/root documentation for Gate 6 closure.

Validation

  • pnpm run check:v39-gate6
  • pnpm --filter @bitcode/pipeline-asset-pack exec jest --config jest.config.cjs --runTestsByPath src/__tests__/asset-pack-preview-boundary.test.ts src/__tests__/asset-pack-disclosure.test.ts src/__tests__/postprocess.test.ts src/__tests__/read-need.test.ts --runInBand --forceExit
  • pnpm --filter @bitcode/pipeline-asset-pack run typecheck
  • pnpm --filter @bitcode/protocol run typecheck
  • node --test --test-force-exit packages/protocol/test/v39-assetpack-preview-quote-boundary.test.js
  • pnpm --dir uapi exec tsc --noEmit --pretty false
  • pnpm --dir uapi run build
  • node scripts/check-bitcode-spec-family.mjs --version V39 --mode draft --current-target V38
  • node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V38 --draft-target V39
  • node scripts/check-v39-gate5-read-fits-finding-runtime.mjs --skip-package-tests
  • git diff --check
  • cached staged secret-marker scan

Adds the AssetPackPreviewBoundary package primitive for source-safe preview, selected-fit provenance, deterministic share-to-fee BTC quote receipts, disclosure review, settlement instructions, withheld PR delivery posture, replay receipts, repair posture, and storage projection.

Wires the boundary into AssetPack preprocess/postprocess, package/protocol exports, V39 proof artifact generation and gate checks, CI quality workflows, and V39 specification/readme/parity documentation.

Validated with check:v39-gate6, focused AssetPack preview/disclosure/postprocess/read-need Jest tests, package and protocol typechecks, protocol artifact tests, uapi typecheck/build, spec-family checks, canon-posture drift checks, Gate 5 regression check, diff whitespace check, and staged secret marker scan.
@vercel

vercel Bot commented May 25, 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 25, 2026 7:30am

@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: ab3b18d1d8

ℹ️ 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 +350 to +351
if (storedBoundary?.schema === 'bitcode.asset-pack.preview-boundary') {
return storedBoundary as AssetPackPreviewBoundary;

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 Refresh preview boundary when delivery target appears

If a boundary was persisted earlier in preprocess (before a PR URL exists), this early return reuses it unchanged during postprocess, so assetPackPreviewBoundary.deliveryPosture.pullRequestTarget can remain null even when output.deliveryMechanism.prUrl is now available. In that common flow, downstream settlement/delivery evidence is stale and does not reflect the real pull-request target; recompute or patch the stored boundary when a newer delivery URL is present.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 365971a into version/v39 May 25, 2026
28 checks passed
@geraldarthurdavis
geraldarthurdavis deleted the v39/gate-6-assetpack-preview-quote-disclosure branch May 25, 2026 07:39
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