Repository navigation
feat(t27b): watch -- rebuild the object when a spec or its use closure is saved - #10874
Merged
Merged
Conversation
…10859) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…constant (Refs #10859) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ure is saved (Refs #10859) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…build.t27 (Refs #10859) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…efs #10859) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
gHashTag
enabled auto-merge (squash)
October 19, 2026 05:27
… shrinks hand Rust (Refs #10859) 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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-10-19 05:48:35 UTC
Summary
Seal Status
|
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.
Closes #10859. Part of epic #10863.
t27b watch <file.t27> -o <out.o> [--then '<cmd>']builds once, then rebuilds the object after every settled save to the spec or to any spec in itsuseclosure.Where the decisions live
specs/tri/t27b/watch_build.t27(new): when a build starts, how long the loop sleeps, publish only on success,--thenonly after a successful build. It reusesspecs/verified/watch.t27(poll interval, idle look) andspecs/t27f/hot.t27(save debounce) throughuse; no rule restated. 6/6 tests pass undert27c test-report, 0 vacuous.specs/tri/t27b/usage.t27(new): the usage textt27b helpprints, moved out of a 29-line Rust literal. 2/2 tests, 0 vacuous.gen/rust/tri/t27b/watch_build.rs,gen/rust/tri/t27b/usage.rs:t27c gen-rustoutput, force-added becausegen/is ignored.cli/t27b/src/main.rs: thin glue, 40 added / 46 removed, so hand-written Rust shrinks (owner rule: no net growth). The build writes<out>.watch-tmpand renames it over<out>only on success, so a hot-reloading app never maps a half-written object.docs/reports/t27b_expectations.json: both new specs listed for the ratchet.Measured on the Railway lab
t27b watch specs/tri/t27b/watch_build.t27 -o /tmp/wt/wb.o --then 'date +%s%N >> then.log':--thenran once, exit 0;--thenran 45 ms after the save;specs/t27f/hot.t27): rebuilt in 94 ms;--thenran 0 times;cargo build --release -p t27bexits 0 on the lab, andt27b helpprints the generated text (2219 bytes).Inherited reds
Not from this diff:
scanflagsspecs/tri/worktrees/reap.t27,coverageflags gen-drift in six compiler seals, and the ratchet lists other unlisted specs already on master.🤖 Generated with Claude Code