From a08fd0a052dadf83c9cf3c7f97020f82f9422926 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 25 Oct 2026 02:04:36 +0200 Subject: [PATCH] fix: mark and gate the remaining ASF-only surfaces - permission-audit: PonyMail, apache-projects and Vulnogram recommendations only apply with --organization ASF. - dependency-license-audit and workflow-optimization: ASF policy defaults and ASF Infra checks are gated on organization: ASF. - gmail asf-relay / ponymail-archive and the forwarder asf-security row carry an ASF-only scope note. - privacy-llm checker: governing-body wording instead of PMC. Generated-by: Claude Opus 5 --- docs/repo-health/README.md | 6 +++ .../skills/dependency-license-audit/SKILL.md | 12 +++-- .../skills/workflow-optimization/SKILL.md | 7 ++- .../tools/forwarder-relay/README.md | 2 +- .../tools/gmail/asf-relay.md | 6 +++ .../privacy-llm/checker/src/checker/check.py | 4 +- plugins/magpie-setup/skills/setup/verify.md | 4 +- tools/forwarder-relay/README.md | 2 +- tools/gmail/README.md | 2 +- tools/gmail/asf-relay.md | 6 +++ tools/gmail/ponymail-archive.md | 5 +++ .../src/permission_audit/audit.py | 45 +++++++++++++------ .../src/permission_audit/cli.py | 14 +++++- tools/permission-audit/tests/test_audit.py | 21 ++++++++- .../privacy-llm/checker/src/checker/check.py | 4 +- 15 files changed, 110 insertions(+), 30 deletions(-) diff --git a/docs/repo-health/README.md b/docs/repo-health/README.md index 81a4a7428..56192f073 100644 --- a/docs/repo-health/README.md +++ b/docs/repo-health/README.md @@ -106,6 +106,12 @@ says which file is missing. | [`repo-health-config.md`](../../plugins/magpie-setup/templates/repo-health-config.md) | Per-skill switches: deprecated runner labels, zizmor rule classes, dependency managers, SPDX expression, flaky-test thresholds. | `dependency-audit`, `flaky-test-triage`, `license-compliance-audit`, `workflow-security-audit` | | [`runtime-invocation.md`](../../plugins/magpie-setup/templates/runtime-invocation.md) | Build prerequisite, run-a-single-file recipe, stream-capture conventions, network/dependency handling. | `audit-finding-fix` | +**Optional.** Each has a documented fallback; absent, the skill still runs. + +| File | What it carries | Read by | +|---|---|---| +| [`project.md`](../../plugins/magpie-setup/templates/project.md) | Project manifest. Identity, repositories, mailing lists, tools enabled, CVE tooling, GitHub project-board + issue-template field declarations. The single file every skill reads to resolve project-scoped references. | `dependency-license-audit`, `workflow-optimization` | + diff --git a/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md b/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md index 34066bb64..8effee420 100644 --- a/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md +++ b/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md @@ -22,7 +22,7 @@ argument-hint: "[--manager pip|npm|cargo|maven|gradle|trivy] [--policy asf|allow capability: capability:triage surface_hash: sha256:9723ef52fb16204e license: Apache-2.0 -measured_tokens: 3624 +measured_tokens: 3739 ---