gunk-dev/the-valley

ida-5a59fef-one-plumbing-for-every-loop.md

sourceb8640be0aecdmain's published tip history
2.8 KiB · Rendered
1---
2type: idea
3id: ida-5a59fef
4status: exploring
5title: "Reuse common components for feedback and improvement loops"
6created: 2026-08-05
7source: design conversation, 2026-08-05
8---
9
10# Reuse common components for feedback and improvement loops
11
12The system's feedback loops could share signal collection, durable records, derived views, declared
13policy, and controllers. Reusing these components would make new loops easier to implement and
14inspect.
15
16## Common structure
17
18A loop observes domain events, metrics, and logs under the contracts in
19[[dcr-62ecc36]](../decisions/dcr-62ecc36-signal-contracts.md). It retains useful findings as durable
20events or knowledge nodes. Derived views summarize that history for a decision.
21
22Declared policy determines what actions are allowed or required. A controller reconciles current
23state and acts through the relevant enforcement mechanism.
24[[ida-f1b39e8]](ida-f1b39e8-outbound-effects-pass-through-an-actuator.md) explores an actuator for
25external actions.
26
27The target is for a new loop to need mainly a policy document and a controller. A loop requiring
28additional shared machinery would test whether this proposed decomposition is sufficient.
29
30## Improving a loop
31
32A controller could propose changes to its own policy. Those changes would use the normal integration
33path and be evaluated under the rules already in force.
34
35This makes the proposed improvement visible and reviewable. It does not let the controller authorize
36a relaxation of its own permissions.
37[[dcr-9c75283]](../decisions/dcr-9c75283-substrate-adoption-and-the-core.md) and
38[[ida-b7025b5]](ida-b7025b5-human-decisions-are-signed-acts.md) define the approval requirements for
39policy and delegation.
40
41The same approach applies to system configuration in
42[self-transparency.md](../../design/self-transparency.md).
43
44## Candidate uses
45
46- Adjusting agent task size from observed results:
47 [[ida-a006b02]](ida-a006b02-ooda-over-neural-nodes.md).
48- Detecting operational problems in the-valley itself:
49 [[ida-f16bd96]](ida-f16bd96-the-system-observes-itself.md).
50- Tuning log retention from the value and cost of stored data:
51 [[dcr-62ecc36]](../decisions/dcr-62ecc36-signal-contracts.md).
52- Updating trust decisions from independent verification results:
53 [verification.md](../../design/verification.md).
54
55Manual practices already supply examples: incidents become bug nodes, a discovered error leads to a
56corrected requirement, and experience changes how work is divided. Automation could gradually
57replace repeatable parts of those practices, following
58[[ida-b48bded]](ida-b48bded-production-dags-and-events.md).
59
60## Open questions
61
62Which loop should be automated first? What delegated authority does a controller need to propose
63changes to a particular policy? How should loop health be monitored without requiring an endless
64chain of supervising loops?