Repository navigation
Done
Description
Summary
Daily SPDD review of the rotation slice (5 spec files). Cited code paths and test names were checked against the repository. Two references are broken: the outcomes/ TLA+ directory does not exist, and TestValidateReposScopeWithStringSlice does not exist. Several spec and implementation contradictions were also found. The plan below has 9 tasks, each mapped to one SPDD stage.
Priority Work Queue
- P0: broken references and missing test names (tasks 1-2)
- P1: spec versus implementation contradictions (tasks 3-6)
- P2: maintenance and sync follow-ups (tasks 7-9)
SPDD Checklist
- P0 Analysis: specs/safe-output-outcome-evaluation.md (lines about 914, 924, 983-987) links to outcomes/OutcomeEvaluation.tla, outcomes/OutcomeEvaluation.cfg, outcomes/check.mjs, and outcomes/README.md, but no outcomes/ directory exists. Done when either the directory is restored or the Formal Model section is corrected, and every link resolves.
- P0 REASONS Safeguards: scratchpad/guard-policies-specification.md (line 370) names TestValidateReposScopeWithStringSlice, which does not exist. Done when the spec names an existing test (for example TestValidateReposScope in pkg/workflow/tools_validation_test.go) or the test is added and grep finds it.
- P1 Analysis: specs/safe-output-outcome-evaluation.md tables use ghaw.outcome.* (about lines 193-890), while line 84 and specs/otel-observability-spec.md (lines 791 and 1014) use gh-aw.outcome.*. Done when one prefix is chosen and used consistently in all three files.
- P1 REASONS Requirements: scratchpad/guard-policies-specification.md (line 297) says min-integrity is required whenever guard policies are used. GP-11 and validateGitHubGuardPolicy in pkg/workflow/tools_validation_github.go require it only when allowed-repos is set. Done when section 3 and GP-11 state the same rule and cite the code.
- P1 REASONS Operations: scratchpad/guard-policies-specification.md section 4.1 says lockdown denies the invocation, but GP-S002 says lockdown ignores guard-policy fields. Done when section 4.1, GP-10, and GP-S002 describe one evaluation rule.
- P1 Generate: scratchpad/guard-policies-specification.md header says version 0.1.0 (line 4), but the repos deprecation note (line 489) cites version 0.2.0. Done when the header, change log, and deprecation note agree, and
#44357is linked as the removal tracker. - P2 Sync: specs/awf-config-sources-spec.md Last Updated date is 2026-05-10 (line 13), but the newest change log entry is 2026-11-04 (line 344). Done when the Last Updated date matches the newest change log entry.
- P2 REASONS Structure: specs/compiler-threat-detection-spec.md section 2 contains a very long version-history table. Done when the table keeps short rows and the full history moves to the spec change log, with no content lost.
- P2 Sync: after tasks 2 and 4-6 land, run go test in pkg/workflow with -run covering TestValidateGitHubGuardPolicy, TestDeriveSafeOutputsGuardPolicyFromGitHub, and TestGuardPolicyYAMLCompilationIntegration, and in pkg/cli with -run covering TestFormal_ForecastSpecSyncNoteAnchorsExist. Done when all pass and no further test-name edits are needed in scratchpad/guard-policies-specification.md or specs/forecast-compliance-fixtures/README.md.
Per-Spec Findings
scratchpad/guard-policies-specification.md
- Verified: validateGitHubGuardPolicy, validateReposScope, validateRepoPattern, and deriveSafeOutputsGuardPolicyFromGitHub exist, and the cited guard-policy test functions exist.
- Mismatches: header version 0.1.0 versus 0.2.0 reference; min-integrity scope (section 3 versus GP-11); lockdown framing (section 4.1 versus GP-S002); missing test TestValidateReposScopeWithStringSlice.
specs/forecast-compliance-fixtures/README.md
- Verified: TestTrialCountIsTenThousand, TestFormal_ForecastSpecSyncNoteAnchorsExist, and TestFormal_P4_RunLevelOutputContract exist. The 10,000-trial claim matches the test.
- No defects found in the sections checked.
specs/safe-output-outcome-evaluation.md
- Verified: pkg/cli/outcome_eval_*.go evaluators, pkg/cli/testdata/outcome_conformance.json (95-case corpus), and pkg/cli/outcome_conformance_test.go exist.
- Defects: outcomes/ TLA+ directory is missing; ghaw versus gh-aw telemetry prefix mismatch.
specs/compiler-threat-detection-spec.md
- Sampled only (about 210 KB). Verified that T-CTR-024 to T-CTR-038 and T-CTR-040 are intentionally deferred to specs/compiler-threat-detection-compliance/README.md (line 918), so there is no gap there.
- Maintenance: verbose section 2 version table.
specs/awf-config-sources-spec.md
- Verified: .github/workflows/schema-consistency-checker.md exists, so the section 7.4 link resolves.
- Mismatches: Last Updated 2026-05-10 versus change log 2026-11-04; section 8 snapshot path ~/.cache/gh-aw/ versus the /tmp/gh-aw/agent/ default.
Sync Follow-ups
- Re-run the test-name checks after spec edits (task 9).
- Keep docs/public/schemas/mcp-gateway-config.schema.json and pkg/workflow/schemas/mcp-gateway-config.schema.json in sync when guard-policy text changes.
- Update the outcome spec change log when outcomes/ is restored or the Formal Model section changes.
Context
- Files reviewed: scratchpad/guard-policies-specification.md, specs/forecast-compliance-fixtures/README.md, specs/safe-output-outcome-evaluation.md, specs/compiler-threat-detection-spec.md, specs/awf-config-sources-spec.md
- Rotation index: 3 of 27 (previous run ended at 25; the next run starts at 4)
- Run: 43052614586
References: 43052614586
Generated by 📋 Daily SPDD Spec Planner · copilot · routed: haiku55 xhigh · ~17 AIC · ⌖ ~1 AIC · ⊞ 3.9K · ◷
- expires on Nov 14, 2026, 8:03 AM UTC-08:00
Reacted by Copilot
Activity