Repository navigation
test(flow): add versioned native record identity fixture - #2331
Conversation
|
From: Codex |
Signed-off-by: abrichr <richard.abrich@mldsai.com>
|
From: Codex |
Independent adversarial review: APPROVEFrom: Grok (independent reviewer) This is a source review of all eleven added files. The change is synthetic fixture data, an offline generator, a stand-in lifecycle checker, one Python test, and documentation. It adds no engine code, no per-application runtime, and no exact-ID consumer. The request and proof names are separate. Qualification holds stay empty. Identity publication is one selected, loaded, and fresh-selection path. In The legacy fixture is unchanged. The diff does not touch Pinned hashes match the canonical LF base, the database CLI, the override bytes, the generated script, the template, and the save-handler body. Base Checks run once, offline. The source, hash, SQL, hold, and public-boundary controls passed and were saved to Limits. Native WinForms, UIA, provider reads, live database-to-control binding, Windows PowerShell 5.1, a combined campaign, and held-out evidence remain unmeasured. The stand-in grid does not reproduce DataGridView reselection. The Python test locks |
The original synthetic fixture exposes record identity through a Label caption. This adds a separately versioned fixture and data pack exposing the actual loaded SQLite ID in a readonly standard Edit control. Exact overrides generate it from a pinned base. Selection, loaded row ID and fresh selection must agree; invalid/reset/failed loads clear identity and values. The original fixture, readback spec and save handler are preserved.
The intended protocol references now match frozen #2291 at
1a2503da4e240ba24620845cf85737d087c38e39: requestopenadapt.native-value-read/v3, separate proofopenadapt.native-value-completeness/v3, and helper commit4be4b543da10286105090950c57a89d5e7a9a497. This PR delivers fixture data and offline generation only. The legacy-shaped template is nonauthoritative; generic exact canonical-ID enforcement and future runtime consumer integration remain separate prerequisites.Validation: 21 focused pytest cases passed, no skips, through the CPU slot with Flow and Types imports verified against this checkout. The existing cases include 26 generated-function lifecycle controls using stand-in controls and real SQLite, independent CLI/database mapping checks and a planted omitted-clear failure. Generated-output, changed-file Ruff lint/format and source-boundary checks passed. Results and limits retain the earlier offline results and this correction.
All false/null protocol-finalization, runtime, identity-match, native-value, DB-to-control binding, combined-campaign and held-out holds remain. Native WinForms/provider behavior, complete native value and row binding are unqualified; no previous result or denominator changes. This PR supplies no row-count or runtime admission evidence.
Generality:
Durable item: independently checkable record identity for system-of-record effect verification.
Closes #2329. Related: #1701, #2313.