Status
as-built
Conceptual layer
③ Analytics · governance: eval scorecards → L3 registry (D9)
Repo layer
L3 intelligence-rulepacks, intelligence-evals
Source
architecture section 2.2 RP / EV, section 3.6.7

Rulepacks (intelligence-rulepacks)#

Filesystem catalog of versioned YAML rulepacks, vertical priors, and DISCOM HT tables. Not a runtime. Core loads them with RULEPACK_PATH pointing at the rulepacks repo root.

OwnsDoes not own
Thresholds, formula ids, suppressions, ops_clearance defaults, vertical overlaysDetector Python; outbox; Lab UI
rulepack://{pack}/{semver}#{rule_id} citations on FindingsSetting delivery / status (core owns dual-lane)

Math runs in intelligence-core. Rule YAML is sheet music; engines are the orchestra.

Typical layout: domain/{pack}/{semver}/ · verticals/{id}/params.yaml · tariff tables · schemas/formula_registry.json · schemas/catalog_index.json.

Counts drift — prefer schemas/catalog_index.json in the rulepacks repo over copied numbers here.

Load order (as-built)#

  1. Domain pack for the engine’s pack_id / rule_id
  2. Optional vertical overlay (VERTICAL_ID)
  3. Shared suppressions + metric registry

Plant secrets stay outside the rulepacks repo.


Evals (intelligence-evals)#

Offline scores for L3 RunArtifacts plus an internal Lab UI. Observation only — no promote Lab → L4. Backtests write scorecards into the L3 registry (D9, RECOMMENDED).

SurfaceJob
CLI stamped-l3-evalBacktest goldens; gate check (precision_min in config/gates.yaml)
Lab UITriage candidates; L4 board = delivery=l4 ∧ status=emitted; Discovery keeps the rest

Default corpus is checked-in RunArtifact 1.1.0 goldens — no live L2 required. Optional attach to core Lab export is secondary.


Split of duty#

PieceRole
rulepacksthresholds / citations
coreengines / dual-lane / outbox
evalsoffline score / Lab triage

Packs, procedures, parameters and replay (direction)#

ItemHomeNote
Platform packintelligence-core twin/kit/Estimators, gate, Monte Carlo, calibration, replay, drift
Sector pack (forging first)intelligence-rulepacksPhysics priors per alloy family; procedure catalog as versioned YAML; alarm rule templates
Site packPrivate site workspace, signedTag bindings, model cards, parameter rows, part aliases, plant-written limits, write allow-list (signed by the production head)
Parameter registryL2 baselines.param_row · param_promotionContext-keyed rows; promotions per ADR-011
Replay harnessintelligence-evalsLeave-one-run-out replay; gates on error, alarm precision and recall, coverage, message budget
Reference testsintelligence-core CIReproduce analysis-script outputs on recorded data within tolerances; synthetic fixtures in repo

Detail: 05-twin-and-fast-loop.md sections 4–6.

Next: 04-finding-contract.md.

Page history: last 3 changes
  1. 2026-10-07 docs(technical): rewrite l3/ to the architecture 4a28bbd
  2. 2026-10-03 docs(l3): twin runtime, twin-record engines, packs and replay as direction 28255e9
  3. 2026-09-27 docs(l3): document rulepacks, evals, and L4 intake 8013d9c

Diagram

100%

Search the architecture