@windyroad/itil 0.59.0 → 0.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -499,7 +499,7 @@ Exit-code routing:
|
|
|
499
499
|
| `relevance_exit` / verdict | Meaning | Action |
|
|
500
500
|
|---|---|---|
|
|
501
501
|
| `0` `CLOSE-CANDIDATE` (no caveat) | cited fix shipped — clean evidence per ADR-079 shapes | Do **not** dispatch a full iter. Dispatch ONE `/wr-itil:review-problems` relevance-close sweep reusing the Step 0c `claude -p` pre-flight shape (see Step 0c / Step 5). Its Step 4.6 batch-closes the selected ticket **and any sibling CLOSE-CANDIDATEs** in one ADR-014 commit. Set the once-per-session sweep sentinel. Loop back to **Step 1** (the sweep changed the backlog + refreshed the README — re-scan re-applies the ADR-076 tier partition from the refreshed rankings). |
|
|
502
|
-
| `0` `CLOSE-CANDIDATE-WITH-CAVEAT` | partial / mixed-phase evidence | Do **not** auto-close — a caveat is the maintainer's decision input, not a mechanical close (review-problems 4.6b/4.6d route AFK caveats to the next interactive confirm). Route to Step 4's user-answerable skip (`skip_reason_category: user-answerable`); queue an `outstanding_questions` entry (`category: "direction"`) carrying the **caveat short-tag + one-line verbatim** from the verdict (P350 brief-before-ID — surface the close-confirmation question, not a bare ID) + the remedy *"Run `/wr-itil:review-problems` to confirm/close this ticket."* Loop back to **Step 3** (minus the skipped ticket). |
|
|
502
|
+
| `0` `CLOSE-CANDIDATE-WITH-CAVEAT` | partial / mixed-phase evidence | Do **not** auto-close — a caveat is the maintainer's decision input, not a mechanical close (review-problems 4.6b/4.6d route AFK caveats to the next interactive confirm). Route to Step 4's user-answerable skip (`skip_reason_category: user-answerable`); queue an `outstanding_questions` entry (`category: "direction"`) carrying the **caveat short-tag + one-line verbatim** from the verdict (P350 brief-before-ID — surface the close-confirmation question, not a bare ID) + the remedy *"Run `/wr-itil:review-problems` to confirm/close this ticket."* Loop back to **Step 3** (minus the skipped ticket). **Same-session-adjudication carve-out (user direction 2026-07-15):** when the ticket's caveat verdict belongs to a caveat class + cohort ALREADY adjudicated as 0-closes by the maintainer at a same-day interactive `/wr-itil:review-problems` pass — verified from a DURABLE artefact (the review pass's ADR-014 commit or the `docs/problems/README.md` last-reviewed line recording the cohort adjudication AND the over-fire class, e.g. the #306 ADR-citation over-fire), never from agent recollection — treat the verdict as **resolved-KEEP** and proceed to Step 4 dispatch. The prior adjudication IS the maintainer decision input this routing exists to collect; re-skipping per-ticket re-asks a decided question (P132 inverse-trap) and can invert ADR-076 tier selection under a known-broken evaluator signal. The carve-out is **class-bound**: a caveat whose short-tag/class was NOT covered by the recorded adjudication routes per the default (skip + queue). The carve-out resolves only toward KEEP/dispatch, never toward close (ADR-079 constraint #1 untouched). Log one iter annotation per application: `Step 3.6 caveat carve-out: P<NNN> resolved-KEEP per <commit/README ref> same-day cohort adjudication`. |
|
|
503
503
|
| `1` `KEEP` / `KEEP-WITH-NOTE` | still relevant (paths present, or Phase-1 false-positive class) | Proceed to Step 4 — dispatch the full iter normally. |
|
|
504
504
|
| `2` `SKIP` | age gate (<7 d) OR no extractable evidence | Proceed to Step 4 — the evaluator gives no close signal; default to work. |
|
|
505
505
|
| `3` error | evaluator failed | Proceed to Step 4 — fail-soft, non-blocking (mirrors review-problems Step 4.6 exit-3 "do not abort the pass" + the Step 0 P358 pre-flight failure contract). |
|