gunk-dev/the-valley

ida-3145b7a-demand-pressure.md

source45f2435989bamain's published tip history
4.7 KiB · Plain text
Contents

type: idea id: ida-3145b7a status: exploring title: Actors in the graph + demand pressure as anti-stall created: 2026-07-02 source: owner #

Actors in the graph + demand pressure as anti-stall #

Extends the adopted outcome-DAG sketch: [[ida-eac723e]] (ida-eac723e-outcome-dag.md); the thin bet is architecture.md § the knowledge graph read generatively — an outcome DAG. Status is exploring, not adopted — this node is an experiment candidate, and its first test is already running: the seeded outcomes/ DAG rooted at [[oc-f3bcfd0]] (oc-f3bcfd0-s1-holds.md).

The owner's core idea, faithfully: agents — human and AI — can play parts in the outcome graph and be scheduled to unblock productions, so that there is a form of standing pressure toward producing the final node: an anti-stall mechanism.

Everything below the next heading is development of that idea, not part of it.

Heterogeneous actor pool #

Humans and AI agents are the same kind of participant: schedulable actors with capabilities. What differs is how dispatch reaches them — an AI agent is spawned (klaus-shaped, as in the adopted sketch's dispatch section), while a human's attention is routed to the blocked node. Same scheduler, two delivery mechanisms.

Stated plainly, the consequence: the priority-layer question that [[ida-eac723e]] split in two — work-scheduling vs attention-routing — partially reunifies. Attention-routing is work-scheduling for the actor class that cannot be spawned. A human-blocked outcome is not a different kind of thing from an agent-dispatchable one; it is a frontier node whose assigned actor happens to be reached by notification rather than by process creation. (The firehose half of attention-routing — what a human must see across all finished work — stays a separate open question; only the "human as blocking producer" half folds back in.)

Pressure is standing, not event-shaped #

Demand propagates from live root outcomes down the blocked_by closure, exactly as priority does in the adopted sketch — but the controller does not dispatch once and forget. It continuously reconciles what should be moving but isn't: level-triggered, not edge-triggered, the same reconcile-don't-just-react controller principle the rest of the architecture leans on. An event kicks a recompute sooner; the absence of events never means the absence of pressure.

Stall is the named failure mode #

Naming the failure mode makes anti-stall designable. A small taxonomy:

StallSignature
Agent run died silentlyOutcome stuck in-progress, no live run behind it
Blocked on an unresponsive humanHuman-actor frontier node open past a threshold
Dependency went staleA blocker closed as abandoned, or its premise no longer holds
Orphaned outcomeNo path from any live root — demand for it is gone

Candidate mechanisms, one per stall class: leases on in-progress with expiry (a run that dies loses its lease and the node returns to the frontier — the adopted sketch's staleness threshold, made explicit); escalation to a different actor class (an unresponsive human's node can be re-routed, or an agent's repeated failure escalated to a human); re-dispatch for dead runs; and the inverse for orphans — outcomes with no path to a live root lose pressure and become garbage-collectible, an anti-clutter mechanism for free.

The Nix resonance #

This is nix build for work: you demand the final artifact and the graph schedules everything required to produce it, caching what is already done. Closed outcomes are cache hits; the frontier is the build plan; pressure is the outstanding derivation. A Nix-native system whose work management mirrors its build semantics is pleasingly self-similar.

Why it matters #

Without pressure the graph is a passive tracker — an issue list with extra steps. Pressure is what makes it a production engine: the standing force that turns "here is what blocks what" into "this is being produced." It is load-bearing for the recursive, transparent outcome-production engine framing in the README.