Skip to content

[spdd] Daily spec work plan - 2026-11-24 #80756

Done

Description

@github-actions

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-visibility derivation in scratchpad/guard-policies-specification.md.
  • P1: Reconcile status and deferral wording for roles and private-repos (#78412) in scratchpad/github-mcp-access-control-specification.md.
  • P2: Add safeguard and sync notes in specs/advisory-handoff/README.md and specs/workflow-security/README.md.

SPDD Checklist

  • Generate pkg/workflow/mcp_github_config.go: dedupe acceptList in deriveSafeOutputsGuardPolicyFromGitHub (around L611), keeping first-seen order. Done when a test in pkg/workflow/safeoutputs_guard_policy_test.go with duplicate allowed-repos entries expects one accept entry and fails before the change.
  • Generate pkg/workflow/tools_validation_github.go: decide whether normalizeGitHubRepositoryInReposScope (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 name deriveSafeOutputsGuardPolicyFromGitHub, and document the sink-visibility runtime expression it emits (mcp_github_config.go L665). 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 deferred roles and private-repos cite #78412.
  • Reasons (Safeguards) specs/advisory-handoff/README.md: confirm the --create-fork precondition is documented, matching pkg/cli/advisory_record.go (L52) and errAdvisoryForkMissing in pkg/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 in specs/workflow-security/fixtures/cross-repo.md (lines 32-33) are asserted by specs/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-visibility runtime expression emitted at mcp_github_config.go L665.
  • The traceability row at L593 names normalizeGitHubRepositoryInReposScope for GP-07, which does not dedup.
scratchpad/github-mcp-access-control-specification.md (v1.1.0, Draft)
  • roles and private-repos are deferred and rejected by the compiler (tools_parser.go L227). 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.tla models the fork actions (ClaimFork L30, SendForkRequest L35, ProvisionFork L44). The BaseRace and ForkRetry counterexamples are modeled there.
  • Verify that the --create-fork precondition 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: 2 and github-app-safe-output-count: 1. Both match check.py L543-544.
  • The fixture path is specs/workflow-security/fixtures/cross-repo.md, not specs/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.md after any change to pkg/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_index 2 with last_run 2026-11-24. The next run starts at index 3 (specs/awf-config-sources-compliance/README.md).
  • The reporting skill 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions