mod: Ext 1 — negation-as-failure conditions (:not / :attr), 146/146
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 44s

Report attributes (:attrs) project to attr(Id, name) facts; policy gains (:attr x)
and (:not <cond>) conditions. The Prolog substrate exposes negation as a functor
not(Goal) (the prefix \+ operator doesn't parse here). Closed-world example:
hide spam unless author verified. Default policy untouched — feature proven via
custom rule sets, so all 132 base tests stay green. +14 extension tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 17:59:01 +00:00
parent ee9851c063
commit 2ea87796a1
7 changed files with 218 additions and 15 deletions

View File

@@ -1,13 +1,14 @@
{
"lang": "mod",
"total_passed": 132,
"total_passed": 146,
"total_failed": 0,
"total": 132,
"total": 146,
"suites": [
{"name":"decide","passed":31,"failed":0,"total":31},
{"name":"audit","passed":29,"failed":0,"total":29},
{"name":"escalation","passed":46,"failed":0,"total":46},
{"name":"fed","passed":26,"failed":0,"total":26}
{"name":"fed","passed":26,"failed":0,"total":26},
{"name":"extensions","passed":14,"failed":0,"total":14}
],
"generated": "2026-06-06T17:54:02+00:00"
"generated": "2026-06-06T17:58:37+00:00"
}