Login
Check-in [f718b75092]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Serve the live stream from the node daemon with a console-minted token, as trunk does Intent: Settle where the live stream is served, on stone's word (f580dbd090: "the trunk sse serve design was pretty good"), given that Fossil buffers a CGI program's output until it exits, under precept C6 (Explicit Arguments) and precept C7 (Pinned Interfaces). Expression: ARCHITECTURE.md: the daemon tees each unit's input and output as JSON lines into its events file and serves it as server-sent events from its own HTTPS port and certificate, given explicitly; the authenticated console page mints a short-lived HMAC token for one unit, the daemon checks it and allows the console's origin; a completing unit's stream ends with it, a staying unit's continues with a heartbeat; a "Live stream" part and a section on it, naming trunk's live-events module as the model without its environment variables. USAGE.md's "Watch a running unit" says the same. Demonstrates: trunk's live-events module on the trunk branch documents the same buffering ("the chat CGI — which Fossil fully buffers before sending") and the token, port and CORS arrangement; spec/guards/size_spec.cr (ARCHITECTURE.md 235 lines, USAGE.md 175) and spec/guards/naming_spec.cr pass; crystal run ci.cr keeps the three historical guard failures 9a9a7102b7 reports and no others.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | ocx-human-feedback
Files: files | file ages | folders
SHA3-256: f718b75092b2536fc847bac789398f9f2dc3d2a106147f320cc86c530db3f2ba
User & Date: opus-ocx 2026-10-03 04:24:18.902
Original Comment: Serve the live stream from the node daemon with a console-minted token, as trunk does Intent: Settle where the live stream is served, on stone's word (f580dbd090: "the trunk sse serve design was pretty good"), given that Fossil buffers a CGI program's output until it exits, under precept C6 (Explicit Arguments) and precept C7 (Pinned Interfaces). Expression: ARCHITECTURE.md: the daemon tees each unit's input and output as JSON lines into its events file and serves it as server-sent events from its own HTTPS port and certificate, given explicitly; the authenticated console page mints a short-lived HMAC token for one unit, the daemon checks it and allows the console's origin; a completing unit's stream ends with it, a staying unit's continues with a heartbeat; a "Live stream" part and a section on it, naming trunk's src/live_events.cr as the model without its environment variables. USAGE.md's "Watch a running unit" says the same. Demonstrates: trunk's src/live_events.cr documents the same buffering ("the chat CGI — which Fossil fully buffers before sending") and the token, port and CORS arrangement; spec/guards/size_spec.cr (ARCHITECTURE.md 235 lines, USAGE.md 175) and spec/guards/naming_spec.cr pass; crystal run ci.cr keeps the three historical guard failures 9a9a7102b7 reports and no others.
Context
2026-10-03
11:57
Answer OCX's four questions plainly in README and add HISTORY.md Intent: Do as stone asked (2f6ce8bc77): keep the axioms and virtues in README, answer there in plain language what OCX is for, what it is made of, how it is put together and what makes it go, without naming the philosophical framing, with ARCHITECTURE.md, USAGE.md and PLAN.md each expanding one answer and a new HISTORY.md giving the project its direction and an enumerated list of what to keep, under precept C1 (File Boundedness). Expression: README.md replaces its Functionality and History sections with four short answers that link to PLAN.md and HISTORY.md (what it is for), the building blocks (what it is made of), ARCHITECTURE.md (how it is put together) and USAGE.md (what makes it go); HISTORY.md tells where OCX came from with linked check-ins, lists nine things to keep that the maintainer has said on the record, each cited, with a marked place for the maintainer's own list, which is not on the record, and summarizes PLAN.md's six phases as the direction; AGENTS.md lists HISTORY.md; spec/guards/naming_spec.cr notes that HISTORY.md may name the origin anywhere. The comment of f718b75092 was reworded so its evidence names no path absent from this tree. Demonstrates: spec/guards/size_spec.cr (README.md 157 lines, HISTORY.md 88) and spec/guards/naming_spec.cr pass; crystal run ci.cr keeps the three historical guard failures 9a9a7102b7 reports and no others, the check-in guard passing for f718b75092 after its comment was reworded. check-in: 106adf55fb user: opus-ocx tags: ocx-human-feedback
04:24
Serve the live stream from the node daemon with a console-minted token, as trunk does Intent: Settle where the live stream is served, on stone's word (f580dbd090: "the trunk sse serve design was pretty good"), given that Fossil buffers a CGI program's output until it exits, under precept C6 (Explicit Arguments) and precept C7 (Pinned Interfaces). Expression: ARCHITECTURE.md: the daemon tees each unit's input and output as JSON lines into its events file and serves it as server-sent events from its own HTTPS port and certificate, given explicitly; the authenticated console page mints a short-lived HMAC token for one unit, the daemon checks it and allows the console's origin; a completing unit's stream ends with it, a staying unit's continues with a heartbeat; a "Live stream" part and a section on it, naming trunk's live-events module as the model without its environment variables. USAGE.md's "Watch a running unit" says the same. Demonstrates: trunk's live-events module on the trunk branch documents the same buffering ("the chat CGI — which Fossil fully buffers before sending") and the token, port and CORS arrangement; spec/guards/size_spec.cr (ARCHITECTURE.md 235 lines, USAGE.md 175) and spec/guards/naming_spec.cr pass; crystal run ci.cr keeps the three historical guard failures 9a9a7102b7 reports and no others. check-in: f718b75092 user: opus-ocx tags: ocx-human-feedback
04:08
Accept the live CI mode that ci.cr advertises, with a guard tying usage to the accepted modes Intent: Answer agent-sol's fail verdict on fdb2b84ecd (5a769563af): ci.cr's usage advertises `crystal run ci.cr -- live` and includes live specs for it, but the accepted-mode list omitted `live`, so the advertised command exited 1 with "unknown mode live", under precept C7 (Pinned Interfaces). Expression: ci.cr accepts `live` beside `host` and `merge-gate` and names it in its refusal; spec/guards/interfaces_spec.cr checks that every mode ci.cr's usage comment advertises is in its accepted list. Demonstrates: spec/guards/interfaces_spec.cr fails on the previous ci.cr with ["live"] unaccepted and passes with this one; `crystal run ci.cr -- live` now runs the live specs instead of refusing the mode (its Codex conformance example then failed, as the live tag expects when no logged-in Codex is available); crystal run ci.cr keeps the three historical guard failures 9a9a7102b7 reports and no others. check-in: 873fc0fb59 user: opus-ocx tags: audited, ocx-human-feedback
Changes
Unified Diff Side-by-Side Diff Patch
Changes to ARCHITECTURE.md.
Changes to USAGE.md.