Skip to content

Verify D-006, D-007, AD-146, AD-148 invariants #202

Description

@George-RD

Parent

#197 (Spec: Typed Owner Identity)

Blocked by

#201 (Retype ApprovalRecord.approved_by and add AuditEvent.actor)

Deliverables

  • Test: D-006 (identity ≠ authority) — OwnerPrincipal has zero authority fields
  • Test: D-007 (grant is only authority) — revoking grant revokes all authority
  • Test: AD-146 (single owner v1) — exactly one OwnerPrincipal minted, all grants carry same PrincipalId
  • Test: AD-148 (MAC-covered fields) — mutating principal_id invalidates grant MAC
  • E2E test: Task with typed identity through gate with approval

Phase 4 of typed owner identity implementation. Authority-sensitive verification.

🤖 Generated from spec #197

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions