You're offline — showing cached data

Keep luci-persistent on master and clean-fast-forward origin updates

persistent-luci-branch-guard
2026-06-13 06:13:42 SAST
← Back to Tasks

OVERRIDES runtime profile: uses direct_no_llm because the script only calls git + notify.py; no LLM call.

MC-3840 §15: persistent-luci session must stay anchored on master so CCGram worktree-picker, mc_hook auto-commit, and pool dispatch all see the expected default branch. This task runs every 15 min and enforces that discipline in monitoring.

MC-4718: the same guard now fetches origin/master and performs a live checkout update only when the repo is on the default branch, completely clean, behind origin, and fast-forwardable. Dirty, ahead, diverged, detached, or branch-drifted states are alert-only and never mutated. Alerts are transition-keyed so the task does not page every tick.

Source of truth for the branch discipline: docs/plans/2026-05-20-worktree-pool.md §2 goal 6 + §15.5. Source of truth for the sync gap: docs/solutions/mc-4709-recover-merge-sweep.md / MC-4718.

Every 15 minutes*/15 * * * *
Yes
shell
60s
No
in 1m (2026-06-13 06:15)

Task Definition

tasks/persistent-luci-branch-guard.md
shell
set
No
No
python3 /home/lucienne/workspace/scripts/persistent_luci_branch_guard.py

Edit Schedule

Result:
695
Runs (7d)
695
Completed
0
Failed
0
Timeout
100%
Success (7d)
1s
Avg Duration
mission-control luci persistent worktree-pool git

Run History (50)

StartedFinishedStatusDurationOutputLog
13m ago 13m ago completed 2s
branch-guard: ok (master, origin aligned)
View log
29m ago 29m ago completed 2s
branch-guard: ok (master, origin aligned)
View log
43m ago 43m ago completed 2s
branch-guard: ok (master, origin aligned)
View log
59m ago 59m ago completed 2s
branch-guard: ok (master, origin aligned)
View log
1h ago 1h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
1h ago 1h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
2h ago 2h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
2h ago 2h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
2h ago 2h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
2h ago 2h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
3h ago 3h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
3h ago 3h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
3h ago 3h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
3h ago 3h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
4h ago 4h ago completed 2s
branch-guard: ok (master, origin aligned)
View log
4h ago 4h ago completed 5s
Sent to Elmar DM branch-guard: ok (master, origin aligned)
View log
4h ago 4h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
4h ago 4h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
5h ago 5h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
5h ago 5h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
5h ago 5h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
5h ago 5h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
6h ago 6h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
6h ago 6h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
6h ago 6h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
6h ago 6h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
7h ago 7h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
7h ago 7h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
7h ago 7h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
7h ago 7h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
8h ago 8h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
8h ago 8h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
8h ago 8h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
8h ago 8h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
9h ago 9h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
9h ago 9h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
9h ago 9h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
9h ago 9h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
10h ago 10h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
10h ago 10h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
10h ago 10h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
10h ago 10h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
11h ago 11h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
11h ago 11h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
11h ago 11h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
11h ago 11h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
12h ago 12h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
12h ago 12h ago completed 2s
branch-guard: ahead=1 behind=9; manual reconcile required
View log
12h ago 12h ago completed 2s
Sent to Elmar DM branch-guard: ahead=1 behind=9; manual reconcile required
View log
12h ago 12h ago completed 2s
branch-guard: behind by 9, dirty; skipped fast-forward
View log

Comments (0)

No comments yet — add instructions for Luci
Help