You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/07/04 07:31:17 UTC

[PR] feat(reviewer-routing): add Privacy-LLM gate preflight to Step 0 [magpie]

justinmclean opened a new pull request, #731:
URL: https://github.com/apache/magpie/pull/731

   ## Summary
   
   Add Privacy-LLM contract check (step 5) to the reviewer-routing pre-flight. Issue and PR bodies may contain incidentally-disclosed PII; running privacy-llm-check before any body content is fetched confirms the project-approved LLM endpoint is in use. Non-zero exit is a hard stop matching the pattern established in security-issue-import.
   
   Add structured JSON return to Step 0 so the pre-flight outcome is assertable. Add eval suite step-0-preflight with 3 cases: all-clear proceed, privacy-gate blocked (unapproved endpoint), missing-roster blocked. Update Prerequisites and Failure modes sections. Eval README updated from 4 cases / 1 suite to 7 cases / 2 suites.
   
   The two other sub-items in this plan item (security-issue-import --limit and release-prepare --body-file) are already addressed in prior commits on main and require no further change.
   
   Generated-by: Claude (Opus 4.7)
   
   ## 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: add eval tests
   
   ## Test plan
   
   - [ ] `prek run --all-files` passes
   - [ ] For Python packages touched: `uv run pytest` / `ruff check` / `mypy` passes
   - [ ] For Groovy bridges touched: command-line invocation tested end-to-end
   - [X] For skill changes: eval suite passes for the affected skill
         (`PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/`)
   - [ ] For skill *behaviour* changes: a new or updated eval fixture is included in this PR
         (a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
   - [ ] Other:
   


-- 
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] feat(reviewer-routing): add Privacy-LLM gate preflight to Step 0 [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #731:
URL: https://github.com/apache/magpie/pull/731


-- 
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