Skip to content

Keep Colony health from chasing stale plan rows#511

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/fix-colony-health-stale-queen-ready-plan-2026-05-10-15-23
May 10, 2026
Merged

Keep Colony health from chasing stale plan rows#511
NagyVikt merged 1 commit into
mainfrom
agent/codex/fix-colony-health-stale-queen-ready-plan-2026-05-10-15-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Health was reporting dashboard/static plan subtasks as Queen-ready work, then suggesting task_plan_claim_subtask targets that the Queen/MCP plan surfaces could not claim. The fix scopes Queen readiness through the queen participant marker, keeps Queen-owned orphan subtasks visible for repair, excludes archived Queen plans from ready-claim counts, and hides activation prompts when only non-Queen plan rows exist.

Constraint: Dashboard-generated plan rows can share spec/<slug>/sub-N branch shape without being Queen-managed claimable work.

Rejected: Directly archive or mutate the recodee plan rows | that would hide the symptom without fixing future health runs.

Confidence: high

Scope-risk: narrow

Directive: Do not count plan-shaped rows as Queen readiness unless the plan is owned by the queen participant or is a Queen orphan repair case.

Tested: pnpm --filter ./apps/cli test -- queen-health

Tested: pnpm --filter ./apps/cli test -- health-next-fixes

Tested: pnpm --filter ./apps/cli test -- health.test.ts

Tested: pnpm --filter ./apps/cli typecheck
@NagyVikt NagyVikt merged commit 5fa3496 into main May 10, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-colony-health-stale-queen-ready-plan-2026-05-10-15-23 branch May 10, 2026 13:36
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.

1 participant