Skip to content

test: cover missing generated scenario families as proof subjects #196

Closed

Description

@Sinity

Parent

Part of #330 and related to #329.

Context

The corrected design goal is not generic benchmark/validation coverage. It is to make missing generated-world and workload families appear as proof subjects and evidence runners so live/archive checks stop carrying routine epistemic load.

Live archive runs remain useful as reality checks and sources of reduced witnesses. They should not be the intended place where invariants are discovered.

Missing generated-world/workload families

  • cold doctor/check on fresh archive state;
  • cold stats/search on generated archive state;
  • large generated archive search across FTS and hybrid paths;
  • pathological raw parse rerun: malformed JSONL, BOM, empty input, giant single-line records;
  • giant grouped JSONL ingest;
  • repair convergence from known-broken generated states;
  • action-event rebuild convergence;
  • destructive-preview safety;
  • archive substrate laws: content hash stability, idempotent upsert, NFC normalization.

Missing oracle/claim families

  • parser crashlessness and explicit quarantine semantics;
  • wrong-provider rejection without silent adoption;
  • filter algebra and count/list/search agreement;
  • CLI/MCP/facade trace or semantic equivalence;
  • render/site payload contracts where applicable;
  • privacy-safe live-derived witness reduction;
  • comparative/growth-shape performance evidence.

Acceptance criteria

Related focused slices: #327 and #328.

Activity

  1. Sinity commented on Apr 21, 2026

    @Sinity
    OwnerAuthor

    Regression and budget scope added to this issue:

    • RegressionCase / ProbeCapture: failed pipeline-probe, archive-subset, or live-canary summaries should be capturable as durable local regression artifacts under .local/regression-cases/, with enough provenance and selected summary fields to replay or reduce the failure later.
    • GrowthBudget: scenario and probe workloads should support size-tiered memory/time envelopes, not only single fixed thresholds. The target is to express step-growth and per-unit contracts for RSS/runtime and use them in tests, validation lanes, and benchmark follow-up.

    This clarifies the existing acceptance criterion: "At least one live-reduction capture: a real failure converted into a synthetic regression fixture." Later PRs should connect these artifacts to richer scenario catalogs and semantic evidence lanes.

  2. Sinity commented on Apr 21, 2026

    @Sinity
    OwnerAuthor

    Additional regression targets:

    • Keep the malformed JSONL raw and the zero-length Codex export as explicit quarantine regression cases, not stale-state bugs.
    • Malformed raw id: 57399b8676d88e84698827874e6f7cee6700f8138841ca058205af05cc73fd7e; known decode failure around line 819 with Expecting ',' delimiter.
    • Zero-length raw id: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855; expected decode failure because the source export is size 0.
    • Preserve the current live memory baseline as a measurement target for future growth-budget work: full rebuild around 56m40s / 6.9 GiB RSS, parse rerun around 20m54s / 5.35 GiB RSS.

    These should become captured/reduced regression cases and budgeted workloads under the regression-capture harness.

  3. Sinity commented on Apr 21, 2026

    @Sinity
    OwnerAuthor

    Added two focused follow-ups from testing/operator notes:

    These are narrower execution slices under the broader benchmark/verification scenario coverage program here.

  4. changed the title [-]test: expand benchmark and verification scenario coverage[/-] [+]test: add missing scenario and oracle families[/+] on Apr 21, 2026
  5. added
    theme:verifiability
    phase:migration
    on Apr 21, 2026
  6. changed the title [-]test: add missing scenario and oracle families[/-] [+]test: cover missing generated scenario families as proof subjects[/+] on Apr 22, 2026
  7. added
    theme:semantic-proof
    on Apr 22, 2026
  8. Sinity commented on Apr 22, 2026

    @Sinity
    OwnerAuthor

    Starting this after closing #331.

    Tactic for the first PR:

    • Treat generated-world/workload families as proof subjects in the existing proof-obligation catalog, not as a separate scenario registry.
    • Keep the slice local and deterministic: generated/cold archive states, pathological raw input cases, destructive-preview safety, and substrate law evidence.
    • Implement or explicitly map at least two semantic claim families so this closes the open child under tracking: build agentic verifiability proof layer #330 without reintroducing bespoke validation machinery.
    • Record durable decisions and final verification in this issue/PR thread.
  9. Sinity commented on Apr 22, 2026

    @Sinity
    OwnerAuthor

    Merged PR #356 as 852b456a (test: add generated scenario proof subjects).

    Closure evidence:

    • Added 9 generated.scenario_family proof subjects.
    • Added generated-scenario claims for family registration, deterministic local implemented scenarios, and semantic claim mapping.
    • Implemented static evidence runner coverage for those claims.
    • Registered deterministic local implemented families for pathological raw reruns, destructive-preview safety, repair convergence, and archive substrate laws.
    • Left cold doctor/check, cold stats/search, large generated search, giant grouped JSONL ingest, and action-event rebuild convergence as explicit proof-catalog migration tasks.

    Verification run before merge:

    • devtools verify
    • pre-push devtools verify --quick
    • focused proof/devtools tests and devtools render-all --check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:parserarea:pipelinearea:qaphase:migrationtheme:semantic-prooftheme:verifiabilitytype:test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions