Skip to content

OpenConceptLab/ocl_online#714 | The AutoMatch dialog has a place for a service's notice, and turns the OCL AI Assistant off while it's unavailable - #145

Open
paynejd wants to merge 6 commits into
mainfrom
ocl_online-714-automatch-inputs
Open

paynejd wants to merge 6 commits into
mainfrom
ocl_online-714-automatch-inputs

Conversation

@paynejd

@paynejd paynejd commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

The AutoMatch dialog (autoMatchCheck.js is the checkpoint a package can fill) can now show a connected service's own notice, and turn the OCL AI Assistant off while it can't be used. In the open app nothing changes: the open stub says neither.

Refs OpenConceptLab/ocl_online#714, which stays open.

What the checkpoint gets: aiAssistant, with usage (what the connected OCL AI Assistant last reported for the open project, which the Mapper already keeps for its usage chip), projectId and apiURL.

What it can answer, besides what it could:

  • aiUnavailable: the OCL AI Assistant's box is off and can't be ticked, and Submit runs without it. Once it's available again, the box is as the user left it (useOffWhileUnavailable).
  • A notice that is a service's finished one ({key, notice}), shown in the notice strip the Mapper already has.

A run made while the box was turned off says so in the project's log (ai_unavailable), so it doesn't leave the OCL AI Assistant unticked for the next one.

Order: this first, then the package that uses it. An older package works with it as before.

Checked: ESLint as CI runs it, and npm run test:all (832 and 24 tests). The dialog was walked in a local Mapper at 1440 and 390, with a package in the checkpoint's place, and Jonathan has approved it.

Reviews: three Codex passes, a simplification review and three short checks of later commits, together with the package's half. The summary is in the comment below; the full passes are on the package's pull request.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AaZ4qVmw1V6Lk1UiLdJB84

…n project and the OCL AI Assistant's report on it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTkkmEb7DLxbSYJ79s
@paynejd
paynejd requested a review from snyaggarwal December 3, 2026 05:51
paynejd and others added 3 commits December 3, 2026 01:00
…a service's notice, and turns the OCL AI Assistant's box off while it's unavailable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTkkmEb7DLxbSYJ79s
… was unavailable doesn't untick it for the next one

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTkkmEb7DLxbSYJ79s
@paynejd
paynejd marked this pull request as draft December 3, 2026 06:34
@paynejd

paynejd commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

Back to draft: one more commit is coming, and I marked this ready before its review was posted. Both will be here before it's ready again.

paynejd and others added 2 commits December 3, 2026 01:47
…ff for leaves the next one's default alone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTkkmEb7DLxbSYJ79s
@paynejd paynejd changed the title OpenConceptLab/ocl_online#714 | The AutoMatch checkpoints get the open project and the OCL AI Assistant's report on it OpenConceptLab/ocl_online#714 | The AutoMatch dialog has a place for a service's notice, and turns the OCL AI Assistant off while it's unavailable Dec 5, 2026
@paynejd

paynejd commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews, summary (codex-cli 0.169.0, at 13f7db5; the passes looked at this and at the package that fills the checkpoint together, so they're on the package's pull request)

Three Codex passes, a simplification review, and three checks of later commits. What they found in this half:

  • The AI's box kept the state it had when the dialog opened (P1). Fixed: useOffWhileUnavailable turns it off as soon as the checkpoint says the AI is unavailable, and puts it back as the user left it. Between opening and that answer the box can still be on. The service decides then.
  • The default for the first open could be settled too early (P1). Fixed: aiOnByDefault no longer decides it. The checkpoint's aiUnavailable does, whenever it changes.
  • A run made without the AI, because it was unavailable, unticked it for the next one (P1). Fixed: the run's log says ai_unavailable, and the default skips that run. It says so only when the dialog turned the box off, not when the user had (P2, fixed).
  • A run submitted before the project's log has loaded is read as the user's choice (P2). Accepted: it needs Submit within a second or so of opening the project, and one tick puts it right.

Nothing is open.

@paynejd
paynejd marked this pull request as ready for review December 5, 2026 02:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant