Point Nix at relocated CI scripts and remove legacy plan paths
This commit is contained in:
@@ -37,7 +37,7 @@ REMOTE_CONTROL = os.environ.get("REMOTE_CONTROL", "1") == "1"
|
||||
DEFAULT_ID = "9db267a4-9b9e-4818-8197-0a42dba443ea"
|
||||
ID_FILE = os.environ.get("ASSISTANT_ID_FILE", f"{LOG_DIR}/.assistant-session-id")
|
||||
STARTUP_PROMPT = os.environ.get("ASSISTANT_STARTUP_PROMPT", (
|
||||
"You are the cc-ci ASSISTANT. Read cc-ci-plan/JOURNAL.md for context, then wait for a "
|
||||
"You are the cc-ci ASSISTANT. Read data/cc-ci/JOURNAL.md for context, then wait for a "
|
||||
"specific plan/task from the orchestrator or operator. Work autonomously until the assigned "
|
||||
"task is complete, report the result, and then wait for the next assignment."
|
||||
))
|
||||
@@ -112,7 +112,7 @@ def start(mode="resume"):
|
||||
if not Path(OPENCODE_BIN).exists():
|
||||
die(f"opencode not found at {OPENCODE_BIN}")
|
||||
cmd = (
|
||||
f"set -a; . /srv/cc-ci/cc-ci-plan/load-env.sh; set +a; "
|
||||
f"set -a; . /srv/cc-ci/scripts/cc-ci/load-env.sh; set +a; "
|
||||
f"NO_COLOR=1 {OPENCODE_BIN} attach {OPENCODE_SERVER} --dir {WORKDIR}"
|
||||
)
|
||||
log(f"starting {SESSION} (backend=opencode, model={LOOP_MODEL or 'default'})")
|
||||
|
||||
Reference in New Issue
Block a user