Repository navigation
feat(themes): give the bedroom time of day, weather, a hallway, a television that reacts to Claude and sound - #17675
Conversation
The hand-drawn room takes an optional look (the row of the day and the weather) and draws the window's sky, clouds, land, stars, fireflies, yard light and rain for it. With no look the room is byte-identical to 0.2.1: 768 states compared, every switch combination, dim 0 and 0.3, with and without the shader, with titles. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t reacts to Claude and a hallway The bedroom's module moves into hooks/bedroom/core/ and hooks/bedroom/pieces/, and its shader is rebuilt with four new parts: - time of day on the real clock, or held with /bedroom time; - weather, auto or chosen with /bedroom weather; - the television flickering while Claude works and banding as the context fills (/bedroom signal); - the hallway's passes and hall light (/bedroom hall). The settings card gains rows for time and weather and on/off buttons for signal, hallway, shader and sound. /bedroom shader off draws the hour and the weather into the hand-drawn room; /bedroom sync redraws every switch from what is saved. Settings 0.2.1 saved under bedroom:saved load unchanged. The module writes no file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
/bedroom sound on plays the television's click, cicadas from dusk through the night when it is dry, rain, and thunder in a storm; /bedroom sound test plays a silent file. The sounds are synthesized by code, not recorded. Nothing reaches the engine while sound is off, and it is off until turned on. macOS plays through the app; elsewhere a player found on PATH, or the soundPlayer setting, runs once per play. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…llway and sound The README gains a section for the new pieces, the seven-row card and the new /bedroom words; a minor change fragment lists the additions and the one changed answer (a switch already in the state asked stays as it is). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…der out of the size check The themes README gains the generated options reference for its new settings. lights.ts is one shader module generated from GLSL and loaded as a single file, so the code-metrics size check excludes it beside the other generated files. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d answer The plugin's description and its catalog line no longer say the room is at dusk. The change fragment lists the card's seven rows, instant off kept across sessions, and reset's wider reach. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts own loop Each sound now plays through $.process.spawn, whose child the engine ends when the read of its output stops or the module unloads; process.run had no way to end a clip, so sound off waited for it. The Windows player is WPF's MediaPlayer, which takes a volume, repeats a loop itself and writes a dot every 200 ms, so a stop lands within one beat; ffplay repeats with -loop 0 and writes its status line. Off, a change of loop, recording or volume, and unloading end the playing child. The loop follows the weather as soon as it changes: rain, a downpour and a storm each have their own loop, cicadas play only when dry from dusk through night. Before, a loop changed only at the first minute tick after the playing clip ended, and rain, downpour and storm shared one file. The loops and the thunder are cut from public-domain and CC0 recordings, two of each, chosen by /bedroom sound pick; sounds/bedroom/SOURCES.md lists each with its page and licence. The television's on and off sounds are made again: a relay click, a short quiet degauss, the flyback whine and static. /bedroom sound volume 0-100 sets every sound's volume, kept in the store. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ime from dawn to night The card was eight rows in the app and its last row was cut off. It is now six: the head (with a titles button), the switches with room for three more buttons, the time from the earliest light to night, the weather, dim, glass and blur with the signal and the hallway, and sound with its volume steps and the last answer on one line. The four title fields show on a seventh row while titles is on. The shader button is gone: shader off is a typed command for diagnosis, held for the session only and never stored, so a new session starts with the shader on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…x-row card Also names the build time-weather-sound-2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… takes on a loaded machine Co-Authored-By: Claude Opus 5.5 <[email protected]>
…own page states CC0 The Park Service recordings' own pages carry no license line; the public domain statement is on the index page that lists them. The second thunder is now three rolls from a freesound recording whose page states Creative Commons 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eather, light the hall The window keeps the dusk view's trees, far treeline, field, pole and wires at every hour, lit for it: shaded foliage by day, a deep blue sky with stars and the moon at night, never a black window. Overcast covers the sky with cloud; rain, a downpour and a storm differ in how much falls, how fast and long the streaks are, the drops on the glass, the veil and the sky, and a storm slants the rain. The hall light lights the whole gap beside the door and a wedge of floor, and a passer-by's shadow crosses the gap. /bedroom hall pass, /bedroom hall light and /bedroom weather strike run one event now, sent to the shader as a cue on world codes the atmosphere never uses. core/schedule.ts exposes forcedStrikeAt() and STRIKE_SHOWS_MS for the sound piece's thunder. lights.ts is generated from the shader's sources, kept outside this repository. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he hand-drawn room With the television, the tape and the console all on, the shader shows the tape and the hand-drawn room showed the console's title card. The hand-drawn room now follows the rule the shader keeps: with the tape in, the tape has the screen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ture Takes Group A's card, sound, recordings and shader-off changes at a906cef over the picture work. The README keeps the picture's hallway text and command rows and Group A's removal of the shader-off section and row. The README, the changes fragment, the signal setting's description and the claude-tv reply no longer promise the rolling band, which this build leaves out for cost. The build is time-weather-sound-3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The dusk keeps more of the lit room on the furniture: the desk, the chair, the dresser's drawers and top, the television's stand and the console, the guitar and the door read in shadow, where they sank into black, and the wall keeps its darkness. The desk lamp lights more of the desk and the near side of the chair, and the lava lamp's glow on the wall is stronger and wider. This changes the dusk approved before, so it is a commit of its own: reverting it puts that dusk back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The room under the shader draws the switch's toggle up, as the light is on there; the shader now snaps it down, over the plate and the slot, once the light is under half on, so the toggle follows a click at once without the room being sent again. The hand-drawn room already draws the toggle for its own state; a test now holds it. To stay within the frame cost, the television's working flicker drifts with two slow waves in place of a noise read, and the night sky no longer covers the thin strip under the upper sash's bottom rail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both sides added one path to the size check's exclusions in docs/conventions/code-metrics.yaml; both are kept. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9f3d11fbb8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The docs-naming check requires lower-kebab-case file names, so sounds/bedroom/SOURCES.md becomes sources.md, with its three references. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Chunk 1 of 2 (40 files)claude-security-review, chunk 1 of 2 at I found no security issues in this chunk. I read all 40 files in the chunk, every hunk: the manifest, the README and changelog, What I checked
Out of scope for this chunk. The protected-class list in the instruction exception register was not needed: this chunk deletes, narrows or softens no standing instruction. Spend. None: the change spends no prepaid credit and can cause no charge. Manifest lines (9)
Chunk 2 of 2 (25 files)claude-security-review, chunk 2 of 2 (25 files: This chunk has no security findings. An earlier head of this pull request was already reviewed, so this review reports blocking findings only. What I checked
No trust control, merge hold, workflow, token request or instruction file is in this chunk. The manifest change ( critical-findings: 0 |
|
claude-review reviewed Chunk 1 of 2 (40 files)claude-review (chunk 1 of 2, blocking only): this lane already reviewed an earlier head ( Blocking
Settled points not raised again. These threads are resolved, and the job's check found no lines changed since:
I found no new blocking correctness defect in Closing issue: none. The PR body says "No related issue". So no criteria were checked, and no spec text gives a reason for any loosening. Loosened checks would be marked: fail (default: the prompt has no Path-scoped rules: Advisory and manifest lines (5)
Verifier dropped 0 of 3 candidates. Chunk 2 of 2 (25 files)claude-review, chunk 2 of 2 (25 files): no blocking findings. I read every hunk of this chunk's 25 files: the new pieces ( The prior-findings file says What I checked and found sound:
Loosened checks. No loosening in this chunk. The test timeouts here are on new tests, not raised ones. The rewritten switch-order test in Other notes:
Verifier dropped 0 of 0 candidates. critical-findings: 3 Findings not posted inline (their lines are not in the diff):
This line adds
The PR has no closing issue, so no spec text names this exclusion or says why. The reasons in the PR body and in the owner's thread reply (the file is generated) do not count as a spec reason under this criterion. A loosening clears only when it is undone or when the spec allows it, so resolving the thread does not clear it. Fix: remove the exclude entry, or have the issue this change resolves name the entry and say why.
Two existing tests that ran under the kit's default timeout now carry
A slower card render or command path that would have failed them before now passes. No spec text names either raise or says why: there is no closing issue, and the reply on the earlier thread is not spec text. The thread being resolved does not clear this finding. Fix: drop the raised timeouts, or have the spec name these two tests and give the reason.
Two new fields carry an
A userConfig field that gains Fix: name the client version that supports |
…quest Both review lanes mark a pull request partial when it carries binary files they cannot read, and a partial review fails the required check. The 16 recordings leave this change and follow in their own, through the repository's generated-data list. Sound stays off by default; turned on before the files arrive, it plays nothing. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…uest The owner wants the release to carry the recordings. This restores the 16 files and the wording that describes them as shipped. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Post-merge mutation testingKilled 0, survived 7, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: the contract half of melodic-software/ci-workflows#1160, which the owner approved (metadata review of media files, limited to base-declared folders). ## Summary Lists `media-paths` among the inputs a caller may pass to ci-workflows `pr-review-cli.yml`. ## Fix - `components/runner-policy/policy.json`: adds `media-paths` after `generated-data` in that reusable's `allowedInputs`. The input is optional with an empty default, so a caller that does not pass it sees no change. ## Verification - The diff is one added list entry, the same shape as #1056. ## Related - melodic-software/ci-workflows#1160 adds the input. - melodic-software/claude-code-plugins#17675, the pull request whose recordings made both review lanes partial. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
) No related issue: the contract half of melodic-software/ci-workflows#1162, which the owner approved (executables and archives need human review by default, with a path and SHA-256 allowlist). Owner decision: executables and archives need human review by default, with a path and SHA-256 allowlist. Q3 in the session that traced melodic-software/claude-code-plugins#17675, verbatim: "go w/ recommendations"; and on opening this contract change, verbatim: "Wouldn't we want to open them?" ## Summary Lists `binary-allowlist` among the inputs a caller may pass to ci-workflows `pr-review-cli.yml`. ## Fix - `components/runner-policy/policy.json`: adds `binary-allowlist` after `media-paths` in that reusable's `allowedInputs`. The input is optional with an empty default, so a caller that does not pass it sees no change. - Why admitting the input does not loosen review: before melodic-software/ci-workflows#1162 no executable or archive was held at all. The allowlist exempts a file only from that new hold, and only by exact path and SHA-256 read at the merge base, so a pull request cannot exempt its own file. A caller that passes no allowlist gets the hold on every such file. ## Verification - The diff is one added list entry, the same shape as #1079. The file still parses as JSON. ## Related - melodic-software/ci-workflows#1162 adds the input. - #1079 allowed `media-paths` the same way. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: the next step for the bedroom theme after #17497 and #17528.
Summary
The bedroom theme gains time of day, weather, a hallway outside the door, a television that reacts to Claude working, and sound (off by default). The settings card gains controls for them.
Draft on purpose: the owner is hand-testing this build in the desktop app, and more fixes to the sound and the outdoor art follow on this branch before it is marked ready.
Fix
/bedroom time auto), or holds one of eight named hours. The view outside the window keeps the dusk scene's shapes at every hour, with a moon and stars at night.autochanges every three hours and never picks a storm./bedroom weather strikeforces one lightning pulse in a storm./bedroom hall passand/bedroom hall lighttrigger them./bedroom signal)./bedroom sound on): cicadas in dry weather from dusk through night, rain, downpour and storm beds, thunder, and the television's switch. One looping player per bed that stops at once; a volume setting; two recordings per kind to choose between. Each recording's source and licence statement is inplugins/themes/sounds/bedroom/SOURCES.md.titlestoggle for the title fields, volume steps, and no shader button.hooks/bedroom/coreandhooks/bedroom/pieces.lights.tsis generated and excluded from the size check.bedroom:savedload unchanged.Verification
claude plugin test plugins/themes: 88 pass, 0 fail.claude plugin validate plugins/themes: passes with warnings; shader cost 2.25 ms a frame and 2.49 ms the first frame.scripts/check-affected.sh: 17 passed, 3 skipped.Related
🤖 Generated with Claude Code