Skip to content

State the offline accountability boundary of approved_tools - #66

Merged
dickhardt merged 1 commit into
mainfrom
approved-tools-offline
Aug 6, 2026
Merged

dickhardt merged 1 commit into
mainfrom
approved-tools-offline

Conversation

@dickhardt

Copy link
Copy Markdown
Owner

Stack 6 of 7. Base: directed-sub-chaining (#65). Fixes #49.

#49 surfaced two cases the request-level protections do not reach: a partitioned agent that performs approved_tools actions and never emits the audit records, and a mission revoked mid-partition that does not stop local action. Neither is closed by non-repudiation after key rotation (which archives requests that were made) or by the created window (which bounds replay of a single signed request).

The resolution is to say plainly where the accountability line sits rather than add a wire mechanism. A sequence counter or pre-issued nonce range would make an omitted record detectable, but only by having the PS issue work permits before the agent acts — which removes the offline operation the grant exists to enable.

What the new section says

  • Approved-tool actions MAY execute while the PS is unreachable. This answers @kenhuangus's first request for an explicit statement, and it is the premise everything else follows from.
  • The mission log is therefore not a complete record, and the spec does not claim it is. A PS cannot distinguish "did nothing" from "acted and didn't report".
  • The resource-token lifetime does not bound local approved-tool actions. This is @ZeeshanKhanSA's residual question: an approved tool touching no remote resource consumes no token, so the two bounds come apart exactly on the offline-local path. The bound there is the blast radius of the granted tools, not token expiry.
  • Granting approved_tools is a trust decision about offline accountability. A PS needing complete coverage or prompt revocation response SHOULD NOT grant it and SHOULD require per-action permission calls — an online governance model that works fine for deployments that can rely on connectivity.
  • A PS wanting stronger guarantees without giving up offline operation MAY issue and track its own sequence alongside the grant. That needs no protocol support and stays with implementations, the same boundary PR Propose five Mission Contract enhancements from implementation experience #10's log chaining landed on.

🤖 Generated with Claude Code

https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls

@dickhardt
dickhardt changed the base branch from directed-sub-chaining to main August 6, 2026 07:31
Issue #49 surfaced two cases the request-level protections do not reach:
a partitioned agent that performs approved-tool actions and never emits
the audit records, and a mission revoked mid-partition that does not
stop local action. Neither is closed by non-repudiation after key
rotation (which archives requests that were made) or by the created
window (which bounds replay of one signed request).

The resolution is to say plainly where the accountability line sits
rather than to add a wire mechanism. A sequence or nonce range would
make an omitted record detectable, but only by having the PS issue work
permits before the agent acts, which removes the offline operation the
grant exists to enable.

- Approved-tool actions MAY execute while the PS is unreachable.
- The mission log is therefore not a complete record, and the spec does
  not claim it is.
- The resource-token lifetime does not bound local approved-tool actions,
  since those consume no token -- the two come apart on the offline path.
- Granting approved_tools is a trust decision whose blast radius is what
  the granted tools can do offline. A PS needing complete coverage or
  prompt revocation response declines the grant and requires per-action
  permission calls.

Fixes #49

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls
@dickhardt
dickhardt force-pushed the approved-tools-offline branch from 19a07be to 815193f Compare August 6, 2026 08:05
@dickhardt
dickhardt merged commit d7b9749 into main Aug 6, 2026
2 checks passed
@dickhardt
dickhardt deleted the approved-tools-offline branch August 6, 2026 08:07
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.

Mission-log completeness under agent–PS partition: a gap §14.16 and §12.7.4.1 don't close

1 participant