Skip to content

contract: mirror ConceptDomain::Automation (0x0C) from OGAR codebook mint#604

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/medcare-bridge-lance-graph-wmx76z
Jun 24, 2026
Merged

contract: mirror ConceptDomain::Automation (0x0C) from OGAR codebook mint#604
AdaWorldAPI merged 1 commit into
mainfrom
claude/medcare-bridge-lance-graph-wmx76z

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

Wire-compat mirror of the OGAR ogar-vocab MARS/Automation codebook mint (AdaWorldAPI/OGAR#119). Adds ConceptDomain::Automation (domain byte 0x0C) to lance-graph-contract's ogar_codebook.rs.

Why

The contract crate keeps a deliberate wire-compatible mirror of OGAR's ConceptDomain/CODEBOOK (it's zero-dep, doesn't link ogar-vocab; the wire — u16 LE — is the contract). Without the matching arm here, canonical_concept_domain(0x0Cxx) would return Automation in OGAR but Unassigned in the contract — a soft-fail wire-semantics drift (no compile/test break, silently divergent). The Anatomy 0x0A mint set the same two-repo precedent; an integration-lead review of the OGAR mint explicitly flagged this mirror as the one paired edit required.

How

  • ConceptDomain::Automation variant + 0x0C => Automation routing arm.
  • The 9 Automation concepts in CODEBOOK (0x0C01..0x0C09) — mars_application/resource/software/machine, knowledge_item, mars_node_template, action_handler, action_applicability, automation_trigger — so a zero-dep consumer can canonical_concept_id("mars_node_template") → 0x0C06.
  • domain_routes_on_high_byte: assert 0x0C → Automation, 0x0D → Unassigned.
  • codebook_ids_match_ogar_vocab drift guard: pin four of the new ids to their OGAR values.

One domain spanning the MARS structural CMDB + the Automation DO-arm actuators (the Auth-precedent: heterogeneous shapes, one cross-app concern; render prefix is the hi-u16 skin, the domain byte is the lo-u16 shared-concept half). Infrastructure config, not PHI.

Contract test suite green (codebook + routing + drift-guard).

🤖 Generated with Claude Code


Generated by Claude Code

Wire-compat mirror of the OGAR ogar-vocab MARS/Automation codebook mint
(AdaWorldAPI/OGAR, same branch). Without the matching ConceptDomain arm here,
canonical_concept_domain(0x0Cxx) would return Automation in OGAR but Unassigned
in the contract — a soft-fail wire-semantics drift (the integration-lead flagged
this; the Anatomy 0x0A mint set the same two-repo precedent).

- ConceptDomain::Automation variant + `0x0C => Automation` routing arm.
- The 9 Automation concepts in CODEBOOK (0x0C01..0x0C09), so a zero-dep consumer
  can canonical_concept_id("mars_node_template") → 0x0C06.
- domain_routes_on_high_byte: assert 0x0C → Automation, 0x0D → Unassigned.
- codebook_ids_match_ogar_vocab drift guard: pin mars_application/knowledge_item/
  mars_node_template/automation_trigger to their OGAR ids.

Contract test suite green (the codebook + routing + drift-guard tests).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYvNjD8M8LMNYbRy3gq2FP
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI AdaWorldAPI merged commit 98c7ca9 into main Jun 24, 2026
4 checks passed
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@AdaWorldAPI, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 34 minutes and 4 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4f818cdc-8fdd-4095-a1c0-a1e28898c1d6

📥 Commits

Reviewing files that changed from the base of the PR and between b1ad1b5 and 6d113c3.

📒 Files selected for processing (1)
  • crates/lance-graph-contract/src/ogar_codebook.rs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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