Skip to content

Mandate issuance + kernel escalation gate #12

Description

@iret77

Mandate issuance + kernel escalation gate. The A2A enabler — and the only planned cross-repo change of the project (R10).

Verification (research.md, A6): confirmed — the orchestrator exposes no plugin pre-dispatch hook (turnHooks.ts has only post-hoc points), and harness-verifier is the precedent: its wrapper is kernel-side because "the Orchestrator class is ~1k LOC and not yet plugin-extractable" (actual file 3,691 LOC). A gate must therefore be a kernel PR.

Scope — proof repo (proof.identity@1)

  • Agent DID provisioning
  • issueMandate(principal, agent, constraints) → mandate VC
  • checkAuthority(agentDid, action, value) — ANP §5.3 rules (scope, max_value, aggregate, allowed_counterparties, escalation_threshold)

Scope — kernel PR (byte5ai/omadia, area/kernel)

  • A generic pre-dispatch policy hook (not proof-wired) that checks the mandate at dispatch time and pauses tool execution at ≥ escalation_threshold until a human approve exists (the same ADR-0005 guarantee, triggered by mandate instead of write type).
  • Contract + tests before the PR. Confirm the harness-verifier precedent (A6 ✅).

Note (R11): whether a kernel-side custody service is additionally needed (a second kernel PR) is decided by the Stage-A key-scale check. Clarify before this issue.

Done

Mandate issued/verified · over-threshold action pauses → human approve → resumes · kernel hook is generic.

ANP backflow

approve + mandate VC schema (with epic #11).

Blocked by: #6 (identity human), Stage A R11.
Refs: plan.md §4, §5.1, §5.2, R10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    anp-backflowTriggers a mandatory PR in byte5ai/anparea/identityproof.identity@1 — DID / keys / mandate (the crypto capsule)area/kernelbyte5ai/omadia kernel change (escalation gate / custody)type/riskRisk mitigation (R-number)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions