Skip to content

[spdd] Daily spec work plan - 2026-11-10 #76553

Done

Description

@github-actions

Summary

SPDD review of 5 specification files (rotation index 20-25 of 26 candidates; the previous run ended at index 19). Main finding: specs/replace-label-compliance/README.md lists 14 coverage rows marked Gap, so it is the biggest open item. The other four specs are mostly healthy and need maintenance-level clarifications. Stages follow OpenSPDD order: /spdd-analysis -> /spdd-reasons-canvas -> /spdd-generate -> /spdd-sync.

Priority Work Queue

  • P0: Close handler-level test gaps for replace-label error and retry paths (RL-037, RL-046a, RL-046b, RL-045, RL-044).
  • P1: Close the cross-repo token-permission and per-type token gaps (RL-051, RL-054, RL-055); assign owners to the workflow-security refinement backlog.
  • P1: Resolve the roles and private-repos spec-to-implementation gap in the GitHub MCP access control spec.
  • P2: Add REASONS-canvas structure to specs/daily-aic/README.md; add expected results to the cross-repo fixture; add log-field and result-shape assertions (RL-038, RL-039, RL-040).

SPDD Checklist

  • P0 / /spdd-analysis - In specs/replace-label-compliance/README.md, group the open Gap rows (RL-009, RL-011, RL-023, RL-027, RL-033, RL-037, RL-038, RL-039, RL-040, RL-044, RL-045, RL-046a, RL-046b, RL-051, RL-054, RL-055) by risk (security / observability / pipeline). Done when each gap row carries a risk tag and a one-line rationale.
  • P0 / /spdd-generate - Add handler tests in actions/setup/js/ (replace-label handler test file) for HTTP 404 (RL-046a) and 5xx/timeout retry plus exhaustion (RL-046b, RL-037). Done when the tests exist, pass, and the matching rows no longer say Gap.
  • P0 / /spdd-generate - Add a stage-order/early-stop test for the section 5 pipeline and a warning-only soft-skip assertion for RL-044 / RL-023 in pkg/workflow/replace_label_formal_test.go or the JS handler test. Done when each soft-skip category has one assertion and coverage-map rows are updated.
  • P1 / /spdd-reasons-canvas - In specs/replace-label-compliance/README.md, expand the Safeguards section to cover token scope (RL-051, RL-054, RL-055), not only blocklist ordering. Done when Safeguards names the minimum issues: write scope and the cross-repo token rule, each linked to a test or an explicit gap.
  • P1 / /spdd-reasons-canvas - In scratchpad/github-mcp-access-control-specification.md (Sync Notes, section 4.8), decide whether roles and private-repos remain normative or are marked not implemented locally. Done when each key has an explicit status (implemented / deferred / removed) and the section 2 conformance classes match.
  • P1 / /spdd-analysis - In specs/workflow-security/README.md (Refinement backlog table), add an owner or tracking-issue column and a priority for each of the 9 unmodeled boundaries. Done when every row has an owner reference and a target TLA+ module name (for example CompiledWorkflow.tla).
  • P2 / /spdd-reasons-canvas - In specs/daily-aic/README.md, add short Requirements, Safeguards, and Norms notes (what the bounded TLA+ model must never accept, and the fail-closed rule for ambiguous prior jobs). Done when all three notes exist and reference CancelledRerunAccounting.tla.
  • P2 / /spdd-generate - In specs/workflow-security/fixtures/cross-repo.md, add a compile-only expected-result block (expected lock-file properties: two checkout tokens, one github-app safe-output). Done when check.py or a conformance test references the expected properties.
  • P2 / /spdd-generate - Add assertions for success-log fields (RL-038), the full success-result field set (RL-039), and attachExecutionState metadata (RL-040) in the replace-label JS handler tests. Done when the three rows reference a concrete test.
  • P2 / /spdd-sync - After the work above, update the Behavioral Coverage Map in specs/replace-label-compliance/README.md and the Sync Notes date in scratchpad/github-mcp-access-control-specification.md. Done when last-verified dates match the run date and no stale Gap text remains for closed items.

Per-Spec Findings

specs/replace-label-compliance/README.md (P0)
  • Analysis: Strong formal model (P1-P15) and error-category fixtures. 14+ coverage rows are open gaps, concentrated in retry/error paths (RL-037, RL-046a/b), logging (RL-038, RL-045), result shape (RL-039, RL-040) and token scope (RL-051, RL-054, RL-055).
  • REASONS gaps: Safeguards covers ordering but not token scope; Operations lacks an end-to-end pipeline test (section 5); Norms for warning-only behavior (RL-023, RL-044) are not asserted.
  • Generate: Handler tests in actions/setup/js/ plus predicate tests in pkg/workflow/replace_label_formal_test.go.
  • Sync: Update coverage map rows and the fixture table when gaps close.
scratchpad/github-mcp-access-control-specification.md (P1)
  • Analysis: Mature spec (v1.1.0 draft, about 2900 lines) with Sync Notes dated 2026-11-04. Open issue: roles and private-repos have no matching pkg/workflow/ fields. The tools key maps to GitHubToolConfig.Allowed.
  • REASONS gaps: Requirements and Entities are ambiguous where the spec lists fields the compiler does not support; Safeguards (section 9.6) should say which fields are enforced locally versus only by the external gateway.
  • Generate: Status column per field in section 4.8; confirm with go test ./pkg/workflow/ -run TestValidateGitHub|TestFormal.
  • Sync: Section 8.5 changes still need external gateway confirmation.
specs/workflow-security/README.md (P1)
  • Analysis: Bounded TLA+ model with a clear disclaimer (not a proof of refinement; synthetic counterexamples are not product vulnerabilities). The refinement backlog lists 9 unmodeled boundaries without owners.
  • REASONS gaps: Structure (which .tla module owns each boundary) and Operations (order of backlog work) are implicit; Norms for filing findings are defined in Daily investigation.
  • Generate: Add owner/priority columns; map each boundary to a module in specs/workflow-security/.
  • Sync: Re-run the model checks (check.py) after any model change.
specs/daily-aic/README.md (P2)
  • Analysis: Short spec for the cancelled-rerun TLA+ model; scope limits (no artifact API, timestamp parsing or JS implementation) are stated well.
  • REASONS gaps: No explicit Requirements, Norms, or Safeguards sections; fail-closed rules are only in prose.
  • Generate: Add three short notes; link actions/setup/js/daily_aic_component_coverage.test.cjs.
  • Sync: Keep the T-AIC-DG-026 reference aligned with the test file.
specs/workflow-security/fixtures/cross-repo.md (P2)
  • Analysis: Compile-only fixture with two authenticated checkouts and one mediated issue write; uses placeholder credentials and must never be dispatched.
  • REASONS gaps: No expected-result definition; Safeguards (do not fetch or widen checkouts) is prose only.
  • Generate: Add expected lock-file properties checked by a conformance test.
  • Sync: Update when checkout or github-app frontmatter semantics change.

Sync Follow-ups

  • After closing replace-label gaps, update specs/replace-label-compliance/README.md (coverage map) and verify with go test ./pkg/workflow/ -run TestFormalReplaceLabel -count=1 plus the JS handler tests.
  • After resolving roles / private-repos, update section 4.8 and Sync Notes in scratchpad/github-mcp-access-control-specification.md and specs/github-mcp-access-control-compliance/README.md.
  • After editing the workflow-security backlog, re-run the TLC checks listed in specs/workflow-security/README.md and keep daily-workflow-security-model.md consistent with the backlog.
  • Next rotation starts at index 26 (wraps to 0) per cache-memory.

Context

  • Files reviewed: specs/replace-label-compliance/README.md, specs/daily-aic/README.md, specs/workflow-security/fixtures/cross-repo.md, specs/workflow-security/README.md, scratchpad/github-mcp-access-control-specification.md
  • Rotation index: previous last_index 19 -> now 25 (5 files processed)
  • Run URL: https://github.com/github/gh-aw/actions/runs/42848870859

Generated by 📋 Daily SPDD Spec Planner · copilot · routed: sonnet55 high · ~32 AIC · ⌖ ~2 AIC · ⊞ 3.9K · ◷

  • expires on Nov 13, 2026, 7:59 AM UTC-08:00

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions