Skip to content

feat(ogar-render-askama): W2/W3 fieldview — the addressed desktop surface#207

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/ogar-a2ui-transcoding-b7xzrn
Jul 14, 2026
Merged

feat(ogar-render-askama): W2/W3 fieldview — the addressed desktop surface#207
AdaWorldAPI merged 1 commit into
mainfrom
claude/ogar-a2ui-transcoding-b7xzrn

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

Adds ogar-render-askama::field_view — the render half of the A2UI
screen-addressing charter (docs/A2UI-SCREEN-ADDRESSING-PROPOSAL.md, C1.2):
a WideFieldMask-projected ClassView instance renders as an addressed
surface
rather than a rasterized bitmap. Don't push pixels — address the
screen.

Surface

Tests

5 new tests (addressed render incl. a wide position ≥ 64, XSS regression,
empty-action nav omit, both projection bridges). 61 crate tests green,
clippy clean.

Consumer

Consumed by the a2ui-rs W2 a2ui-server tier (RBAC-project WideFieldMask ∩ roleNodeDelta down + this fieldview render; ActionInvoke up by ordinal;
ogar-encryption sealed transport). Ledger: docs/DISCOVERY-MAP.md
D-A2UI-SCREEN-ADDRESSING (status appended in this PR).

🤖 Generated with Claude Code

https://claude.ai/code/session_01UZmHUePVbVXjHJWoBmABiZ


Generated by Claude Code

…face

Add ogar-render-askama::field_view — the render half of the A2UI screen-
addressing charter (docs/A2UI-SCREEN-ADDRESSING-PROPOSAL.md, C1.2): a
WideFieldMask-projected ClassView instance renders as an ADDRESSED surface
rather than a rasterized bitmap.

- render_field_view(class_id, concept, key_hex, title, fields, actions) +
  templates/dispatch/field_view.askama.
- Every field carries data-field-pos = its WideFieldMask position (its layout
  address); every action carries data-action-ordinal = its ActionDef address
  (trap T2 — no inline handler is representable). The node key addresses the
  whole surface (data-key).
- from_value_rows / from_render_rows: direct ClassView-projection bridges
  (lance_graph_contract::class_view::{ValueRow,RenderRow} -> FieldView).
- escape="html", no |safe hatch: the XSS class the list/detail kits fixed
  under codex P1 (#83/#84) cannot arise on a fieldview.

5 new tests (addressed render incl. a wide position >= 64, XSS regression,
empty-action nav omit, both projection bridges); 61 crate tests green,
clippy clean. Consumed by the a2ui-rs W2 a2ui-server tier.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UZmHUePVbVXjHJWoBmABiZ
@AdaWorldAPI AdaWorldAPI merged commit df7331e into main Jul 14, 2026
1 check passed
@cursor

cursor Bot commented Jul 14, 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_112b6fc4-2e32-448a-a4c6-11e49b5a5a90)

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