You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/09/22 21:44:49 UTC
[PR] fix(security-issue-sync): give step 2b its rules and correct the guardrails fixtures [magpie]
potiuk opened a new pull request, #1340:
URL: https://github.com/apache/magpie/pull/1340
## Summary
- Cases in the `security-issue-sync` suite were red on `main`, and `step-2b` swung by up to three cases between runs of *unchanged* code. The swing was not model variance — step 2b's prompt never contained the rules it is graded against.
- `step-2b`'s `step-config.json` extracted only `SKILL.md § 2b` (a ten-line pointer) while the signal-to-action rows it is tested on live in `signals-to-actions.md`. It now uses `also_include`, the mechanism the runner already documents for steps whose text spans files.
- Two `step-guardrails` fixtures, and the step's own output spec, contradicted `AGENTS.md`. The model had been correctly reporting a real violation that the fixture asserted was clean.
## Type of change
- [x] Skill change (`.claude/skills/<name>/`) — eval fixtures updated below
- [x] CI / dev loop (`prek`, workflows, validators)
## Test plan
- [x] `prek run --all-files` passes (34 hooks, 0 failures)
- [x] `step-guardrails` — 3/3 pass (was 1/3)
- [x] `step-2b-proposed-changes` — 7/7 pass (was 5/7, and flapping between 4/7 and 6/7 on unchanged code)
- [x] `dependency-audit` — 8/8, unaffected
- [x] `docs/mode-economics.md` regenerated (`SKILL.md` grew, so the measured token count moved)
## RFC-AI-0004 compliance
- [x] **HITL** — the restated rule is explicitly a *proposal*; it flips no label, closes nothing, sends nothing until confirmed
- [x] **Vendor neutrality** — placeholders preserved throughout
## Linked issues
None — found while running the affected suites for #1326.
## Notes for reviewers
**The one behaviour-surface change** is in `SKILL.md § 2b`: the reporter-unresponsiveness proposal shape is restated in the step body instead of living only in the 1,281-line appendix. With the appendix in the prompt the model *still* proposed chasing the reporter rather than proposing to proceed, which inverts ASF policy that an unresponsive reporter must not block the team. Worth a careful read — this is the only part of the PR that changes what the skill tells a maintainer.
**Two cases are deliberately left red**, because each needs a ruling rather than a fixture tweak:
- `step-1f/case-7-announced-awaiting-cveorg` expects `process_step: "14"`; the model consistently answers `"14-15"`, which the step's own output spec permits as a range. Whether a tracker with the archive URL captured and the apply outstanding is "14" or "14-15" is a question about what the process table means, not about the model.
- `step-1f/case-5-pr-merged-awaiting-release` fails on `key_signals` length — the model names five signals that subsume the expected three. Asserting a free-form list by position and length is the same fragility this PR removes from `case-3`, but fixing it properly means deciding what that field is *for*.
I tried a fixture fix for case-7 (it carried both `fix released` and `announced`, a half-applied flip) and reverted it: the model's answer did not change, so the hypothesis was wrong and the edit would have been an unjustified mutation.
**Related, not fixed here:** no CI workflow runs these suites at all — no reference to `skill_evals.runner` or `magpie-run-evals` under `.github/workflows/`. That is how four cases drifted red unnoticed, and it sits awkwardly against `PRINCIPLES.md` §9. Wiring it needs an Anthropic API key as a repo secret plus a per-run cost decision, which is a PMC call rather than something to slip into this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(security-issue-sync): give step 2b its rules and correct the guardrails fixtures [magpie]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1340:
URL: https://github.com/apache/magpie/pull/1340
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org