Skip to content

render-askama: render_class_with_methods_wide — the WideFieldMask entry#163

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/wide-mask-render
Jul 6, 2026
Merged

render-askama: render_class_with_methods_wide — the WideFieldMask entry#163
AdaWorldAPI merged 1 commit into
mainfrom
claude/wide-mask-render

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

The single gap the render-bake design named (F1): render_class_with_methods is u64-only and loud-fails any >64-field class under a partial mask — work_packages (~109 cols) is exactly the class lance-graph #651 minted WideFieldMask for.

Additive sibling entry render_class_with_methods_wide(&Class, &WideFieldMask, &[ActionDef]); shared ctx build factored into a private presence-closure helper — the narrow entry's semantics and its >64 guard are byte-identical (regression-pinned by test). No template change, no new deps (WideFieldMask was already reachable via the existing lance-graph-contract dep).

Tests: partial wide mask gates exact fields on an 80/70-field class; full_for emits all; narrow class byte-identical through both entries; narrow entry still loud-fails while wide succeeds on the same class. Crate suite green; clippy -D warnings clean.

Consumer: op-nexgen's render-bake probe (OP leg wide classes); downstream odoo-rs #23 already wired MaskWords → WideFieldMask.

🤖 Generated with Claude Code

…ry (bake gap F1)

The single missing function the render-bake design named: the narrow
entry loud-fails any >64-field class under a partial mask (work_packages
~109 cols — the exact class lance-graph #651 minted WideFieldMask for).
Additive sibling entry taking &WideFieldMask (not Copy — Box past 64
bits); the shared ctx build is factored into a private
render_class_with_methods_via(class, field_present: impl Fn(u8)->bool,
actions) — zero behavior change to the narrow entry, its u64 guard
byte-identical (regression-pinned).

Tests: partial wide mask gates exact fields on an 80/70-field class;
full_for emits all; narrow class byte-identical through both entries;
narrow entry still loud-fails >64 while wide succeeds on the same class.
Crate suite green; clippy --all-targets -D warnings clean. No new deps
(WideFieldMask was already reachable via the existing
lance-graph-contract dep). Built by a Sonnet grindwork agent under fixed
spec; orchestrator-verified.
@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.

@cursor

cursor Bot commented Jul 6, 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_0c3173a2-9e69-483c-ad1f-49ba7baf77c1)

@AdaWorldAPI AdaWorldAPI merged commit a81fc4e into main Jul 6, 2026
2 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