Skip to content

tesseract-ogar: migrate to the generic hot-plug pattern (HotPlug const)#14

Merged
AdaWorldAPI merged 1 commit into
masterfrom
claude/happy-hamilton-0azlw4
Jul 7, 2026
Merged

tesseract-ogar: migrate to the generic hot-plug pattern (HotPlug const)#14
AdaWorldAPI merged 1 commit into
masterfrom
claude/happy-hamilton-0azlw4

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Consumer migration onto the GENERIC plug-and-play pattern (operator ruling: one pattern for ALL consumers, no bespoke per-consumer plug mechanism). Companions: AdaWorldAPI/OGAR#175 (merge first — this crate's activation test calls the new resolve_hotplug), lance-graph#658 (the zero-dep hotplug socket + OgarAuthority bridge).

  • The bespoke CapabilityRegistration const is replaced by HOT_PLUG: lance_graph_contract::hotplug::HotPlug — one const naming the classids this executor hot-plugs (OCR_SUBJECT_CLASSIDS) and the capabilities it covers. That is now the ENTIRE per-consumer registration surface.
  • The activation test runs the generic resolution: ogar_vocab::capability_registry::resolve_hotplug verifies the plug and returns BOTH the vocab rows (3 concepts) and the action surface (8 capabilities) for exactly the hot-plugged ids — classid is the join key on both sides; drift is a named HotplugDrift arm.
  • Executor dispatch (OcrRequest/OcrResponse → proven pipeline) unchanged; lance-graph-contract added as a path dep for the socket types (no pins).

Gates: fmt + clippy -D warnings clean, 5/5 tests incl. the real-data smoke (qLLiy,,) and the generic activation, scoped -p tesseract-ogar.

🤖 Generated with Claude Code

https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1


Generated by Claude Code

The bespoke CapabilityRegistration const is replaced by the GENERIC
socket shape every consumer migrates to (operator ruling): HOT_PLUG =
lance_graph_contract::hotplug::HotPlug { consumer, classids, covered }.
The activation test now runs the generic resolution
(ogar_vocab::capability_registry::resolve_hotplug): the consumer tells
OGAR which classids are hot-plugged and receives BOTH the vocab rows
(3 concepts) and the action surface (8 capabilities) for exactly those
ids -- classid is the join key on both sides. Executor dispatch is
unchanged; the crate's remaining role is executor + one const.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_9937a41b-b1d9-4dba-b4d6-55015bf3438e)

@AdaWorldAPI AdaWorldAPI merged commit 64e549c into master Jul 7, 2026
1 check passed
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.

2 participants