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