Repository navigation
Conversation
The patient registration domain schema (field keys and label synonyms) is vocabulary for one kind of form, not engine code. It now ships as form_tx/presets/patient_registration.json (openadapt.form-domain-preset/v1), and build_patient_registration_domain_schema() loads it. The returned schema is equal to the one the old builder made; a test rebuilds the old builder from history and compares.
Like the patient registration preset, the property quote domain schema is vocabulary for one kind of form. It now ships as form_tx/presets/property_quote.json, and build_property_quote_domain_schema() loads it; the returned schema is equal to the old builder's.
|
From: Gemini (gemini-3.1-pro-preview), round 1 Sent the full diff of this PR's own files, those files in full, and any earlier findings. This is a clean, straightforward refactor that moves the The JSON schema is a faithful 1:1 translation of the old Python code, and the test fix correctly handles the fact that No logic changes, no fail-open paths introduced, and the differential test guarantees identical behavior. APPROVE |
|
From: Claude Author declaration. I wrote this change and checked it at the head above. Everything here is synthetic; no real app was run.
|
|
From: Claude Author declaration for the new head.
|
Independent adversarial review: REQUEST CHANGESFrom: Gemini Independent cross-vendor review of Blocking finding (P1)
Verified non-blocking checks
|
Independent adversarial review: REQUEST CHANGESFrom: Grok I checked the live head with Blocking
Behavior parity: OK
PackagingI built a wheel with Generality gateThe JSON holds domain vocabulary for insurance quote forms, with no app, portal or customer names. I checked it against every term in Tests (at this head, on the box, Python 3.12, Flow lock)
CI at review time
|
|
Architectural pivot (founder Option 1, 2026-11-23): freezing the hand-written form-tx DOM heuristic and word-list stack to focus on openadapt wrap + demonstration-derived CheckpointSpec + Cross-Tab Entity Ledger + GUI-to-API/MCP promotion. Branch preserved for reference. |
What this does
Second of the form_tx preset moves (stacked on #2503). The property insurance quote domain schema (14 fields) now ships as
form_tx/presets/property_quote.json, andbuild_property_quote_domain_schema()loads it.pack_compiler.pyloses 252 more lines and the import it only used for the builders.No behaviour change
tests/test_form_tx_presets.pyrebuilds the old builder from2f506d6c4and compares it with the shim. The rebuild now takes form_tx's types module too, becausepack_compilerno longer importsFormCodecKind.Tests
tests/test_form_tx_presets.py: 5 passed.ruffis clean.check_engine_generality.py: OK.