Motifs of regulation: which feedback loops does a protocol contain?
Record metadata
title: Motifs of regulation: which feedback loops does a protocol contain? status: open priority: 3 anchors: setup#13, setup#34 needs: web needs_owner:
Question¶
The owner wanted to model performance work "more like systems biology models biological processes", naming Uri Alon's work on network motifs (setup#34). Alon's claim is that a few small wiring patterns recur in regulatory networks because each does a job: negative autoregulation speeds a response, a feed-forward loop filters brief signals, integral feedback returns a level to its set point. Which of these patterns are present in a swarm's protocol, which are missing, and is a "pressure" (setup#13) one of them?
Sharpened by the first pass: since a protocol of a dozen mechanisms is too small for a motif in Milo's statistical sense to be counted, the question is one of function, not frequency. For each regulated quantity of this swarm (live holds, takeable items, unread passes, contributions in a day), write down the loop that governs it as a model with its assumptions, and ask whether it has the dynamic property the corresponding biological circuit is credited with: a fast rise, a filtered start, a robust return to a set point.
Why it matters¶
The owner asked for a systems-biological way of reasoning about performance (setup#34) and for failures to be reframed as pressures that can be sensed (setup#13). If the swarm's mechanisms can be written as small dynamical circuits, their known behaviours give predictions that can be tested against the journal and the hold history: how quickly the swarm fills to its cap, whether a thin queue refills, whether a halt is fast and a reopening slow for a structural reason or only by convention. If they cannot be so written, the analogy should be named as one and its breaking point stated (AGENTS.md, "Writing"; the article asks for this care at p62). It would be settled by a short table, quantity by quantity: the loop, its assumptions, the property predicted, and an observation from the files that agrees or does not.
Leads¶
Recollections, not yet checked against a source:
- Alon, An Introduction to Systems Biology (2006; second edition 2019): the unregulated response time is set by the removal rate (degradation plus dilution), log 2 over α. (unchecked)
- Rosenfeld et al. 2002 compare the autoregulated and unregulated units at the same steady state (stated by the first pass; not in the abstract). (unchecked)
- A hold lease is a timer, not a filter; whether a timer and a coherent FFL are equivalent as delay elements for the purposes here is open.
Where it stands¶
Shaped from a seed on 28 November 2026 (first pass). The five primary works the leads named are located and their
abstracts read; none has been read past the abstract. Established from the abstracts: a motif is defined by
over-representation against randomised networks (Milo et al. 2002), so "motif" here can only mean a functional
circuit, never a counted one. Established from tools/swarm.py: every pressure is recomputed from the present state
and ranked by kind and priority, with no memory of how long it has persisted; so nothing in the protocol integrates
an error, and by Yi et al.'s argument nothing in it can be expected to return a level robustly to a set point.
Hypotheses, not yet tested: the cap on live holds is a sharp negative autoregulation of holds; the lease is a
sign-sensitive delay made by a clock; the asymmetry between halting and reopening is one of authority, not of
circuit. The pressure-and-sensing seed meets this line at setup#13 and has not yet been told so.
A cold reading (28 November 2026) confirmed every abstract quotation and the description of the code, and found
the pass's one observation confounded: min_open was raised from 3 to 100 an hour before it, so a shortfall of
86 is a response to a step in the set point, not evidence of a standing error (takeable items had risen to 36 by the
reading). It also found that the thin pressure is never itself takeable, so seed-shaping is offered at a rate
independent of the shortfall, and that the cap on holds (100) cannot bind under a 49-session launch: what limits
holds now is the supply of untaken lines. Full texts of the five papers could not be reached by any route tried.
Consolidated on 28 November 2026 (note below): eleven threads narrowed to two, one reading-the-papers thread and one measurement thread, which together are what the regulation table still needs. The finding most worth keeping is that the protocol's feedback is memoryless: the newer sprawl mechanism switches draw probabilities on a threshold of open threads (a relay, in control terms) but, like every other pressure, keeps no record of how long its error has stood. Open threads fell from 522 to 498 in the hour after the relay was added, against a target of 120.
Threads¶
- Shape this seed: sharpen the question, check the leads, write the threads.
- Tell
lines/pressure-and-sensing.mdthat the two lines meet at setup#13: handed over as a flag injournal/2026-11-28T2031Z-motifs-of-regulation-consolidate.md(that line is a seed; absorbing is its holder's work). - Decide whether
thinshould be takeable: superseded. The tool now silencesthinaltogether while sprawl is elevated, so the question has moved to the sprawl relay (next thread). - Reach and read the bodies, with three questions only: Rosenfeld et al. 2002 (sharpness of repression, leak, whether the comparison is at matched steady state; does a hard cap meet them?); Mangan & Alon 2003 (which coherent type with AND or OR input delays which direction; does any pair of swarm mechanisms have FFL form, source checking included, and does a motif without an OFF step still count?); Alon's textbook on response time (Leads). Europe PMC full text (500) and PMC pages (browser challenge) failed on 28 November 2026; needs
libraryor another route. - One measurement settles the regulation table: from successive commits of the medium, the series of takeable items after the
min_openstep (070d0de), of live holds after each launch (did the cap bind when it was 4 or 20?), and of open threads after the sprawl relay (6c7e967). Say for each whether it settles at its threshold, short of it, or not at all, and against what arrival rate. The open-thread series is begun in the consolidation note.
Passes¶
2026-11-28 | claude-code | pass¶
What was checked. The five works the leads and their recollections pointed to were looked up in the Europe PMC search service, which returned for each its bibliographic record and abstract: Milo et al. 2002, Rosenfeld, Elowitz & Alon 2002, Mangan & Alon 2003, Mangan, Zaslaver & Alon 2003 and Yi, Huang, Simon & Doyle 2000. Full texts were not fetched (two full-text services failed; one tool route was refused), so everything below that rests on a source rests on an abstract, quoted in the source file. The recollection "Milo et al. on network motifs (2002)" is confirmed (Science 298, 824–827). The forwarded lead on the coherent FFL is confirmed in substance but not in its particular: Mangan, Zaslaver & Alon define a sign-sensitive delay as responding "rapidly to step-like stimuli in one direction (e.g. ON to OFF), and at a delay to steps in the opposite direction (OFF to ON)", the "e.g." leaving the direction to the circuit, and give its use as "filtering out fluctuations in input stimuli, yet allowing rapid response". "Ignoring brief urgency while stopping at once" is one instance, not the definition.
What a motif is, and why the question had to change. Milo et al. define motifs as "patterns of interconnections occurring in complex networks at numbers that are significantly higher than those in randomized networks". That is a statement about counts in a large graph against a null model. The swarm's protocol has perhaps a dozen mechanisms; there is no network in which a three-node pattern could be counted against randomisations of it. So no mechanism here is a motif in Milo's sense, and to say one is would be a category slip. What can be asked is the second half of Alon's programme, the circuit's function: Rosenfeld et al. and Mangan et al. analyse a small circuit's dynamics, and those analyses do not depend on how often the circuit recurs. The question above has been rewritten accordingly. This is our reading, not a claim in any of the sources.
What tools/swarm.py does (observed, from the code at this pass). sense builds the list of pressures afresh
from the current state on every call: a line with a pass and no later reading yields a reading pressure; fewer
open+reading items than min_open yields a thin pressure; a lapsed hold yields stranded. ranked orders
them by a fixed list of kinds, then by the line's priority, then by name. Nothing records when a pressure first
appeared, and nothing grows with its age. A claim is refused when live holds reach max_live_holds; a hold lapses
after hold_hours unless renewed; quiet_at cuts every hold's until short; the day's count of journal entries is
compared with max_per_day.
Three candidate correspondences, each a model or an analogy, not an identity.
-
The cap as negative autoregulation (model, untested). Let the regulated quantity be the number of live holds. Production is the rate at which arriving sessions win claims; removal is release and lapse. The quantity represses its own production, sharply: below the cap a claim succeeds, at the cap it fails. Rosenfeld et al. report that such self-repression cuts the rise-time to about a fifth of the unregulated one, the comparison being with an unregulated unit reaching the same steady state. Assumptions this needs and does not yet have: that launching many sessions is the "strong promoter", and that the comparison case (a swarm launched at exactly the steady-state rate, no cap) is a meaningful one. A prediction to test: a large launch against a cap fills to the plateau in about one checkpoint interval, not one lease. Breaks where: holds are discrete and few, and production is bursty (sessions arrive in launch batches), so a continuous rate model may say nothing.
-
The lease as a sign-sensitive delay (analogy, with its break stated). Taking a hold is effective at once; the loss of a holder is acted upon only when the lease runs out, up to
hold_hourslater. That is a response fast in one direction and delayed in the other, and the delay filters brief absences: a holder that pauses and renews is never taken over. But the delay is made by a clock, not by a second regulator accumulating (the FFL's Y). In the FFL the delay scales with Y's dynamics and is persistence-detecting by construction; in the lease it is a constant set by configuration. Whether that difference matters for anything here is a thread. -
Halting fast, reopening slow (analogy that breaks at once).
max_live_holds: 0is sensed at the next checkpoint by every participant; reopening needs the owner's word (AGENTS.md). The asymmetry looks like a sign-sensitive element, and is the one the forwarded lead had in mind. But it is not produced by any circuit: it is a rule about who may move the setting. The analogy names a behaviour, not a mechanism.
Is a pressure one of these patterns? A pressure is a negative feedback loop closed through the medium: a
condition in the files is displayed, an arriving participant acts, and the action removes the condition (a reading
removes the reading pressure). That much is a model. It is a proportional loop at best, its gain set by how many
sessions arrive, and it has no integrator: since nothing accumulates how long or how far a quantity has been from its
threshold, Yi et al.'s argument ("integral control in some form is necessary for a robust implementation of perfect
adaptation") predicts that no quantity in this swarm will return to its set point independently of parameters such
as the arrival rate. One observation consistent with that, from this session's brief: 14 takeable items against a
min_open of 100, the thin pressure showing and the shortfall standing. One observation is not a test; a thread
asks for one. Whether the swarm should have an integrator (a pressure whose rank grows with its age) is a question
for pressure-and-sensing, not answered here.
Not done. No body of any paper has been read; the textbook recollection about response time remains unchecked; no measurement from the hold history has been made. Those are the threads.
2026-11-28 | claude-code | reading¶
What was read, cold. The five abstracts again, fetched afresh from the Europe PMC search service (records by DOI;
Rosenfeld et al. by title, PMID 12417193, since its DOI query returned nothing), and tools/swarm.py at this commit
(sense, RANK, ranked, suggest), with the history of limits.conf from git log -p. Full texts were tried
and could not be reached: Europe PMC's full-text service answered 500 for PMC218699 and PMC18287, its PDF routes
returned HTML, NCBI's efetch says "The publisher of this article does not allow downloading of the full text in XML
form", and the PMC article pages served a browser challenge. So no body has yet been read by anyone.
What holds. Every quotation in the pass and in the five source files matches its abstract word for word: Milo's
definition by over-representation against randomised networks; Rosenfeld's rise-time, "one cell-cycle" and "about
one fifth of a cell-cycle"; Mangan, Zaslaver & Alon's sign-sensitive delay with its "e.g."; Yi et al.'s "integral
control in some form is necessary". The pass's reading that "motif" here can only mean a functional circuit follows
from Milo's definition and is sound. One more "e.g." strengthens the pass's caution about direction: Mangan & Alon's
own abstract says the incoherent types accelerate "following stimulus steps in one direction (e.g., off to on)", so
in neither paper does the abstract fix which direction a given type favours. The description of the code is
accurate: pressures are rebuilt from the present state on each call, ranked by a fixed list of kinds, then priority,
then name, and nothing records when a pressure first appeared (the only timestamps kept are a hold's since and
until, which no ranking reads).
What does not hold, or holds less than it says.
- The observation offered for the no-integrator claim is confounded. The pass cites "14 takeable items against a
min_openof 100, thethinpressure showing and the shortfall standing". Butmin_openwas 3 until commit 070d0de (16:16 UTC this day), when it was raised to 100; the pass landed at 17:23. What the pass saw is the response sixty-seven minutes after a step in the set point, not a steady-state error. At this reading (about 17:55)briefshows 36 or 37 takeable items: the quantity is moving towards the threshold. Neither figure separates "a proportional loop with a standing error" from "a loop that has not yet settled"; that needs a series, not a point. The prediction drawn from Yi et al. stands as a hypothesis; its only evidence does not test it. - The
thinloop is weaker than "proportional" suggests (observed, from the code).senseadds thethinpressure withtake=False, andRANKplaces it ninth of eleven kinds.suggestdraws only from takeable pressures, except that one draw in five (random.random() < 0.2), or every draw when nothing is takeable, offers an exploration chosen at random among all seeds to shape, sources to locate and unmined anchors. So the signal "the queue is thin" never itself reaches a participant as a draw; seed-shaping is offered at a rate that does not depend on how thin the queue is. In control terms (our reading) the error is displayed but the actuator's gain does not scale with it: closer to a fixed bias with a dead band than to proportional control. This sharpens the pass: the loop lacks not only an integrator but, for the draw, any dependence on the size of the error. - The cap as negative autoregulation does not operate under the present settings.
max_live_holdsis 100, and the Claude launch ceiling (claude_swarm_size) is 49 sessions per invocation; with 3 live holds at this reading, the cap cannot bind unless several launches overlap. What did limit holds in this session is per-line exclusivity: the first claim tried was refused because the line was held, the second succeeded. Each hold removes one item from the takeable set, so holds are limited by the supply of lines, which is depletion of a substrate, not repression of production by the product. Under earlier settings (4 and 20, commits 1b424f9 and b74af93) the cap may have bound; whether it did is a measurement fromholds/history no one has made. - One assumption is attributed beyond its source. The pass says Rosenfeld et al.'s comparison is "with an unregulated unit reaching the same steady state". The abstract says only that non-self-regulated units have a rise-time of one cell-cycle; matching steady states is not in it. It may well be in the body; until read, it is a recollection and is listed under Leads.
What is missing. The bodies of all five papers (now known to be unreachable from this environment by the routes
tried; a participant with library or a browser may fare better). A time series of takeable items, which could be
rebuilt by running status on successive commits of the medium, since the files are the whole state. And the
distinction, which the line should carry, between two regulated quantities the pass treats together: holds
(bounded by the cap and by line supply) and takeable items (bounded by seed-shaping and by consumption).
2026-11-28 | claude-code | note¶
Consolidation (drawn by consolidate, obligation fingerprint 8946b0c80514). Disposition: retained, narrowed.
The line carries a result the companion can use (a swarm protocol of a dozen rules cannot contain a motif in Milo's
counted sense, so the question is one of circuit function; and nothing in the protocol integrates an error), and its
remaining obligations are concrete. But eleven threads repeated two needs. Four asked, in different words, for the
bodies of the same papers (Rosenfeld et al., Mangan & Alon, the textbook, "another route"); they are now one thread
with its three questions kept, and the source-checking FFL question folded into the Mangan & Alon question, since it
cannot be decided before that body is read. Three asked for series from the history of the medium (takeable items,
the shortfall against min_open, whether the cap bound at 4 or 20); they are now one measurement thread. The thread
to tell pressure-and-sensing is discharged by a flag in this session's journal, that line being an unheld seed.
The thread on whether thin should be takeable is superseded, not answered: see below. Nothing was deleted; every
pass above stands.
What changed in the code since the reading (observed, tools/swarm.py at this commit). sense now suppresses
the thin pressure whenever open threads exceed max_open_threads (120), and suggest raises the chance of a
consolidation draw from 0.33 to 0.65 under the same condition, also withholding seed-shaping from exploration. That
is a two-state switch on a threshold: in control terms (our reading, a model) a relay without hysteresis. It is still
memoryless: the size of the gain change does not depend on how far above the target the count stands (522 and 121
are treated alike) nor on how long it has stood there. So the reading's sharpening, that the actuator's gain does not
scale with the error, holds for the new mechanism too, and Yi et al.'s argument still predicts no robust return to
the set point.
A first measurement (observed; sampled from origin/master's first-parent history after unshallowing, a
reproducible script counting - [ ] under "Threads" in lines whose status is open). Open threads rose from 85
(15:27 UTC) through 316 (17:19) and 475 (18:40) to a peak of 522 at 19:26, when the target of 120 was introduced
(commit 6c7e967); they then stood at 505 by 19:38 and 498 from 19:55 to 20:30. Open lines meanwhile rose from 47 to
49. So the relay has reversed the growth but not closed the gap: a fall of 24 in an hour against an error of about
400. One series, sampled at merges into master (which batch the branches' work), cannot distinguish a slow approach
from a standing error; it is the first point of the measurement thread, not its answer. Caveat: master lags the flux
branch, whose brief also showed 498 at this note.