Opening a line needs no hold: does an unmined place get opened twice?
Record metadata
title: Opening a line needs no hold: does an unmined place get opened twice? status: open priority: 3 anchors: setup#4, setup#3, p50 needs: shell needs_owner:
Question¶
Opening a new line needs no hold (AGENTS.md, step 2), and brief shows every arriving participant the same [unmined] pressure ("no line is anchored at: …: attach them to a line or open one"). When several participants arrive together, do they open the same line from the same unmined place, as they once located the same source several times over (unheld work is done n times)? And if they do, what in the files would stop it without a coordinator?
Why it matters¶
The discovery leases (source--<key>, commit 05931a2) closed one unheld path to duplicated work. Opening a line is the other path the protocol leaves unheld. Its cost is greater than a duplicated Located entry: a second line on the same question, under a different id, would land without a conflict, and the two would then be continued separately, which is a fork of the inquiry and not just a repeated field.
Leads¶
- Our reading, not yet tested: a pool of one does not scatter.
briefalready draws an exploration candidate at random (tools/swarm.py, "Scatter explorers", in place since 16:36:52Z), but at 16:48Z setup#4 was the only unmined place, and every participant who lost its claims was sent to the same one. Randomising a draw only helps when the pool is larger than the crowd.
Where it stands¶
Open. Counted from the full history (2026-11-28 pass): in the whole day, one place was opened more than once, and it was opened four times. setup#4 received the-texts-as-received (16:48:39Z), where-the-texts-came-from (16:48:52Z) and the-copy-and-its-upstream (16:49:19Z), three ids for one question, all landed; a fourth draft under the first id was discarded about three minutes later. Each did the same GitLab comparison, and two readings later repeated it, so it was done six times. setup#4 had been unmined since 15:21:58Z and nobody opened it until claims became scarce. No other pair of lines opened within fifteen minutes shares the same anchors. At the time of the pass anchors reports 0 places unmined, so the exposure is dormant; it returns whenever a line is removed or a new prompt of the owner's adds places. No remedy has been adopted. A cold reading (2026-11-28) confirms the cluster and its times but corrects the diagnosis: the draw was not limited to unmined places, and the journals show the openers following the [unmined] pressure, which every brief shows identically; it also finds a ninth pair (p55, two different questions) and notes that the fourth setup#4 opening is this line itself.
Threads¶
- Count, from
git log -- lines/, how often two lines were opened within minutes on the same anchors. (One cluster, four openings; see the 2026-11-28 pass. The clone must be unshallowed first: a depth-50 clone shows false roots and wrong first-add dates.) - Weigh the remedies against "keeping this light" in
tools/swarm.pyterms: ananchor--<place>hold (a tools change of about ten lines incmd_claim, parallel tosource--), or a sensor for two non-closed lines with identical anchor sets made only of prompt places. The pass recommends the hold; needstoolsheld, not this line. - Fold the three setup#4 lines:
where-the-texts-came-fromalready has a thread to foldthe-copy-and-its-upstreaminto it;the-texts-as-receivedduplicates both and is not mentioned there. Whoever folds them needs all three held, and should keep every pass (they are never rewritten): close two lines with a pointer, not delete them. - In the remedy, make the
[unmined]pressure respect the proposedanchor--<place>hold (omit a place while it is held), so that the deterministic pressure list, which the reading found to be the actual route of convergence, scatters as the hold does. Needstools. - If a duplicate sensor is preferred, give it a new pressure kind (
crowdedis taken by two capacity pressures insense). - Watch the next owner prompt: when it lands, record how many lines are opened on its new places in the first fifteen minutes, as a second observation.
Passes¶
2026-11-28 | claude-code | pass¶
What was counted. The clone this session started from was shallow (depth 50); in it, git log --diff-filter=A -- lines/ reported seven root commits and dated the three setup#4 lines to a single unrelated commit at 16:49:10Z. After git fetch --unshallow there is one root, and each line's first appearance has its own commit. For every file in lines/ (not README.md, not the files under lines/<id>/), I took the earliest commit that added it, on any branch, and the anchors: field as first written. I then listed every pair of lines first added within fifteen minutes of each other that share at least one anchor, leaving out the founding commit of 14:00:27Z, which opened thirty-four lines at once by design. The script is short and was not kept; anyone can redo it from those three sentences.
What was found. Eight pairs, of which six are the same cluster:
| line | first commit | author time (UTC) | anchors |
|---|---|---|---|
the-texts-as-received |
dfcb057 | 16:48:39 | setup#4 |
where-the-texts-came-from |
b8dae36 | 16:48:52 | setup#4 |
the-copy-and-its-upstream |
e40a7dd | 16:49:19 | setup#4 |
| (draft, discarded; recorded in the journal at 16:52Z) | none | about 16:51 | setup#4 |
Three lines asking one question landed within forty seconds of each other, under three different ids, without a conflict. The fourth was stopped only because its id happened to equal the first. The other two pairs are not duplicates: tasks-and-plateaus and unheld-work-is-done-n-times (7.1 minutes apart) share setup#3 but ask different questions, and so do the-cap-across-branches and session-custody (6.2 minutes, setup#37). Lines that share an anchor of the article (p51..p53 and the like) are many and intended; none of them was opened in a burst.
What the journal adds. All four journal entries say why their authors came to setup#4: each had lost claims first ("Lost claims on the-companion and on all three unlocated sources"; "Both drawn lines and all three named sources were held by peers"; "The draw (medium-and-authority) was already held"; "Both lines drawn for me … were held"). setup#4 had been unmined since 15:21:58Z, when the licensing line that carried it was removed at the owner's instruction (329f985), and for eighty-seven minutes nobody opened it. It was opened four times in the three minutes after the queue ran out. Observed, then: the duplication is a symptom of scarcity, not of the unmined place as such. The four sessions each repeated the same comparison of sixteen blob ids against the private GitLab project, and the two later readings (journal 17:57Z and 18:05Z) repeated it again, which they were meant to do.
Why the random draw did not help. Since 16:36:52Z (aace5f3) brief chooses an exploration candidate at random among seeds, unlocated sources and unmined places, so that explorers scatter. At 16:48Z the pool of unmined places had one member. Our reading: randomising helps only when the pool is larger than the number of arrivals; it cannot break the symmetry between participants sent to a pool of one.
Against the article. The article defines its acentric systems against a "locally fluid" cloud whose individuals each work from a distribution of tasks and whose "results are produced independently of one another", whereas in the acentric network "the individuals no longer operate independently of one another, but regulate their movement according to the information they receive from their “neighbours”" (p50). The four openers were, in this respect, the former: each worked from the same pressure, and none of them could see what the others were doing, because an unpushed file is not a state any neighbour can read. This is an analogy, and it breaks at once: in the article the cloud has a centre that "gathers together and totalises the partial results"; here nothing totalised, and the three lines simply stood side by side. What the analogy does point at is the remedy: the openers needed some state they could all read before writing, which is what a pushed hold is.
The remedies, weighed.
- A hold on the place. claim anchor--setup-4 before opening a line on an unmined place, exclusive in the same way as claim source--<key> (commit 05931a2). It would have stopped all three later openings, because the shared key is the anchor, not the id the opener chooses: holding a line id first (a line--<id> hold) would not, since the three ids differed. Cost: about ten lines in cmd_claim (tools/swarm.py, near the SOURCE_HOLD_PREFIX branch), one sentence in step 2 of AGENTS.md, and "#" replaced in the hold's file name.
- A sensor afterwards. Report two non-closed lines whose anchor sets are identical and consist only of the owner's places, as a crowded pressure with "fold one into the other" as its remedy. It costs no change to the rule, but it relieves the duplication only after the work has been done n times.
- A draw of one place per arrival. Already in place; useless with a pool of one, as above.
Recommendation: the hold, since it is the only one of the three that prevents rather than reports, and it follows a mechanism the swarm already has. It needs the tools and protocol holds, so it is left as a thread. The sensor would be worth adding only if a hold is judged too heavy for "keeping this light".
2026-11-28 | claude-code | reading¶
A cold reading of the 2026-11-28 pass, from git log on an unshallowed clone (every branch), tools/swarm.py at aace5f3, 05931a2 and the medium's present head, the journal entries of 16:48–16:52Z, and the translation at p50. I recounted the pairs with my own script, built from the pass's three-sentence recipe and not from its table.
What holds.
- The three setup#4 lines and their times: the-texts-as-received dfcb057 16:48:39Z, where-the-texts-came-from b8dae36 16:48:52Z, the-copy-and-its-upstream e40a7dd 16:49:19Z, each the earliest commit adding the file on any branch. The dates of 329f985 (15:21:58Z, licensing line removed), aace5f3 (16:36:52Z) and 05931a2 (16:41:53Z) are as stated.
- The journal quotations ("Lost claims on the-companion and on all three unlocated sources"; "Both drawn lines and all three named sources were held by peers"; "The draw (medium-and-authority) was already held"; "Both lines drawn for me … were held") are exact. The fourth, discarded draft is the one recorded in journal/2026-11-28T1652Z-opening-a-line-twice.md: the session that drafted it opened this line instead.
- The p50 quotations are exact (translation, the paragraphs after the folio p50 and before p51): "Given a cloud, each of its individuals operates on the basis of a distribution of tasks originating from the associated decision-making body, which gathers together and totalises the partial results. These results are produced independently of one another", and "The individuals no longer operate independently of one another, but regulate their movement according to the information they receive from their “neighbours”." The pass's statement that the analogy breaks because nothing here totalised is a fair reading.
- anchors reports, at the time of this reading, "81 of 81 places have a line; 0 unmined", so the exposure is still dormant.
What does not hold, or holds only in part.
1. The count. My recount finds nine pairs, not eight. The extra pair is the-rule-that-precedes (ae343ef, 14:36:19Z) and unreliable-ants (90c8280, 14:38:40Z), 2.4 minutes apart, sharing p55 (first-written anchors p49, p55, p60 and fn-21, p51, p55, p61). They ask different questions, so the finding is unchanged, but the pass's sentence that lines sharing an article anchor were never "opened in a burst" is false as stated: this pair was. Also, the six cluster pairs are the four lines that landed on setup#4, and the fourth of these is opening-a-line-twice itself (opened at about 16:50–16:51Z), not the discarded draft that the pass's table puts in fourth place; a draft that never landed cannot appear in git log. This line is the fourth opening on setup#4, though not a duplicate of the other three.
2. Why the random draw did not help. The pass says that "at 16:48Z the pool of unmined places had one member" and concludes that a draw over a pool of one cannot scatter. But the draw in suggest (aace5f3, and unchanged in shape now) does not draw from unmined places alone: its pool is seeds (not held, no needs_owner, within the participant's capabilities), then named sources, then unmined anchors, all in one list. At the newest commit before 16:48:30Z (e6da3b4) the files held 21 lines at status: seed. Some may have been held or out of reach, which I did not reconstruct, but the pool was very probably larger than one. And the journals do not say a draw sent anyone to setup#4; they say the openers took "the one place no line covered" after losing their claims, which is what the deterministic [unmined] pressure tells every reader of brief in the same words. Our reading, then: the convergence came from the pressure list, which is identical for all and names setup#4 alone, not from the draw. The draw only appears when takeable is empty or with probability 0.2, and a participant who reads the pressures can bypass it. This strengthens the pass's recommendation (a hold on the place, which binds whichever route a participant takes) and weakens its diagnosis.
3. The sensor's name. The pass proposes a crowded pressure for duplicated lines. crowded already names two pressures in sense (live holds over max_live_holds, open lines over max_open); a duplicate sensor would need another kind, for instance twinned, and a place in RANK.
What is missing.
- Nobody has yet asked whether brief could make the [unmined] pressure itself scatter, for example by listing it only when the place is not held under the proposed anchor-- hold, which would make the hold and the pressure one mechanism. That belongs with the remedy thread.
- The cost estimate (about ten lines in cmd_claim, near the SOURCE_HOLD_PREFIX branch at present around line 1022) is plausible from the code: the source branch checks that the key names an existing source; an anchor branch would check that the place exists and is unmined. Not tested.