Commit graph

458 commits

Author SHA1 Message Date
Meta Vens
f25ac958c1 thing-tui: Drop restores first, then frees the one-guard slot
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 2m24s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 43s
An enter racing a drop is refused until the terminal is given back. The race is forced with a
barrier inside the old guard's restore write, not a timing assumption.

Per thing2:ruling:tui-panic-restore-rule and thing2:finding:cut-tui-host.s3.drop-unregisters-before-restoring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:44:58 +01:00
Meta Vens
5e1a436221 thing-tui: a restore that finds the writer held writes the restore bytes to a fresh stdout
The hook, in every build, claims the restore once, writes it to a fresh io::stdout() handle and
turns raw mode off; Drop then has nothing left to write. Proven by pty probes (unwind with and
without a destructor panic, and an abort build): red before, green after.

Per thing2:ruling:tui-panic-restore-rule and thing2:finding:cut-tui-host.s3.abort-lock-held-leaves-screen-modes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:44:07 +01:00
Meta Vens
cdea686dae thing-tui: a panic on the main thread restores a guard whatever thread owns it
A main-thread panic ends the process without running a guard held by a render thread, so the
owner-only rule left the terminal raw. restores_here takes is_main as well as abort, owner and here.

Per thing2:ruling:tui-panic-restore-rule and thing2:finding:cut-tui-host.s3.main-panic-with-guard-on-worker-leaves-raw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:43:38 +01:00
Meta Vens
997ac1b2c3 thing-tui: one live terminal guard per process
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 4m4s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 2m19s
A second enter or stdout() while one is alive fails with AlreadyExists, so nested and cross-thread
guards are impossible and no guard can take the terminal from another. The registry becomes one
slot; the several-guards unregistering and its test go. The refusal is pinned in their place, and
every test that builds a guard takes a lock so the suite's threads do not collide.

Per the steward's decision on thing2:finding:cut-tui-host.s2.guards-share-global-modes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:30:29 +01:00
Meta Vens
0b58fd729c thing-tui: the guard's owner is the thread that last entered or drew through it
A guard moved to a render thread follows its user: that thread's panic restores before its
message, and a panic on the thread that gave it away leaves it to the owner.

Per the steward's decision on thing2:finding:cut-tui-host.s2.guard-owner-is-the-constructing-thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:29:08 +01:00
Meta Vens
ed91a6364b thing-tui: a restore that finds the writer held still gives back raw mode
Per the steward's decision on thing2:finding:cut-tui-host.s2.restore-skipped-under-lock-leaves-raw;
the double-panic case is run in a pty (red before this commit, green after).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:28:14 +01:00
Meta Vens
82e9cc18ea thing-tui: under panic=abort the hook restores for a panic on any thread
Nothing unwinds to Drop there, so the owner-only rule left a worker's panic to abort the process
with the terminal still raw. Unwind builds keep the owner-thread rule.

Per the steward's decision on thing2:finding:cut-tui-host.s2.abort-profile-worker-panic-leaves-raw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:28:07 +01:00
Meta Vens
e333cb8f9c thing-tui: pin that a drop unregisters only its own guard
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 2m18s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 2m4s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:16:16 +01:00
Meta Vens
6f884075d7 thing-tui: the pipeline events test says what it observes
Per the steward's decision on thing2:finding:cut-tui-host.s1.report-overclaims-and-misses-estimate;
the estimate is explained in the report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:11:39 +01:00
Meta Vens
fb2716f1e5 thing-tui: restore closes a synchronized update a failed frame left open
Per the steward's decision on thing2:finding:cut-tui-host.s1.restore-leaves-sync-update-open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:11:29 +01:00
Meta Vens
63a2f43c1d thing-tui: the guard's surface is stdout, enter and draw
write_enter, write_restore and enter_without_raw_mode leave the public API; their tests are
unit tests in the crate. Every constructor that enters (enter, stdout) installs the hook. The
seams are pinned out of the API by compile_fail doctests.

Per the steward's decision on thing2:finding:cut-tui-host.s1.public-api-test-seams.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:10:41 +01:00
Meta Vens
9a1578e49b thing-tui: pin that building a guard installs the panic hook
Per the steward's decision on thing2:finding:cut-tui-host.s1.panic-hook-install-untested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:09:43 +01:00
Meta Vens
945ec1a30d thing-tui: the panic hook restores only a live guard, on the thread that owns it
A guard registers when entered and unregisters on drop; the hook restores through the
registered guard's own writer, claims the restore once so unwinding does not repeat it, and
leaves a panic on any other thread, or after the drop, to the previous hook. Every
constructor that enters installs the hook.

Per the steward's decision on thing2:finding:cut-tui-host.s1.panic-hook-owner-blind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:09:38 +01:00
Meta Vens
482fdd42cf thing-tui: pin tolerate and the meta modifiers
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 2m25s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 2m38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:56:14 +01:00
Meta Vens
f1c5978d77 thing-tui: a draw of no ops writes nothing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:52:25 +01:00
Meta Vens
336fb892df thing-tui: mouse capture is not a byte sequence on Windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:51:15 +01:00
Meta Vens
4bdc125697 thing-tui: saturated move expectation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:45:20 +01:00
Meta Vens
2ca326293c thing-tui: clamp a cursor move below crossterm's overflow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:41:53 +01:00
Meta Vens
91a466192d thing-tui: live terminal host (cut 8b): Terminal guard and writer, translate, reference host example
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:41:25 +01:00
668ec478cd Thing 2.0 cut 7a: commands (activate, Drafts, minted invocations, lifecycle, effects as data) (#25)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 2m49s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m53s
2026-11-29 00:35:39 +00:00
7388984450 thing-tui: paint Cells frames to a terminal screen (cut 8a) (#24)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 4m3s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m3s
2026-11-28 19:38:59 +00:00
8ca1bab380 Thing contract: an invocation names its source node and Repeat key chain (#22)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 2m6s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m5s
2026-11-28 09:47:34 +00:00
63ed2e3b01 Thing 2.0: cells text (terminal widths and line breaking behind Measure) (#23)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
2026-11-28 09:01:01 +00:00
1033d30728 Thing 2.0: Core::frame and the closed InputEvent model (#21)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 08:42:34 +00:00
c59a223e6c Thing contract: every runtime reads every other runtime's store (cut 1x) (#16)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 5m21s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 08:34:05 +00:00
8fe8b1aaad Thing 2.0 cut 6b: render leaves (Image fit in core, Plot lowered to polylines and polygons) (#20)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 2m46s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 6m0s
2026-11-28 07:41:33 +00:00
9da9080f8a Thing 2.0 cut 6a: render (the closed command list, overlays, scroll clipping) (#19)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 07:00:01 +00:00
72d93006d0 Thing 2.0: images measure from their bound asset entry (#18)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 06:33:58 +00:00
6f0cc63188 Thing 2.0 cut 5b: overlay roots and scroll extents (#17)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 06:12:27 +00:00
2c08d99992 Thing 2.0 cut 5a: layout (Taffy, device pixels, a Measure seam for text) (#15)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 05:33:03 +00:00
5a11b23c4e Thing 2.0: the Resolver (last good tree, version rule at intake, delete tombstones) (#14)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 4m30s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 6m25s
2026-11-28 03:41:43 +00:00
d9b09ee5f4 Thing 2.0 cut 4: bind (the Binder binds resolved trees to provider state by name) (#13)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
2026-11-28 03:15:14 +00:00
491fc2020f Thing 2.0: state port values (StateValue, Record::State) and thing-state's by-name decode (#12)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 3m30s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m37s
2026-11-28 02:05:00 +00:00
b1c007d8b1 Thing 2.0: CultLib pin to 4c9af401 (member rows), whole-value contract lists, resolve on any thread (#11)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-28 01:26:23 +00:00
edeeee2129 Thing 2.0 cut 3: resolve (pure expansion, closed diagnostics, thing.std stat and card) (#10)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 3m25s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m22s
2026-11-27 23:50:18 +00:00
e16a8eb917 Thing contract: Slot node, arm 13, in Rust, C# and TypeScript (thing2:ruling:composition-slot-node) (#9)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 2m37s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 2m13s
2026-11-27 22:27:17 +00:00
4d254a1adf Thing 2.0: the remaining fixtures (testkit-fixtures) (#8)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 2m43s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 1m43s
2026-11-27 20:52:51 +00:00
31f324f738 Thing contract, TypeScript: @gamecult/thing-contract (thing2 cut 1a) (#6)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-27 20:43:02 +00:00
d052428094 Thing 2.0 cut 2: thing-core state port and thing-testkit (testkit-ports) (#7)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Has been cancelled
2026-11-27 20:29:51 +00:00
7654e27364 Thing contract, C#: GameCult.Thing.Contract (thing2 cut 1b) (#5)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 6m56s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 3m20s
2026-11-27 17:54:25 +00:00
159ad486e5 Merge pull request 'Thing 2.0 build spec (Meta t12-m0)' (#1) from libby/thing2-build-spec into main
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 3m29s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 2m57s
2026-11-11 00:20:06 +00:00
Libby
b6e06cf89a thing2 build spec: drop Brokkr gap, point site gap at Void, remove unsupported status claims
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 3m6s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 3m46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:18:13 +00:00
Libby
366774dc4c thing2 build spec: mark union-parity follow-up resolved
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:16:57 +00:00
Libby
9eb099be4d thing2 build spec: refresh against rulings in force
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Has been cancelled
Cite code-home, port-cutover, compat-rebuild, freeze-fold, owns-text,
quarantine and frozen-surface rulings; note site and Brokkr port gaps;
close O11/O13 and the substrate-gap note; map pointer to r3 specs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:16:46 +00:00
Libby
3136ee8b80 Merge remote-tracking branch 'origin/main' into libby/thing2-build-spec
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 2m2s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 2m35s
2026-11-10 17:40:51 +00:00
fd7a48484d CI: concurrency group, no cancel on dispatch (#4)
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 3m11s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Successful in 2m17s
2026-11-10 17:40:14 +00:00
4a6c04a073 CI: Windows leg workflow_dispatch only, PowerShell on Linux (#2)
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (push) Successful in 3m12s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (push) Failing after 36s
2026-11-09 23:24:35 +00:00
Libby
ee8eec41f3 thing2 build spec: reconcile with rulings read from the eureka mind
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-contracts (pull_request) Has been cancelled
decode-stack-safety is Fixed (CultLib bbb98eaf); contract-ts/cs specs are r3;
discovery reads the eve advertisement through a port until its owner lands;
O11 tooling wording follows the thing-script-form question.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 10:35:43 +00:00
Libby
ebafda432f thing2 build spec: reconcile O11 with thing-script-form ruling
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-contracts (pull_request) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 10:33:06 +00:00
Libby
e95f1ab5ba Thing 2.0 build spec: per-piece contracts, build order, tests, prior art
Some checks failed
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-browser-lowering (pull_request) Has been cancelled
Portable Eve contracts and browser lowering / windows-latest eve-contracts (pull_request) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 07:41:49 +00:00