{"abstract":"Forced files override hard prohibitions.","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(forbidden) - set(forced). Fixture 5 still yields ['a', 'b'] instead of ['a'].","family":"xt-package-manifest-forbidden-precedence","id":"FA-9871","implementations":{"attempt":{"sha256":"dc35daf98d91becd60a76a6b3f1c085c2360b6066f2e313d44020cbb3e796108","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) - set(forced)\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":"7e806ebdf28ecc7c09d2a4c34d13fb180f40b2d7657a4081fef0f1d417a21956","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    pass\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-forbidden-precedence","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(forbidden), so forced files override hard prohibitions.","sha256":"f7b05b58a320f1b4241305b7d06ebba1ad997c40c5086c9a9e1a0568d74fa39e","title":"Package file manifest selection: Forced files override hard prohibitions · 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":37.909,"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"],"check":"fixture 4","expected":["a"],"passed":true},{"actual":["a","b"],"check":"fixture 5","expected":["a"],"passed":false},{"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\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.321,"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"],"check":"fixture 4","expected":["a"],"passed":true},{"actual":["a","b"],"check":"fixture 5","expected":["a"],"passed":false},{"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\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\"], \"passed\": false}, {\"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."}}