Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/daily-spdd-spec-planner.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/daily-spdd-spec-planner.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ tools:
bash:
- "find specs docs scratchpad -type f -name \"*.md\""
- "cat specs/*.md"
- "cat specs/**/*.md"
- "cat docs/src/content/docs/reference/*specification*.md"
- "cat scratchpad/*specification*.md"
- "git log --oneline --since=\"14 days ago\" -- specs docs/src/content/docs/reference scratchpad"
Expand Down Expand Up @@ -92,6 +93,8 @@ Inspect specification files from:

Use the allowed shell commands above or built-in file inspection tools only for read-only analysis. Do not modify repository files.

**File Discovery**: Use the allowed bash command `find specs docs scratchpad -type f -name "*.md"` to list spec files. Do not use the `glob` tool on the workspace root directory — it will be denied and consume tool-denial budget.

### Daily Rotation

Use cache-memory at `/tmp/gh-aw/cache-memory/spdd-daily/rotation.json` to rotate through spec files fairly:
Expand Down Expand Up @@ -125,6 +128,7 @@ Always create one issue per run with actionable tasks (even if no major gaps are
### Output Contract (Required)

1. Emit exactly one `create_issue` item only after the full body is complete.
- Call the `create_issue` MCP tool directly with `title` and `body` fields — do not construct JSON payloads via bash, python3, or shell scripts.
Comment on lines 130 to +131
2. Never emit placeholder or draft bodies (for example: `test`, `.`, `todo`, `tbd`, or a single sentence).
3. Before emitting `create_issue`, verify the body:
- includes all six required sections: `Summary`, `Priority Work Queue`, `SPDD Checklist`, `Per-Spec Findings`, `Sync Follow-ups`, and `Context`
Expand Down
3 changes: 3 additions & 0 deletions pkg/workflow/prompts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ func TestDailySPDDSpecPlannerAllowsReadOnlyFileInspection(t *testing.T) {
if !strings.Contains(workflow, `- "sed *"`) {
t.Fatal("Expected daily-spdd-spec-planner workflow to allow ranged sed reads")
}
if !strings.Contains(workflow, `"cat specs/**/*.md"`) {
t.Fatal("Expected daily-spdd-spec-planner workflow to allow reading spec files in subdirectories")
}
}

func TestDailyCacheStrategyAnalyzerUsesCodexCompatibleModelsForExperiment(t *testing.T) {
Expand Down