Skip to content

soa_config: rescope the classid low-half doc to one named pattern, drop a stale citation - #910

Merged
AdaWorldAPI merged 2 commits into
mainfrom
claude/q2-osm-map-reencoding-56p5e2
Aug 7, 2026
Merged

soa_config: rescope the classid low-half doc to one named pattern, drop a stale citation#910
AdaWorldAPI merged 2 commits into
mainfrom
claude/q2-osm-map-reencoding-56p5e2

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Follow-up to #909, which merged before this correction landed.

What was wrong

The classid doc comment #909 shipped overgeneralized in two ways:

  • It cited "the zero-fallback ladder (CLAUDE.md, locked 2026-06-13)" as live justification for treating a zero canon as legal. This repo's dev cycle is two weeks — a doc locked over a month back, spanning the 2026-07-02 classid canon-high flip, is not something to cite as current authority. The conclusion (a zero canon is legal, not a typo signature) still holds, but not on that citation, and not as a behavioral guarantee this parser makes — it doesn't consult or enforce any reading of a zero half at all, so claiming "zero means not consulted" overstated what actually happens here.
  • It presented "low half + FieldMask = CSS-style screen-region addressing" as classid's general meaning. That's one rendering pattern's reading — MedCare-rs's Redmine-style QueryColumn fieldview (crates/medcare-server/src/views/fieldview.rs) — not a property of classids or ClassView in general. Classes are not only for display: routing, storage, RBAC, and action dispatch are classid consumers too, each free to read the low half differently, or not at all.

What changed

Rewrote the classid field doc (and the matching prose in the example YAML) to:

  • Drop the stale citation and the "zero means not consulted" behavioral claim — state plainly that this parser makes no interpretation of either half.
  • Name the CSS/screen-addressing reading as local to the MedCare-rs fieldview pattern specifically, not general.
  • Make the domain-dependence concrete: 0xFFFF is a defined sentinel (Unassigned) in the ontology/concept domain per ogar_codebook::canonical_concept_domain — the same bit pattern carries no such meaning outside that domain.

The parser's actual behavior is unchanged (still purely structural: 0x-prefixed hex fitting u32) — only the doc comment's claims about what it does or implies are corrected.

Also corrected #909's merged description, which repeated the same two claims.

Gate

17/17 soa_config (including the shipped-example cross-check against the edited YAML) · clippy clean · fmt clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NMeiLmtDKhomJNSo2ecbJw


Generated by Claude Code

…op a stale citation

The doc comment landed in #909 overgeneralized in two ways an operator
correction caught after merge:

- It cited "the zero-fallback ladder (CLAUDE.md, locked 2026-06-13)" as
  live justification. This repo's dev cycle is two weeks; a doc locked
  a month-plus back, spanning the 2026-07-02 classid canon-high flip,
  is not something to cite as current authority. Replaced with a plain
  statement of what this parser actually does (nothing — it neither
  enforces nor relies on any reading of a zero half).
- It presented "low half + FieldMask = CSS-style screen-region
  addressing" as classid's general meaning. That is one rendering
  pattern's reading — MedCare-rs's Redmine-style QueryColumn fieldview
  (crates/medcare-server/src/views/fieldview.rs) — not a property of
  classids or ClassView in general. Classes are not only for display;
  routing, storage, RBAC, and action dispatch are classid consumers
  too, each free to read the low half differently.

Made the domain-dependence concrete with a same-bit-pattern example:
0xFFFF is a defined sentinel (Unassigned) in the ontology/concept
domain per ogar_codebook::canonical_concept_domain, and carries no
such meaning outside it. The parser's own behavior is unchanged —
still purely structural (0x-prefixed hex fitting u32) — only the doc
comment's claims about what it does or doesn't imply are corrected.

Also corrected PR #909's merged description, which repeated the same
two claims.

Gate: 17/17 soa_config (including the shipped-example cross-check
against the edited YAML) · clippy clean · fmt clean.
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

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

Next review available in: 5 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

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 reviews.

How do review 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 refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c86117b3-d0a7-41f6-9903-f48277a58023

📥 Commits

Reviewing files that changed from the base of the PR and between bda1c85 and e4b451d.

📒 Files selected for processing (2)
  • crates/lance-graph/examples/soa-config.example.yaml
  • crates/lance-graph/src/soa_config.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.

@cursor

cursor Bot commented Aug 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_5fa93f8e-e099-4d2b-b97c-b136e37d7f90)

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review August 7, 2026 22:28

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53939ab8d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/lance-graph/src/soa_config.rs Outdated
…t low-half

Codex P2 on #910: canonical_concept_domain takes the u16 concept id
that classid_canon extracts from the HIGH half under CanonHigh. A
classid like 0x0F01_FFFF still routes to Geo via its canon (0x0F01);
0xFFFF sitting in the LOW half carries no ontology meaning at all.
The doc presented 0xFFFF as evidence of "what the low half means in
the ontology domain" — backwards, since it's a fact about the high
half, uniform across every classid whose canon happens to be 0xFFFF.

Reframed as a contrast instead: the HIGH half has one global,
consumer-independent reading (ogar-vocab's canonical_concept_domain,
which is why 0xFFFF -> Unassigned holds for ANY classid with that
canon). The LOW half has no such global registry — its meaning is
whatever the specific consumer (MedCare-rs's fieldview pattern, or
any other classid consumer) decides, which is the actual point this
doc comment is making.

Gate: 17/17 soa_config · fmt clean.
@AdaWorldAPI
AdaWorldAPI merged commit 8997948 into main Aug 7, 2026
6 checks 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