R-782: Glance behind the family gate (decision 221); family-gate rule 4 pins the ruled apps
gates / gates (push) Successful in 3s

Glance has no login of its own; new installs are published only behind the
household's family gate (family_gate: true, min_controller 0.287.0, no
exceptions). check-family-gate.py rule 4 refuses a ruled app (metube,
grimmory, glance) whose template drops the key; red-proven by three decoys.
An installed Glance is not re-gated (the controller records the gate at install).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-10-12 14:44:10 +02:00
1 parent 1a642b43e7
commit d308445e87
10 files changed
+85 -15

No files matched your search

+5
View File
@@ -687,6 +687,11 @@ def family_gate_cases():
run("FACT: min_controller below the release", lambda: (app(GOOD.replace('0.287.0', '0.286.1')), golden("0.287.0")), 1, ("needs min_controller",))
run("FACT: newest baked golden below the release", lambda: (app(GOOD), golden("0.286.1")), 1, ("publish the app OPEN",))
run("FACT: a golden DIRECTORY 0.287.0 with no bake log (a name is not a bake)", lambda: (app(GOOD), golden("0.286.1"), golden("0.287.0", baked=False)), 1, ("0.286.1",))
# Rule 4 (R-782, decision 221): an app the operator RULED family-gated loses its gate -> refused.
run("FACT: glance (ruled family-gated, decision 221) without family_gate", lambda: (app("min_controller: \"0.287.0\"\n", name="glance"), golden("0.287.0")), 1, ("ruled family-gated",))
run("FACT: glance with family_gate only in a COMMENT (the label without the fact)", lambda: (app("# family_gate: true\nmin_controller: \"0.287.0\"\n", name="glance"), golden("0.287.0")), 1, ("ruled family-gated",))
run("FACT: grimmory (ruled, decisions 63/64) with family_gate: false", lambda: (app('family_gate: false\nmin_controller: "0.287.0"\n', name="grimmory"), golden("0.287.0")), 1, ("ruled family-gated",))
run("GENUINE: glance gated, no exceptions", lambda: (app('family_gate: true\nmin_controller: "0.287.0"\n', name="glance"), golden("0.287.0")), 0, ("family-gate gate OK",))
finally:
shutil.rmtree(ws, ignore_errors=True)