Skip to content

V45 Gate 12: State Vocabulary And Commodity Model#215

Merged
geraldarthurdavis merged 1 commit into
version/v45from
v45/gate-12-state-vocabulary-commodity-model
May 31, 2026
Merged

V45 Gate 12: State Vocabulary And Commodity Model#215
geraldarthurdavis merged 1 commit into
version/v45from
v45/gate-12-state-vocabulary-commodity-model

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • Adds the package-owned AssetPack commodity state vocabulary and source-safe projector for AssetPack lifecycle, BTD scalar-volume, BTC settlement, disclosure boundaries, and repair blockers.
  • Binds /packs activity projection to the commodity display while failing malformed commodity rows closed into repair state.
  • Adds Gate 12 checker, package exports, UAPI Jest mapping, focused package/UAPI tests, and parity-matrix readback.

Validation

  • pnpm run check:v45-gate12
  • pnpm run check:v45-gate11
  • node scripts/check-bitcode-spec-family.mjs --version V45 --mode draft --current-target V44
  • node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V44 --draft-target V45
  • pnpm --filter @bitcode/pipeline-asset-pack exec jest --config jest.config.cjs src/tests/asset-pack-commodity-state.test.ts --runInBand
  • pnpm --filter @bitcode/pipeline-asset-pack typecheck
  • pnpm --filter bitcode-uapi test -- packActivityModel.test.ts --runInBand
  • pnpm --filter bitcode-uapi lint
  • pnpm --filter bitcode-uapi build
  • git diff --cached --check

Add the package-owned AssetPack commodity state projector covering AssetPack lifecycle, BTD scalar-volume, BTC settlement, disclosure, source-safety, and unsafe/collapsed-state blockers.

Bind /packs activity projection to the source-safe commodity display and fail malformed rows closed into repair state instead of exposing source or crashing the surface.

Add Gate 12 checker coverage, parity-matrix readback, package exports, UAPI Jest mapping, and focused package/UAPI tests.

Validated with check:v45-gate12, check:v45-gate11, V45 draft spec-family and canon-posture checks, package asset-pack Jest/typecheck, UAPI packActivityModel Jest, UAPI lint/build, and git diff --check.
@vercel

vercel Bot commented May 31, 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 31, 2026 11:27pm

@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: 9007e1f0f0

ℹ️ 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".

btdState: projection.states.btd,
btcState: projection.states.btc,
disclosureBoundary: projection.disclosureBoundary,
repairRequired: projection.states.assetPack === 'repair-required' || projection.states.btd === 'btd-repair-required' || projection.states.btc === 'btc-settlement-repair-required',

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 Treat BTC repair outcomes as open repairs

When a Pack payload reaches BTC failure states such as btc-payment-mismatch-repair-required, btc-replaced-reorged-or-failed, or btc-refund-or-escalation-required, this display still reports repairRequired: false because it only checks btc-settlement-repair-required. In /packs, normalizePackActivityRecord falls back to commodityState.repairRequired for repairState, so these settlement failures are omitted from repair facets and summaries instead of surfacing as repair work.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 2d738e3 into version/v45 May 31, 2026
29 checks passed
@geraldarthurdavis
geraldarthurdavis deleted the v45/gate-12-state-vocabulary-commodity-model branch May 31, 2026 23:34
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