File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Nightly Soak
22
33on :
44 schedule :
5- - cron : ' 0 2 * * * ' # Every night at 2am UTC
5+ - cron : ' 0 2 * * 0 ' # Every Sunday at 2am UTC
66 workflow_dispatch :
77 inputs :
88 duration_minutes :
Original file line number Diff line number Diff line change @@ -644,8 +644,11 @@ else
644644fi
645645
646646# 8o-p: OpenCode MCP + instructions
647- CMD=$( json_get " $FAKE_HOME /.config/opencode/opencode.json" " d['mcp']['codebase-memory-mcp']['command']" )
648- if [ " $CMD " != " $SELF_PATH " ]; then
647+ # command is an array ["path"] per OpenCode spec (PR #134)
648+ CMD=$( json_get " $FAKE_HOME /.config/opencode/opencode.json" " d['mcp']['codebase-memory-mcp']['command'][0]" )
649+ CMD_BASE=$( basename " $CMD " 2> /dev/null || echo " " )
650+ SELF_BASE=$( basename " $SELF_PATH " 2> /dev/null || echo " " )
651+ if [ -z " $CMD " ] || ([ " $CMD " != " $SELF_PATH " ] && [ " $CMD_BASE " != " $SELF_BASE " ]); then
649652 echo " FAIL 8o: OpenCode command='$CMD '"
650653 exit 1
651654fi
You can’t perform that action at this time.
0 commit comments