gunk-dev/the-valley

ida-f1b39e8-outbound-effects-pass-through-an-actuator.md

sourceed2ea70fe6b2main's published tip history
4.3 KiB · Rendered
1---
2type: idea
3id: ida-f1b39e8
4status: exploring
5title: "Mediate agent actions on external systems through an actuator"
6created: 2026-07-25
7source: design conversation, 2026-07-25
8supersedes: [ida-53ec742]
9---
10
11# Mediate agent actions on external systems through an actuator
12
13An agent run could request external actions from a service called an **actuator**. The actuator
14would hold the credentials, check the run's delegated permissions, perform permitted operations, and
15record their results. The run would receive the response without receiving the credential.
16
17This is an exploratory design for controlling changes to external systems and making those changes
18auditable.
19
20## Why the external action needs its own check
21
22A run can perform an unwanted action using valid credentials without escaping its sandbox. For
23example, a proposing agent with approval credentials can approve its own work through the intended
24API.
25
26Many workspace edits can be discarded before publication. An integrated change can immediately
27trigger deployment and further actions. Permission checks must account for those consequences at the
28point that can refuse the external action.
29
30Local isolation remains necessary, especially on workstations holding private keys and other
31sensitive data. It addresses what the run can access locally. It does not revoke authority carried
32by credentials the run can use elsewhere.
33
34## Permissions and credential handling
35
36The actuator enforces the delegation bundle described in
37[[ida-a8243d2]](ida-a8243d2-agent-runs-act-under-delegated-authority.md). A general proxy that
38injects credentials into arbitrary requests would not provide the required control.
39
40The operation vocabulary must be explicit enough for policy to constrain it and for a reader to
41understand the resulting audit records. Hiding a credential while honoring every request would leave
42the same authority available to the run.
43
44Credential non-disclosure also matters because an agent's observations may be stored, summarized,
45replayed, and copied into later artifacts. A credential revealed in tool output can spread through
46that trajectory.
47
48Scoped, short-lived credentials can complement this approach. The actuator could obtain and use them
49without exposing them to the run.
50
51## Audit records
52
53Credential mediation and recording are separate capabilities. The proposal combines them so that all
54actions within the mediated scope can have a record.
55
56That completeness depends on preventing bypass and defining failure behavior around recording. If
57intent is recorded before execution, the record can describe an action that never happened. If
58execution occurs first, a recording failure can leave an action unrecorded. The design needs to
59represent that uncertainty.
60
61Cryptographic transparency is a further property. It helps detect a log operator changing entries or
62showing different histories to different readers. A complete operational record does not
63automatically require or provide that protection.
64
65## Human approval
66
67[[ida-b7025b5]](ida-b7025b5-human-decisions-are-signed-acts.md) requires physical presence for
68particular approvals. Properly enforced hardware presence prevents a process from silently producing
69such an approval on its own.
70
71The system still needs to bind that gesture to the intended action and present the action
72accurately. Host compromise does not make those surrounding questions disappear.
73
74## Open questions
75
76- Which external systems and actions require mediation?
77- Are permissions declared before a run, checked as actions are requested, or both?
78- Which actions can be adequately controlled with scoped credentials alone?
79- What isolation can be assumed on contributor-owned machines?
80- How are intent, attempted execution, observed result, and uncertain outcome recorded?
81- Which reads require recording, and what latency is acceptable?
82- How does the operation vocabulary grow without becoming an unrestricted forwarding API?
83- How much logic can the actuator contain while remaining small enough to review?
84- Can it constrain data disclosure, or only credential use and named actions?
85
86The integrator already mediates one important action: landing a change.
87[verification.md](../../design/verification.md) distinguishes pure and effectful checks, and
88[Phase 5](../../design/roadmap.md#phase-5--effectful-reactions) covers effectful reactions.