Repository navigation
Rebuild main as upstream/main + the re-implemented fork patch set (Option A) - #22
Merged
Merged
Conversation
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.
What this is
This rebuilds the fork's
mainas currentupstream/mainplus a hand-re-implemented fork patch set (the captain-approved Option A). The branch is built fromupstream/mainand carries every still-needed piece of fork-original work as fresh, reviewed commits - one unit per commit, each naming the fork PR/commit it replaces.86ff1bf5e67bdb3eef82b1abb9f5838b8558f7c8(this branch is a strict descendant of it).upstream/mainhas since advanced toe075c964dfa5dad072199c6f7b4f2230f6f9bf37; this branch is not rebased onto it (that is a future, separate sync).origin/mainandupstream/maindiverged long ago (291 upstream vs 19 fork commits at the reconciliation baseline), so GitHub cannot build a merge commit and no fast-forward is possible. This PR is a reviewable presentation of the reconstructed history; landing it requires the captain's separate main-replacement sign-off (force-updatingorigin/main, or switching the default branch), which is the destructive, irreversible step AGENTS.md reserves for explicit captain authority. Do not attempt a normal merge.Unit inventory
Re-implemented by hand against current upstream (not mechanical cherry-picks; upstream rewrote several of these files, so each was relocated/reworked):
5bb9217fm-landed-lib.shfactored fresh from upstream's current predicate (report decision 4)00adcb9(group G)--settingsthe sole authoritative one and strengthened its regression testprojects[]fleet-snapshot surface only--contractfor the snapshot vocabularyin_flight.repo,secondmate_reconcile)Dropped as superseded by upstream: fork PR #16 (keep parked tasks off the wedge escalation ladder) - upstream's watcher independently grew the same declared-pause/captain-held long-cadence handling (8 watcher + 7 daemon references, 15 tests), so the accepted behavioral intent already holds upstream. Also dropped: the fork's source-byte-asserting tests (replaced with behavioral tests) and fork changes already present/superseded upstream (e.g. the public-followup date-stability fix).
Deferred to a follow-up (by captain decision): the #18 Bearings display integration - posture-aware Captain's Call / Charted Next gating - because upstream independently rewrote the Bearings captain-hold/gate model (the fork's
deferred_markerfield was replaced byhold_bucket/live_captain_call). It must be rebuilt against upstream's currenthold_bucket/live_captain_callmodel rather than ported from the fork.Test evidence
The no-mistakes pipeline's own review, test, document, and lint gates passed on this content earlier today (its CI step cannot run because the PR is unmergeable; GitHub runs the workflow lanes only on
mainafter the main-replacement step).Full local suite on the pushed head: the no-mistakes pipeline's full test step passed on this content (its review, document, and lint gates passed too). Locally on the pushed head: every changed unit's behavioral tests pass, the test-coverage guard confirms the complete 185-test partition (185 total: 24 parallel, 147 serial, 14 real-herdr-gated), and
bin/fm-lint.shandbin/fm-doc-audience-check.share clean. An exhaustive serial re-run of the portable suite (171 tests, real-herdr-gated excluded as it needs a live harness) is additionally in progress with 0 failures so far (14/171 completed at capture time).Landing and re-tracking the running install (report section 4)
After the captain approves the main-replacement and
origin/mainis rebuilt as this branch, the running install's localmain(which currently tracksupstream/main) should be repointed and fast-forwarded. This is a live firstmate home, so only a plain fast-forward is permitted - never a reset or force:After that,
bin/fm-update.shbehaves as designed (it fast-forwards fromorigin), and every subsequent upstream advance flows throughorigin/mainvia ordinary PRs instead of a giant squash-merge.🤖 Generated with Claude Code