{
  "schema_version": "0.5",
  "generated_at": "2026-08-07T11:27:29+08:00",
  "stats": {
    "public_cases": 12,
    "validated_units": 13,
    "patterns": 5,
    "classification_revisions": 3,
    "withheld": 2
  },
  "by_state": {
    "validated": 10,
    "unresolved": 1,
    "regressed": 1
  },
  "by_lens": {
    "test": 12,
    "operations": 4,
    "developer": 4,
    "dependency": 3,
    "interface": 3,
    "user": 2,
    "architecture": 2,
    "ai-generation": 1,
    "framework": 1,
    "process": 1
  },
  "by_facet": {
    "what": 11,
    "why": 10,
    "where": 1,
    "under": 4,
    "state": 2,
    "when": 3,
    "severity": 1,
    "how-found": 1
  },
  "cases": [
    {
      "id": "BC-0001",
      "app": "todo-app",
      "title": "Optimistic mutation does not roll back on failure",
      "state": "validated",
      "summary": "An item added optimistically stays on screen after the remote write returns HTTP 500. The list and the server disagree, and nothing tells the user.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-01T12:00:00+08:00",
      "updated_at": "2026-08-01T12:35:00+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "user",
          "value": "stale-ui",
          "confidence": 0.99,
          "valid_from": "2026-08-01T12:02:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0001"
          ],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "runtime",
          "value": "race-condition",
          "confidence": 0.42,
          "valid_from": "2026-08-01T12:05:00+08:00",
          "valid_to": "2026-08-01T12:22:00+08:00",
          "current": false,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0001"
          ],
          "notes": "First reading: two writes assumed to interleave."
        },
        {
          "facet": "why",
          "lens": "ai-generation",
          "value": "omitted-failure-path",
          "confidence": 0.92,
          "valid_from": "2026-08-01T12:22:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0002",
            "EV-0003"
          ],
          "notes": "Replaces CL-0001. The generated code models the success path only; there is no interleaving to race."
        },
        {
          "facet": "where",
          "lens": "architecture",
          "value": "transaction-boundary",
          "confidence": 0.84,
          "valid_from": "2026-08-01T12:24:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0002"
          ],
          "notes": null
        },
        {
          "facet": "under",
          "lens": "dependency",
          "value": "any-async-transport",
          "confidence": 0.71,
          "valid_from": "2026-08-01T12:30:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0003"
          ],
          "notes": null
        }
      ],
      "revisions": 1,
      "lenses": [
        "ai-generation",
        "architecture",
        "dependency",
        "runtime",
        "user"
      ],
      "perspectives": [
        {
          "lens": "user",
          "description": "The item is on the list. Reload and it is gone. Nothing said the save failed.",
          "confidence": 0.99
        },
        {
          "lens": "runtime",
          "description": "The mutation promise rejects. The rejection is caught and logged, and the local store is never touched again.",
          "confidence": 0.95
        },
        {
          "lens": "architecture",
          "description": "Local state was written before the remote write was known to succeed, and no compensating action exists for the failure branch.",
          "confidence": 0.88
        },
        {
          "lens": "ai-generation",
          "description": "The generated handler covers the success path in full and the failure path only as a log line — the shape you get when the prompt describes what should happen and not what happens when it does not.",
          "confidence": 0.9
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0001",
          "statement": "Two concurrent writes interleave and the later one wins.",
          "status": "refuted",
          "refuted_by": [
            "EV-0002"
          ],
          "notes": "Reproduced with a single write. The failure needs no concurrency at all."
        },
        {
          "hypothesis_id": "HY-0002",
          "statement": "The error handler never restores the pre-mutation state.",
          "status": "supported",
          "supported_by": [
            "EV-0002",
            "EV-0003"
          ]
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0001",
          "kind": "reproduction",
          "description": "Forced POST /todos to return HTTP 500. The optimistic row stayed visible; a reload removed it.",
          "captured_at": "2026-08-01T12:02:00+08:00"
        },
        {
          "evidence_id": "EV-0002",
          "kind": "execution",
          "description": "Single sequential write, no concurrency. Same outcome — refutes the race hypothesis.",
          "captured_at": "2026-08-01T12:20:00+08:00",
          "contradicts": [
            "HY-0001"
          ]
        },
        {
          "evidence_id": "EV-0003",
          "kind": "test_result",
          "description": "Regression test fails against pre and passes against post.",
          "captured_at": "2026-08-01T12:33:00+08:00"
        }
      ],
      "patches": [
        {
          "patch_id": "PA-0001",
          "status": "rejected",
          "summary": "Disable the optimistic update entirely.",
          "notes": "Rejected: removes the behaviour instead of completing it, and the latency it hid is real."
        },
        {
          "patch_id": "PA-0002",
          "status": "accepted",
          "summary": "Restore the captured previous state inside the async error handler."
        }
      ],
      "timeline": [
        {
          "at": "2026-08-01T12:00:00+08:00",
          "state": "captured",
          "text": "HTTP 500 reproduced with the optimistic item still on screen."
        },
        {
          "at": "2026-08-01T12:05:00+08:00",
          "state": "investigating",
          "text": "First reading: a race between two writes."
        },
        {
          "at": "2026-08-01T12:20:00+08:00",
          "state": "reproduced",
          "text": "Single-write reproduction refutes the race."
        },
        {
          "at": "2026-08-01T12:22:00+08:00",
          "state": "localized",
          "text": "The failure branch never restores state. Classification revised."
        },
        {
          "at": "2026-08-01T12:28:00+08:00",
          "state": "patched",
          "text": "First patch rejected; second attaches a rollback."
        },
        {
          "at": "2026-08-01T12:33:00+08:00",
          "state": "validation-pending",
          "text": "Regression test attached."
        },
        {
          "at": "2026-08-01T12:35:00+08:00",
          "state": "validated",
          "text": "pre failed, post passed."
        }
      ],
      "relations": [
        {
          "predicate": "manifested_as",
          "object": {
            "type": "BugEvent",
            "id": "BE-0001"
          }
        },
        {
          "predicate": "same_root_as",
          "object": {
            "type": "BugUnit",
            "id": "BU-0003"
          }
        }
      ],
      "unit_id": "BU-0001"
    },
    {
      "id": "BC-0002",
      "app": "notes-sync",
      "title": "Retry storm on a dependency that is already down",
      "state": "unresolved",
      "summary": "A bounded-looking retry has no budget across callers, so a single upstream outage multiplies into a self-inflicted load spike.",
      "origin": "human_ai_coproduced",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-01T15:10:00+08:00",
      "updated_at": "2026-08-02T08:40:00+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "operations",
          "value": "load-amplification",
          "confidence": 0.88,
          "valid_from": "2026-08-01T15:20:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0010"
          ],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "architecture",
          "value": "retry-without-budget",
          "confidence": 0.79,
          "valid_from": "2026-08-01T15:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0011"
          ],
          "notes": null
        },
        {
          "facet": "state",
          "lens": "developer",
          "value": "unresolved-by-design",
          "confidence": 0.6,
          "valid_from": "2026-08-02T08:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [],
          "notes": "Kept open on purpose. A fix that only adds backoff here would move the amplification one layer out."
        }
      ],
      "revisions": 0,
      "lenses": [
        "architecture",
        "developer",
        "operations"
      ],
      "perspectives": [
        {
          "lens": "operations",
          "description": "Request volume to the failing dependency rises during the outage rather than falling.",
          "confidence": 0.93
        },
        {
          "lens": "architecture",
          "description": "Each caller retries correctly in isolation. There is no shared budget, so correctness at each layer composes into failure.",
          "confidence": 0.8
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0010",
          "statement": "Adding jittered backoff at the client resolves it.",
          "status": "open",
          "notes": "Suspected insufficient: it slows the storm without bounding total attempts."
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0010",
          "kind": "metric",
          "description": "Upstream request rate rose 6.2x during a 90-second dependency outage.",
          "captured_at": "2026-08-01T15:18:00+08:00"
        },
        {
          "evidence_id": "EV-0011",
          "kind": "observation",
          "description": "Three independent call sites each retry three times; none is aware of the others.",
          "captured_at": "2026-08-01T15:38:00+08:00"
        }
      ],
      "patches": [],
      "timeline": [
        {
          "at": "2026-08-01T15:10:00+08:00",
          "state": "captured",
          "text": "Outage produced more traffic, not less."
        },
        {
          "at": "2026-08-01T15:20:00+08:00",
          "state": "triaged",
          "text": "Classified as load amplification."
        },
        {
          "at": "2026-08-01T15:40:00+08:00",
          "state": "investigating",
          "text": "Three retry sites found, no shared budget."
        },
        {
          "at": "2026-08-02T08:40:00+08:00",
          "state": "unresolved",
          "text": "Left open deliberately — a local fix would relocate the problem."
        }
      ],
      "relations": [
        {
          "predicate": "co_occurs_with",
          "object": {
            "type": "BugCase",
            "id": "BC-0001"
          }
        }
      ],
      "unit_id": null
    },
    {
      "id": "BC-0003",
      "app": "doc-pipeline",
      "title": "Previously-correct parser broke on a dependency minor release",
      "state": "validated",
      "summary": "No code changed. A transitive dependency tightened its date parsing in a minor release and a previously-passing path began rejecting valid input.",
      "origin": "environment_drift",
      "ai": null,
      "created_at": "2026-07-30T09:00:00+08:00",
      "updated_at": "2026-07-30T11:20:00+08:00",
      "classifications": [
        {
          "facet": "why",
          "lens": "developer",
          "value": "our-code-regressed",
          "confidence": 0.55,
          "valid_from": "2026-07-30T09:10:00+08:00",
          "valid_to": "2026-07-30T09:40:00+08:00",
          "current": false,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [],
          "notes": "The first assumption whenever something that worked stops working."
        },
        {
          "facet": "when",
          "lens": "dependency",
          "value": "introduced-by-upstream-minor",
          "confidence": 0.95,
          "valid_from": "2026-07-30T09:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "tool",
          "evidence_refs": [
            "EV-0020"
          ],
          "notes": null
        },
        {
          "facet": "under",
          "lens": "dependency",
          "value": "context-dependent-defect",
          "confidence": 0.91,
          "valid_from": "2026-07-30T09:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0020",
            "EV-0021"
          ],
          "notes": "The same source is correct under the old resolution and incorrect under the new one."
        }
      ],
      "revisions": 1,
      "lenses": [
        "dependency",
        "developer"
      ],
      "perspectives": [
        {
          "lens": "developer",
          "description": "git blame points at code that has not changed in eight months.",
          "confidence": 0.99
        },
        {
          "lens": "dependency",
          "description": "The behaviour lives in the resolved version, not in the declared range. The range never changed; what it resolves to did.",
          "confidence": 0.94
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0020",
          "statement": "A recent commit introduced it.",
          "status": "refuted",
          "refuted_by": [
            "EV-0020"
          ]
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0020",
          "kind": "diff",
          "description": "Lockfile diff: the only change in the failing window is a transitive minor bump.",
          "captured_at": "2026-07-30T09:35:00+08:00",
          "contradicts": [
            "HY-0020"
          ]
        },
        {
          "evidence_id": "EV-0021",
          "kind": "execution",
          "description": "Pinning the previous resolved version makes the same source pass unchanged.",
          "captured_at": "2026-07-30T10:05:00+08:00"
        }
      ],
      "patches": [
        {
          "patch_id": "PA-0020",
          "status": "accepted",
          "summary": "Normalise the input format at the boundary rather than pinning the dependency."
        }
      ],
      "timeline": [
        {
          "at": "2026-07-30T09:00:00+08:00",
          "state": "captured",
          "text": "A path that passed yesterday now rejects valid input."
        },
        {
          "at": "2026-07-30T09:10:00+08:00",
          "state": "investigating",
          "text": "Assumed to be our regression."
        },
        {
          "at": "2026-07-30T09:40:00+08:00",
          "state": "localized",
          "text": "Lockfile diff refutes it. Classification revised to environment drift."
        },
        {
          "at": "2026-07-30T11:20:00+08:00",
          "state": "validated",
          "text": "Boundary normalisation: pre failed, post passed."
        }
      ],
      "relations": [
        {
          "predicate": "introduced_by",
          "object": {
            "type": "Dependency",
            "id": "upstream-date-parser@2.4.0"
          }
        }
      ],
      "unit_id": "BU-0002"
    },
    {
      "id": "BC-0005",
      "app": "todo-app",
      "title": "Validated fix regressed after a framework upgrade",
      "state": "regressed",
      "summary": "BU-0001's rollback stopped firing after a framework upgrade changed when error boundaries run. Validated is not permanent.",
      "origin": "environment_drift",
      "ai": null,
      "created_at": "2026-08-02T08:00:00+08:00",
      "updated_at": "2026-08-02T08:55:00+08:00",
      "classifications": [
        {
          "facet": "state",
          "lens": "test",
          "value": "regressed-after-upgrade",
          "confidence": 0.97,
          "valid_from": "2026-08-02T08:20:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ci",
          "evidence_refs": [
            "EV-0040"
          ],
          "notes": null
        },
        {
          "facet": "under",
          "lens": "framework",
          "value": "error-boundary-timing-change",
          "confidence": 0.82,
          "valid_from": "2026-08-02T08:50:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0041"
          ],
          "notes": null
        }
      ],
      "revisions": 0,
      "lenses": [
        "framework",
        "test"
      ],
      "perspectives": [
        {
          "lens": "test",
          "description": "The regression test that gated BU-0001 fails again on current main.",
          "confidence": 0.99
        },
        {
          "lens": "framework",
          "description": "The upgrade moved error handling relative to the state commit, so the rollback now runs against state that has already been replaced.",
          "confidence": 0.8
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0040",
          "statement": "The rollback is correct but now runs too late.",
          "status": "supported",
          "supported_by": [
            "EV-0041"
          ]
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0040",
          "kind": "test_result",
          "description": "The BU-0001 regression test fails on current main.",
          "captured_at": "2026-08-02T08:20:00+08:00"
        },
        {
          "evidence_id": "EV-0041",
          "kind": "execution",
          "description": "Instrumented ordering shows the error handler running after the state commit, inverted from the validated build.",
          "captured_at": "2026-08-02T08:50:00+08:00"
        }
      ],
      "patches": [],
      "timeline": [
        {
          "at": "2026-08-02T08:00:00+08:00",
          "state": "captured",
          "text": "Regression suite went red on a case marked validated."
        },
        {
          "at": "2026-08-02T08:20:00+08:00",
          "state": "triaged",
          "text": "Confirmed against BU-0001's own gate test."
        },
        {
          "at": "2026-08-02T08:55:00+08:00",
          "state": "investigating",
          "text": "Ordering change located in the upgrade."
        }
      ],
      "relations": [
        {
          "predicate": "regressed_from",
          "object": {
            "type": "BugUnit",
            "id": "BU-0001"
          }
        }
      ],
      "unit_id": null
    },
    {
      "id": "BC-0006",
      "app": "thisoneisneok-mssp",
      "title": "The build counted and published bytecode as example source",
      "state": "validated",
      "summary": "Two build scripts walked every file under an example. The first Python example brought __pycache__ with it, so 176 lines of bytecode were counted as source and .pyc files were published to readers as part of the structure.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-02T18:40:00+08:00",
      "updated_at": "2026-08-02T19:05:00+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "developer",
          "value": "build-artifact-published-as-source",
          "confidence": 0.99,
          "valid_from": "2026-08-02T18:45:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0060"
          ],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "developer",
          "value": "language-specific-artifact-in-a-language-agnostic-walk",
          "confidence": 0.94,
          "valid_from": "2026-08-02T18:50:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0061"
          ],
          "notes": "The walk had no reason to exclude anything while every example was JavaScript."
        },
        {
          "facet": "when",
          "lens": "test",
          "value": "guaranteed-by-the-check-itself",
          "confidence": 0.97,
          "valid_from": "2026-08-02T18:52:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0061"
          ],
          "notes": "The build runs the example to verify it is runnable, which is what creates __pycache__. The defect could not be intermittent."
        }
      ],
      "revisions": 0,
      "lenses": [
        "developer",
        "test"
      ],
      "perspectives": [
        {
          "lens": "user",
          "description": "The published page listed .pyc files as part of the example's structure, next to the code a reader is meant to study.",
          "confidence": 0.95
        },
        {
          "lens": "developer",
          "description": "walk() collected every file it found. That was correct for four JavaScript examples and silently wrong for the first Python one.",
          "confidence": 0.98
        },
        {
          "lens": "test",
          "description": "The runnable check executes the example, so the artifact is produced by the same pass that then counts it.",
          "confidence": 0.96
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0060",
          "statement": "A stale directory left over from an earlier manual run.",
          "status": "refuted",
          "refuted_by": [
            "EV-0061"
          ],
          "notes": "Deleting it and rebuilding reproduced it immediately — the build makes it."
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0060",
          "kind": "tool_output",
          "description": "Reported 963 lines across 20 files; the actual source is 730 across 12. Seven .pyc files, 176 lines of bytecode counted as code.",
          "captured_at": "2026-08-02T18:42:00+08:00"
        },
        {
          "evidence_id": "EV-0061",
          "kind": "execution",
          "description": "Removed __pycache__, rebuilt: 730/12. Ran the example once, rebuilt: 963/20 again.",
          "captured_at": "2026-08-02T18:50:00+08:00",
          "contradicts": [
            "HY-0060"
          ]
        },
        {
          "evidence_id": "EV-0062",
          "kind": "test_result",
          "description": "After the fix, with six .pyc files present on disk, the count stays 730/12.",
          "captured_at": "2026-08-02T19:04:00+08:00"
        }
      ],
      "patches": [
        {
          "patch_id": "PA-0060",
          "status": "rejected",
          "summary": "Delete __pycache__ before each build.",
          "notes": "Rejected: treats the symptom on a schedule. The next artifact-producing language reintroduces it."
        },
        {
          "patch_id": "PA-0061",
          "status": "accepted",
          "summary": "Exclude build-artifact directories and compiled extensions in both walks."
        }
      ],
      "timeline": [
        {
          "at": "2026-08-02T18:40:00+08:00",
          "state": "captured",
          "text": "Example line count looked implausible against the files actually written."
        },
        {
          "at": "2026-08-02T18:45:00+08:00",
          "state": "reproduced",
          "text": "Seven .pyc files were being counted and published."
        },
        {
          "at": "2026-08-02T18:50:00+08:00",
          "state": "localized",
          "text": "The runnable check produces them, so they are guaranteed rather than incidental."
        },
        {
          "at": "2026-08-02T19:05:00+08:00",
          "state": "validated",
          "text": "Count unchanged with bytecode present."
        }
      ],
      "relations": [
        {
          "predicate": "co_occurs_with",
          "object": {
            "type": "BugCase",
            "id": "BC-0007"
          }
        }
      ],
      "unit_id": "BU-0005"
    },
    {
      "id": "BC-0007",
      "app": "thisoneisneok-mssp",
      "title": "Broken links in prose, invisible to a gate that checks a list",
      "state": "validated",
      "summary": "Three hand-written internal links across two days pointed at URLs the site does not publish. Each was guessed from where the source file lives rather than read from where its build script puts it. Ten deploy checks were green throughout.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-02T19:10:00+08:00",
      "updated_at": "2026-08-02T19:35:00+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "user",
          "value": "dead-internal-link",
          "confidence": 0.99,
          "valid_from": "2026-08-02T19:12:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0070"
          ],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "developer",
          "value": "url-inferred-from-source-path",
          "confidence": 0.7,
          "valid_from": "2026-08-02T19:14:00+08:00",
          "valid_to": "2026-08-02T19:22:00+08:00",
          "current": false,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0070"
          ],
          "notes": "First reading: a careless guess. True, and it does not explain why nothing caught it."
        },
        {
          "facet": "why",
          "lens": "test",
          "value": "the-gate-checks-a-list-and-a-prose-link-is-on-no-list",
          "confidence": 0.93,
          "valid_from": "2026-08-02T19:22:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0071"
          ],
          "notes": "Replaces CL-0071. Two of the three survived a full day and ten green deploy checks. The guess is the cause of one link; the absent axis is the cause of all three."
        }
      ],
      "revisions": 1,
      "lenses": [
        "developer",
        "test",
        "user"
      ],
      "perspectives": [
        {
          "lens": "user",
          "description": "A link in the development log went to a 404. Nothing on the page suggested it would.",
          "confidence": 0.99
        },
        {
          "lens": "test",
          "description": "The deploy gate verifies a list of URLs it is handed. A link written inside a page's prose never joins that list, so no amount of green says anything about it.",
          "confidence": 0.95
        },
        {
          "lens": "architecture",
          "description": "The URL a page publishes to is decided by its build script. Prose that names a URL is a second, hand-maintained copy of that decision.",
          "confidence": 0.9
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0070",
          "statement": "One careless link, caught on the day.",
          "status": "refuted",
          "refuted_by": [
            "EV-0071"
          ],
          "notes": "Two of the three were written the previous day and had been live since."
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0070",
          "kind": "observation",
          "description": "Three of 28 hand-written internal links returned 404 against the live site.",
          "captured_at": "2026-08-02T19:12:00+08:00"
        },
        {
          "evidence_id": "EV-0071",
          "kind": "observation",
          "description": "Two of the three shipped the previous day and survived ten green deploy checks.",
          "captured_at": "2026-08-02T19:20:00+08:00",
          "contradicts": [
            "HY-0070"
          ]
        },
        {
          "evidence_id": "EV-0072",
          "kind": "test_result",
          "description": "New check fails on a reinstated bad link and passes once removed; 28 links across 11 files resolve.",
          "captured_at": "2026-08-02T19:34:00+08:00"
        }
      ],
      "patches": [
        {
          "patch_id": "PA-0070",
          "status": "rejected",
          "summary": "Add the pages to the deploy gate's URL list.",
          "notes": "Rejected: extends the list, which is the thing that cannot see a link nobody added to it."
        },
        {
          "patch_id": "PA-0071",
          "status": "accepted",
          "summary": "Resolve every hand-written link against the built output, offline, before deploy."
        }
      ],
      "timeline": [
        {
          "at": "2026-08-02T19:10:00+08:00",
          "state": "captured",
          "text": "A link written minutes earlier returned 404."
        },
        {
          "at": "2026-08-02T19:14:00+08:00",
          "state": "investigating",
          "text": "Read as a one-off careless guess."
        },
        {
          "at": "2026-08-02T19:22:00+08:00",
          "state": "localized",
          "text": "Two more found, both a day old. The cause is a missing axis, not a slip."
        },
        {
          "at": "2026-08-02T19:35:00+08:00",
          "state": "validated",
          "text": "Check fails on a bad link, passes when fixed."
        }
      ],
      "relations": [
        {
          "predicate": "same_root_as",
          "object": {
            "type": "BugPattern",
            "id": "BP-0003"
          }
        }
      ],
      "unit_id": "BU-0006"
    },
    {
      "id": "BC-0008",
      "app": "thisoneisneok-mssp",
      "title": "The rule the method leans on hardest was never checked on Python",
      "state": "validated",
      "summary": "Two build scripts enforce 'no TMS imports a sibling TMS' — the rule their own comments call the one whose violation is invisible in review. The file filter was /\\.(js|mjs|ts)$/, so the rule did not run at all on the first Python example, and a deliberate violation built green.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-03T09:15:00+08:00",
      "updated_at": "2026-08-03T10:05:00+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "rule-not-enforced-on-half-the-corpus",
          "confidence": 0.99,
          "valid_from": "2026-08-03T09:20:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0080"
          ],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "test",
          "value": "extension-allowlist-standing-in-for-the-rule",
          "confidence": 0.96,
          "valid_from": "2026-08-03T09:30:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0080",
            "EV-0081"
          ],
          "notes": "The check was over a list of file extensions. Everything outside the list produced no signal, and no signal is what a pass looks like."
        },
        {
          "facet": "when",
          "lens": "developer",
          "value": "latent-until-the-corpus-gained-a-second-language",
          "confidence": 0.94,
          "valid_from": "2026-08-03T09:35:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0081"
          ],
          "notes": "Correct for four JavaScript examples. Wrong from the moment a Python one was published, and nothing about that moment produced a signal."
        },
        {
          "facet": "under",
          "lens": "operations",
          "value": "found-by-applying-a-new-rule-to-an-old-check",
          "confidence": 0.9,
          "valid_from": "2026-08-03T09:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [],
          "notes": "Not reported, not a red test. A guidance item added the previous day says a check must be shown to fail; asking that of an existing check found this within the hour."
        }
      ],
      "revisions": 0,
      "lenses": [
        "developer",
        "operations",
        "test"
      ],
      "perspectives": [
        {
          "lens": "developer",
          "description": "The comment above the check states it is the one rule whose violation is invisible in review. The line below it reads only .js, .mjs and .ts.",
          "confidence": 0.99
        },
        {
          "lens": "test",
          "description": "Adding a real sibling import to a Python TMS and building produced exit 0 — the same output as a clean tree.",
          "confidence": 0.99
        },
        {
          "lens": "architecture",
          "description": "Every claim a published Python example makes about its TMS being independently loadable rested on a manual island test, not on the mechanical check the method advertises.",
          "confidence": 0.92
        }
      ],
      "hypotheses": [
        {
          "hypothesis_id": "HY-0080",
          "statement": "Python examples were passing the check.",
          "status": "refuted",
          "refuted_by": [
            "EV-0080"
          ],
          "notes": "They were not passing it. They were not reaching it."
        }
      ],
      "evidence": [
        {
          "evidence_id": "EV-0080",
          "kind": "execution",
          "description": "Added `from TMS.checkers.http import HttpChecker` to a sibling TMS in example 002 and ran the build: exit 0, no message. The relative form `from .http import ...` behaved the same.",
          "captured_at": "2026-08-03T09:20:00+08:00",
          "contradicts": [
            "HY-0080"
          ]
        },
        {
          "evidence_id": "EV-0081",
          "kind": "observation",
          "description": "The archaeology build carries its own copy of the same check with the same filter; archaeology 002 is also Python.",
          "captured_at": "2026-08-03T09:32:00+08:00"
        },
        {
          "evidence_id": "EV-0082",
          "kind": "test_result",
          "description": "After the fix: clean tree passes; Python dotted violation fails; Python relative violation fails; JavaScript violation fails.",
          "captured_at": "2026-08-03T10:02:00+08:00"
        }
      ],
      "patches": [
        {
          "patch_id": "PA-0080",
          "status": "rejected",
          "summary": "Add .py to the extension list.",
          "notes": "Rejected: the extension list is the defect. Adding an entry fixes today's language and leaves the next one silently unchecked."
        },
        {
          "patch_id": "PA-0081",
          "status": "accepted",
          "summary": "Per-language import resolution, dotted and relative, with __init__.py joining the unit-root markers — and a build that fails on an unrecognised source file rather than skipping it."
        }
      ],
      "timeline": [
        {
          "at": "2026-08-03T09:15:00+08:00",
          "state": "captured",
          "text": "Asked of an existing check: can it fail on a Python example?"
        },
        {
          "at": "2026-08-03T09:20:00+08:00",
          "state": "reproduced",
          "text": "A deliberate sibling import built green."
        },
        {
          "at": "2026-08-03T09:32:00+08:00",
          "state": "localized",
          "text": "Extension allowlist in both build scripts."
        },
        {
          "at": "2026-08-03T10:05:00+08:00",
          "state": "validated",
          "text": "Four directions checked: clean passes, three violation shapes fail."
        }
      ],
      "relations": [
        {
          "predicate": "same_root_as",
          "object": {
            "type": "BugCase",
            "id": "BC-0007"
          }
        },
        {
          "predicate": "manifested_as",
          "object": {
            "type": "BugPattern",
            "id": "BP-0003"
          }
        }
      ],
      "unit_id": "BU-0007"
    },
    {
      "id": "BC-0009",
      "app": "upstream-marked",
      "title": "One entry point, two opposite installation rules, one return value",
      "state": "validated",
      "summary": "marked 15.0.12's use() accumulates when handed walkTokens or hooks and overwrites when handed renderer, returns the marked instance in every case, and offers no way to ask what is installed. Registering a renderer twice makes the first unreachable with no signal; registering walkTokens twice runs both, last-registered first. The rule is selected by which key of the options object was passed and is not observable at the call site.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-05T12:02:46+08:00",
      "updated_at": "2026-08-05T12:02:46+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "interface",
          "value": "two-semantics-behind-one-entry-point",
          "confidence": 0.99,
          "valid_from": "2026-08-05T12:02:46+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0090"
          ],
          "notes": "Measured live against the installed package, not read from documentation: walkTokens and hooks each ran both registrations; renderer ran only the second."
        },
        {
          "facet": "why",
          "lens": "interface",
          "value": "return-value-identical-on-every-path",
          "confidence": 0.97,
          "valid_from": "2026-08-05T12:02:46+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0090",
            "EV-0091"
          ],
          "notes": "use() returns the instance for chaining. Chaining is a real benefit; the cost is that the return value cannot carry which of the two rules was applied, or what it displaced. Third instance of this shape in one week of archaeology."
        },
        {
          "facet": "severity",
          "lens": "interface",
          "value": "latent-until-two-extensions-share-a-build",
          "confidence": 0.8,
          "valid_from": "2026-08-05T12:02:46+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0091"
          ],
          "notes": "An application that calls use() once never meets this. It surfaces when several extensions are loaded by one build, where the winner is decided by import order. How common that is has not been measured, so the confidence here is lower than for the structural facts above."
        }
      ],
      "revisions": 0,
      "lenses": [
        "interface"
      ],
      "perspectives": [],
      "hypotheses": [],
      "evidence": [
        {
          "evidence_id": "EV-0090",
          "kind": "observation",
          "captured_at": "2026-08-05T12:02:46+08:00",
          "description": "Two use() calls on one Marked instance. renderer: only the second ran. walkTokens: both ran, second-registered first. hooks: both ran."
        },
        {
          "evidence_id": "EV-0091",
          "kind": "observation",
          "captured_at": "2026-08-05T12:02:46+08:00",
          "description": "use() returned the same instance on both calls (r1 === r2 === instance). No exported key matching list/installed/registry. new Marked(options) isolates correctly and leaves the module-level global untouched."
        }
      ],
      "patches": [],
      "timeline": [],
      "relations": [],
      "unit_id": null
    },
    {
      "id": "BC-0010",
      "app": "thisoneisneok-mssp",
      "title": "Two blind spots in one rule, on two different axes",
      "state": "validated",
      "summary": "The build rule 'no TMS imports a sibling TMS' skipped any file whose extension it did not recognise, and matched only `import ... from` in the files it did read. A .rs file carrying a deliberate sibling import built green and was counted and published as example source; separately, `export ... from` and a bare `import \"./x\"` were invisible in JavaScript, the language the rule was written for.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-06T10:55:23+08:00",
      "updated_at": "2026-08-06T10:55:23+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "unknown-input-treated-as-nothing-to-report",
          "confidence": 0.99,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0100"
          ],
          "notes": "`if (!rule) continue;` — the file count rose from 13 to 14 while the rule that the code's own comment calls the one whose violation is invisible in review did not run on it."
        },
        {
          "facet": "what",
          "lens": "test",
          "value": "one-syntax-standing-in-for-a-relation",
          "confidence": 0.99,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0101"
          ],
          "notes": "Four forms reach another module in JavaScript and the pattern matched one. The missed form, `export ... from`, is exactly how a deprecation alias is written — see BC-0011's sibling entry on the same day."
        },
        {
          "facet": "why",
          "lens": "test",
          "value": "enumeration-expanded-rather-than-rooted-out",
          "confidence": 0.95,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0100"
          ],
          "notes": "The same rule was repaired on 2026-08-03 by adding Python to the extension list. That fixed one member of the enumeration and left the enumeration. The language axis cannot be derived, so the repair this time was to make the unknown case fail rather than to add another entry."
        }
      ],
      "revisions": 0,
      "lenses": [
        "test"
      ],
      "perspectives": [],
      "hypotheses": [],
      "evidence": [
        {
          "evidence_id": "EV-0100",
          "kind": "observation",
          "captured_at": "2026-08-06T10:55:23+08:00",
          "description": "A .rs file under an example's TMS/ containing `use crate::TMS::reporters::json` built green; the example's reported file count went 13 -> 14 and line count 509 -> 514, so it was published as source while exempt from the rule."
        },
        {
          "evidence_id": "EV-0101",
          "kind": "observation",
          "captured_at": "2026-08-06T10:55:23+08:00",
          "description": "Measured on the same file, one form at a time: `import {x} from \"./y\"` caught; `export {x} from \"./y\"` not caught; `export * from \"./y\"` not caught; `import \"./y\"` not caught. After the repair all four are caught and `export const safe = 1;` is not."
        }
      ],
      "patches": [],
      "timeline": [],
      "relations": [],
      "unit_id": null
    },
    {
      "id": "BC-0011",
      "app": "thisoneisneok-mssp",
      "title": "A green check in the section written to prove the rule is enforced",
      "state": "validated",
      "summary": "An island test asserted that cargo refuses an undeclared sibling crate reference. It passed on its first run — with error E0753, a syntax error, because the test inserted the `use` line above the module doc comment. The crate never parsed, so the import was never resolved and the property under test was never exercised. The accompanying assertion 'it refuses for the right reason' also passed, because it only required the output to mention the crate name, and the test's own inserted line was quoted in the error.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-06T10:55:23+08:00",
      "updated_at": "2026-08-06T10:55:23+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "expected-outcome-reached-by-an-unrelated-cause",
          "confidence": 0.99,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0110"
          ],
          "notes": "The build did fail, which is what the assertion required. It failed for a reason that has nothing to do with dependency declaration."
        },
        {
          "facet": "why",
          "lens": "test",
          "value": "assertion-on-an-outcome-not-on-its-cause",
          "confidence": 0.96,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0110",
            "EV-0111"
          ],
          "notes": "A compiler reports a specific diagnostic code. Asserting on the exit status, or on a substring the test itself supplied, discards the one channel that distinguishes the causes."
        }
      ],
      "revisions": 0,
      "lenses": [
        "test"
      ],
      "perspectives": [],
      "hypotheses": [],
      "evidence": [
        {
          "evidence_id": "EV-0110",
          "kind": "observation",
          "captured_at": "2026-08-06T10:55:23+08:00",
          "description": "First run: PASS with `error[E0753]: expected outer doc comment`. After inserting the use line below the doc comment: PASS with `error[E0432]: unresolved import tms_b64`."
        },
        {
          "evidence_id": "EV-0111",
          "kind": "observation",
          "captured_at": "2026-08-06T10:55:23+08:00",
          "description": "The second assertion required output.contains('tms_b64'), which the test's own inserted source line satisfied via the error context quote."
        }
      ],
      "patches": [],
      "timeline": [],
      "relations": [],
      "unit_id": null
    },
    {
      "id": "BC-0012",
      "app": "thisoneisneok-mssp",
      "title": "Two measurements that reported on something they never varied",
      "state": "validated",
      "summary": "Two independent measurements on the same day produced confident results without ever changing the thing they claimed to be measuring. A mechanised identity test deleted each module and recorded whether the program survived — but every module the entry point imports raises ImportError when deleted, so the test measured reachability and reported it as structural necessity; the two modules it did flag were flagged because they were not wired in at all. Separately, a comparison of CPython json with and without its C accelerator reported the two implementations byte-identical while both runs used the C implementation, because json/scanner.py binds `make_scanner = c_make_scanner or py_make_scanner` at import time and clearing c_make_scanner afterwards changes nothing.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-07T11:27:29+08:00",
      "updated_at": "2026-08-07T11:27:29+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "the-independent-variable-never-varied",
          "confidence": 0.99,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0120",
            "EV-0121"
          ],
          "notes": "Both measurements ran, produced numbers, and the numbers were about a condition that was the same on both sides."
        },
        {
          "facet": "why",
          "lens": "test",
          "value": "the-intervention-was-assumed-not-observed",
          "confidence": 0.97,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0121"
          ],
          "notes": "Neither measurement checked that its own intervention had taken effect. Printing type(decoder.scan_once).__module__ shows _json in both runs and takes one line; the identity test's equivalent is asking whether the module under test is imported by the entry point at all."
        },
        {
          "facet": "how-found",
          "lens": "process",
          "value": "verifying-the-verifier",
          "confidence": 0.99,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "human",
          "evidence_refs": [
            "EV-0121"
          ],
          "notes": "Neither was found by a failing test. Both were found by asking what would have to be true for the measurement to be capable of a different answer."
        }
      ],
      "revisions": 0,
      "lenses": [
        "process",
        "test"
      ],
      "perspectives": [],
      "hypotheses": [],
      "evidence": [
        {
          "evidence_id": "EV-0120",
          "kind": "observation",
          "captured_at": "2026-08-07T11:27:29+08:00",
          "description": "Delete-based identity test: 4 of 6 modules reported 'structural' with the detail 'ImportError: cannot import name X from SMS'. The 2 reported NOT STRUCTURAL were never imported by main.py."
        },
        {
          "evidence_id": "EV-0121",
          "kind": "observation",
          "captured_at": "2026-08-07T11:27:29+08:00",
          "description": "json comparison: after json.scanner.c_make_scanner = None, type(JSONDecoder().scan_once).__module__ is still '_json'. After also rebinding json.scanner.make_scanner = py_make_scanner it becomes 'builtins', and one of 13 error messages then differs."
        }
      ],
      "patches": [],
      "timeline": [],
      "relations": [],
      "unit_id": null
    },
    {
      "id": "BC-0013",
      "app": "thisoneisneok",
      "title": "A deploy gate that printed a count it never compared",
      "state": "validated",
      "summary": "A deploy gate fetched a published index, printed the number of records it contained, and asserted only that a manager field and two page fragments were present. On 2026-08-07 it printed '0 thread(s)' and passed while the artifact being deployed carried one. The zero was propagation rather than loss — but the gate cannot tell those apart, and a desk that had genuinely lost every record would have produced the same green line.",
      "origin": "ai_generated",
      "ai": {
        "provider": "anthropic",
        "model": "claude-opus-5",
        "agent": "claude-code"
      },
      "created_at": "2026-08-07T11:27:29+08:00",
      "updated_at": "2026-08-07T11:27:29+08:00",
      "classifications": [
        {
          "facet": "what",
          "lens": "operations",
          "value": "a-number-reported-without-a-predicate",
          "confidence": 0.99,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0130"
          ],
          "notes": "The count appears in the gate's success line, which reads as though it was checked. Nothing compares it to anything."
        },
        {
          "facet": "why",
          "lens": "operations",
          "value": "no-expected-value-was-available-to-compare-against",
          "confidence": 0.9,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": "ai",
          "evidence_refs": [
            "EV-0130"
          ],
          "notes": "An empty desk is a legitimate state, so the gate could not assert count > 0. What it could assert — and now does — is agreement with the tree the deploy was built from."
        }
      ],
      "revisions": 0,
      "lenses": [
        "operations"
      ],
      "perspectives": [],
      "hypotheses": [],
      "evidence": [
        {
          "evidence_id": "EV-0130",
          "kind": "observation",
          "captured_at": "2026-08-07T11:27:29+08:00",
          "description": "Gate line during deploy: '[OK] MSSP collaboration desk and protocol are live - 0 thread(s), manager=Codex'. The same gate re-run minutes later printed '1 thread(s)'. After the repair, planting a second thread in the local index makes the gate fail with 'live has 1 thread(s), this build has 2'."
        }
      ],
      "patches": [],
      "timeline": [],
      "relations": [],
      "unit_id": null
    }
  ],
  "units": [
    {
      "id": "BU-0001",
      "case_id": "BC-0001",
      "title": "Optimistic rollback omission",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "State written optimistically before a remote mutation is confirmed is not restored when the mutation fails, so the interface keeps showing a value the server never accepted.",
      "root_cause": "The failure branch of the async handler logs and returns without restoring the captured previous state.",
      "repair": "Capture the previous state before the optimistic write; restore it in the error branch.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-01T12:35:00+08:00",
        "validator": "ci"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "user",
          "value": "stale-ui",
          "confidence": 0.99,
          "valid_from": "2026-08-01T12:02:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        },
        {
          "facet": "why",
          "lens": "ai-generation",
          "value": "omitted-failure-path",
          "confidence": 0.92,
          "valid_from": "2026-08-01T12:22:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0001"
      ],
      "contested": "Currently contested by BC-0005: the gate test fails after a framework upgrade."
    },
    {
      "id": "BU-0002",
      "case_id": "BC-0003",
      "title": "Correct source, changed resolution",
      "status": "validated",
      "origin": "environment_drift",
      "canonical_description": "A defect can be introduced with no change to the project's own source, when a declared version range resolves to a different implementation than it did before.",
      "root_cause": "Input format assumptions lived in a transitive dependency rather than at the project's own boundary.",
      "repair": "Normalise at the boundary so the assumption is stated where it is owned.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-07-30T11:20:00+08:00",
        "validator": "ci"
      },
      "classifications": [
        {
          "facet": "when",
          "lens": "dependency",
          "value": "introduced-by-upstream-minor",
          "confidence": 0.95,
          "valid_from": "2026-07-30T09:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        },
        {
          "facet": "under",
          "lens": "dependency",
          "value": "context-dependent-defect",
          "confidence": 0.91,
          "valid_from": "2026-07-30T09:40:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0002"
      ],
      "contested": null
    },
    {
      "id": "BU-0003",
      "case_id": "BC-0001",
      "title": "Compensating action missing from a generated failure branch",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "Generated code that models a success path and treats the failure path as a log statement leaves the system without the compensating action the success path assumed.",
      "root_cause": "The specification given to the generator described the intended outcome and not the failure behaviour.",
      "repair": "State the compensating action in the specification, and test the failure branch as a first-class path.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-01T13:10:00+08:00",
        "validator": "hybrid"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "ai-generation",
          "value": "omitted-failure-path",
          "confidence": 0.9,
          "valid_from": "2026-08-01T13:10:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0001"
      ],
      "contested": null
    },
    {
      "id": "BU-0005",
      "case_id": "BC-0006",
      "title": "A verification step that produces the artifact it then measures",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "When a check runs the thing it is checking, any artifact that run produces becomes part of what gets measured — reliably, not intermittently.",
      "root_cause": "A language-agnostic file walk in a pipeline whose verification step executes the code it walks.",
      "repair": "Exclude build-artifact directories and compiled extensions at the walk, not on a cleanup schedule.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-02T19:05:00+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "developer",
          "value": "build-artifact-published-as-source",
          "confidence": 0.99,
          "valid_from": "2026-08-02T18:45:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [],
      "contested": null
    },
    {
      "id": "BU-0006",
      "case_id": "BC-0007",
      "title": "A gate over an enumeration cannot see what is not enumerated",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A check that verifies a supplied list is silent about anything absent from the list, and its silence is indistinguishable from a pass.",
      "root_cause": "Correctness was asserted over an enumeration rather than derived from the artefact, so an item nobody enumerated was never a candidate for checking.",
      "repair": "Derive the set to be checked from the source of truth — here, every link in the prose against every path in the built output.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-02T19:35:00+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "test",
          "value": "the-gate-checks-a-list-and-a-prose-link-is-on-no-list",
          "confidence": 0.93,
          "valid_from": "2026-08-02T19:22:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0003"
      ],
      "contested": null
    },
    {
      "id": "BU-0007",
      "case_id": "BC-0008",
      "title": "An allowlist deciding what a rule applies to",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A rule scoped by an allowlist applies to the listed cases and is absent for the rest, and absence is reported the same way as compliance: nothing.",
      "root_cause": "The set the rule applies to was written down instead of derived from what the rule is about.",
      "repair": "Derive the scope from the domain — here, resolve imports per language rather than filtering files by extension — and fail on an input the resolver does not recognise rather than skipping it.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-03T10:05:00+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "test",
          "value": "extension-allowlist-standing-in-for-the-rule",
          "confidence": 0.96,
          "valid_from": "2026-08-03T09:30:00+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0003"
      ],
      "contested": null
    },
    {
      "id": "BU-0008",
      "case_id": "BC-0009",
      "title": "A configuration call whose return value is the same on every path",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A configuration function arranges something and returns a value that is identical whether it installed something new, displaced someone else's work, or did nothing. The caller cannot distinguish the outcomes it has reason to care about.",
      "root_cause": "The return value was chosen for ergonomics (chaining, or nothing to return) rather than to report the outcome, so the only channel that could carry the result carries a constant.",
      "repair": "Make the installation rule a named argument rather than a consequence of which key was passed, refuse an unrecognised rule instead of defaulting to one, report what was added and what was displaced or stacked on, and expose a manifest so 'what is installed' is answerable. Demonstrated in the MSSP re-cut; both the reporting and the failing case are asserted by its island test.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-05T12:02:46+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "interface",
          "value": "return-value-identical-on-every-path",
          "confidence": 0.97,
          "valid_from": "2026-08-05T12:02:46+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0004"
      ],
      "contested": null
    },
    {
      "id": "BU-0009",
      "case_id": "BC-0010",
      "title": "An input the checker does not recognise, reported as nothing",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A checker classifies its inputs and has no branch for the ones it cannot classify, so an unrecognised input produces the same output as a compliant one: nothing.",
      "root_cause": "The set of recognised inputs is supplied, and the fall-through for everything else is a skip rather than a refusal.",
      "repair": "Where the recognised set genuinely cannot be derived, split the fall-through in three: known-and-checkable, explicitly declared as having nothing to check, and unknown — and make the third fail with a message naming the file and the choice the author has to make.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-06T10:55:23+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "unknown-input-treated-as-nothing-to-report",
          "confidence": 0.99,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0003"
      ],
      "contested": null
    },
    {
      "id": "BU-0010",
      "case_id": "BC-0010",
      "title": "One syntax standing in for the relation it is meant to detect",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A rule about a relation between modules is implemented as a pattern for one of the several syntaxes that create that relation, so the other syntaxes are unchecked and their silence is indistinguishable from compliance.",
      "root_cause": "The relation was encoded as the shape most commonly used to express it, and the less common shapes were never enumerated — including the one the domain's own conventions reserve for aliasing.",
      "repair": "Enumerate every form the language provides for the relation, and verify each one individually against a planted violation and against a benign line that must not be flagged.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-06T10:55:23+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "one-syntax-standing-in-for-a-relation",
          "confidence": 0.99,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0003"
      ],
      "contested": null
    },
    {
      "id": "BU-0011",
      "case_id": "BC-0011",
      "title": "A test that asserts an outcome a tool can reach several ways",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A test requires an operation to fail and treats the failure as evidence of the specific cause it is about, while the tool under test can reach that same failure through causes the test never distinguishes — including causes introduced by the test's own setup.",
      "root_cause": "The assertion was written against the coarsest observable the tool offers (exit status, or a substring the test itself planted) rather than against the identifier the tool publishes for the cause.",
      "repair": "Assert on the tool's own cause identifier — a diagnostic code, an error class, a typed variant — and never on a token the test supplied. Where the setup mutates a fixture, verify the fixture is still well-formed before drawing a conclusion from its rejection.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-06T10:55:23+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "test",
          "value": "assertion-on-an-outcome-not-on-its-cause",
          "confidence": 0.96,
          "valid_from": "2026-08-06T10:55:23+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0005"
      ],
      "contested": null
    },
    {
      "id": "BU-0012",
      "case_id": "BC-0012",
      "title": "An A/B measurement where A and B were the same thing",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A measurement compares two conditions and reports a difference or its absence, while the manipulation intended to separate the conditions did not take effect. The result is arithmetically correct and answers a question nobody asked.",
      "root_cause": "The intervention was performed and assumed, never observed. Nothing in the measurement reads back which condition it is actually in.",
      "repair": "Make the measurement report which condition each side was in, from the system itself — a module origin, a type, a version — and fail rather than report when the two sides resolve to the same one. A comparison that cannot tell its own arms apart must refuse to publish a result.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-07T11:27:29+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "test",
          "value": "the-independent-variable-never-varied",
          "confidence": 0.99,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0005"
      ],
      "contested": null
    },
    {
      "id": "BU-0013",
      "case_id": "BC-0012",
      "title": "A removal test on a language where removal is always fatal",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A test removes a component to see whether the system survives, in an environment where removing any referenced component fails immediately for a reason unrelated to the component's importance. Every referenced component reports as essential and every unreferenced one reports as dispensable, so the test ranks components by whether they are wired in.",
      "root_cause": "The removal was chosen for being easy rather than for isolating the property. Absence and unimportance are different interventions and only one of them was available.",
      "repair": "Substitute rather than remove: replace the component with something that satisfies the same interface and does nothing meaningful. Writing that substitute is also the point at which the author has to state what the component would be if it did not matter.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-07T11:27:29+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "why",
          "lens": "test",
          "value": "the-intervention-was-assumed-not-observed",
          "confidence": 0.97,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [
        "BP-0005"
      ],
      "contested": null
    },
    {
      "id": "BU-0014",
      "case_id": "BC-0013",
      "title": "A value fetched, displayed, and never compared",
      "status": "validated",
      "origin": "ai_generated",
      "canonical_description": "A check retrieves a live value, includes it in its success message, and applies no predicate to it. A reader takes the printed number as evidence it was verified, and the check reports the same success for every value the number could take.",
      "root_cause": "There was no expected value to compare against, and printing the observed one read as a substitute for having one.",
      "repair": "Derive the expected value from the artifact being deployed and require agreement. Where no expectation exists at all, say so in the message rather than printing a number that reads as a result.",
      "gate": {
        "status": "pass",
        "pre_fails": true,
        "post_passes": true,
        "validated_at": "2026-08-07T11:27:29+08:00",
        "validator": "human"
      },
      "classifications": [
        {
          "facet": "what",
          "lens": "operations",
          "value": "a-number-reported-without-a-predicate",
          "confidence": 0.99,
          "valid_from": "2026-08-07T11:27:29+08:00",
          "valid_to": null,
          "current": true,
          "superseded_by": null,
          "classifier": null,
          "evidence_refs": [],
          "notes": null
        }
      ],
      "patterns": [],
      "contested": null
    }
  ],
  "patterns": [
    {
      "id": "BP-0001",
      "name": "Incomplete async failure path",
      "status": "emerging",
      "description": "The success path is modelled in full; the asynchronous failure path omits the compensating action the success path made necessary.",
      "common_context": [
        "AI-assisted generation",
        "optimistic or local-first state",
        "remote mutation"
      ],
      "common_structure": [
        "state written before confirmation",
        "failure branch present but inert",
        "no test exercising the failure branch"
      ],
      "repair_family": [
        "capture-then-restore",
        "confirm-before-commit",
        "explicit compensating action"
      ],
      "known_exceptions": [
        "Fire-and-forget writes where divergence is acceptable and stated."
      ],
      "support": [
        "BU-0001",
        "BU-0003"
      ],
      "proposed_by": "ai"
    },
    {
      "id": "BP-0002",
      "name": "Defect introduced without a code change",
      "status": "candidate",
      "description": "The project's own source is unchanged and correct under its previous environment; what changed is what the environment resolves to.",
      "common_context": [
        "transitive dependency",
        "version range rather than pin",
        "long-lived path with no recent commits"
      ],
      "common_structure": [
        "git blame points at old, unchanged code",
        "lockfile or image digest is the only diff",
        "reverting the resolution restores the behaviour"
      ],
      "repair_family": [
        "normalise at the owned boundary",
        "pin with an explicit review date",
        "assert the assumption in a test"
      ],
      "known_exceptions": [
        "Genuine latent defects that the upgrade merely exposed — these need the older resolution to fail too."
      ],
      "support": [
        "BU-0002"
      ],
      "proposed_by": "human"
    },
    {
      "id": "BP-0003",
      "name": "An enumeration standing in for a rule",
      "status": "emerging",
      "description": "Correctness is asserted over a hand-maintained list instead of derived from the thing itself. Everything on the list is verified, so the checks are green; anything nobody added is unverified and indistinguishable from verified.",
      "common_context": [
        "a check written to cover known cases",
        "a list that has to be updated by whoever adds the next case",
        "green output that reports on the list rather than on the domain",
        "a corpus that grows a kind the list did not anticipate"
      ],
      "common_structure": [
        "the set under test is supplied, not derived",
        "adding a case requires remembering a second place",
        "a miss produces no signal at all, rather than a weaker one",
        "the scope is written down rather than derived from what the rule is about",
        "the listed cases are genuinely checked, which is what makes the output green"
      ],
      "repair_family": [
        "derive the set from the artefact",
        "fail when the derived set is empty",
        "report what was covered, not only what passed"
      ],
      "known_exceptions": [
        "A genuinely closed set — a protocol's fixed verbs, an enum in a spec — where the list is the domain and cannot silently grow."
      ],
      "support": [
        "BU-0006",
        "BU-0007",
        "BU-0009",
        "BU-0010"
      ],
      "proposed_by": "ai"
    },
    {
      "id": "BP-0004",
      "name": "A configuration call that returns nothing discriminating",
      "status": "candidate",
      "description": "A function whose job is to configure something returns a value that does not vary with what it did. Success, silent no-op, and accepted-but-wrong all produce the same return, so the caller's only way to learn the outcome is to observe the system's later behaviour and infer backwards.",
      "common_context": [
        "a setup or registration call made once, early, far from where its effect is observed",
        "a return value chosen for ergonomics: None because there is nothing to return, or self for chaining",
        "an API with several extension points reached through one entry function",
        "documentation that describes the effect but not how to confirm it happened"
      ],
      "common_structure": [
        "the outcome is not encoded in anything the caller receives",
        "distinct outcomes the caller cares about map to one observation",
        "no query exists for the resulting state, so the effect cannot be confirmed afterwards either",
        "a misspelled or superseded registration is accepted as a different, successful registration"
      ],
      "repair_family": [
        "return what happened, not the receiver",
        "where the return value is committed to (chaining, API stability), add a separate query for the resulting state",
        "make an ambiguous rule an explicit argument and refuse an unrecognised one rather than defaulting",
        "name what was displaced, not only what was added"
      ],
      "known_exceptions": [
        "Calls that genuinely have one outcome, where any failure raises. There the constant return carries no less information than the alternative.",
        "Chaining APIs where the ergonomic benefit is real and a separate query is provided; the defect is the missing query, not the chaining."
      ],
      "support": [
        "BU-0008"
      ],
      "proposed_by": "ai"
    },
    {
      "id": "BP-0005",
      "name": "A pass that never exercised its subject",
      "status": "emerging",
      "description": "A check reports success without the property it is about having been put under any pressure. Either the path the check guards was never taken, or the outcome the check requires was reached through a cause unrelated to the property. The result is green and carries no information about the thing it names.",
      "common_context": [
        "an assertion phrased as an absence: no error, no 200, no forbidden import",
        "a test whose setup mutates a fixture before running the tool under test",
        "a check whose only observable is an exit status or an unstructured message",
        "a section added specifically to demonstrate that a rule is enforced"
      ],
      "common_structure": [
        "the observable the check reads is reachable from more than one cause",
        "the precondition that would make the check meaningful is itself unverified",
        "a substring the test supplied is accepted as evidence the tool produced it",
        "the check has never been observed failing for the reason it exists"
      ],
      "repair_family": [
        "assert on the cause identifier the tool publishes, not on the outcome",
        "verify the precondition separately before asserting on the result",
        "run the check once against a deliberately broken subject and require it to fail",
        "never match on a token the test itself introduced"
      ],
      "known_exceptions": [
        "Checks whose subject has exactly one possible cause of failure, where outcome and cause are the same observation."
      ],
      "support": [
        "BU-0011",
        "BU-0012",
        "BU-0013"
      ],
      "proposed_by": "ai"
    }
  ]
}
