Repository navigation
docs: record two upstream digest lessons in the design - #28
Merged
Merged
Conversation
Two lessons from the original firstmate enter docs/design.md, each once, as a contract sentence with its acceptance case and a source note. The Spawning Pool release contract goes into Fork and adapt, the Spawning Pool paragraph, beside the paragraph's existing proof list: a Lictor's disposable scratch copy is scrubbed of nested repositories before its slot is returned, a Swarm's copy with an untracked nested repository still refuses release as dirty work, and every release is read back, with a slot that stays dirty recorded as lost capacity and never as a clean release. Source: kunchenguid/firstmate#5843. The work-order rule for ready work goes into The Pool and the Mind's word, as a rule recorded at the Hive's scope: a shared blocker (a red base, a required validation step recorded as broken, a Spoor that does not resolve) is the first ready work, nothing is dispatched into a required stage known to be broken, and a parked item holds no capacity. The rule stops nothing already running; the proposal's make-room rule is not taken. Source: kunchenguid/firstmate#7050. Nothing else in the document changes, and README.md stays as it is. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013QZa9DJdET9jvTFT8cH1Fy
CLOUD-STATUS.md names the section each digested lesson went into, the Spawning Pool paragraph of Fork and adapt and The Pool and the Mind's word, and the result of make check. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013QZa9DJdET9jvTFT8cH1Fy
Owner
Author
Approved-as-is findings
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Verbatim, 2026-10-11, on the design revision for the second upstream digest's two lessons: "run it after the wording correction"
The standing order it follows, as recorded from his words of 2026-10-11: each digest run's first-bin lessons go into docs/design.md as one design revision, each lesson placed in the section that owns it as a contract sentence plus its acceptance case, with the upstream URL as the source note, and no upstream code is ported.
The two lessons, as the digest recorded them (upstream URL, title, the problem it solved and why Hive's design must account for it, and the design section it bears on):
git clean -fd, which never removes a nested git repository, so a scout that cloned orgit init-ed inside its copy left the pool slot permanently dirty, never reusable, once exhausting a whole pool, while teardown still reported a clean return; the Spawning Pool adapts Treehouse and its design proves refusal to release dirty work but says nothing of how a Lictor's disposable scratch copy is cleaned differently from a Swarm's copy (a Swarm's untracked nested repo must still refuse), nor that a release is read back after the return and a slot that stays dirty is reported as lost capacity instead of as a clean release receipt - design section: Fork and adapt: preserve behavior and attribution (Spawning Pool paragraph)Context. The digest reads changes and issues in kunchenguid/firstmate, the supervisor Hive's design was derived from, and sorts them by the problem each solved; a first-bin item is a defect or lesson Hive's design must account for. Nothing is ported from upstream: only the lesson is written into Hive's own contracts.
What Changed
docs/design.md, a release now scrubs nested repositories from a Lictor's disposable scratch copy before the slot is returned. A Swarm's copy that holds an untracked nested repository still refuses release as dirty work. Every release reads the slot back, and a slot that still reads dirty is recorded as lost capacity, not as a clean release. The paragraph lists three acceptance cases and cites fix(bin): scrub nested repos from scratch copies before treehouse return kunchenguid/firstmate#5843 as the source.docs/design.mdgains a dispatch-order rule recorded at the Hive's scope. A shared blocker (a red base, a required validation step recorded as broken, or an unresolvable Spoor) is the first ready work. Nothing is dispatched into a required stage known to be broken. A parked item holds no capacity, so its park receipt releases its reservation and its resume takes a fresh one. The rule orders what is dispatched next, stops nothing already running, and adds no make-room or kill behavior. It lists acceptance cases and cites Proposal: fleet work order (which ready work goes first, and shared-blocker triage) kunchenguid/firstmate#7050 as the source.docs/design.md. No upstream code is ported.Design sections
spec/, are unchanged.No other sentence of
docs/design.mdbecame untrue, andREADME.mdis unchanged.Risk Assessment
✅ Low: The documentation-only change captures both required lessons, preserves existing safeguards, and introduces no upstream code or unnecessary mechanisms.
Testing
The diff touches only docs/design.md, so I reviewed it against the intent instead of running anything live. Both lessons appear as a contract sentence, an acceptance case ('Prove that…') and a source URL, in the section that owns each. The Lictor/Swarm split, the read-back that records lost capacity, and the rules for shared blockers, blocked dispatch and parked items are all present. The proposal's make-room rule is correctly left out, and the text states that the rule stops nothing already running. No code is ported. The only runnable target I tried,
make check-imports, fails because its test directory is empty, which is unrelated to this change.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
git diff 7a80253..34a02e7 --stat(only docs/design.md changed, +3 lines)Read the added Spawning Pool contract (design.md line 257) against the firstmate#5843 lessonRead the added work-order contract (design.md line 560) against the firstmate#7050 lessongrepthat no make-room or lowest-priority-stop rule was added and that the rule text keeps 'no Hunt limit binds' and 'a park waits for its safe checkpoint'grepthat 'rule 3' resolves to the Preserve-unlanded-work rule (line 98), which already covers a Lictor's scratch copygrepthat Spoor, Synapse and Imperative are existing vocabularymake check-imports(fails with 'integration/imports holds no test', which is not related to this change)🔧 **Document** - 1 issue found → auto-fixed ✅
spec/pool.md:113- The new work-order paragraph in docs/design.md (line 560) says an item whose route needs a known-broken required stage "reads blocked on the blocker" and becomes ready again on the clearing receipt. spec/pool.md defines the derivedblockedandreadyfacts closed overblocked-byedges and holds, so a shared-blocker cause is not in it. The spec was accepted on 2026-10-11 and says it extends the design without reopening it, and the design governs on a difference. I did not edit the accepted stage-2 contract. The Hive Mind should decide whether the shared-blocker reading is added to the Pool spec as a later minor change or is owned by the later dispatch stage.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.