Skip to content

Withdrawn - #4993

Closed
keenvc wants to merge 1 commit into
kunchenguid:mainfrom
keenvc:fm/fm-merge-authority-drift
Closed

keenvc wants to merge 1 commit into
kunchenguid:mainfrom
keenvc:fm/fm-merge-authority-drift

Conversation

@keenvc

@keenvc keenvc commented Sep 20, 2026 •

Copy link
Copy Markdown

Withdrawn by the author.

Merge authority was decided once at intake and never revisited, so a task
dispatched yolo=on kept that authority even after firstmate held it for the
captain, and the recorded authority and the merge path could disagree.

Fold the captain-hold predicate into fm_merge_authority_resolve, the single
owner of a task's standing merge authority, so a held task resolves to
captain-hold (or hold-unreadable) whatever its yolo posture or away grants say.
Remove bin/fm-pr-merge.sh's duplicate require_released_captain_hold and fold its
refusal into the shared gate, and have bin/fm-merge-local.sh share the same
predicate instead of repeating it.
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

First look on HEAD eec178c25e53b924964acb0ed8660b5705e3837d vs main dd9b2ef21fe6c06846ae74d9070ac2da971ae8e7. Whole thread read (body; no prior comments). Attestation MISMATCH (no no-mistakes-pipeline-attestation block). ~135 LOC: merge-authority-lib hold-first resolve, pr-merge/local share predicate, two regression tests.

Contract-class: restore. Independent tip-vs-main: main fm_merge_authority_resolve never reads captain hold — a yolo=on task still resolves yolo while held; require_released_captain_hold only gated the forge command in fm-pr-merge.sh, so authority record and merge path could disagree. Tip makes fm_merge_authority_captain_hold the first revoke in the shared resolver (captain-hold / hold-unreadable), deletes the duplicate gate, and shares it with fm-merge-local.sh. Concrete existing default path (captain hold revokes standing merge authority; VISION: merging requires captain word / authority never inferred) was broken; tip restores it. Unheld yolo beside a held twin still resolves yolo (test-pinned).

CI/NM: tip was action_required. Fork workflows approved this pass after diff review (tightens refusal; no new grant; no workflow/secret edits): CI 35482100933, Require no-mistakes 35482100930 — queued. MERGEABLE/UNSTABLE (behind main by 1 post-#4973 merge — no conflict). Missing attestation keeps NM red.

VISION.md (each rule)

  • One captain, one interface: aligns — held work stays held in authority views.
  • Authority is explicit: aligns strongly — hold outranks recorded yolo/away-grant; no inferred merge consent.
  • Scripts own the mechanics: aligns — one predicate owner.
  • A restart is a non-event: aligns (hold record remains authoritative).
  • Delegation with a spine: aligns.
  • The fleet outlives any vendor: aligns.
  • Scope: aligns (merge authority / captain-hold).

Decision: waiting-author — add matching attestation for this HEAD. Restore + safe review → auto-merge candidate once MATCH and CI+NM green. No Firstmate flag. Security: clean (strictly more refuse). No Closes/Fixes issue number verified (body describes closing a same-row hold case, not a GitHub issue).

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