plan(D-AW): correct "shrink" — 512 fixed, reorganize proven tenants without hardcoding#732
Conversation
…without hardcoding Operator correction (2026-07-18): the 512-byte envelope is FIXED. "Shrink" is NOT byte-shrinking and NOT "re-mint with no base edit" — it is the LATER reorganization of the jc-proven tenants into a clean layout WITHIN the fixed 512, freeing the redundant slots (a deliberate, versioned ENVELOPE_LAYOUT_VERSION reorg + field-isolation matrix). "Without hardcoding" is the load-bearing constraint: the tenant layout descriptor must be OGAR-mint-sourced / codegen'd, not a hand-authored VALUE_TENANTS const array — so reorganizing is re-mint -> regenerate -> recompile, never hand-moving offsets. Compile-time asserts + zero-copy still hold (the generated descriptor is compile-time-known, just mint-sourced not hand-typed). That keeps the reorg a 2-place change (regenerate the one base descriptor + re-mint OGAR readings), which is why M21 single-import + OGAR-produces-the-layout are enabling invariants, not nice-to-haves. New §0.6 states the arc (spread wide -> jc measure -> reorganize proven); §0.5 table + §4 step 3 corrected; implication flagged: VALUE_TENANTS must become mint-sourced (don't add hand-hardcoded awareness variants that would need hand-reorganizing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
|
Warning Review limit reached
Next review available in: 58 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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. Comment |
Bugbot couldn't run - usage limit reachedBugbot 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_e1656841-2b68-492b-87f2-1ee0862278a1) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 02f63acaae
ℹ️ 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".
| **"Without hardcoding" is the load-bearing constraint on step 3.** The tenant | ||
| layout descriptor must be **mint-sourced / codegen'd from OGAR**, not a | ||
| hand-authored `VALUE_TENANTS` array — so reorganizing is *re-mint → regenerate the |
There was a problem hiding this comment.
Avoid sourcing contract layout from OGAR at build time
In the CI-gated lance-graph-contract crate, Cargo.toml documents that the crate must remain dependency-free—even optional ../../../OGAR path deps break workspace load—and lance-graph-ogar/Cargo.toml is the excluded layer that owns ogar-vocab. As written, this plan makes the base descriptor in lance-graph-contract “mint-sourced / codegen'd from OGAR” without requiring a checked-in/offline artifact, so following it literally would add an OGAR build-time/source dependency to the contract crate and break normal workspace builds that do not have the sibling OGAR checkout. Please constrain this to an offline generated descriptor or keep the OGAR-coupled generation in the excluded activation crate.
Useful? React with 👍 / 👎.
What
Operator correction (2026-07-18) to the D-AW plan's "shrink" semantics. Docs-only.
The 512-byte envelope is FIXED. "Shrink" is not byte-shrinking and not "re-mint with no base edit" (both were wrong in the prior framing). It is the later reorganization of the jc-proven tenants into a clean layout within the fixed 512, freeing the redundant slots — a deliberate, versioned
ENVELOPE_LAYOUT_VERSIONreorg + field-isolation matrix."Without hardcoding" is the load-bearing constraint: the tenant layout descriptor must be OGAR-mint-sourced / codegen'd, not a hand-authored
VALUE_TENANTSconst array — so reorganizing is re-mint → regenerate → recompile, never hand-moving offsets. Compile-time asserts + zero-copy still hold (the generated descriptor is compile-time-known, just mint-sourced not hand-typed). That keeps the reorg a 2-place change, which is why M21 single-import + OGAR-produces-the-layout are enabling invariants.Changes (plan doc)
VALUE_TENANTSmust become mint-sourced; do NOT add hand-hardcoded awareness variants that would then need hand-reorganizing.Rebased onto
origin/main(#731). CausalEdge64/EW64 stay for reference.🤖 Generated with Claude Code
https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
Generated by Claude Code