Skip to content

feat(ogar): add WoaBridge / SmbBridge / OdooBridge aliases (OGAR #93/#94)#588

Closed
AdaWorldAPI wants to merge 1 commit into
mainfrom
claude/medcare-bridge-lance-graph-wmx76z
Closed

feat(ogar): add WoaBridge / SmbBridge / OdooBridge aliases (OGAR #93/#94)#588
AdaWorldAPI wants to merge 1 commit into
mainfrom
claude/medcare-bridge-lance-graph-wmx76z

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

OGAR #93 (WoaPort + SmbPort) and #94 (OdooPort) landed new PortSpec impls in ogar-vocab::ports. This adds the matching bridge type aliases to lance_graph_ogar::bridges so the WoA / SMB / Odoo consumers can migrate onto OGAR the same way medcare did (lance-graph #585 + medcare #168, #169) — siblings of MedcareBridge / OpenProjectBridge / RedmineBridge.

Verified port facts (against the 08a9c97 checkout, not trusted from prompt)

Port NAMESPACE / BRIDGE_ID convergence pin
WoaPort WorkOrder / woa class_id("Stundenzettel") == 0x0103 (billable_work_entry)
SmbPort SMB / smb class_id("Kunde") == 0x0204 (billing_party)
OdooPort Odoo / odoo class_id("account.analytic.line") == 0x0103

Tests

  • cargo build --manifest-path crates/lance-graph-ogar/Cargo.toml → green.
  • cargo test --manifest-path crates/lance-graph-ogar/Cargo.toml45 lib (+9) + bridge integration suites, 0 failed.
  • cargo fmt --check → clean.

Unblocks (separate follow-up PRs)

  • woa-rs: lance_graph_ontology::bridges::WoaBridgelance_graph_ogar::bridges::WoaBridge.
  • smb-office-rs: OgitBridgeSmbBridge.
  • odoo-rs: converge onto lance_graph_ogar::bridges::OdooBridge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYvNjD8M8LMNYbRy3gq2FP


Generated by Claude Code

)

OGAR #93 (WoaPort + SmbPort) and #94 (OdooPort) landed new PortSpec impls
in ogar-vocab::ports. Add the matching bridge type aliases to
lance_graph_ogar::bridges so the WoA / SMB / Odoo consumers can migrate
onto OGAR the same way medcare did (lance-graph #585 + medcare #168) —
sibling of MedcareBridge / OpenProjectBridge / RedmineBridge.

- New: woa_bridge.rs (WoaBridge = UnifiedBridge<WoaPort>),
  smb_bridge.rs (SmbBridge = UnifiedBridge<SmbPort>),
  odoo_bridge.rs (OdooBridge = UnifiedBridge<OdooPort>). Each re-exports
  its port + a *_CODEBOOK shim over the port's *_ALIASES const (matching
  the openproject/redmine precedent — not invented; all three ports
  expose *_ALIASES) + co-located unit tests.
- mod.rs + lib.rs: declare + re-export the three aliases/ports.
- ogar-vocab bumped 19a6886 -> 08a9c979 (OGAR main, post #93/#94) so
  WoaPort/SmbPort/OdooPort resolve.
- Purely additive: no existing bridge, the UnifiedBridge harness, or
  lance-graph-ontology touched functionally. (Distinct from the legacy
  OGIT-side lance_graph_ontology::bridges::WoaBridge — different crate,
  no collision.)
- Incidental: cargo fmt reflowed 4 pre-existing files in this crate
  (medcare_bridge/openproject_bridge/unified.rs + bridge_codebook_
  convergence.rs) — import-order + chain-wrap only, content-identical.
  The crate is excluded from the main workspace so main CI never
  fmt-gated it; this makes it fmt-clean.

Verified: cargo build/test --manifest-path crates/lance-graph-ogar green
(45 lib + bridge integration suites, 0 failed); fmt --check clean.

Verified port facts against the 08a9c97 checkout:
  WoaPort  WorkOrder/woa: class_id("Stundenzettel")        == 0x0103
  SmbPort  SMB/smb:        class_id("Kunde")                == 0x0204
  OdooPort Odoo/odoo:      class_id("account.analytic.line")== 0x0103

Generated by [Claude Code](https://claude.com/claude-code)
@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.

@coderabbitai

coderabbitai Bot commented Jun 22, 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 49 minutes and 23 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 refill rate.

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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

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: 54385630-8fab-4e12-b1fe-feaa98a4a450

📥 Commits

Reviewing files that changed from the base of the PR and between fc7b2c9 and bbd421c.

📒 Files selected for processing (9)
  • crates/lance-graph-ogar/src/bridges/medcare_bridge.rs
  • crates/lance-graph-ogar/src/bridges/mod.rs
  • crates/lance-graph-ogar/src/bridges/odoo_bridge.rs
  • crates/lance-graph-ogar/src/bridges/openproject_bridge.rs
  • crates/lance-graph-ogar/src/bridges/smb_bridge.rs
  • crates/lance-graph-ogar/src/bridges/unified.rs
  • crates/lance-graph-ogar/src/bridges/woa_bridge.rs
  • crates/lance-graph-ogar/src/lib.rs
  • crates/lance-graph-ogar/tests/bridge_codebook_convergence.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 and usage tips.

Copy link
Copy Markdown
Owner Author

Closing as superseded by #587 (merged). A parallel session (claude/ogar-woa-smb-odoo-bridges) shipped the identical WoaBridge / SmbBridge / OdooBridge aliases — with a more complete test set (53 lib tests incl. the entity() planner→ERP convergence pins) — and it merged first, which is why this PR went dirty (both edited the same lance-graph-ogar files).

Verified main (f56caf3) already carries the equivalent: pub type WoaBridge/SmbBridge/OdooBridge = UnifiedBridge<…Port>, same ogar-vocab bump to 08a9c979. This PR is a strict subset — nothing is lost by closing it. No merge needed.


Generated by Claude Code

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