gunk-dev/the-valley

ida-a8243d2-agent-runs-act-under-delegated-authority.md

source6bf8ca46b311main's published tip history
2.9 KiB · Rendered
1---
2type: idea
3id: ida-a8243d2
4status: exploring
5title: "Constrain agent work through recorded delegation"
6created: 2026-07-25
7source: design conversation, 2026-07-25
8---
9
10# Constrain agent work through recorded delegation
11
12An agent run acts under permissions delegated by the human who authorized the work. It may receive
13those permissions directly or through another run that dispatched it. The run holds no independent
14signing key.
15
16Each delegation may narrow the permissions it receives. It must not add permissions. A verifier
17needs to check that rule at every link in the chain.
18
19## Human decisions
20
21Required physical approval cannot be delegated to an automated run. Otherwise an agent could satisfy
22the human gate on its own work.
23
24[[dcr-9c75283]](../decisions/dcr-9c75283-substrate-adoption-and-the-core.md) permits
25human-authorized delegation and policy exemptions for ordinary changes while requiring physical
26approval for changes to the delegation rules themselves.
27[[ida-b7025b5]](ida-b7025b5-human-decisions-are-signed-acts.md) describes that signed human act.
28
29## Capability model
30
31Capability-based systems provide relevant prior art. They attach rights to references and make
32permission transfer an explicit operation. Fuchsia's handles and capability routing are examples of
33representing what a process may access and which rights it may pass on.
34
35For the-valley, the useful properties are explicit initial authority, delegation that only narrows
36it, and a checkable path from a requested action back to its authorization.
37
38A per-run key would add key management without establishing much lasting reputation. A long-lived
39agent key would introduce a durable credential that could be stolen. The current approach keeps run
40attribution in provenance and signing authority with registered principals.
41
42## Enforcement and evidence
43
44A delegation record must state scope, not just name the initiating human. Naming the human answers
45who authorized work, but leaves open which actions were permitted.
46
47The record also needs trustworthy verification. If the harness both executes the run and writes the
48chain, its signature alone does not independently establish the chain's accuracy.
49
50Finally, some component must be able to refuse an action outside the delegated permissions. The
51integrator fills that role for landing changes.
52[[ida-f1b39e8]](ida-f1b39e8-outbound-effects-pass-through-an-actuator.md) explores mediation of
53other external actions.
54
55## Open questions
56
57What does dispatch authorization identify? How narrow can its permissions be? How are delegation
58links represented and verified? Which operations can bypass the proposed enforcement points?
59
60[[dcr-0de694f]](../decisions/dcr-0de694f-phase2-attestation-shape.md) defines the host-signed
61attestation that attributes a run. [[ida-51605e8]](ida-51605e8-authenticity-not-git-coupled.md) and
62[[ida-d2dc957]](ida-d2dc957-attestations-ride-on-a-transparent-leaf.md) discuss the signed content
63and possible carriers.