Skip to content

t27os: the hot loop in the run-local recipe -- t27b watch, and the window reloads itself - #12810

Merged
gHashTag merged 1 commit into
masterfrom
lane/t27os-watch
Oct 27, 2026
Merged

gHashTag merged 1 commit into
masterfrom
lane/t27os-watch

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Closes #12807. The one documented command that ties two existing laws together: t27b watch on the window's root spec, and on a save the ordinary make t27os -- the window execs its new binary itself (specs/t27os/hot_reload.t27). Docs only, zero foreign growth: the first attempt added a make target and the foreign-budget hook rightly refused it (the issue body tells that story). Measured 2026-10-27: an edit to specs/t27os/queen_dash.t27 while the watch ran produced a full rebuild ending built target/t27os/T27OS.app (build 7647, signed with -) with the open window hot-swapping -- 4 rebuilds in one session. phi^2 + 1/phi^2 = 3 | TRINITY

@tri-claw

tri-claw Bot commented Oct 27, 2026

Copy link
Copy Markdown

Summary by t27-bees

This PR documents an existing hot-reload workflow for t27os: running t27b watch on the window's root spec with a --then 'make t27os' hook triggers a full rebuild on spec changes, and the running window hot-swaps itself via its existing hot_reload.t27 mechanism. No code changes—only the run-local docs are updated to show the command that ties the two existing pieces together.

Worth a look

  • docs/t27os/run-local.md:78–80 — The documented command target/release/t27b watch specs/t27os/glass_window.t27 -o target/t27os/glass_window.o --macho --then 'make t27os' assumes target/release/t27b already exists; a fresh clone would need make t27b (or equivalent) first, which the docs don't mention here.
  • docs/t27os/run-local.md:81–84 — The loop depends on make t27os writing the new binary to the exact path the window watches (T27OS.app/Contents/MacOS/T27OS). If the Makefile output location ever shifts, the hot-reload breaks silently (window keeps running old binary).
  • docs/t27os/run-local.md:85–87 — The note about the reverted t27os-watch make target references a "foreign-budget hook" that rejects Makefile growth; if that hook's criteria change, the documented rationale could become stale.

Read: 1 files, +18 -0, the whole diff. Head 10eef8d. Model: openai-compatible/nvidia/nemotron-3-ultra-550b-a55b. Commands: @t27-bees review | summary | help | pause | resume. Free for every repository.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-27 07:25:08 UTC

Summary

Status Count
Total Open PRs 15
PRs with Failing Checks 14
PRs with All Checks Green 1
READY 0
FAILING 14
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 14 + 0 + 0 = 14, and there are 15 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=67adcf31aff7 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

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.

t27os: the hot loop -- make t27os-watch, save a spec, the window restarts

1 participant