Skip to content

A turn stopped by policy has to say so: attribution, audit, and the panel #136

Closed

Description

@Varuas37

Part of #130.

#121 was a turn that ended and told nobody. A hook that stops a turn is the same failure with a better reason, unless the reason travels.

Required

Attribution. A rule-initiated stop is not a verified caller and not the provider. Decide it in #131 and carry it: which rule, which revision, who configured it. ApprovalBasis::Rule(ApprovalRuleReference { rule_id, revision, granted_by }) is the shape that already exists for an automatic decision with a human behind it.

Audit. Target, before/after, cause and initiator, per the gate in AGENTS.md — and the local decision kept distinct from any provider result that arrives afterwards.

The gateway log names the rule and the tool, the way a declined review now names the tool.

The panel says the turn was stopped, by which rule, and what it was about to do. A conversation that simply goes quiet is the bug we already fixed twice.

Regression evidence

A stopped turn where the provider's result arrives afterwards; a stop whose audit sink fails; a stop with the rule's own identity restored from a snapshot; and the panel showing the reason in each case.

Activity

  1. added
    enhancementNew feature or request
    audit-evidenceThe hard audit rule: durable evidence for consequential transitions
    on Sep 21, 2026
  2. Varuas37 commented on Oct 9, 2026

    @Varuas37
    ContributorAuthor

    I went through the open issues against the runtime architecture plan (ADR 252, #252, merged in #709) and its slice PRs, #714 (slice A, environment port and leases) and #715 (slice E, record subscriptions).

    The restructure doesn't replace this. Slice J (#707) is the only slice that depends on the hook runtime, and until then it falls back to a typed refusal. So this isn't urgent while slices A to I land.

    Recommendation: pause. If you're working on this, please stop for now and leave it for later.


    Generated by Claude Code

  3. added
    deferredNot urgent while the runtime-architecture (#252) slices land; pause
    on Oct 9, 2026
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

    audit-evidenceThe hard audit rule: durable evidence for consequential transitionsdeferredNot urgent while the runtime-architecture (#252) slices land; pauseenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions