Repository navigation
Improvement: module:doctor checks what a module costs installed and used nowhere - #1864
Merged
Merged
Conversation
…sed nowhere Above 0.2 points of the frame interrupt at rest (test procedure step 9) a release from 2026-11-20 fails unless it is a machine or answers ev_in_use; earlier releases are reported. Both figures are named constants for the owner to change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
…ine or effect passes only with its detours marked rests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
module:doctorgets a cost at rest line (atRestStatusinscripts/module-cpu-price.mjs). One measure: the test procedure's step 9,device:price's at-rest reading: the frame interrupt's share (guard, 8 s) the module adds while the pattern plays, installed and used nowhere, on a development twin of the base, against the same scene without it. The check takesatRestAdds.framefromevidence/cpu-price.json, or, for a module without an effect slot, a declared pricedevice:pricetook; a machine's render price or another tool's figure is never compared with the limit. Euclid's 2.5 and Tape Echo's 0.4 are this measure, taken on base 0.7.8 and the Tresor Prep scene on 18 November; they were not in the 24-package set of the record, where 18 modules read 0.0. AboveAT_REST_LIMIT(0.2 points) a release dated fromAT_REST_FROM(2026-11-20; the date of its version in its changelog, or a version with no entry yet) fails, unless the module answersev_in_use, or is a machine or an effect (the base rests those, Improvement: Octatrack base rests machine modules no track uses #1849) that marks its frame detours"rests": the base takes its handlers out by itself, but its own detours rest only where it marks them. Earlier published releases are reported, not refused, so nothing published breaks. On main today it reports Euclid (2.5 at rest), Repitch (0.8), Tape Echo (0.4) and Track Solo (0.3), and fails none. The 0.2 figure and the date are the owner's to change: both are named constants.docs/TEST_PROCEDURE.mdstep 9 now names the pass figure, anddocs/MODULE_PERFORMANCE.mdsays what "in use" means and how to declare it. A changelog entry.scripts/module-cpu-price.test.mjs(15 tests: under and over the limit, a release before and after the date, an effect read from its readings, a module that answersev_in_use, a machine, and every module on main failing none),module-doctor.test.mjs, the docs tests;npm run module:doctor -- repitchshows the warning.npm run pr:readyafter merging main (with Fix: Tape Echo and Euclid standalone recipes pin their current inputs, and a test keeps the pins honest #1862): Ready, sdk:check included.Edge cases: none, because the change reads committed records and runs on no instrument; its boundaries (exactly 0.2, a release dated on the day, no changelog entry, an effect with a slot price) are in the tests.
🤖 Generated with Claude Code
Refresh verification: Merged current
mainand retained its expanded resting-module guidance alongside the proposed threshold. The current catalog and boundary cases passed in the local readiness run.