Skip to content

fix(security-issue-sync): settle three ambiguous bulk and push rules - #1501

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/security-sync-ambiguous-rules
Oct 3, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/security-sync-ambiguous-rules

Conversation

@potiuk

@potiuk potiuk commented Oct 3, 2026

Copy link
Copy Markdown
Member

Settles the three ambiguous rules that the new evals in #1500 surfaced (#1344 follow-up).

Summary

  • Step 5b, not-configured session probe. The text said both "skip silently" and that the only acceptable deferral raises an explicit blocker.
    • Now the push is skipped silently on ordinary runs.
    • On a fix released transition, the record is still allocated, so the recap carries the deferral blocker, as it does for an expired session.
  • Bulk pre-flight, dispatch-urgent. Under first-match ordering the 24h rule could never fire, because a reply that recent also bumps updatedAt, so the 7-day rule caught it first.
    • The 24h rule now comes first.
    • The same reorder is applied in tools/preflight-audit's classifier. Its test had documented the gap and now expects dispatch-urgent.
  • Bulk pre-flight, sync CVE-… selectors. They name their trackers explicitly, so pre-flight never skips them, the same as issue numbers.

Test plan

  • tools/preflight-audit pytest: 42 passed
  • New eval cases: 5b cases 7–8 and bulk-selectors cases 7–8 (plus a new urgent output field). Both suites pass 8/8 on this branch.
  • The new cases against main's text:
    • The dispatch-urgent case fails there, as expected.
    • The other three already pass: the model resolved those ambiguities the same way, and the text now states it.

🤖 Generated with Claude Code

- Step 5b: a not-configured session probe skips the push silently on
  ordinary runs, but on a fix released transition the record is still
  allocated, so the recap carries the deferral blocker, as it does
  for an expired session.
- Bulk pre-flight: the 24h dispatch-urgent rule now comes before the
  7-day override. Under first-match ordering it could never fire,
  because a reply that recent also bumps updatedAt. Same reorder in
  tools/preflight-audit's classifier, whose test documented the gap.
- Bulk pre-flight: a sync CVE-... selector names its trackers
  explicitly, so pre-flight never skips them, like issue numbers.

Eval cases pin each rule (5b cases 7-8, bulk-selectors cases 7-8,
with a new urgent field). On main the urgent case fails; the other
three already passed, the model having resolved those the same way.

Generated-by: Claude Opus 5
@potiuk
potiuk merged commit a588593 into apache:main Oct 3, 2026
9 checks passed
@potiuk potiuk added capability:intake Import external signal + sync tracker state family:docs Docs, MISSION.md, READMEs family:security security-* skills family:tools tools/* substrate:analytics Tool substrate: read-only metrics / dashboards / renderers substrate:framework-dev Tool substrate: build / validate / eval the framework itself labels Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:intake Import external signal + sync tracker state family:docs Docs, MISSION.md, READMEs family:security security-* skills family:tools tools/* substrate:analytics Tool substrate: read-only metrics / dashboards / renderers substrate:framework-dev Tool substrate: build / validate / eval the framework itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant