Skip to content

Commit 7eedf4d

Browse files
Terraphim CIclaude
andcommitted
fix(symphony): use token-embedded clone URL and increase hook timeout
The after_create hook was timing out because HTTPS clone required interactive auth. Use token-embedded URL with $GITEA_TOKEN expansion and increase hook timeout from 60s to 120s. Also add git push to after_run hook so agent work is pushed back to Gitea. Co-Authored-By: Terraphim AI <noreply@anthropic.com>
1 parent 16e4176 commit 7eedf4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/terraphim_symphony/examples/WORKFLOW-claude-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ workspace:
1919
root: ~/symphony_workspaces
2020

2121
hooks:
22-
after_create: "git clone https://git.terraphim.cloud/terraphim/pagerank-viewer.git ."
22+
after_create: "git clone https://terraphim:${GITEA_TOKEN}@git.terraphim.cloud/terraphim/pagerank-viewer.git ."
2323
before_run: "git fetch origin && git checkout main && git pull"
24-
after_run: "git add -A && git commit -m 'symphony: auto-commit for {{ issue.identifier }}' || true"
25-
timeout_ms: 60000
24+
after_run: "git add -A && git commit -m 'symphony: auto-commit for {{ issue.identifier }}' && git push || true"
25+
timeout_ms: 120000
2626

2727
codex:
2828
turn_timeout_ms: 3600000

0 commit comments

Comments
 (0)