Login
Check-in [0397ade722]
Login

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

Overview
Comment:The connector's specs cover an approval for no key, a registration traded as a code and a row that does not read

Intent: the coverage ratchet of c62e565500's CI: three statements of the connector no spec ran. src/ocx/connector_oauth.cr's refusal of an approval naming no key could not be reached, as the request's own check refused it first; src/ocx/connector_store.cr's skipping of a config row that does not read as a connector, and its refusal of a value signed by the key that is not of the kind asked, a registration traded as a code.

Expression: approve finds the key named first and refuses at once where there is none, then checks the request. spec/ocx/connector_spec.cr presses approve naming no key, trades a client_id as a code, and keeps a connector row of 'not json'.

Demonstrates: spec/ocx/connector_spec.cr: approve for id 0000 says no key is named 0000; the client_id traded as a code is 400; the store lists voice alone beside the broken row. spec/coverage/run.cr over it misses no statement of src/ocx/connector.cr, src/ocx/connector_oauth.cr, src/ocx/connector_store.cr or src/ocx/commands/connector.cr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUH8KKBs1b4wzoSCq6zh7U

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | connector-oauth
Files: files | file ages | folders
SHA3-256: 0397ade7223b679846dd6f52d5483fdf80a3829156c392b3afa04367a1bbf384
User & Date: x86-1-session 2026-11-06 00:40:20.103
Context
2026-11-06
01:03
accept, rollback and follow say what they changed, from the release they replaced to current

Intent: the maintainer (ocx-console 627c50a1c5): accept's answer said "changes: 0397ade7223b..0397ade7223b", current..next once next was accepted and both named it, where it means previous..current, ff56aef644c9..0397ade7223b; the accept of ff56aef644 read the same. Their hint, "it is likely due to handling the rollback": the range was read from the links after the tool rewrote them, and a rollback leaves next as it was, so it read forward where it went back.

Expression: ReleaseState takes `replaced`, the release current named before the tool moved it, read before the move: accept, rollback and follow pass it, and changes reads replaced..current; otherwise, while another release is offered, current..next, as before. Its help says both.

Demonstrates: spec/ocx/release_commands_spec.cr: a second release staged reads first..second; accepted, first..second, not second..second; rolled back, second..first. spec/ocx/follow_spec.cr, spec/ocx/release_import_spec.cr, spec/ocx/styles_spec.cr and the guards pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUH8KKBs1b4wzoSCq6zh7U check-in: 0f32e7b2f5 user: x86-1-session tags: connector-oauth

00:40
The connector's specs cover an approval for no key, a registration traded as a code and a row that does not read

Intent: the coverage ratchet of c62e565500's CI: three statements of the connector no spec ran. src/ocx/connector_oauth.cr's refusal of an approval naming no key could not be reached, as the request's own check refused it first; src/ocx/connector_store.cr's skipping of a config row that does not read as a connector, and its refusal of a value signed by the key that is not of the kind asked, a registration traded as a code.

Expression: approve finds the key named first and refuses at once where there is none, then checks the request. spec/ocx/connector_spec.cr presses approve naming no key, trades a client_id as a code, and keeps a connector row of 'not json'.

Demonstrates: spec/ocx/connector_spec.cr: approve for id 0000 says no key is named 0000; the client_id traded as a code is 400; the store lists voice alone beside the broken row. spec/coverage/run.cr over it misses no statement of src/ocx/connector.cr, src/ocx/connector_oauth.cr, src/ocx/connector_store.cr or src/ocx/commands/connector.cr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUH8KKBs1b4wzoSCq6zh7U check-in: 0397ade722 user: x86-1-session tags: connector-oauth

00:32
The app press gives its builder y on this repository, as the release plan's builder holds it; the separate write_unversioned tool goes

Intent: the release plan says the builder's watcher "sends the files as the builder's login, which holds y" (ocx-rootfs/README.md, "The steps", step 1; ticket 8986816c0b: the trusted entry's reporting login gets y). The console's stage run a90d00d294 ended 0 with its files unsent because x86-1 held no y on ocx-console, and 1bb37a2b79 answered that with a tool of its own, built without reading the plan. The maintainer decided (ocx-console card e362fab960, decision 07768e08eb): "Yes, app gives its builder y, and drop the separate tool."

Expression: app refuses a builder the served repository has no user for (ReadOwnCapabilities), keeps the builders row, then adds y (AppCommand::SENDS_FILES) to the builder's own letters on the repository's user table by AddOwnCapability's one statement, every other letter as it is then, never through Fossil's user page, which saves a user across its login group. write_unversioned, its spec and its entries in the tool lists, the design, the survey and docs/protocol-v2-tools.md go. The command order puts send_runs before app, which now requires it.

Demonstrates: spec/ocx/apps_spec.cr: x86-1's ghjorwz4C becomes ghjorwz4Cy, its login group's other member keeping ghijorwyz4C, a second press changing nothing, a builder the repository lacks refused with the row as it was. spec/ocx/command_spec.cr, spec/ocx/mcp_spec.cr, spec/ocx/dry_run_spec.cr, spec/ocx/styles_spec.cr and the guards pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUH8KKBs1b4wzoSCq6zh7U check-in: c62e565500 user: x86-1-session tags: connector-oauth

Changes
Unified Diff Side-by-Side Diff Patch
Changes to spec/ocx/connector_spec.cr.
Changes to src/ocx/connector_oauth.cr.