Login
Check-in [d26240540f]
Login

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

Overview
Comment:A session on the repository file is told the host pushes its commits, not `fossil sync`

Purpose: stone, on 58d537bd67: "i think you must be forgetting to/how to sync." The session prompt said "commit there, and `fossil sync` pushes it" for every workspace. A workspace made from the repository file (393e0757a7) has no repository in its sandbox, so `fossil sync` there fails; opus-ocx followed the prompt, saw it fail, and wrongly reported sessions as unable to sync. The host syncs the clone before each turn and pushes after it (Session.start).

Intent: a session is told how its work actually reaches the repository. Expression: src/ocx/session.cr (Session.syncing), spec/ocx/session_spec.cr. Demonstrates: spec/ocx/session_spec.cr, crystal run ci.cr: a workspace on a served URL is still told `fossil sync` pushes; one on the repository file is told the host pushes when its turn ends and not to run `fossil sync`; CI green, 235 examples, coverage 96.9%, 10 tools build.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | ocx | audited | ci
Files: files | file ages | folders
SHA3-256: d26240540f517f50625bea85d97f7d70f4d407af0876d782ea77f467ba207a6f
User & Date: opus-ocx 2026-10-01 21:12:56.964
Context
2026-10-03
03:42
Merge the https workspace remote from ocx: clones use the public URL with autosync on Intent: Bring stone's chosen fix (a0f69aff9f, "merge the https fix") to ocx-human-feedback, so a workspace the console makes syncs from inside its sandbox, under precept C6 (Explicit Arguments): the remote is the repository's email-url, read and refused explicitly, never the unreachable file. Expression: Cherry-picks d26240540f (the prompt says how a clone syncs), eed22764dd (AGENTS.md) and 0160971667 (Launch.public_url; Add a workspace and launches refuse without a usable URL; the daemon passes --remote only for a workspace still to be made; Workspace.create turns autosync on for a URL clone). Conflicts resolved for this branch: its daemon has no adoption or re-exec, so Launch.launched_from is left out; its Add a workspace has no Preview, so the URL check comes after the branch and existing-workspace checks; the console's shared handler reports the refusal, keeping src/ocx/cgi.cr within 400 lines. Demonstrates: spec/ocx/public_url_spec.cr, spec/ocx/workspace_spec.cr, spec/ocx/session_spec.cr, spec/ocx/daemon_spec.cr, spec/ocx/console_workspaces_spec.cr (12 examples, 0 failures); crystal run ci.cr: 226 examples with the same three historical guard failures 9a9a7102b7 reports (audit_spec self-audits, checkin_spec on a3fa673be0, 3b2e5cba50, 77b706f5de, 62fdf50d8a), coverage 96.4% with the ratchet holding. check-in: 329b8a256a user: opus-ocx tags: ocx-human-feedback
2026-10-01
21:20
AGENTS.md says how a session's clone syncs with a file remote and with a URL

Purpose: stone, on 58d537bd67: "please correct the documentation." AGENTS.md told every session to run `fossil sync -R ../clone` and said the task tool syncs. With the repository file as the remote (393e0757a7) neither works inside the sandbox, which led opus-ocx to report sessions as unable to sync. The host syncs the clone before and after each turn and posts kept turns from ~/outbox (Session.start, Outbox).

Intent: the instructions a session reads match how its work reaches the repository, for both kinds of remote. Expression: AGENTS.md. Demonstrates: crystal run ci.cr: green, 235 examples, coverage 96.9%, 10 tools build. The behavior described is pinned by spec/ocx/session_spec.cr (d26240540f) and spec/ocx/workspace_spec.cr (file clone syncs from the host, kept turns posted once).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> check-in: eed22764dd user: opus-ocx tags: ocx, audited, ci

21:12
A session on the repository file is told the host pushes its commits, not `fossil sync`

Purpose: stone, on 58d537bd67: "i think you must be forgetting to/how to sync." The session prompt said "commit there, and `fossil sync` pushes it" for every workspace. A workspace made from the repository file (393e0757a7) has no repository in its sandbox, so `fossil sync` there fails; opus-ocx followed the prompt, saw it fail, and wrongly reported sessions as unable to sync. The host syncs the clone before each turn and pushes after it (Session.start).

Intent: a session is told how its work actually reaches the repository. Expression: src/ocx/session.cr (Session.syncing), spec/ocx/session_spec.cr. Demonstrates: spec/ocx/session_spec.cr, crystal run ci.cr: a workspace on a served URL is still told `fossil sync` pushes; one on the repository file is told the host pushes when its turn ends and not to run `fossil sync`; CI green, 235 examples, coverage 96.9%, 10 tools build.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> check-in: d26240540f user: opus-ocx tags: ocx, audited, ci

17:00
Link jobs to their source design and show the session home listener Intent: Keep cross-project design links valid and identify the record a session always listens to. Expression: Derive the design repository from release source metadata and show the home record beside the count of additional listeners. Demonstrates: spec/ocx/console_workspaces_spec.cr; crystal run ci.cr (234 examples, coverage 96.9%, green). check-in: 2636052bf4 user: sol-ocx tags: ocx, audited, ci
Changes
Unified Diff Side-by-Side Diff Patch
Changes to spec/ocx/session_spec.cr.
Changes to src/ocx/session.cr.