Skip to content

feat(leash): complete Phase 7 control plane - #4

Draft
Blockchain-Oracle wants to merge 1 commit into
codex/phase-6-agent-mcp-proxyfrom
codex/phase-7-leash-control-plane
Draft

feat(leash): complete Phase 7 control plane#4
Blockchain-Oracle wants to merge 1 commit into
codex/phase-6-agent-mcp-proxyfrom
codex/phase-7-leash-control-plane

Conversation

@Blockchain-Oracle

Copy link
Copy Markdown
Owner

Outcome

Implements the real Phase 7 Leash owner control plane:

  • persistent Magic owner session and owner/merchant identity upgrade
  • PostgreSQL-backed cap policy, four cycle modes, durable halt/reset, exact settled + pending + overage display
  • tiered notifications with stable pagination, real unread state, destination novelty, and float-empty events
  • owner-scoped Leash key issue/rotate lifecycle and runnable standalone/proxy MCP configuration
  • resource URL redaction/canonicalization before network use

Verification

  • pnpm lint
  • pnpm check:showcase
  • pnpm typecheck
  • pnpm test (web 152 files / 676 tests; all monorepo tasks green)
  • pnpm build (47 Next routes)
  • pnpm --filter @tab/web db:check
  • independent frontend verdict: PROCEED
  • independent backend verdict: READY WITH WARNINGS

Honest boundaries

  • B-03/B-04 money-moving surfaces remain blocked; no fake settlement, top-up, withdrawal, or rebalance state was added.
  • Public leash-mcp package publication is still labeled pending.
  • float_low emission remains deferred until a real watcher and threshold exist.
  • Source files stay below the 300-line hard cap; several critical modules remain above the 200-line review target and are recorded as non-blocking cleanup.
  • Zen walkthrough is pending only because the Mac is locked; PostgreSQL, CLI, render, interaction, build, and API checks are real.

@gitguardian

gitguardian Bot commented Jul 17, 2026

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@Blockchain-Oracle
Blockchain-Oracle force-pushed the codex/phase-7-leash-control-plane branch from fabeb2d to cd57875 Compare July 17, 2026 11:24
@Blockchain-Oracle
Blockchain-Oracle force-pushed the codex/phase-7-leash-control-plane branch from cd57875 to ac19a94 Compare July 17, 2026 11:26
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