{"abstract":"Missing declared files enter manifests.","category":"Packaging","checks":6,"contract":"Include declared files, exclude forbidden files, retain force-included files despite ordinary exclusions, never include missing files, and sort unique names. Force cannot override forbidden.","contract_signature":"available, declared, excluded, forced, forbidden","evaluation_group":"xt-package-manifest","failed_approach":"The attempted repair substitutes names |= set(available). Fixture 2 still yields ['a', 'b'] instead of ['a'].","family":"xt-package-manifest-existence","id":"FA-9866","implementations":{"attempt":{"sha256":"3d19bb25103e987e9a3259ced47a9424e59e3738b72371b38496938b44affe1b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(available, declared, excluded, forced, forbidden):\n    names = (set(declared) - set(excluded)) | set(forced)\n    names |= set(available)\n    names -= set(forbidden)\n    return sorted(names)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], []), [])\ncheck('fixture 2', solve(['a', 'b'], ['a', 'b'], ['b'], [], []), ['a'])\ncheck('fixture 3', solve(['a', 'b'], ['a'], ['b'], ['b'], []), ['a', 'b'])\ncheck('fixture 4', solve(['a'], ['a', 'missing'], [], [], []), ['a'])\ncheck('fixture 5', solve(['a', 'b'], ['a', 'b'], [], ['b'], ['b']), ['a'])\ncheck('fixture 6', solve(['z', 'a'], ['z', 'a', 'z'], [], [], []), ['a', 'z'])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"63430c20be7c237b48be78848ba9cfc3814e4048db5dccdb1b9e7a5eedda2497","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(available, declared, excluded, forced, forbidden):\n    names = (set(declared) - set(excluded)) | set(forced)\n    pass\n    names -= set(forbidden)\n    return sorted(names)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], []), [])\ncheck('fixture 2', solve(['a', 'b'], ['a', 'b'], ['b'], [], []), ['a'])\ncheck('fixture 3', solve(['a', 'b'], ['a'], ['b'], ['b'], []), ['a', 'b'])\ncheck('fixture 4', solve(['a'], ['a', 'missing'], [], [], []), ['a'])\ncheck('fixture 5', solve(['a', 'b'], ['a', 'b'], [], ['b'], ['b']), ['a'])\ncheck('fixture 6', solve(['z', 'a'], ['z', 'a', 'z'], [], [], []), ['a', 'z'])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":" This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"xt-package-manifest-existence","generated_at":"2026-09-29T14:38:33.899861+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of package file manifest selection, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes pass for names &= set(available), so missing declared files enter manifests.","sha256":"e4998e07a510c673ceb66f9ad362b89918825d362fc16a82a95b3bd9fa84fd2b","title":"Package file manifest selection: Missing declared files enter manifests · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":38.284,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["a","b"],"check":"fixture 2","expected":["a"],"passed":false},{"actual":["a","b"],"check":"fixture 3","expected":["a","b"],"passed":true},{"actual":["a","missing"],"check":"fixture 4","expected":["a"],"passed":false},{"actual":["a"],"check":"fixture 5","expected":["a"],"passed":true},{"actual":["a","z"],"check":"fixture 6","expected":["a","z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\", \"missing\"], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.403,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["a"],"check":"fixture 2","expected":["a"],"passed":true},{"actual":["a","b"],"check":"fixture 3","expected":["a","b"],"passed":true},{"actual":["a","missing"],"check":"fixture 4","expected":["a"],"passed":false},{"actual":["a"],"check":"fixture 5","expected":["a"],"passed":true},{"actual":["a","z"],"check":"fixture 6","expected":["a","z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\", \"missing\"], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}