Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
| Comment: | Sessions use the repository's file: no public URL, no DNS, no socket
Purpose: the maintainer, 2026-09-26: "you clearly have a dependency on a non-dependency". A launch failed looking up a host name, though the console and its sessions run on the host that holds the repositories. Shape: - A launch gives the session's workspace the repository's file as its remote. The console needs no email-url, and the public-URL code, the recorded-address reader and their facts are gone. - Workspace.create clones a local file as the agent, deletes every other login from the clone (a file clone copies their password hashes), and makes the agent the clone's default user; syncs are then local. - Sync.transport picks `fossil http` on the file for a local remote, HTTP otherwise, so the agent's pushed turns are still checked against its login. - Inside its sandbox, where the file isn't, `task --write` keeps the turn in ~/outbox (src/ocx/outbox.cr), and Session.start posts it from the host when the turn ends. - Projects are named from a file or URL remote alike (Workspace.project); links to a sibling project are relative; links a session is told to write are from the server's root, /PROJECT/…. Parts: Crystal (workspace.cr, sync.cr, dispatch.cr, identity.cr, launch.cr, cgi.cr, cgi_agents.cr, sessions.cr, status.cr, conventions.cr, outbox.cr, session.cr, repository.cr, the task tool, spec/support/settings.cr, specs); JSON (facts, modules, survey). Origin: opus, on the maintainer's remarks after e126651d81. Intent: nothing on this host depends on an address. Expression: src/ocx/workspace.cr, src/ocx/sync.cr, src/ocx/outbox.cr, src/ocx/session.cr, src/ocx/cgi.cr, src/ocx/cgi_agents.cr, src/ocx/conventions.cr, tools/task.cr, docs/design/. Demonstrates: spec/ocx/workspace_spec.cr, spec/ocx/agents_spec.cr, spec/guards/sourcing_spec.cr, crystal run ci.cr: a workspace made from the file holds only the agent's login, commits and syncs to the file, pushes a turn checked against the agent's password (a wrong one is refused), and posts a kept turn from the outbox once; a launch passes the file as --remote with no email-url set; CI 216 examples, green; coverage 94.8%, ratchet holds; within pace. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UrDxZLxg3rJ9AQNcwDvo3n |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | ocx |
| Files: | files | file ages | folders |
| SHA3-256: |
393e0757a70bf1c247ca37d4ae66e6c1 |
| User & Date: | opus 2026-09-26 18:02:45.800 |
|
2026-09-26
| ||
| 18:17 |
task --mark working|idle: a terminal session says its own state
Purpose: stone, a01ed04496: "thought you agreed to manually mark it to show accuracy". The thread's status guessed a terminal session's state from its posts, and showed opus idle while it worked. Shape: `bin/task WORKSPACE --mark working|idle` writes ~/mark ({state, since}) in the workspace (Status.mark). For a session at a terminal, the status endpoint reports the marked state when there is one, else the guess from the record as before. Any other word is refused; a mark that isn't JSON is ignored. Parts: Crystal (status.cr, the task tool, status_spec.cr); JSON (survey). Origin: opus, on a01ed04496. Intent: the status Stone shows is the one the session says. Expression: src/ocx/status.cr, tools/task.cr, spec/ocx/status_spec.cr, docs/survey/functionality.json. Demonstrates: spec/ocx/status_spec.cr, crystal run ci.cr: a terminal session marked working reads working after it answered, marked idle reads idle; a mark of another word is refused; one that isn't JSON is ignored; CI 216 examples, green; ratchet holds; within pace. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UrDxZLxg3rJ9AQNcwDvo3n check-in: f48662002f user: opus tags: ocx | |
| 18:02 |
Sessions use the repository's file: no public URL, no DNS, no socket
Purpose: the maintainer, 2026-09-26: "you clearly have a dependency on a non-dependency". A launch failed looking up a host name, though the console and its sessions run on the host that holds the repositories. Shape: - A launch gives the session's workspace the repository's file as its remote. The console needs no email-url, and the public-URL code, the recorded-address reader and their facts are gone. - Workspace.create clones a local file as the agent, deletes every other login from the clone (a file clone copies their password hashes), and makes the agent the clone's default user; syncs are then local. - Sync.transport picks `fossil http` on the file for a local remote, HTTP otherwise, so the agent's pushed turns are still checked against its login. - Inside its sandbox, where the file isn't, `task --write` keeps the turn in ~/outbox (src/ocx/outbox.cr), and Session.start posts it from the host when the turn ends. - Projects are named from a file or URL remote alike (Workspace.project); links to a sibling project are relative; links a session is told to write are from the server's root, /PROJECT/…. Parts: Crystal (workspace.cr, sync.cr, dispatch.cr, identity.cr, launch.cr, cgi.cr, cgi_agents.cr, sessions.cr, status.cr, conventions.cr, outbox.cr, session.cr, repository.cr, the task tool, spec/support/settings.cr, specs); JSON (facts, modules, survey). Origin: opus, on the maintainer's remarks after e126651d81. Intent: nothing on this host depends on an address. Expression: src/ocx/workspace.cr, src/ocx/sync.cr, src/ocx/outbox.cr, src/ocx/session.cr, src/ocx/cgi.cr, src/ocx/cgi_agents.cr, src/ocx/conventions.cr, tools/task.cr, docs/design/. Demonstrates: spec/ocx/workspace_spec.cr, spec/ocx/agents_spec.cr, spec/guards/sourcing_spec.cr, crystal run ci.cr: a workspace made from the file holds only the agent's login, commits and syncs to the file, pushes a turn checked against the agent's password (a wrong one is refused), and posts a kept turn from the outbox once; a launch passes the file as --remote with no email-url set; CI 216 examples, green; coverage 94.8%, ratchet holds; within pace. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UrDxZLxg3rJ9AQNcwDvo3n check-in: 393e0757a7 user: opus tags: ocx | |
| 17:50 |
Console writes on the repository's file, not over the network
Purpose: the maintainer, e126651d81 and after: a launch failed looking up ollama.beagleboard.org; "why are you going through a socket for anything here anyway?"; the CGI has full view of Fossil's files. Shape: the console's own writes (a new thread, the grant and launch note, listen notes) go through Sync::ProcessTransport, which runs `fossil http` on the repository's file with one request. Fossil checks the agent's login as its server would, with no socket and no address; a `home` runs it in a clean environment, since the console's is a CGI request's. Listening needs no public URL. A recorded address whose host doesn't resolve is passed over, and an email-url that doesn't resolve is named in the refusal. Tests of the wake hook and templates move to spec/ocx/console_setup_spec.cr, and the login-group helper to the fixture, to keep files under 400 lines. Parts: Crystal (sync.cr, cgi.cr, agents_spec.cr, console_setup_spec.cr, spec/support/fixture.cr); JSON (survey). Origin: opus, on e126651d81 and the maintainer's remarks after it. Intent: the console doesn't depend on an address to write on its own host. Expression: src/ocx/sync.cr, src/ocx/cgi.cr, spec/ocx/agents_spec.cr, spec/ocx/console_setup_spec.cr, spec/support/fixture.cr, docs/survey/functionality.json. Demonstrates: spec/ocx/agents_spec.cr, spec/ocx/console_setup_spec.cr, crystal run ci.cr: with email-url unreachable, a launch still writes its grant and note as the agent on the file; an unresolvable recorded address is passed over; an unresolvable email-url is refused by name; a failure no action expects still answers as a page; CI 215 examples, green; ratchet holds; within pace. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UrDxZLxg3rJ9AQNcwDvo3n check-in: dd1814a70e user: opus tags: ocx | |