diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 04:10:35 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 04:10:35 +0000 |
| commit | b6e420a62a3e7e81a6f5d2819f12cca11b82e572 (patch) | |
| tree | 303a293d7fe87ce5ffc80165ec8194a26c2f0494 /internal/api/elaborate.go | |
| parent | 5a54e108f743afd2a2bf6e0598e7db815b01ac11 (diff) | |
fix: story tasks get Project field; elaborate reads worklog; deploy chmod scripts
- handleApproveStory: set Project = input.ProjectID on tasks and subtasks so
the executor can resolve RepositoryURL from the project registry (was causing
"task has no repository_url" on every story task)
- elaborate.go: read .agent/worklog.md instead of SESSION_STATE.md for project
context injected into elaboration prompts
- deploy: explicitly chmod +x all scripts before restart (same root cause as
the binary execute-bit loss — chown -R was stripping it)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/elaborate.go')
| -rw-r--r-- | internal/api/elaborate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/elaborate.go b/internal/api/elaborate.go index b6bc4e5..dd51c7d 100644 --- a/internal/api/elaborate.go +++ b/internal/api/elaborate.go @@ -170,7 +170,7 @@ func readProjectContext(workDir string) string { return "" } var sb strings.Builder - for _, filename := range []string{"CLAUDE.md", "SESSION_STATE.md"} { + for _, filename := range []string{"CLAUDE.md", ".agent/worklog.md"} { path := filepath.Join(workDir, filename) if data, err := os.ReadFile(path); err == nil { if sb.Len() > 0 { |
