Skip to content

docs(t27os): build, launch and drive T27 OS locally from the petal branch (Refs #11037) - #11222

Merged
gHashTag merged 1 commit into
masterfrom
lane/t27os-doc-11037
Oct 20, 2026
Merged

gHashTag merged 1 commit into
masterfrom
lane/t27os-doc-11037

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Refs #11037

docs/t27os/run-local.md: how to build T27 OS on a Mac from the feat/t27os-petal-menu branch, launch it, and drive a pane from outside, as it was done on 2026-10-20 (the old /tmp/hx/gw build was gone and the lab is stopped).

  • Both products (the window glass_window.t27 and the PTY server pty_server.t27) are built by t27b build --macho and linked with ld -arch arm64 -e _main -lSystem -lobjc plus the system frameworks, ad-hoc signed; no generated C is involved.
  • Master's and the branch's t27b compile every @extern import into a trapping stub without an error (nm -u comes back empty); the two commits of t27b: a declared I/O boundary (host ABI) so specs can call sockets, files and time #8946 (feat/t27b-host-boundary) were applied locally to get real imports. This is the first thing to fix before the build is repeatable.
  • The window finds the server through $HOME/.t27os/pty.sock; nothing starts the server for it.
  • The server binary is its own control client (T27OS_CTL = list, spawn, write, read, kill). Verified end to end with a shell pane (agent 9): spawn, write, read, kill; claude --version answered inside a pane. The orchestrator of the night loop now runs its cleanup and ledger scripts inside such a pane.
  • Blocker for coding through a pane: a pane inherits the environment of its starter, and the model provider configured there answers 429 Insufficient balance or no resource package; with a clean environment Claude Code prints Not logged in. That needs the owner's action on the provider balance or login. No key value was read or printed.
  • Control client limits: keys and cwd are cut at 200 bytes, read returns the oldest 4088 bytes of scrollback (redirect long output to a file inside the pane), there is no cursor, resize or raw-key option.

A document only. ASCII, no machine paths, no key values.

🤖 Generated with Claude Code

…anch (Refs #11037)

A document only: docs/t27os/run-local.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) October 20, 2026 03:42
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-20 03:43:04 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 47
PRs with All Checks Green 3
READY 2
FAILING 47
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=08d882e79f8d != 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).

@gHashTag
gHashTag merged commit e6f5003 into master Oct 20, 2026
29 of 30 checks passed
gHashTag pushed a commit that referenced this pull request Oct 20, 2026
Takes analog M3d and the T27 OS local-run doc (#11220, #11222); neither touches compiler.rs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.

2 participants