Skip to content

Hygiene runs in the cloud — the board needs no machine - #259

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/pyautobrain-dashboard-o33z4r
Aug 23, 2026
Merged

Hygiene runs in the cloud — the board needs no machine#259
Jammy2211 merged 1 commit into
mainfrom
claude/pyautobrain-dashboard-o33z4r

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Human's call: "it can't be on a machine — can as much as possible be done in cloud? stuff like community doesn't need to be machine right?" Right — community (and overnight, readiness, versions, resume, autonomy, trend) already ran fully in the cloud. This PR moves the last movable piece:

  • Cloud hygienebrain_board.yml clones the hygiene conductor's scan set (libraries + organs + workspaces, from the body map) as blobless clones with a sparse text/code checkout, so the big workspace datasets never reach the runner; the render then runs the conductor's own --json pre-scan (BOARD_HYGIENE_SCAN=1 — opt-in, so terminal digests stay instant). The board gains a 🧼 Hygiene section: rows verbatim, chips are each row's own delegate door, with an honest N/M repos present coverage header (a failed clone just lowers N — never a fabricated "clean").
  • Dev box shrinks to its true remit — worktree state (unpushed branches, dirty checkouts, stashes), the one thing the cloud cannot see; its hygiene rows render only when no cloud scan ran. morning.sh/morning_timer.sh stay as optional local conveniences, no longer the mechanism.
  • Contract hardening — the render now depends on hygiene.sh --json parsing, and a crashing helper used to emit an empty row and corrupt the whole document (,,). Helper-backed rows now degrade to a per-mode error row, pinned by a nonexistent-scan-root test.

Validation: 426 tests pass (2 new: cloud-scan render + devbox supersession, helper-crash JSON validity); firewall gate green; real-conductor smoke on this container's partial workspace (4/18 repos) renders honest partial rows.

Post-merge: dispatch brain_board.yml — the first cloud-scan render is the proof.

🤖 Generated with Claude Code

https://claude.ai/code/session_019U2DF4JeeuWwxfx1v72c9r


Generated by Claude Code

The human's call: as much of the morning as possible in the cloud.
Community, overnight, readiness, versions, resume, autonomy and the
trend already were; hygiene's content scans never needed a machine
either — they need checkouts. brain_board.yml now clones the body-map
scan set (libraries + organs + workspaces) blobless with a sparse
text/code checkout (big workspace datasets never reach the runner; a
failed clone just lowers repos_present — hygiene reports coverage
honestly) and the render runs the conductor's own --json pre-scan
(BOARD_HYGIENE_SCAN=1, opt-in so terminal digests stay instant). The
board gains a 🧼 Hygiene section (rows verbatim, chips = each row's own
delegate door, honest N/M coverage header); the Dev box section keeps
only what the cloud cannot see — worktree state — its hygiene rows
rendering only when no cloud scan ran.

Hardening the contract the render now depends on: a crashing hygiene
helper used to emit an empty row and corrupt the whole --json document
(',,'); helper-backed rows now degrade to a per-mode error row, pinned
by a nonexistent-root test.

426 tests pass; firewall gate green; real-conductor smoke on a partial
workspace (4/18 repos) renders honest partial rows.

Co-Authored-By: Claude <[email protected]>
@Jammy2211
Jammy2211 merged commit b293725 into main Aug 23, 2026
2 checks passed
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.

2 participants