{"abstract":"The parent directive leaks into application settings.","category":"Configuration","checks":7,"contract":"Resolve parent chains before child values, reject missing profiles, reject cycles, remove the reserved parent field, and allow explicit false values to override.","contract_signature":"profiles, name","evaluation_group":"xt-profile-inheritance","failed_approach":"The attempted repair substitutes if k == 'parent'. Fixture 3 still yields {} instead of {'x': 1}.","family":"xt-profile-inheritance-reserved-key","id":"FA-9671","implementations":{"attempt":{"sha256":"3c38900474b31092abf038f6a028608d968afa9c9ff4275fedd94e8dccb3bd6c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(profiles, name):\n    chain = []\n    seen = set()\n    while name is not None:\n        if name in seen: return 'cycle'\n        if name not in profiles: return 'missing'\n        seen.add(name)\n        chain.append(profiles[name])\n        name = profiles[name].get('parent')\n    result = {}\n    for profile in reversed(chain):\n        result.update({k:v for k,v in profile.items() if k == 'parent'})\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, None), {})\ncheck('fixture 2', solve({}, 'x'), 'missing')\ncheck('fixture 3', solve({'a': {'x': 1}}, 'a'), {'x': 1})\ncheck('fixture 4', solve({'a': {'x': 1, 'y': 4}, 'b': {'parent': 'a', 'x': 2}}, 'b'), {'x': 2, 'y': 4})\ncheck('fixture 5', solve({'a': {'parent': 'b'}, 'b': {'parent': 'a'}}, 'a'), 'cycle')\ncheck('fixture 6', solve({'a': {'x': True}, 'b': {'parent': 'a', 'x': False}}, 'b'), {'x': False})\ncheck('fixture 7', solve({'a': {'parent': 'absent'}}, 'a'), 'missing')\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":"7e7285fbf597f1c5bec0324d0fd234618abbc13c57a962763ee2080a4d8898c3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(profiles, name):\n    chain = []\n    seen = set()\n    while name is not None:\n        if name in seen: return 'cycle'\n        if name not in profiles: return 'missing'\n        seen.add(name)\n        chain.append(profiles[name])\n        name = profiles[name].get('parent')\n    result = {}\n    for profile in reversed(chain):\n        result.update({k:v for k,v in profile.items() if True})\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, None), {})\ncheck('fixture 2', solve({}, 'x'), 'missing')\ncheck('fixture 3', solve({'a': {'x': 1}}, 'a'), {'x': 1})\ncheck('fixture 4', solve({'a': {'x': 1, 'y': 4}, 'b': {'parent': 'a', 'x': 2}}, 'b'), {'x': 2, 'y': 4})\ncheck('fixture 5', solve({'a': {'parent': 'b'}, 'b': {'parent': 'a'}}, 'a'), 'cycle')\ncheck('fixture 6', solve({'a': {'x': True}, 'b': {'parent': 'a', 'x': False}}, 'b'), {'x': False})\ncheck('fixture 7', solve({'a': {'parent': 'absent'}}, 'a'), 'missing')\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-profile-inheritance-reserved-key","generated_at":"2026-09-29T14:38:32.097773+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of profile inheritance expansion, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes if True for if k != 'parent', so the parent directive leaks into application settings.","sha256":"b512def12108f8032cc3c6ffafddb37628de35eb3702b3f95a03f7a1038bada8","title":"Profile inheritance expansion: The parent directive leaks into application settings · 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":39.607,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":"missing","check":"fixture 2","expected":"missing","passed":true},{"actual":{},"check":"fixture 3","expected":{"x":1},"passed":false},{"actual":{"parent":"a"},"check":"fixture 4","expected":{"x":2,"y":4},"passed":false},{"actual":"cycle","check":"fixture 5","expected":"cycle","passed":true},{"actual":{"parent":"a"},"check":"fixture 6","expected":{"x":false},"passed":false},{"actual":"missing","check":"fixture 7","expected":"missing","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {}, \"expected\": {\"x\": 1}, \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": {\"parent\": \"a\"}, \"expected\": {\"x\": 2, \"y\": 4}, \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": \"cycle\", \"expected\": \"cycle\", \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"parent\": \"a\"}, \"expected\": {\"x\": false}, \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.869,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":"missing","check":"fixture 2","expected":"missing","passed":true},{"actual":{"x":1},"check":"fixture 3","expected":{"x":1},"passed":true},{"actual":{"parent":"a","x":2,"y":4},"check":"fixture 4","expected":{"x":2,"y":4},"passed":false},{"actual":"cycle","check":"fixture 5","expected":"cycle","passed":true},{"actual":{"parent":"a","x":false},"check":"fixture 6","expected":{"x":false},"passed":false},{"actual":"missing","check":"fixture 7","expected":"missing","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"x\": 1}, \"expected\": {\"x\": 1}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {\"x\": 2, \"y\": 4, \"parent\": \"a\"}, \"expected\": {\"x\": 2, \"y\": 4}, \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": \"cycle\", \"expected\": \"cycle\", \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"x\": false, \"parent\": \"a\"}, \"expected\": {\"x\": false}, \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": \"missing\", \"expected\": \"missing\", \"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."}}