gunk-dev/the-valley

ida-3145b7a-demand-pressure.md

sourceb125aef7db4amain's published tip history
4.9 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: owner
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 owner's core idea, faithfully:** agents — human and AI — can play parts in the outcome graph
20and be scheduled to unblock productions, so that there is a form of standing pressure toward
21producing the final node: an 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_: level-triggered, not edge-triggered, the same
45reconcile-don't-just-react controller principle the rest of the architecture leans on. An event
46kicks a recompute sooner; the absence of events never means the absence of pressure.
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
59Candidate mechanisms, one per stall class: **leases** on `in-progress` with expiry (a run that dies
60loses its lease and the node returns to the frontier — the adopted sketch's staleness threshold,
61made explicit); **escalation** to a different actor class (an unresponsive human's node can be
62re-routed, or an agent's repeated failure escalated to a human); **re-dispatch** for dead runs; and
63the inverse for orphans — outcomes with no path to a live root _lose_ pressure and become
64garbage-collectible, an anti-clutter mechanism for free.
65
66## The Nix resonance
67
68This is `nix build` for work: you demand the final artifact and the graph schedules everything
69required to produce it, caching what is already done. Closed outcomes are cache hits; the frontier
70is the build plan; pressure is the outstanding derivation. A Nix-native system whose work management
71mirrors its build semantics is pleasingly self-similar.
72
73## Why it matters
74
75Without pressure the graph is a passive tracker — an issue list with extra steps. Pressure is what
76makes it a production _engine_: the standing force that turns "here is what blocks what" into "this
77is being produced." It is load-bearing for the **recursive, transparent outcome-production engine**
78framing in the [README](../../README.md).
79
80## Related
81
82- The sketch this extends: [[ida-eac723e]]
83 ([ida-eac723e-outcome-dag.md](./ida-eac723e-outcome-dag.md))
84- The thin bet:
85 [architecture.md § the knowledge graph read generatively — an outcome DAG](../../design/architecture.md#bet-the-knowledge-graph-read-generatively--an-outcome-dag)
86- First test: the live [outcomes/](../outcomes/) DAG rooted at [[oc-f3bcfd0]], with [[oc-fc348f0]]
87 as the first deliberately human-blocked frontier item