mod: Phase 1 — report schema + policy engine on Prolog, 31/31
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m5s

Reports → Prolog facts (report/3, classification/2, report_count/2); ordered
policy rules compile to policy_action/3 clauses, first match wins via
pl-query-one. Decisions carry their proof (matching rule + conditions +
evidence). Spam/abuse keyword classification, repeated-report escalation via
Prolog join+arithmetic, no-rule→keep default. Registry api + conformance harness.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 17:30:50 +00:00
parent 72174941aa
commit 8dfc987095
10 changed files with 568 additions and 14 deletions

10
lib/mod/scoreboard.json Normal file
View File

@@ -0,0 +1,10 @@
{
"lang": "mod",
"total_passed": 31,
"total_failed": 0,
"total": 31,
"suites": [
{"name":"decide","passed":31,"failed":0,"total":31}
],
"generated": "2026-06-06T17:30:06+00:00"
}