Repository navigation
fix(tier3): keep negative controls out of missed-activation advice - #466
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]> (cherry picked from commit cbfea3e2edb82454cada413ff7c61dead46daed4) Signed-off-by: Narendran Raghavan <[email protected]>
Brings in #464 (Harbor 0.25.0) and #466. The only conflict was docs/cli-reference.mdx: keep main's Harbor 0.25.0 --env-mode and --environment-kwarg rows, and this PR's --backend row between them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Exact-head source-adoption review for merged head f2919d1. Reviewed the production diff, callers and regression coverage: shared dataset routing keeps explicit negative controls out of both missed-activation advice paths while retaining genuine task/environment/run-error diagnostics. Dataset snapshots are loaded once per recommendation pass and passed to each case; the direct-call fallback remains compatible. Missing/malformed/legacy snapshots, precedence, multiple agents and bounded-read behavior are covered.
Previously recorded current-main verification passed 377 tests across the case-summary and CI-selection/gate selections; that is a combined scope, not 377 case-summary-only tests. No new test run is claimed by this adoption comment. The separate inherited bridge-readiness test hit an unchanged three-second subprocess timeout under concurrent local load; it was not weakened. The exact merged-head hosted checks were successful at the recorded audit.
No actionable reporting source issue was found. This PR was externally merged into main; this COMMENT records review of its actual retained PR head.
Summary
A missed positive activation in a mixed Tier3 dataset contaminated correctly avoided negative controls: passing attempts were counted as lost and off-skill tasks received advice to widen activation. Resolve each case's routing from the retained dataset snapshot with the existing shared helper. Explicit negatives bypass both activation-loss branches while retaining genuine task, environment and run-error diagnostics. Positive misses and unknown legacy routing remain unchanged.
Load the snapshot once per advice pass, then pass it to each case diagnosis. This avoids repeated reads:100 cases read one snapshot rather than101, with unchanged recommendation output. No global cache or scoring/schema change.
Tracks SKILLEVAL-103 and SKILLEVAL-21.
Verification
Current DCO head:
f2919d1158dee204d632a43b90a92a568ca9fa83, including main487910ef. Recommendation source/tests remain unchanged from reviewed589e9bdc. Subsequent changes integrate upstream, relocate our changelog entry, and correct a shared-baseline readiness test race described below.Release Impact
Hosted Python3.13 readiness-test follow-through
At prior head aacd62f, the Python3.13 matrix recorded27,902 passed,1 failed,81 skipped. The sole failure was an empty readiness-file JSON read. Both the writer and failing test were byte-identical on main487910ef and the PR; the test waited for file existence while the production startup consumer already retries the real secure authenticated readiness check. GitHub denied the normal job-rerun request with HTTP403.
A separate DCO test-only commit now waits for that same real checker before decoding and verifies the returned origin. No production bridge/security change. A deterministic pipe-handshake harness pauses the real writer after secure create: original test reproduces the exact JSONDecodeError; corrected test rejects incomplete readiness and passes after authenticated health. Independent review found no actionable issue. Bridge plus lifecycle serial selection:135 passed. Earlier parallel selection:422 passed,1 skipped,1 unrelated cancellation timing failure, then passed serially. Root exact integrated-head reproduction:1 passed. Lint/format/diff checks passed. Fresh hosted matrix/coverage passed for f2919d1 before merge; no failed gate was bypassed.