Skip to content

fix(bin): make PR merge detection Bitbucket-capable and destination-branch aware - #3127

Closed
simonwarmup wants to merge 9 commits into
kunchenguid:mainfrom
simonwarmup:fm/fm-bitbucket-pr-tracking
Closed

simonwarmup wants to merge 9 commits into
kunchenguid:mainfrom
simonwarmup:fm/fm-bitbucket-pr-tracking

Conversation

@simonwarmup

@simonwarmup simonwarmup commented Aug 26, 2026 •

Copy link
Copy Markdown

Intent

Implement dest-aware, git-based landed-work detection, closing kunchenguid/firstmate issue #3110.

Two defects, one root cause:

  1. No Bitbucket PR could be tracked: fm_pr_url_parse in bin/fm-pr-lib.sh accepted only GitHub /pull/
    and GitLab /-/merge_requests/, so bin/fm-pr-check.sh refused a Bitbucket /pull-requests/ URL
    and never armed a merge poll.
  2. The existing git test in fm-teardown.sh's content_in_default() compared against the repository's
    DEFAULT branch, not the pull request's DESTINATION branch, so any PR targeting a non-default branch
    read as "not landed" regardless of reality. This is forge-agnostic; it affects GitHub and GitLab
    identically, Bitbucket merely exposed it first.

Implementation, per the maintainer's requested shape:

  • Record the pull request's destination branch (and origin repo identity) in state/.meta at arm time.
  • Generalize content_in_default() to take a ref, defaulting to the default branch only when no
    destination is recorded, and have work_is_landed() use the recorded destination.
  • Make the git test (cheap ls-remote probe, then single-branch fetch, then
    merge-base --is-ancestor, then merge-tree content-equality fallback) the primary merge detector for
    every provider, keeping any forge API call as enrichment only.
  • Preserve fail-closed behavior: merge-tree returns non-zero on conflict, and an inconclusive result
    refuses rather than guessing.
  • Respect FM_CHECK_TIMEOUT with a bounded fetch and clean timeout path.
  • Cache the destination tip only AFTER an evaluation fully completes, and only write any suppression
    marker after the resulting wake is durably recorded, so an interruption never permanently suppresses
    a merge detection; prefer a duplicate wake over a lost one.
  • Bind the git evidence to the pull request's actual destination repository identity (the effective
    fetch URL a clone actually resolves to, not just the configured remote.origin.url label, since an
    insteadOf rewrite or a multi-valued remote.origin.url can diverge from it) rather than to a branch
    name alone, both in bin/fm-pr-poll.sh's merge poll and in bin/fm-teardown.sh's content_in_branch, so
    a same-named branch on an unrelated or forked repository cannot be misread as this PR having landed.

Tests: cover a Bitbucket URL now parsing and arming, and the landed test using a recorded destination
in preference to the default branch, plus the origin-identity and interrupted-marker regressions above,
following the existing pattern in tests/.

Related open PR #891 ("make fm-teardown's landed-work proof forge-agnostic") adds
a default-branch patch-id fallback and Bitbucket URL parsing inside teardown's own PR-number parser,
but records no destination, does not generalize content_in_default, and does not make fm-pr-check.sh
arm a git poll; this change is complementary, not a duplicate, and should be called out as such in the
PR body.

What Changed

  • fm_pr_url_parse (bin/fm-pr-lib.sh) now accepts a Bitbucket Cloud /pull-requests/<n> URL alongside GitHub and GitLab, and bin/fm-pr-check.sh records the pull request's destination branch as pr_dest= in state/<id>.meta at arm time (from an optional third CLI argument, auto-derived from gh's baseRefName for GitHub, or carried over on a same-URL re-arm), so a Bitbucket PR can be armed and a PR targeting a non-default branch is checked against its actual destination instead of always the repo's default branch.
  • bin/fm-pr-poll.sh and bin/fm-teardown.sh's content_in_default/content_in_branch now run a git-based landed-work test (cheap ls-remote tip probe, then a bounded single-branch fetch honoring FM_CHECK_TIMEOUT, then merge-base --is-ancestor, then a merge-tree content-equality fallback) as the primary, forge-agnostic merge detector, generalized to take a destination ref (falling back to the default branch only when none was recorded) instead of hardcoding the default branch; each forge's API (gh/glab) is now only enrichment that can add a detection but never override a git-confirmed result, and Bitbucket relies on the git test exclusively.
  • Both the poll and teardown git tests now bind to the pull request's recorded destination repository identity by comparing the worktree's effective origin fetch URL (post insteadOf/multi-valued resolution) against its configured URL and against the validated host/path, so a same-named branch in an unrelated or forked repo can't be misread as landed; the destination-tip cache is written only after a conclusive not-landed evaluation completes and only after the resulting wake is durably recorded, so an interruption can produce at most a duplicate detection, never a suppressed one.

This is complementary to the separate open PR #891, which adds its own default-branch patch-id fallback and Bitbucket URL parsing inside fm-teardown.sh's PR-number parser but records no destination, does not generalize the default-branch comparison, and does not make fm-pr-check.sh arm a git-based poll.

Risk Assessment

✅ Low: All required acceptance criteria are implemented correctly (Bitbucket URL parsing/arming, pr_dest recording with correct same-URL-only carry-over, generalized content_in_branch/git_merge_check using the recorded destination with default-branch fallback, git-based primary detector with fail-closed inconclusive handling, HEAD-sensitive tip caching that only persists after a conclusive not-landed result, and origin-identity binding via effective-vs-configured URL comparison shared correctly between fm-pr-poll.sh and fm-pr-lib.sh); the two substantive issues raised in prior review rounds (pr_dest wipe on Bitbucket re-arm via fm-pr-merge.sh, and forge-API not behaving as a true safety net) were both fixed exactly as the user directed, and I traced the current code to confirm those fixes are correctly in place with no regression; a broad new test suite exercises the real fm-pr-poll.sh/fm-pr-check.sh/fm-teardown.sh binaries against real git fixtures (origin-identity spoofing, insteadOf rewrites, multi-valued URLs, merge conflicts, cache HEAD-sensitivity) rather than asserting on source text, satisfying the test-quality rule; the one leftover commit only deletes an accidentally-committed near-duplicate debug test file with no coverage loss.

Testing

In progress: fm-teardown.test.sh's 5 new dest-aware/origin-identity tests pass; fm-pr-check-security.test.sh (Bitbucket parsing + git-primary-detector tests) still running in background.

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.

  • bash tests/fm-teardown.test.sh (copy, with pre-existing-unrelated herdr-preflight test disabled)
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@greptile-apps

greptile-apps Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5

The PR is not yet safe to merge because valid GitHub destination repositories can be rejected solely due to capitalization differences between the PR URL and origin URL.

Repository identity paths are compared byte-for-byte even though GitHub owner and repository identity is case-insensitive, disabling the primary landed-work proof and potentially blocking teardown for genuinely merged work.

Files Needing Attention: bin/fm-pr-poll.sh and bin/fm-pr-lib.sh

Reviews (2): Last reviewed commit: "no-mistakes: apply CI fixes" | Re-trigger Greptile

Comment thread bin/fm-pr-poll.sh Resolved
Comment thread bin/fm-pr-poll.sh Resolved
@simonwarmup
simonwarmup marked this pull request as draft August 27, 2026 05:09
… destination

fm_pr_url_parse now accepts Bitbucket Cloud pull request URLs, so
fm-pr-check.sh can arm a merge watch for them (no forge CLI required).
fm-pr-check.sh records the pull request's destination branch as pr_dest= at
arm time - auto-derived from gh for GitHub, or from an optional third
argument when no forge can supply one (GitLab and Bitbucket).

fm-teardown.sh's content_in_default() is generalized to content_in_branch(),
which compares against the recorded destination and falls back to the
default branch only when none was recorded; work_is_landed() now passes the
recorded destination. This fixes false refusals for any pull request that
does not target the default branch, on every forge.

fm-pr-poll.sh gains a git-based primary merge detector for every provider,
using a cheap ls-remote probe and a per-task tip cache to stay inside
FM_CHECK_TIMEOUT on a large repository; each forge's own API remains a
fallback for when the git test cannot run. Bitbucket has no forge case at
all, so this git test is its only path to a merged verdict.

Closes kunchenguid#3110.
…PR's own repo

Two reviewer objections against the git-based merge detector in
bin/fm-pr-poll.sh, both design problems in the primary landed-work test
added for issue 3110:

1. The destination-tip cache was written on a LANDED verdict before this
   script's caller had any chance to durably record the wake. A crash
   between this script's exit and the wake landing in bin/fm-watch.sh's
   durable queue would leave the tip cached as "already evaluated", and
   because a merged branch's tip does not move again, that merge would
   never be detected a second time. The cache is now written only on a
   conclusive NOT-landed evaluation; a landed verdict is never cached, so
   an interrupted delivery repeats the (cheap) git test next cycle instead
   of silently losing the merge forever.

2. The git test trusted any branch reachable through a remote literally
   named "origin", with no check that origin actually resolves to the pull
   request's own validated host and path. A same-named destination branch
   in a fork or an unrelated repository with equivalent content would have
   read as "landed" while the real pull request was still open.
   git_origin_matches_repo() now binds the test to that repository identity
   before any fetch runs.

Covered by five new tests in tests/fm-pr-check-security.test.sh: repeat
detection survives an uncached landed verdict, a not-landed evaluation
still caches its tip, and three shapes of an unrelated-origin mismatch are
refused rather than misread as landed.
Round-3 adversarial review of a50957b (report saved at
/Users/simon/.firstmate/data/fm-detection-review/report.md) reproduced two
working bypasses of the prior commit's origin-identity check and found its
own regression test could not fail. Answers every finding below.

F1 (HIGH, origin binding didn't constrain the fetch) and F2 (HIGH, the test
naming that objection couldn't fail): fixed together.
git_origin_matches_repo (bin/fm-pr-poll.sh) and its new shared twin
fm_pr_git_origin_matches_repo (bin/fm-pr-lib.sh, used by
bin/fm-teardown.sh's content_in_branch) now require `git remote get-url
origin` (the EFFECTIVE URL, resolving any local insteadOf rewrite and
picking the first value of a multi-valued remote.origin.url) to be
byte-identical to `git config --get remote.origin.url` (the CONFIGURED URL,
which does neither) before parsing it at all. Reproduced both the insteadOf
and multi-valued-url bypasses by hand first and confirmed they defeat a
label-only check, then confirmed this fix refuses both.
tests/fm-pr-check-security.test.sh's git fixture no longer relies on an
insteadOf rewrite to reach its local bare repo - that rewrite is now exactly
what the fix refuses - so it uses a real ssh://bitbucket.org/team/app origin
with GIT_SSH pointed at a wrapper that serves the local repo over the ssh
transport, matching how a real worktree cloned from a real forge looks (its
configured and effective URLs genuinely agree). New tests:
test_git_primary_detector_refuses_insteadof_rewrite and
test_git_primary_detector_refuses_multivalued_url_mismatch. Reworked
test_git_primary_detector_refuses_unrelated_origin_repository to point
origin at a genuinely reachable fork with equivalent content under a
different path, instead of an empty local directory two independent
mechanisms let it pass for the wrong reason before. Verified every new or
changed assertion by deliberately reintroducing each bug and confirming its
test goes red.

F3 (MEDIUM-HIGH, the redesigned cache still loses merges): fixed. The tip
cache is now keyed on "<tip> <head>", not the tip alone, and
git_ref_contains_head returns a genuine tri-state (0 landed, 1 conclusively
not landed, 2 inconclusive) so git_merge_check only ever caches a real
negative, never an inconclusive one (no HEAD, no destination tree, or a
merge-tree conflict). New tests: test_git_primary_detector_cache_is_head_sensitive
(a WIP commit makes the first check a real negative; dropping that commit
must re-detect the merge even though the destination tip never moved) and
test_git_primary_detector_does_not_cache_a_merge_conflict.

F4 (MEDIUM, the host half of the identity comparison was untested): added
test_git_primary_detector_refuses_matching_path_wrong_host, the mirror
image of the existing wrong-path test.

F5 (MEDIUM, five URL shapes git accepts were wrongly refused): fixed the
ones that are real regression risk for actual git remotes - correct
strip order for a trailing slash before .git, ssh:// with a trailing slash,
and the scp-like form now accepts any user (or none) before the host rather
than only a literal "git@", plus git+ssh:// and ssh+git://. Declined:
git:// and file:// support. Neither is a real Bitbucket/GitHub/GitLab
transport, and the rebuilt fixture no longer needs them (it uses a real
ssh:// origin instead of a local-path trick), so there is no remaining
production or test reason to add them.

F6 (MEDIUM, the origin binding needed to extend to bin/fm-teardown.sh):
fixed. content_in_branch now requires fm_pr_git_origin_matches_repo before
trusting origin at all, binding to the recorded pr='s host/path when one is
recorded and to transport safety alone when it is not - preserving the
existing, intentionally tested no-PR content-fallback behavior
(test_content_in_default_fallback_allows predates this branch and still
passes unchanged). The local-branch fallback is now gated to local-only
mode, since only there does "landed" mean "merged into local main" rather
than "the pull request merged upstream". Reproduced the reviewer's T1
(origin removed, work merged only into local main) and T2 (a multi-valued
origin redirects the real fetch) by hand first and confirmed both produced
a false "landed" under the prior code, then added
test_origin_removed_local_main_refuses_in_no_mistakes_mode and
test_multivalued_origin_mismatch_refuses_content_fallback, which fail
without this fix and pass with it. This required rebuilding
tests/fm-teardown.test.sh's fixture the same way as the poll's: every
case's worktree origin is now ssh://github.com/example/repo (matching
every existing pr= line already used throughout that file) via the same
GIT_SSH wrapper, since the raw local-path origin the fixture used before no
longer parses as a usable identity. Ran the full existing matrix (a-y,
z1-z3) after the rework; every pre-existing assertion still holds
unchanged.

F7 (LOW, pr_dest carry-over shipped with no test): added
test_pr_dest_carry_over_on_rearm, asserting preserve-on-same-URL,
drop-on-different-URL, and explicit-argument-wins in one test.

F8 (LOW, the prior commit message overclaimed its test count): this
message states exact counts instead. 8 new test functions across both
files (6 in tests/fm-pr-check-security.test.sh, 2 in
tests/fm-teardown.test.sh, enumerated above) plus one existing test
reworked for genuine teeth.

Verification: reintroduced each fix above individually (7 mutations across
bin/fm-pr-poll.sh, bin/fm-pr-lib.sh, and bin/fm-teardown.sh) and confirmed
its named test goes red; restored and reran clean before committing. Full
suites: tests/fm-pr-check-security.test.sh 52 ok / 0 not ok,
tests/fm-teardown.test.sh 63 ok / 0 not ok with the pre-existing
herdr-preflight-missing-adapter failure skipped (confirmed independent of
this branch by reproducing it identically on baseline a50957b with none of
this commit's changes applied; herdr is not installed in this test
environment). shellcheck 0.11.0 clean on every changed bin/ and tests/ file
via bin/fm-lint.sh.
@simonwarmup
simonwarmup force-pushed the fm/fm-bitbucket-pr-tracking branch from 21966a6 to 43a16cd Compare August 27, 2026 17:29
@simonwarmup simonwarmup changed the title fix(bin): track Bitbucket PRs and land-check against the recorded destination branch fix(pr-poll): add Bitbucket PR parsing and destination-aware git landed-work detection Aug 27, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

Reviewed HEAD bf07b781ee255d07d50cd2ff739f199f4cfec28a vs main 7ee0c192e9d664b022361bd4609303bebfc7de14. Whole thread read (Greptile P1s were on an older commit). Full diff reviewed: bin/fm-pr-lib.sh, bin/fm-pr-check.sh, bin/fm-pr-poll.sh, bin/fm-teardown.sh, bin/fm-watch.sh, docs, and the three test files. No .github/workflows/*. Not disguised security. simonwarmup is not blocked. PR is still a draft.

Class: corrective. Two real defects in #3110: Bitbucket /pull-requests/<n> URLs never parsed so a merge poll never armed, and content_in_default() compared against the repository default branch rather than the PR destination. Inspected code records pr_dest= at arm time, makes git (ls-remote / fetch / merge-base --is-ancestor / merge-tree) the primary detector, binds origin identity to effective==configured URL before fetch, and caches a destination tip only after a conclusive not-landed result (never a landed/inconclusive one).

VISION (per rule, inspected evidence):

  • One captain, one interface — aligns. False "not landed" / untrackable Bitbucket PRs were a dishonest merge reading.
  • Authority is explicit — aligns. Fail-closed on conflict/inconclusive; origin mismatch refuses rather than guessing landed.
  • Scripts own the mechanics — aligns. Deterministic URL parse + git ancestor/content test; forge API is enrichment only.
  • A restart is a non-event — aligns. Cache/suppression designed so an interrupted wake repeats detection rather than losing a merge (inspected git_merge_check / tip cache keyed on tip+head).
  • Delegation with a spine — aligns. Strengthens landed-work proof instead of weakening teardown.
  • The fleet outlives any vendor — aligns. Forge-agnostic git primary; Bitbucket is a URL shape, not a vendor UI binding.
  • Scope — aligns. PR-poll / teardown landed-work, not workshop.

Closes #3110 from body+code if it were the leftover and green: author body names #3110; inspected diff implements dest-aware git detection + Bitbucket parse. Fetch unstamped was not a merge vote.

Overlap hold: open #891 (mattwwatson) also changes bin/fm-teardown.sh landed-work proof (patch-id fallback + Bitbucket parse inside teardown's own PR parser). Complementary, not identical — but the same leftover class. Do not merge one while the other is open. #3126's teardown settings-restore is a different function and is not this hold.

Attestation: no-mistakes-pipeline-attestation:v1 head_sha 43a16cd3f7023f0cf00d745d9064cb7ace099978 does not match this HEAD (bf07b781…, later no-mistakes: apply CI fixes).

First-time fork CI: after that full-diff review I approved workflow runs 33101248856 (CI) and 33101248774 (Require no-mistakes) for this HEAD.

This is waiting on the author, not the captain: mark the draft ready, push an attestation whose head_sha matches HEAD, and keep #891 in play (overlap hold). Merge-eligible: NO.

@simonwarmup simonwarmup changed the title fix(pr-poll): add Bitbucket PR parsing and destination-aware git landed-work detection fix(bin): make PR merge detection Bitbucket-capable and destination-branch aware Aug 27, 2026
@simonwarmup

Copy link
Copy Markdown
Author

Request: please approve the held workflow runs — and a note on fork contributions generally

This PR's required checks cannot start. Both runs on the current head 575efa99 are sitting at conclusion=action_required, i.e. GitHub is holding fork-PR workflows for a maintainer:

There are no check runs at all on that commit. Approving via the API returns 403 Must have admin rights to Repository, so only a maintainer can release them.

The work itself is verified. I ran this project's full CI suite on 575efa99 in my fork, where runs are not held: all 12 jobs pass — run 33114646252. The pipeline also completed review, tests, documentation and lint with no findings.

The general problem, which is probably worth knowing about

This is not a first-contribution hurdle. Every push on this branch has been gated the same way — four pushes, four times held.

That interacts badly with the Require no-mistakes gate, which binds the pipeline attestation to the PR head. When the pipeline pushes to re-sign the attestation, that push re-enters the approval queue. So each cycle needs two maintainer interactions, not one, and an unattended pipeline run can never reach a real CI-green outcome from a fork — it parks waiting on checks that will never start.

Concretely, my run is parked at its CI gate right now with two findings that read as CI check failing: CI and CI check failing: Require no-mistakes. Neither is a merit failure; both are checks that never executed. I deliberately did not respond approve or skip to that gate, since either would advance the pipeline and produce an attestation asserting a validation that never happened.

If this is unintended, the repository setting is Actions → General → "Approval for running fork pull request workflows"; Require approval for first-time contributors would remove the per-push gate while keeping the protection that matters. Entirely your call — flagging it because the interaction with your own required-validation gate is not obvious.

The ask is just the one click: please approve the two runs above. I will not push again until they have run, to avoid re-queuing.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

Re-verified HEAD 575efa99e366dfef1417436358d807ba3722617c vs main 1fd7ea289b7a4c23a1fd9474680ed2facd6b7dd1. Whole thread re-read. PR is still a draft. Open overlap with #891 (mattwwatson, forge-agnostic landed-work proof) remains. No .github/workflows/*. simonwarmup is not blocked.

Class: corrective for #3110 (ready-for-pr). Dest-aware git landed-work detection + Bitbucket URL parse. Attestation / CI picture unchanged for this pass (no new action_required runs on this HEAD in the fetched window).

VISION.md per-rule:

  • One captain, one interface: aligns.
  • Authority is explicit: aligns (fail-closed inconclusive).
  • Scripts own the mechanics: aligns (git primary detector).
  • A restart is a non-event: aligns (poll must not lose a positive result — Greptile P1s were on older commits; still draft).
  • Delegation with a spine: aligns.
  • The fleet outlives any vendor: aligns strongly (Bitbucket + dest-branch).
  • Scope: aligns.

Not merging while draft or while #891 is open (overlap-hold). Waiting on author to mark ready / coordinate with #891. No auto-merge.

@simonwarmup
simonwarmup marked this pull request as ready for review August 28, 2026 07:08
Comment thread bin/fm-pr-poll.sh
Comment on lines +227 to +228
host_part=$(printf '%s' "$host_part" | tr '[:upper:]' '[:lower:]')
[ "$host_part" = "$host" ] && [ "$path_part" = "$path" ]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Path case rejects matches

When a GitHub PR URL and the worktree origin identify the same repository with different capitalization, git_origin_matches_repo compares their paths byte-for-byte and rejects the valid destination, preventing git-based merge detection and causing teardown to refuse genuinely landed work.

@simonwarmup

Copy link
Copy Markdown
Author

Split done — the uncontested majority is now #3224, and it touches no function #891 touches

Following your overlap-hold, I have carved this PR rather than argue with it.

#3224 carries the ~80% that closes #3110's first defect — a Bitbucket PR could not be tracked at all — on a fresh branch off current main. Its whole footprint in the contested file is one line, inside remove_pr_poll_artifacts(), adding a cache file to a cleanup list. #891 does not touch that function; remove_pr_poll_artifacts() is byte-identical between #891's base and its head.

That is the function-level standard you set on #3126 — "a different function and is not this hold" — applied here.

git merge-tree against #891's head auto-merges bin/fm-teardown.sh cleanly. The one conflict is in docs/gitlab-merge-watch.md, and it is not ours: #891 is based 77 commits behind and produces the identical conflict against plain main with our branch entirely absent. Both proofs are in #3224's description.

What stays here, until #891 resolves either way: teardown's header paragraph, content_in_default → content_in_branch, work_is_landed, their five test cases, and fm_pr_git_origin_matches_repo — held back because content_in_branch is its only caller. So #3110's second defect is unchanged from main by the split; the issue stays open for that half.

If #891 lands first, reconciling this remainder is small and already specified: give the destination-aware check the recorded destination instead of the default branch, and route its ref resolution through the same origin guard.

One thing to flag honestly rather than let you find it: the pipeline attestation on #3224 names 967077c8 while the head is cf864197 — its own CI step pushed a fix commit without re-signing. Same shape as the mismatch on this PR. I have not hand-edited either, for obvious reasons; it needs a clean re-push through the pipeline.

Also still outstanding here: the two workflow runs on this PR's head remain held at action_required, so its required checks have never executed.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

Re-verified HEAD 575efa99e366dfef1417436358d807ba3722617c vs main 1fd7ea289b7a4c23a1fd9474680ed2facd6b7dd1. Whole thread re-read, including the #3224 split. No longer a draft. Open overlap with #891 (mattwwatson, teardown landed-work proof) remains for the dest-aware remainder you left here. No .github/workflows/*. simonwarmup is not blocked.

Class: corrective for #3110's second defect (destination-aware landed-work). #3224 now carries the Bitbucket-tracking half; fetch why=closes-ready-for-pr is a sort hint, not a close proof, and this remainder does not close #3110 by itself.

VISION.md per-rule (same inspection as the prior pass; files unchanged on this HEAD):

  • One captain, one interface — aligns.
  • Authority is explicit — aligns (fail-closed inconclusive).
  • Scripts own the mechanics — aligns (git primary detector).
  • A restart is a non-event — aligns (interrupted wake must not lose a merge).
  • Delegation with a spine — aligns.
  • The fleet outlives any vendor — aligns strongly.
  • Scope — aligns.

First-time fork CI: the two runs on this HEAD were still action_required. After re-reading the diff I approved 33111901326 (CI) and 33111901202 (Require no-mistakes).

Attestation still does not match this HEAD (bf07b781… vs 575efa99…).

#3224 is not this overlap-hold (function-level: remove_pr_poll_artifacts only). This PR stays on hold until #891 resolves. Waiting on author for a matching attestation and on #891 — not a captain-decision hold. Merge-eligible: NO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants