|
|
1 hónapja | |
|---|---|---|
| .. | ||
| README.md | 1 hónapja | |
Round 3 (2026-08-14) is complete: this directory is empty of fixtures. All 38
confirmed bugs it held were fixed and promoted — soundness repros into
tests/graphs/, the facade-retyping escapes into the facade-siting diagnostics
block of tests/analysis.test.ts. The rules that closed them are the ones described in
docs/analysis.md; the per-bug trace lived in docs/adversarial-round3-findings.md
until 2026-09-13 and is in git history.
This directory is a reusable landing zone for the next adversarial round, kept (rather than deleted) because it is wired into the tooling: it is excluded from oxlint like the other fixture dirs, and no test suite reads it, so a work-in- progress repro here neither breaks the build nor gets snapshot-tested.
Workflow for a fix round. A .ts file placed here is a minimized,
skeptic-verified repro of a confirmed soundness bug: it typechecks clean (or, for
a facade-siting escape, wrongly fails to produce a diagnostic) and its analyzed
graph is missing a genuine may-flow edge, so it must NOT be snapshot-tested yet —
a snapshot would enshrine the buggy output. Each file's header comment states the
missing runtime flow and the root cause. Run one through the debug harness:
node scratch/run.mjs tests/holes/<name>.ts
Fix a root cause, re-run its repros, then PROMOTE each fixed fixture into
tests/graphs/ (or, for a facade-siting escape, into tests/analysis.test.ts)
with a hand-reviewed snapshot, and delete it here. This directory should be
fixture-empty again when a round's hardening is complete.