Skip to content

plan(D-AW): correct "shrink" — 512 fixed, reorganize proven tenants without hardcoding#732

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

plan(D-AW): correct "shrink" — 512 fixed, reorganize proven tenants without hardcoding#732
AdaWorldAPI merged 1 commit into
mainfrom
claude/happy-hamilton-0azlw4

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

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_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, which is why M21 single-import + OGAR-produces-the-layout are enabling invariants.

Changes (plan doc)

  • New §0.6 — the arc: spread wide (additive, no bump) → jc measure → reorganize the proven (versioned, within fixed 512).
  • §0.5 table + §4 step 3 corrected (the "no base edit / no version bump" shrink cells were wrong).
  • Implication flagged: VALUE_TENANTS must 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

…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
@coderabbitai

coderabbitai Bot commented Jul 18, 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: 58 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

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: 44ba647b-0c22-4115-8fe7-d31b1783369e

📥 Commits

Reviewing files that changed from the base of the PR and between dbd7fe6 and 02f63ac.

📒 Files selected for processing (1)
  • .claude/plans/soa-32-tenant-awareness-redundancy-v1.md

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 Jul 18, 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_e1656841-2b68-492b-87f2-1ee0862278a1)

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review July 18, 2026 21:44
@AdaWorldAPI
AdaWorldAPI merged commit 4c58c1d into main Jul 18, 2026
2 checks passed

@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: 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".

Comment on lines +124 to +126
**"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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

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