mod: Ext 19 — end-to-end triage pipeline (capstone), 390/390
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 41s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 41s
mod/triage-pipeline domain r reports actor composes domain-policy decision → explanation → AP activity → wire into one bundle. Integration test runs the whole federated path across 5 modules (decide → wire → peer → trust-gated apply), confirming the module-by-module subsystem composes end to end. +15 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ federation extension.
|
||||
|
||||
## Status (rolling)
|
||||
|
||||
`bash lib/mod/conformance.sh` → **375/375** (roadmap + 18 extensions complete)
|
||||
`bash lib/mod/conformance.sh` → **390/390** (roadmap + 19 extensions complete)
|
||||
|
||||
## Ground rules
|
||||
|
||||
@@ -147,6 +147,12 @@ lib/mod/fed.sx
|
||||
derivation goal-by-goal with `[proved]`/`[unproved]` marks and unification
|
||||
bindings. E.g. `Report rc: escalate (rule: repeated-escalate)` … `[proved]
|
||||
report(rc, B, S), report_count(S, N), N >= 3 {B=ann, N=3, S=dave}`.
|
||||
- [x] **Ext 19 — end-to-end triage pipeline** (`lib/mod/pipeline.sx`, +15).
|
||||
`mod/triage-pipeline domain r reports actor` runs a report through domain-policy
|
||||
decision → explanation → AP activity → wire, returning the full bundle. The test
|
||||
is a genuine integration across 5 modules including a federated handoff (market
|
||||
decision → wire → peer → trust-gated apply). The capstone that proves the
|
||||
independently-built modules compose.
|
||||
- [x] **Ext 18 — ergonomic defrule / ruleset** (`lib/mod/defrule.sx`, +11). The
|
||||
roadmap's `(defrule …)` surface, done with `&rest` variadics (no macro needed —
|
||||
conditions are already plain data): `mod/defrule` collects trailing conditions,
|
||||
@@ -234,6 +240,14 @@ lib/mod/fed.sx
|
||||
|
||||
## Progress log
|
||||
|
||||
- **Ext 19 — end-to-end triage pipeline, 390/390** (+15). Capstone: one
|
||||
orchestration call composes domain policy + decide + explain + activity + wire,
|
||||
and the integration test runs the whole federated path (decide in a domain →
|
||||
wire → peer → trust-gated apply) across 5 modules. Confirms the subsystem — built
|
||||
module-by-module — actually composes end to end. mod-sx now spans schema → policy
|
||||
DSL (boolean algebra + count/score/reporters/burst) → engine + proofs → audit →
|
||||
lifecycle → SLA → federation (trust/wire/AP) → analytics (trace/whatif/lint/batch)
|
||||
→ domain policies → pipeline, all on the green lib/prolog substrate, 390 tests.
|
||||
- **Ext 18 — ergonomic defrule / ruleset, 375/375** (+11). Closes the roadmap's
|
||||
original `defrule` surface. `fn` supports `&rest` here, and conditions evaluate
|
||||
to plain data, so no macro is needed — variadic functions give the ergonomics
|
||||
|
||||
Reference in New Issue
Block a user