Compare commits

..

2 commits

Author SHA1 Message Date
Agent
26a0fcf57c fix: secrets migrate-vault: missing post-encrypt verification step (#39)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
2026-03-29 07:18:46 +00:00
johba
f6cb387a2e fix: local keyword outside function in dev-agent diagnostics
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 07:14:10 +00:00

View file

@ -455,9 +455,9 @@ Closing as already implemented."
log "ERROR: no branch pushed after agent_run"
# Dump diagnostics
local diag_file="${DISINTO_LOG_DIR:-/tmp}/dev/agent-run-last.json"
diag_file="${DISINTO_LOG_DIR:-/tmp}/dev/agent-run-last.json"
if [ -f "$diag_file" ]; then
local result_text cost_usd num_turns
result_text=""; cost_usd=""; num_turns=""
result_text=$(jq -r '.result // "no result field"' "$diag_file" 2>/dev/null | head -50) || result_text="(parse error)"
cost_usd=$(jq -r '.cost_usd // "?"' "$diag_file" 2>/dev/null) || cost_usd="?"
num_turns=$(jq -r '.num_turns // "?"' "$diag_file" 2>/dev/null) || num_turns="?"