Skip to content

docs(ogar-emitter): record Pattern-C (Anamnese) boundary on the projection arm#213

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/a2ui-screen-addressing-continue-azizft
Jul 19, 2026
Merged

docs(ogar-emitter): record Pattern-C (Anamnese) boundary on the projection arm#213
AdaWorldAPI merged 1 commit into
mainfrom
claude/a2ui-screen-addressing-continue-azizft

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

Records the measured Pattern-C (Anamnese) boundary as a forward-looking
note on the projection emitter's module doc (ogar-emitter, added in #212).

Why

A 2026-07-19 harvest of medcare-rs queries/anamnese.rs (the furnace's next
entity, worklist row 2) found it is not Pattern A: it is a tuple-fold read
(sqlx::query_as::<(T, …)>, positional destructure, no named row struct), so
the impl From<Row> projection emitter does not cover it as-is. The note:

  • names the distinct arm Anamnese needs (positional-tuple destructure, SQL-side
    CAST(… AS CHAR) templating, a clamp-and-cast transform),
  • names the three hand-keep slag outliers (Gyn/Sexual/Alkohol — code→enum,
    [bool;7] arrays, name-keyed try_get past sqlx's 16-col cap),
  • corrects the worklist's "purest metal / id·patient_id·date·text ×14" label —
    those are query filters, not domain fields,
  • and fences it: do not speculatively pre-build — the arm lands when the
    loop reaches Anamnese (A records the C# fixture first).

Proof

Doc-only; no code change. cargo test -p ogar-emitter → 38 pass; fmt clean.

@cursor

cursor Bot commented Jul 19, 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_01f98724-5c85-4310-ac80-0220ca22c967)

…ction arm

Harvest of medcare-rs queries/anamnese.rs (2026-07-19) found the furnace's
next entity is NOT Pattern A: it is a tuple-fold read (query_as::<(T,..)>,
positional destructure, no named row struct). Records the exact distinct
arm it needs (positional-tuple destructure, SQL-side CAST templating,
clamp-and-cast) + the three hand-keep slag outliers (Gyn/Sexual/Alkohol),
and corrects the worklist's "purest metal / id·patient_id·date·text ×14"
label — those are query filters, not domain fields. Do-not-speculatively-
pre-build: the arm lands when the loop reaches Anamnese.

Doc-only; no code change (38 tests still green).

Generated by Claude Code.
@AdaWorldAPI
AdaWorldAPI force-pushed the claude/a2ui-screen-addressing-continue-azizft branch from 71ff4fa to 6a013a3 Compare July 19, 2026 10:53
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review July 19, 2026 12:09
@cursor

cursor Bot commented Jul 19, 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_655864e6-5c95-4070-9cbf-ef42c08e0a1c)

@AdaWorldAPI
AdaWorldAPI merged commit 93e9894 into main Jul 19, 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