{"abstract":"Output names lose the output selector.","category":"Build systems","checks":6,"contract":"Emit object arguments first, then each archive in declared order preserving repeats, then frameworks as paired flags, then search directories as paired flags, then the output pair.","contract_signature":"objects, archives, frameworks, directories, output","evaluation_group":"xt-link-line","failed_approach":"The attempted repair substitutes [output, '-o']. Fixture 1 still yields ['app', '-o'] instead of ['-o', 'app'].","family":"xt-link-line-output-pair","id":"FA-9176","implementations":{"attempt":{"sha256":"1247fb58803ce2b7e8cea962d5c01aa1ddda68e6bc2989160d2ff15d8fb8f02b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(objects, archives, frameworks, directories, output):\n    result = list(objects)\n    result += list(archives)\n    result += [part for name in frameworks for part in ['-framework', name]]\n    result += [part for name in directories for part in ['-L', name]]\n    result += [output, '-o']\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], 'app'), ['-o', 'app'])\ncheck('fixture 2', solve(['b.o', 'a.o'], ['x.a', 'y.a', 'x.a'], ['Core', 'UI'], ['/lib a', '/lib b'], 'my app'), ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'])\ncheck('fixture 3', solve(['a.o'], ['b.a'], [], [], 'x'), ['a.o', 'b.a', '-o', 'x'])\ncheck('fixture 4', solve([], [], ['Core'], [], 'x'), ['-framework', 'Core', '-o', 'x'])\ncheck('fixture 5', solve([], [], [], ['space dir'], 'x'), ['-L', 'space dir', '-o', 'x'])\ncheck('fixture 6', solve(['z.o'], [], ['A'], ['D'], 'z'), ['z.o', '-framework', 'A', '-L', 'D', '-o', '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":"f4a2855cacd7eade0961572d4182d4312029dbf0dd4a2c547988c826118cefdf","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(objects, archives, frameworks, directories, output):\n    result = list(objects)\n    result += list(archives)\n    result += [part for name in frameworks for part in ['-framework', name]]\n    result += [part for name in directories for part in ['-L', name]]\n    result += [output]\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], 'app'), ['-o', 'app'])\ncheck('fixture 2', solve(['b.o', 'a.o'], ['x.a', 'y.a', 'x.a'], ['Core', 'UI'], ['/lib a', '/lib b'], 'my app'), ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'])\ncheck('fixture 3', solve(['a.o'], ['b.a'], [], [], 'x'), ['a.o', 'b.a', '-o', 'x'])\ncheck('fixture 4', solve([], [], ['Core'], [], 'x'), ['-framework', 'Core', '-o', 'x'])\ncheck('fixture 5', solve([], [], [], ['space dir'], 'x'), ['-L', 'space dir', '-o', 'x'])\ncheck('fixture 6', solve(['z.o'], [], ['A'], ['D'], 'z'), ['z.o', '-framework', 'A', '-L', 'D', '-o', '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-link-line-output-pair","generated_at":"2026-09-29T14:38:27.770268+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of link command assembly, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes [output] for ['-o', output], so output names lose the output selector.","sha256":"8ed9619e77c1e5f60d77c55c6389a5b194abd622eeada57c90270c5be90878b0","title":"Link command assembly: Output names lose the output selector · 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.543,"exit_code":1,"observations":[{"actual":["app","-o"],"check":"fixture 1","expected":["-o","app"],"passed":false},{"actual":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","my app","-o"],"check":"fixture 2","expected":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"passed":false},{"actual":["a.o","b.a","x","-o"],"check":"fixture 3","expected":["a.o","b.a","-o","x"],"passed":false},{"actual":["-framework","Core","x","-o"],"check":"fixture 4","expected":["-framework","Core","-o","x"],"passed":false},{"actual":["-L","space dir","x","-o"],"check":"fixture 5","expected":["-L","space dir","-o","x"],"passed":false},{"actual":["z.o","-framework","A","-L","D","z","-o"],"check":"fixture 6","expected":["z.o","-framework","A","-L","D","-o","z"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [\"app\", \"-o\"], \"expected\": [\"-o\", \"app\"], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"my app\", \"-o\"], \"expected\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [\"a.o\", \"b.a\", \"x\", \"-o\"], \"expected\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [\"-framework\", \"Core\", \"x\", \"-o\"], \"expected\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"-L\", \"space dir\", \"x\", \"-o\"], \"expected\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"z\", \"-o\"], \"expected\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.434,"exit_code":1,"observations":[{"actual":["app"],"check":"fixture 1","expected":["-o","app"],"passed":false},{"actual":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","my app"],"check":"fixture 2","expected":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"passed":false},{"actual":["a.o","b.a","x"],"check":"fixture 3","expected":["a.o","b.a","-o","x"],"passed":false},{"actual":["-framework","Core","x"],"check":"fixture 4","expected":["-framework","Core","-o","x"],"passed":false},{"actual":["-L","space dir","x"],"check":"fixture 5","expected":["-L","space dir","-o","x"],"passed":false},{"actual":["z.o","-framework","A","-L","D","z"],"check":"fixture 6","expected":["z.o","-framework","A","-L","D","-o","z"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [\"app\"], \"expected\": [\"-o\", \"app\"], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"my app\"], \"expected\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [\"a.o\", \"b.a\", \"x\"], \"expected\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [\"-framework\", \"Core\", \"x\"], \"expected\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"-L\", \"space dir\", \"x\"], \"expected\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"z\"], \"expected\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"passed\": false}], \"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."}}