Adopt Apache Magpie for the security workflow #5408
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.70) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.70 · 328 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.347
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.070
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5408"
general
weight: 0.35
janhoy
🤖 Adopts Apache Magpie for Solr's security workflow, so PMC members who use it start from shared, reviewed configuration instead of each configuring it by hand.
Why
Magpie is an agent-assisted framework for repository maintainership. Its security skills help the PMC with the project's private security process: triaging reports from the security list, syncing JIRA security issues with their mailing-list threads and fix commits, preparing the records and drafts the ASF process needs, and reconciling with the ASF security dashboard. Every one of those skills needs Solr's specifics: JIRA project and security level, label vocabulary, release trains, mailing lists. Today that lives in each PMC member's private clone. Committing it here means:
What contributors see
Nothing, and no extra LLM context.
.claude/stays git-ignored (the existing "only AGENTS.md checked in" policy is untouched), so no plugin or skill is enabled for anyone by this change. Only people who install Magpie themselves use it.What this adds
.apache-magpie.lock: the project floor (minimum Magpie version, and the default plugin set: setup, utilities, agent-guard, vetted-ops)..apache-magpie-overrides/: the shared configuration store (see the comment below for which files are filled in and which are still templates)..gitignore:/.apache-magpie-local/, the per-machine personal layer.What a PMC member does to use it
1. Install Magpie's plugins (
/plugin marketplace add apache/magpie, then installmagpie-setup, andmagpie-securityfor the security skills).2. Optionally run
/magpie-setup:setup configfor personal settings: mail access, a private skill policy, and so on. That stays on their machine, in.apache-magpie-local/or.git/apache-magpie/.Nothing else; the shared files are picked up from the checkout. Anyone who doesn't care can ignore the directory entirely.
Test plan
gradlew check -x testpasses (includesrat; the new files pass the license check).Notes for reviewers
project.md,security-tracker-stats.md, andcommit-attribution.toml.🤖 Generated with Claude Code