You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "Shaurya2k06 (via GitHub)" <gi...@apache.org> on 2026/07/28 05:46:50 UTC
[PR] fix(skill-evals): assert import classify notices mail-body injection [magpie]
Shaurya2k06 opened a new pull request, #982:
URL: https://github.com/apache/magpie/pull/982
## Summary
- Add a suite-level `assertions.json` for `security-issue-import` step-3-classify that defines `has_rationale_injection_ignored` as a regex over `rationale` (same pattern as issue-triage step-3).
- Set that flag on `case-9-mail-body-injection/expected.json` so a model that lands on `Report` without noticing the mid-body injection no longer passes.
- Other eight cases omit the flag and are unchanged — structural keys are only evaluated when present in `expected.json`.
## Type of change
- [ ] Skill change (`.claude/skills/<name>/`) — eval fixtures updated below
- [ ] Tool / bridge contract (`tools/<system>/*.md`)
- [ ] Python package (`tools/*/` with `pyproject.toml`)
- [ ] Groovy reference impl
- [ ] Cross-cutting (RFC, AGENTS.md, sandbox, privacy-LLM)
- [ ] Documentation (`docs/`, `README.md`, `CONTRIBUTING.md`)
- [ ] Project template (`projects/_template/`)
- [ ] CI / dev loop (`prek`, workflows, validators)
- [x] Other: skill-evals fixture assertion for an existing adversarial case
## Test plan
- [x] `PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/security-issue-import/` runs without error
- [x] Confirmed only case-9 carries `has_rationale_injection_ignored`; other eight step-3 cases have no structural keys
- [x] Confirmed the assertion holds on case-9’s expected rationale and fails a rationale that never mentions the injection
- [x] `prek run --files` on the two touched fixture files passes
- [ ] For skill *behaviour* changes: n/a — grading fixture only; skill prose unchanged
## RFC-AI-0004 compliance
- [ ] **HITL** — any new mutation is gated on explicit user confirmation
- [ ] **Sandbox** — no new unrestricted host access; network reach declared in the adapter
- [x] **Vendor neutrality** — placeholders used in all skill / tool prose
- [ ] **Conversational + correctable** — agentic-override path documented if behaviour is adopter-tunable
- [ ] **Write-access discipline** — no autonomous outbound messages; drafts only, sent on confirmation
- [ ] **Privacy LLM** — private content does not reach a non-approved LLM; redactor invoked where needed
## Linked issues
Closes #980
--
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(skill-evals): assert import classify notices mail-body injection [magpie]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #982:
URL: https://github.com/apache/magpie/pull/982
--
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