Agentic framework for integration, end2end, multiuserinteraction, security testing based on usecases.
Find a file
tegwick eee7722714 T09: crystallization
A stable agentic realization becomes deterministic code. All four exit
criteria met; 163 tests pass.

- crystallization.py: trajectory capture, stability assessment requiring the
  same path across several runs, CrystallizedDriver, pytest codegen
- crystallized/test_grant_access.py: generated, runs with no model, carries
  its lineage in the docstring
- descendant preserves the ancestor's oracle set, agrees with it across five
  lab versions, and still catches a seeded defect
- reversibility shown both ways via new M24 (grant endpoint renamed): the
  frozen descendant fails loudly rather than searching, and the agentic
  ancestor recovers from the same mutation

F-0007 (open): the 54% cost reduction must not be quoted in support of the
thesis. The T07 runtime is token-free, so the measured saving is one page
fetch, one parse and a two-candidate scoring pass. The saving the concept
actually claims - tokens, latency, retry variance - is unmeasured. Together
with F-0005 this makes a bounded live-model experiment the highest-value next
investment.

Assertions in the generated test are imported rather than restated, so it is
not fully standalone. Deliberate: paraphrased claims would be a second
unverified statement of intent.

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-23 00:21:48 +02:00
crystallized T09: crystallization 2026-08-23 00:21:48 +02:00
docs T08: the classifier, measured and attacked 2026-08-23 00:02:58 +02:00
history Register with State Hub, persist concept assessment, seed first workplan 2026-08-22 22:40:39 +02:00
lab T09: crystallization 2026-08-23 00:21:48 +02:00
research T09: crystallization 2026-08-23 00:21:48 +02:00
scenarios T09: crystallization 2026-08-23 00:21:48 +02:00
src/testdriver T09: crystallization 2026-08-23 00:21:48 +02:00
tests T09: crystallization 2026-08-23 00:21:48 +02:00
workplans T09: crystallization 2026-08-23 00:21:48 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-08-23 00:09:16 +02:00
.gitignore Register with State Hub, persist concept assessment, seed first workplan 2026-08-22 22:40:39 +02:00
.repo-classification.yaml Register with State Hub, persist concept assessment, seed first workplan 2026-08-22 22:40:39 +02:00
AGENTS.md T04: deterministic semantic kernel 2026-08-22 23:21:07 +02:00
INTENT.md T01: establish canonical milestone sequence, record F-0001 2026-08-22 23:07:31 +02:00
pyproject.toml T09: crystallization 2026-08-23 00:21:48 +02:00
README.md T04: deterministic semantic kernel 2026-08-22 23:21:07 +02:00
SCOPE.md Register with State Hub, persist concept assessment, seed first workplan 2026-08-22 22:40:39 +02:00
WORK-RECORDS.md T09: crystallization 2026-08-23 00:21:48 +02:00

test-driver

Agentic framework for integration, end-to-end, multi-user interaction and security testing, driven by use cases.

Tests mature alongside the software they protect: fluid and agentic while behaviour is changing, deterministic once it settles. See INTENT.md for the thesis and SCOPE.md for boundaries.

Status: research prototype. The deterministic kernel runs; agentic realization, adaptation classification and crystallization are not built yet. Current work: workplans/TD-WP-0002-vertical-spike-crystallization.md.

Run

python3 -m pytest -q          # the whole suite
python3 -m pytest -q tests/test_reference_scenario.py

No third-party dependencies. Python ≥ 3.11, pytest for the suite.

Layout

src/testdriver/   the kernel — intent, world, actions, drivers,
                  observers, oracles, evidence, runner
lab/              the system under test
scenarios/        reference scenarios
research/         hypotheses, experiments, findings, fitness map
docs/             concept model, improvement loop, milestones, design notes
history/          assessments and completed-work write-ups

Reading order

  1. INTENT.md — the thesis
  2. docs/TestDriverConceptModel.md — canonical concept set
  3. docs/TestDriverClassificationDesign.md — why adaptation cannot normalize a defect, and where model judgment is and is not permitted
  4. docs/TestDriverInitialMilestones.md — canonical milestones M0M10