Hygiene runs in the cloud — the board needs no machine - #259
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
brain_board.ymlclones 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--jsonpre-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 honestN/M repos presentcoverage header (a failed clone just lowers N — never a fabricated "clean").morning.sh/morning_timer.shstay as optional local conveniences, no longer the mechanism.hygiene.sh --jsonparsing, and a crashing helper used to emit an empty row and corrupt the whole document (,,). Helper-backed rows now degrade to a per-modeerrorrow, 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