gunk-dev/the-valley

ida-3145b7a-demand-pressure.md

source3da70ffa9a3fmain's published tip history
6.3 KiB · Rendered
1---
2type: idea
3id: ida-3145b7a
4status: exploring
5title: Actors in the graph + demand pressure as anti-stall
6created: 2026-07-02
7source: design conversation, 2026-07-02
8---
9
10# Actors in the graph + demand pressure as anti-stall
11
12> Extends the adopted outcome-DAG sketch: [[ida-eac723e]]
13> ([ida-eac723e-outcome-dag.md](./ida-eac723e-outcome-dag.md)); the thin bet is
14> [architecture.md § the knowledge graph read generatively — an outcome DAG](../../design/architecture.md#bet-the-knowledge-graph-read-generatively--an-outcome-dag).
15> Status is _exploring_, not adopted — this node is an experiment candidate, and its first test is
16> already running: the seeded [outcomes/](../outcomes/) DAG rooted at [[oc-f3bcfd0]]
17> ([oc-f3bcfd0-s1-holds.md](../outcomes/oc-f3bcfd0-s1-holds.md)).
18
19**The core idea:** agents — human and AI — can play parts in the outcome graph and be scheduled to
20unblock productions, so that there is a form of standing pressure toward producing the final node:
21an anti-stall mechanism.
22
23Everything below the next heading is development of that idea, not part of it.
24
25## Heterogeneous actor pool
26
27Humans and AI agents are the same kind of participant: schedulable actors with capabilities. What
28differs is how dispatch reaches them — an AI agent is _spawned_ (klaus-shaped, as in the adopted
29sketch's dispatch section), while a human's _attention is routed_ to the blocked node. Same
30scheduler, two delivery mechanisms.
31
32Stated plainly, the consequence: the priority-layer question that [[ida-eac723e]] split in two —
33**work-scheduling** vs **attention-routing** — partially _reunifies_. Attention-routing is
34work-scheduling for the actor class that cannot be spawned. A human-blocked outcome is not a
35different kind of thing from an agent-dispatchable one; it is a frontier node whose assigned actor
36happens to be reached by notification rather than by process creation. (The firehose half of
37attention-routing — what a human must _see_ across all finished work — stays a separate open
38question; only the "human as blocking producer" half folds back in.)
39
40## Pressure is standing, not event-shaped
41
42Demand propagates from live root outcomes down the `blocked_by` closure, exactly as priority does in
43the adopted sketch — but the controller does not dispatch once and forget. It continuously
44reconciles _what should be moving but isn't_. The level-triggered case for that controller — events
45invalidate observed state and never drive work — is made in [[ida-b48bded]]
46([ida-b48bded-production-dags-and-events.md](./ida-b48bded-production-dags-and-events.md)).
47
48## Stall is the named failure mode
49
50Naming the failure mode makes anti-stall designable. A small taxonomy:
51
52| Stall | Signature |
53| -------------------------------- | --------------------------------------------------------------- |
54| Agent run died silently | Outcome stuck `in-progress`, no live run behind it |
55| Blocked on an unresponsive human | Human-actor frontier node open past a threshold |
56| Dependency went stale | A blocker closed as `abandoned`, or its premise no longer holds |
57| Orphaned outcome | No path from any live root — demand for it is gone |
58| A change that cannot land | The same change failing verification across repeated cycles |
59
60A change that cannot land is distinctive because the retry loop conceals it: the failure is not
61subtle, its recurrence is. An automated proposal that regenerates on a schedule presents each cycle
62as a fresh attempt, so repeated failures accumulate nothing — a scheduled dependency-update proposal
63can fail verification on four consecutive nights and be indistinguishable, at any single moment,
64from one that failed once. What makes the recurrence countable is change identity: a change whose
65identity is stable across regeneration turns several independent failures into one change that has
66failed several times, a fact that can be thresholded. That is the property argued for in
67[[ida-93e4f91]] ([ida-93e4f91-changes-not-branches.md](./ida-93e4f91-changes-not-branches.md)). The
68response needs no new mechanism — the escalation below already covers it; what this class adds is
69the signature. It is an instance of the attention-routing question
70([openquestions.md](../../design/openquestions.md), _Priority layer architecture_), but a separable
71and much earlier one: a counter and a threshold on a single fact, not a solution to the firehose
72problem that [roadmap.md, Phase 7](../../design/roadmap.md#phase-7--feedback--incident-memory)
73carries.
74
75Candidate mechanisms: **leases** on `in-progress` with expiry (a run that dies loses its lease and
76the node returns to the frontier — the adopted sketch's staleness threshold, made explicit);
77**escalation** to a different actor class (an unresponsive human's node can be re-routed, or an
78agent's repeated failure escalated to a human); **re-dispatch** for dead runs; and the inverse for
79orphans — outcomes with no path to a live root _lose_ pressure and become garbage-collectible, an
80anti-clutter mechanism for free.
81
82## The Nix resonance
83
84This is `nix build` for work: you demand the final artifact and the graph schedules everything
85required to produce it, caching what is already done. Closed outcomes are cache hits; the frontier
86is the build plan; pressure is the outstanding derivation. A Nix-native system whose work management
87mirrors its build semantics is pleasingly self-similar.
88
89## Why it matters
90
91Without pressure the graph is a passive tracker — an issue list with extra steps. Pressure is what
92makes it a production _engine_: the standing force that turns "here is what blocks what" into "this
93is being produced." It is load-bearing for the **recursive, transparent outcome-production engine**
94framing in the [README](../../../README.md).
95
96## Related
97
98- The sketch this extends: [[ida-eac723e]]
99 ([ida-eac723e-outcome-dag.md](./ida-eac723e-outcome-dag.md))
100- The thin bet:
101 [architecture.md § the knowledge graph read generatively — an outcome DAG](../../design/architecture.md#bet-the-knowledge-graph-read-generatively--an-outcome-dag)
102- First test: the live [outcomes/](../outcomes/) DAG rooted at [[oc-f3bcfd0]], with [[oc-fc348f0]]
103 as the first deliberately human-blocked frontier item