From b6e420a62a3e7e81a6f5d2819f12cca11b82e572 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 26 Mar 2026 04:10:35 +0000 Subject: fix: story tasks get Project field; elaborate reads worklog; deploy chmod scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- scripts/deploy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/deploy b/scripts/deploy index 7c7dc66..1a08fc5 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -53,8 +53,9 @@ echo "==> Fixing permissions..." echo "==> Syncing credentials..." "${REPO_DIR}/scripts/sync-credentials" -echo "==> Ensuring binary is executable..." +echo "==> Ensuring binary and scripts are executable..." chmod +x "${BIN_DIR}/claudomator" /usr/local/bin/claudomator +find "${SITE_DIR}/scripts" -maxdepth 1 -type f -exec chmod +x {} + echo "==> Restarting service..." sudo systemctl restart "${SERVICE}" -- cgit v1.2.3