chore: register supervision recovery divergence - #15
Merged
Merged
Conversation
Canonical divergence topic for the Claude primary-session supervision fix the personal fork carries beyond official upstream: session-ownership alignment for the Stop auto-arm and turn-end guard, a bounded volatile entry trace that distinguishes a hook that never ran from one that took a pre-claim gate, one-shot repeated-block escalation, a single supervision snapshot behind queue warnings, queued delivery treated as a supervision need until post-handling acknowledgement, and the BASH_SUBSHELL lock-ownership check stock macOS Bash 3.2 needs because it has no BASHPID. Submitted upstream as PR 2392 and retired when that lands.
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
Register the second and final carried fork divergence in the fork divergence ledger: the Claude primary-session supervision fix, submitted upstream as pull request 2392 and still open there. With this the ledger describes every divergence the fork intentionally carries. IMPORTANT DELIVERY REQUIREMENT: merge with the REGULAR merge method, never squash and never rebase. The two-parent merge IS the registration: bin/fm-fork-status.sh requires every manifest unit to have a reachable branch-level integration merge whose second parent is an ancestor of its canonical topic, so squashing or rebasing would destroy the link that makes the registration valid and leave the fork unhealthy. PRECISE CHANGE SET, stated this way deliberately because a vaguer wording previously caused an acceptance-criterion conflict across two gates: the first-parent diff changes exactly ONE file, fork-divergences.json, adding the manifest entry for id supervision-owner-aware-recovery with class pending, its canonical topic, its open upstream pull-request record, its falsifiable retirement condition, and the 22 exact paths its patch touches. There is deliberately NO product-content change, because the canonical topic reproduces work already present on fork main; the merge records ownership and provenance rather than altering code. An acceptance criterion must expect a manifest-only diff plus a two-parent merge commit. The canonical topic is one aggregate non-merge commit based on current official upstream, published on the fork as refs/heads/fm/divergence/supervision-owner-aware-recovery at exactly d257ba1 so every clone can resolve it, and git cherry against upstream reports exactly one non-equivalent commit. The topic deliberately excludes the governance manifest itself, excludes the fork-main integration workflow that is registered as its own separate unit, and excludes integration-path documentation artifacts that earlier pipeline runs committed, so the unit's patch matches its stated intent exactly. Follow the fork-main-integration procedure: isolated candidate from the private fork integration clone, validation through the isolated fork-target registration, no force-push, and no rewriting of published history.
What Changed
supervision-owner-aware-recoveryas a pending fork divergence, linking its canonical topic and open upstream PR fix(bin): make supervision recovery owner-aware and durable kunchenguid/firstmate#2392.fork-divergences.json.Risk Assessment
✅ Low: Captain, this is a well-bounded manifest-only registration whose merge topology, canonical topic, exact 22-path ownership, upstream basis, and open PR disposition match the authoritative intent.
Testing
No prior baseline output was supplied; targeted Git assertions, live fork/upstream/PR checks, and an isolated end-to-end fork-status run all matched the required manifest-only two-parent registration, with CLI evidence saved and the source worktree left clean.
Evidence: Fork health CLI transcript
Health report recognizes both retained divergence units, includingsupervision-owner-aware-recovery, witherrors=0.Evidence: Registration acceptance proof
Shows the two-parent target, manifest-only first-parent change, exactly one added entry, exact 22-path match, one-commit cherry result, and published topic SHA.Evidence: Live upstream PR state
Source: Live upstream PR state
PR 2392 is open, not draft, and not merged.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git rev-list --parents -n 1 1c3ae04d35b75e3c8293fa717855c997bcf77bacandgit diff-tree --no-commit-id --name-only -r 5ab8af3b90131be2690effd2dde0d5f143629094 1c3ae04d35b75e3c8293fa717855c997bcf77bacFocused manifest comparison proving removal ofsupervision-owner-aware-recoveryfrom the target manifest reproduces the base manifest exactlyCompared the manifest’s 22 paths withgit diff-treeford257ba1f718ddb59edd84fe160dd4d4910671d9fusing sortedcomm -3outputgit cherry 64d61aed84373e02b1a28c4e6b262908ed8128d5 d257ba1f718ddb59edd84fe160dd4d4910671d9fgit ls-remote git@github.com:tiago-peixoto/firstmate.git refs/heads/fm/divergence/supervision-owner-aware-recoveryandgit ls-remote git@github.com:kunchenguid/firstmate.git refs/heads/mainGH_REPO=kunchenguid/firstmate gh-axi pr view 2392Isolated candidate:bin/fm-fork-status.sh --repo <disposable-candidate> --fork-ref HEAD --facts-onlygit status --shortand evidence-directory cleanup audit✅ **Document** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.