Repository navigation
pm-stack: prevent claimant startup from primary clone - #16932
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
1237-B (alpha DRIVE landings, 2026-11-29): claiming for merge under standing authority. Verified by full-diff read against the PR purpose (Closes #8170): (1) claimant.py main() refuses startup (exit 2, CLAIMANT-STARTUP-REFUSED) when cwd resolves to PRIMARY_CLONE, before _drop_inherited_lane/poll-module loading; PrimaryCloneStartupTests pin refusal-before-load and clean-worktree start; (2) pm-git-sync.sh parses git worktree list --porcelain and emits an ALERT each cycle when another registered worktree holds main — alert only, sync decision unchanged; quarantine shell test gains case 0 proving the alert. Body verification names both suites. No author merge gate in body or comments (only CodeRabbit skip notice); head unchanged since filing (18:36:36Z). CI is not a gate (Drew, 2026-11-29). Merging sha-pinned at 6249879. |
Summary
Verification
python3 -m unittest -v test_claimant.PrimaryCloneStartupTestsbash pm-stack/scripts/pm-git-sync-quarantine.test.shCloses #8170
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T18:36:19Z", "session_id": "ses_e5dd7751d27ffeNu9boSeDJqgS", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/oc-code-06-8170-20261129T102436Z-b0342c0b", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/oc-code-06-8170-20261129T102436Z-b0342c0b", "repo": "developing-today/code", "branch": "oc-code-06/8170-prevent-primary-clone", "sha": "62498794c81c89604e3e28dbb782837295937d4b" }, "auth_subject": "oc-code-01", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.