R-127 (a): four data-encrypting keys flagged data_key (n8n, calcom, wanderer, bookstack APP_KEY) + gate data-key with decoys

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-05 21:49:05 +02:00
1 parent 84ced4478b
commit 66d1abb101
9 files changed
+214 -2

No files matched your search

+5
View File
@@ -27,6 +27,8 @@ Gates, in order (all must pass; **non-zero exit on any failure**):
record (NEW-APP-CHECKLIST.md; the 53 apps published before 2026-10-01 are exempt by name)
11. mem-limit-sum static, instant, whole repo — `.felhom.yml` resources.mem_limit equals the sum of every
service's deploy.resources.limits.memory, and every service has one (R-758)
12. data-key static, instant, whole repo — every data-encrypting key carries data_key: true (name rule
or REGISTRY), and no flag is unexplained (R-127)
4. engine-major static, needs GIT HISTORY — no database engine pin crosses a MAJOR version
(operator ruling 2026-09-13; expires when Slice 4 / R-448 ships). Runs in the
pre-push hook, which has the full clone; on a SHALLOW clone (CI fetches at
@@ -123,6 +125,9 @@ GATES = [
# templates were under it — the deploy screen and the box's overcommit warning read less than the app may take.
# Static, stdlib only (no PyYAML on CI), so --fast: the hook and CI.
("mem-limit-sum", "check-mem-limit-sum.py", True, True, False),
# R-127 leg (a) (2026-10-05): every data-encrypting key carries `data_key: true` (by its NAME, or by a registry
# entry with its reason) and every flag is accounted for — the restore's fail-closed gate reads only that flag.
("data-key", "check-data-key.py", True, True, False),
]
# 3 (R-605): the gate's HARNESS refused to run — its canary failed or it had nothing to judge — so NO app was