Skip to content

fix(glados): make work board visible and clearable - #74

Merged
BreakTheBeta merged 3 commits into
mainfrom
fix/glados-board-self-management
Sep 22, 2026
Merged

BreakTheBeta merged 3 commits into
mainfrom
fix/glados-board-self-management

Conversation

@BreakTheBeta

@BreakTheBeta BreakTheBeta commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

An empty GLaDOS project scope hid existing work from work_read even though clients still rendered the board, and the only cleanup path rotated the home thread. A deeper authority audit also found that a scoped GLaDOS could see only part of the board while clear-board archived the entire environment.

This keeps existing board work discoverable when project scope is empty without granting implementation or dispatch authority, and adds a typed clear-board operation for elected GLaDOS at the user’s direction. Each clear durably snapshots the exact visible task, lead, and message IDs: a direct user clear targets the full board, while GLaDOS clears only its visible projection. Only those writers are stopped and drained; unrelated scoped work remains active, its authority generation is safely rebased, and its reports remain usable. The operation preserves remote ownership fences, coordinator identity, the journal, threads, worktrees, recipes, source configuration, idempotency, and revision/generation guards.

Durable task tombstones plus journal-level message idempotency reject delayed or replayed messages for archived tasks while allowing fresh coordinator messages. Timed-out drains remain pending and retry safely. Focused coverage includes empty scope (including old leads), active and stopped tasks/messages, paused role, unauthorized actors, visible board after clear, remote writers, scoped non-target writers, timeout/retry, and late results/messages.

Verification:

  • PATH=/home/will/.nvm/versions/node/v24.19.0/bin:$PATH NODE_ENV=test node_modules/.bin/vp test run apps/server/src/pitboss/Work.test.ts apps/server/src/pitboss/WorkRuntime.test.ts apps/server/src/pitboss/WorkStore.test.ts packages/contracts/src/pitboss.test.ts apps/web/src/components/pitboss/workView.test.ts — 5 files, 104 tests passed
  • Server, contracts, and web package typechecks passed
  • Changed-file lint passed with one existing prefer-array-find warning in WorkRuntime.test.ts
  • Targeted formatting and git diff --check passed

No screenshots: this changes work contracts and server projection/authority behavior, with no visual layout change. No live database, browser session, server restart, merge, or deployment was performed.

Implemented by gpt-5.6-sol through the Codex harness.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 22, 2026
@BreakTheBeta
BreakTheBeta merged commit 86712a8 into main Sep 22, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant