Skip to content

V31 Gate 5: Wallet And BTD Pane Readiness#48

Merged
geraldarthurdavis merged 1 commit into
version/v31from
v31/gate-5-wallet-btd-pane-readiness
May 22, 2026
Merged

V31 Gate 5: Wallet And BTD Pane Readiness#48
geraldarthurdavis merged 1 commit into
version/v31from
v31/gate-5-wallet-btd-pane-readiness

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • adds the BTD-owned Wallet/BTD support projection for no-custody signer, network, read-right, treasury, and settlement posture
  • wires the projection through the Auxillaries API contract, user data hook, and Wallet pane source-safe readiness UI
  • refreshes V31 Gate 5 specs, roadmap, docs, workflow coverage, and targeted BTD/API/UI tests

Validations

  • pnpm run check:v31-gate1
  • pnpm run check:v31-gate2
  • pnpm run check:v31-gate3
  • pnpm run check:v31-gate4
  • pnpm run check:v31-gate5
  • pnpm --filter @bitcode/btd typecheck
  • pnpm --filter @bitcode/api build
  • pnpm -C uapi exec tsc --noEmit --pretty false
  • pnpm --filter @bitcode/btd test -- --runTestsByPath tests/btd.test.ts --runInBand
  • pnpm --filter @bitcode/api exec jest --config jest.config.cjs --runTestsByPath src/routes/tests/auxillaries-contract.test.ts --runInBand
  • pnpm -C uapi exec jest --runTestsByPath tests/auxillariesWalletPane.test.tsx tests/userDataRoute.test.ts --runInBand
  • git diff --check

Introduce the BTD-owned Wallet/BTD support projection for no-custody signer posture, network readiness, source-safe read-right summaries, account treasury boundaries, and settlement blockers.

Wire the projection through the Auxillaries API contract, user data hook, and Wallet pane so Terminal users can inspect BTD support without exposing protected source or Exchange market assumptions.

Refresh V31 specs, roadmap, docs, gate workflow coverage, and targeted BTD/API/UI tests for the Gate 5 closure criteria.
@vercel

vercel Bot commented May 22, 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 22, 2026 4:10am

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

ℹ️ 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 +150 to +153
const settlementBlockers = [
signerReady ? null : `wallet.${signerRequiredAction}`,
networkReadiness.state === 'blocked' ? networkReadiness.blocker : null,
].filter((entry): entry is string => Boolean(entry));

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 Block settlement when wallet network is unverified

Update settlement blocker derivation to treat degraded network readiness as blocking for settlement: when a wallet is verified but network is missing, deriveNetworkReadiness sets state: 'degraded' with blocker wallet.network_unverified, but this code only includes network blockers when state is 'blocked', so settlementReadiness incorrectly resolves to ready with no blockers. This can surface false-positive settlement readiness and allow downstream flows to proceed without required network verification.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 0f17d0c into version/v31 May 22, 2026
30 checks passed
@geraldarthurdavis
geraldarthurdavis deleted the v31/gate-5-wallet-btd-pane-readiness branch May 22, 2026 04:23
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