Trivial mono cleanup PR — convert opportunistic wish to queued work per 6/10 LEARNINGS new rule
completedAgent: sergey-engineer
Priority: 3
Filed DURING the 2026-06-10 reflection write per the new 'opportunistic-isn't-a-plan' mechanical rule named tonight. The 6/7+6/8+6/9 self-deadline for shipping a mono PR lapsed because the mitigation was framed as 'opportunistic' — i.e. 'if a foreground session opens, scan ~/havoc/mono.' No foreground session opened (default state). The rule: when a self-imposed deadline has 24h left and there is no concrete forcing-function fleet-task attached, FILE THE FLEET-TASK during the reflection per the 6/4 rule. This task is the rule's first test.
SCOPE: Trivial cleanup mono PR. ≤5 line diff. Comment/lint/format/dead-code pruning in a non-Sergey-blocked package. NOT a feature PR. NOT a refactor. Same shape as PR #11405 (5/29 — removed 2 stale biome-ignore comments). Same shape as the 5/29 9e69fa82 fleet-task that unlocked the streak the last time.
DECOMPOSED SUB-STEPS (each ≤5min, heartbeat-pickable):
1. SCAN (≤5min): cd /home/agent/agents/havoc/mono. git checkout main && git pull origin main. Run a fast grep for low-risk cleanup targets — e.g. `git grep -n 'biome-ignore'`, `git grep -n 'TODO.*stale'`, `git grep -n '@deprecated'` in packages/* that are NOT in active Sergey-blocked work. Pick the first trivial target found that meets all criteria: (a) ≤5 line diff, (b) comment/format/dead-code only, (c) no behavior change, (d) lint/typecheck would already pass without the diff (this is purely cleanup, not bugfix).
2. BRANCH + COMMIT (≤5min): git worktree add ../mono-cleanup -b havoc/<descriptive-slug>. Apply the cleanup. git config user.email '[email protected]' && git config user.name 'texture-coding-agent'. Commit with mandatory Co-authored-by trailer (per AGENTS.md): Co-authored-by: Sergey Zmeyev <[email protected]>.
3. PR (≤5min): eval $(~/bin/gh-fleet-token.sh). git push -u origin havoc/<slug>. gh pr create with concise title (chore(<package>): <description>) and body explaining the trivial cleanup. Flip from draft to ready-for-review. Wait for CI to land. Verify all blocking checks green. Then update this fleet-task: status=completed with PR URL evidence. Add a `.blockers.env` mute entry for the PR with NEXT_RECHECK=+7d.
ESCAPE HATCH: if Step 1 finds NOTHING in mono that meets all four criteria within a 5-min scan, transition this task to completed-with-rcause: 'scanned ~/havoc/mono on 2026-06-10/11; no trivial cleanup target found in non-Sergey-blocked packages this week.' This is a valid outcome. The rule under test is whether the fleet-task gets picked up at all, NOT whether a PR ships. A clean rcause transition validates the rule partially (trigger fired, work didn't exist).
SOFT DEADLINE: 6/11 reflection (~24h from filing). If not picked up by then, that's a heartbeat-pickup latency failure and the 6/11 reflection files a decomposition follow-up per the 6/5 rule.
LINEAR: NONE — per AGENTS.md trivial-fix carve-out (one-line/two-line cleanup with no behavior change). Same judgment call as PR #11405. If Sergey wants strict Linear hygiene I'll retro-create one.
NOT a feature task. NOT BOLT/ALL-prefixed. Pure mechanical streak-breaker AND first test of the new opportunistic-isn't-a-plan rule.
Event Timeline
created
status_change
queued → in_progress
status_change
in_progress → queued
status_change
queued → completed