Repository navigation
Done
Labels
Description
Summary
Daily SPDD review of 5 spec files from rotation batch indexes 30, 31, 0, 1, 2 of 32 in-scope files. One code gap was confirmed. GP-07 requires duplicate accept entries to be deduplicated, but deriveSafeOutputsGuardPolicyFromGitHub in pkg/workflow/mcp_github_config.go (around L611) builds acceptList with no dedup. The GP-07 traceability row in scratchpad/guard-policies-specification.md (L593) also names normalizeGitHubRepositoryInReposScope, which does not dedup either. Secondary item: the Draft status of scratchpad/github-mcp-access-control-specification.md should be reconciled with the Implemented guard-policies spec.
Priority Work Queue
- P0: Dedupe guard-policy accept entries (GP-07) in
pkg/workflow/mcp_github_config.go. - P1: Correct the GP-07 traceability row and document the
sink-visibilityderivation inscratchpad/guard-policies-specification.md. - P1: Reconcile status and deferral wording for
rolesandprivate-repos(#78412) inscratchpad/github-mcp-access-control-specification.md. - P2: Add safeguard and sync notes in
specs/advisory-handoff/README.mdandspecs/workflow-security/README.md.
SPDD Checklist
- Generate
pkg/workflow/mcp_github_config.go: dedupeacceptListinderiveSafeOutputsGuardPolicyFromGitHub(around L611), keeping first-seen order. Done when a test inpkg/workflow/safeoutputs_guard_policy_test.gowith duplicateallowed-reposentries expects one accept entry and fails before the change. - Generate
pkg/workflow/tools_validation_github.go: decide whethernormalizeGitHubRepositoryInReposScope(L332) should also dedupe. Done when the decision is recorded in the PR description and the GP-07 row matches it. - Sync
scratchpad/guard-policies-specification.md: correct the GP-07 traceability row (L593) to namederiveSafeOutputsGuardPolicyFromGitHub, and document thesink-visibilityruntime expression it emits (mcp_github_config.goL665). Done when the §5 derivation text matches the code. - Reasons (Norms)
scratchpad/github-mcp-access-control-specification.md: reconcile the Draft v1.1.0 status with the implemented guard-policies spec. Done when the status header and §2.1 state the conformance class, and deferredrolesandprivate-reposcite#78412. - Reasons (Safeguards)
specs/advisory-handoff/README.md: confirm the--create-forkprecondition is documented, matchingpkg/cli/advisory_record.go(L52) anderrAdvisoryForkMissinginpkg/cli/advisory_command.go(L27). Done when the README states the precondition and its error hint. - Sync
specs/workflow-security/README.md: add a note that fixture header counts inspecs/workflow-security/fixtures/cross-repo.md(lines 32-33) are asserted byspecs/workflow-security/check.py(L543-544). Done when the note is present and the counts still match.
Per-Spec Findings
scratchpad/guard-policies-specification.md (v0.2.0, Implemented)
- GP-07 dedup is not implemented in
deriveSafeOutputsGuardPolicyFromGitHub. - §5 omits the
sink-visibilityruntime expression emitted atmcp_github_config.goL665. - The traceability row at L593 names
normalizeGitHubRepositoryInReposScopefor GP-07, which does not dedup.
scratchpad/github-mcp-access-control-specification.md (v1.1.0, Draft)
rolesandprivate-reposare deferred and rejected by the compiler (tools_parser.goL227). This is consistent across §2.1, §4.8 (L1096-1097), and the follow-up table (L2792-2793), and tracked at#78412.- Status is Draft while the guard-policies spec is marked Implemented. Conformance scope should be stated explicitly.
specs/advisory-handoff/README.md
- Documents the setup, record, inspect, and transfer flow with TLC results of 27,282 states.
AdvisoryHandoff.tlamodels the fork actions (ClaimForkL30,SendForkRequestL35,ProvisionForkL44). The BaseRace and ForkRetry counterexamples are modeled there.- Verify that the
--create-forkprecondition is stated.
specs/workflow-security/README.md and fixtures/cross-repo.md
- The README indexes the TLA+ models and cites
check.py. Its scope note says synthetic counterexamples must not be filed as product vulnerabilities. - The fixture is compile-only, uses placeholder credentials, and expects
checkout-token-count: 2andgithub-app-safe-output-count: 1. Both matchcheck.pyL543-544. - The fixture path is
specs/workflow-security/fixtures/cross-repo.md, notspecs/workflow-security/cross-repo.md.
Sync Follow-ups
- After the P0 change, rerun the guard-policy tests and confirm the GP-07 traceability row matches the code.
- Keep scratchpad status headers aligned with implementation state for guard-policies and github-mcp-access-control.
- Recheck
specs/advisory-handoff/README.mdafter any change topkg/cli/advisory_record.go.
Context
- Files reviewed:
scratchpad/github-mcp-access-control-specification.md,scratchpad/guard-policies-specification.md,specs/advisory-handoff/README.md,specs/workflow-security/README.md,specs/workflow-security/fixtures/cross-repo.md. - Rotation: this batch covers sorted indexes 30, 31, 0, 1, 2. Rotation state is updated to
last_index2 withlast_run2026-11-24. The next run starts at index 3 (specs/awf-config-sources-compliance/README.md). - The
reportingskill was not available, so the workflow output contract was followed. - Run: https://github.com/github/gh-aw/actions/runs/45430439162
Generated by 📋 Daily SPDD Spec Planner · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 3.9K · history
- expires on Nov 27, 2026, 8:05 AM UTC-08:00
Reacted by Copilot
Activity