Policy engine: filter and verdict pipeline #10

Closed
opened 2026-08-22 18:22:38 +01:00 by naps62-yolo · 0 comments
Owner

The core of the app (DESIGN.md §5). Given a policy and a candidate — either a
parsed release name pre-grab, or a probed file post-download — produce a
Verdict that always names the deciding rule.

  • The same engine runs in both phases (§5.6) but sees different evidence. A rule
    that cannot be evaluated pre-grab must return "unknown", never "pass".
  • Post-download, a violation splits into hard fail and soft fail (§5.7). That
    split is engine output, not caller policy.
  • Per-title overrides relax or tighten the root policy, in both directions
    (§5.1).

Language, HDR and scoring rules are separate issues that plug into this. Build
the pipeline and the trivial rules (resolution, source, telesync) here.

Acceptance: exhaustive unit tests. This crate is where correctness is bought.


Depends on: #7, #8

Labels: phase/2-logic, area/core, difficulty/hard, type/feature

The core of the app (`DESIGN.md` §5). Given a policy and a candidate — either a parsed release name pre-grab, or a probed file post-download — produce a `Verdict` that always names the deciding rule. - The same engine runs in both phases (§5.6) but sees different evidence. A rule that cannot be evaluated pre-grab must return "unknown", never "pass". - Post-download, a violation splits into hard fail and soft fail (§5.7). That split is engine output, not caller policy. - Per-title `overrides` relax or tighten the root policy, in both directions (§5.1). Language, HDR and scoring rules are separate issues that plug into this. Build the pipeline and the trivial rules (resolution, source, telesync) here. Acceptance: exhaustive unit tests. This crate is where correctness is bought. --- **Depends on:** #7, #8 Labels: `phase/2-logic`, `area/core`, `difficulty/hard`, `type/feature`
naps62-yolo added the area/coredifficulty/hardphase/2-logictype/feature labels 2026-08-22 18:22:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#10