test-driver/WORK-RECORDS.md
tegwick 44faf3de8e T07: agentic realization over a stdlib browser surface
Two decisions taken with the operator: stdlib HTML driver instead of
Playwright (F-0004), and a deterministic discovery runtime instead of a live
model. Both sit behind interfaces so the alternatives drop in later.

- html.py: stdlib DOM parse and query
- agentic.py: DiscoveryRuntime (agentic arm, ignores data-td by construction)
  and RecordedSelectorRuntime (control arm, uses the strongest identifier the
  page offers)
- browser.py: per-actor sessions over real HTTP, constructed per call so no
  actor inherits another's connection state
- cost/nondeterminism metrics recorded from the first run

F-0005 (CONCEPT_DRIFT): the H-001 result is a narrowing. Where test ids are
preserved, discovery 9/9 and recorded selectors 9/9 - the semantic action buys
nothing. Where they are dropped, discovery 2/3 and recorded 0/3. The concept
model presents semantic actions as generally superior; the evidence says
conditionally superior.

M21 and M22 added mid-task: the deciding side of the axis was N=1. M22 (field
names renamed) defeats the heuristic and is the first concrete evidence that a
live model would add capability, not just cost.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 1629012@bnt-lap001
Assistant-Session: 78d4fb13-8a1e-474b-87a3-9b9261c49a39
2026-08-22 23:50:29 +02:00

1.8 KiB

Work Records — test-driver

Generated by statehub fix-consistency (CUST-WP-0061-T04, work-record stage 3). Do not edit by hand — edit the source file/block listed for each record and re-run fix-consistency to refresh this index. Archived workplans are omitted; closed decisions/intakes/engagements stay listed so recently-resolved work is still visible. [auto]

Kind ID Status Lane Source
workplan TD-WP-0001 active workplans/TD-WP-0001-statehub-bootstrap.md
workplan TD-WP-0002 active workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0001-T01 done workplans/TD-WP-0001-statehub-bootstrap.md
task TD-WP-0001-T02 done workplans/TD-WP-0001-statehub-bootstrap.md
task TD-WP-0001-T03 done workplans/TD-WP-0001-statehub-bootstrap.md
task TD-WP-0002-T01 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T02 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T03 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T04 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T05 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T06 done workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T07 todo workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T08 todo workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T09 todo workplans/TD-WP-0002-vertical-spike-crystallization.md
task TD-WP-0002-T10 todo workplans/TD-WP-0002-vertical-spike-crystallization.md