Repository navigation
Description
I may have hand-edited ~/.cortex/config.yaml.
I ran make dev-install and it complained. I was not sure what the make did -- it does setup --restart, but the Makefile doesn't say that. The Makefile SHOULD print "running ..." and then echo the command it runs to complete the restart.
make dev-install, and the agentop setup --from $(BIN_DIR) --yes --no-modify-path --restart it depends on, SHOULD check that config.yaml is valid before shutting down the proxy.
rosso cortex · setup dev · darwin/arm64 · from ~/src/cortex/bin
✗ config ~/.cortex/config.yaml will not load: parsing config: yaml: line 61: could not find expected ':'
fix: fix it, or move it aside and re-run to get the built-in one
Nothing was changed.
The command SHOULD NOT report Nothing was changed. when the service was stopped, but did not restart. The system says move it aside and re-run to get the built-in one which is not helpful when it is make dev-install that does the service restart -- the user doesn't know what ro re-run.
agentop pipeline get returns
agentop pipeline get: no --endpoint given and no local Cortex is configured
is Cortex installed and running? `agentop service status`
agentop service status reports
installed: /Users/snible/Library/LaunchAgents/io.rossoctl.cortex.plist
status SHOULD report that Cortex isn't running when it isn't running.
(at this point I fixed my config.yaml)
agentop service restart then reports
Restarted.
restart SHOULD NOT report restarted if the service wasn't running when restart was invoked. It should report Cortex proxy started. When Cortex is restarted, the CLI SHOULD say Cortex proxy restarted, not merely Restarted.. The user may not know what is expected to restart.
agentop service status then reports
installed: /Users/snible/Library/LaunchAgents/io.rossoctl.cortex.plist
TLS bridge CA: /Users/snible/.cortex/ca/ca.crt (minted 2026-09-04T12:26:34-04:00)
Agents started before that cannot be observed until restarted.
Find them: lsof -nP -iTCP -sTCP:ESTABLISHED | awk '$9 ~ /->.*:47600$/ {print $2}' | sort -u | xargs ps -o pid,lstart,comm -p
healthy: http://127.0.0.1:47604/healthz
Instead of saying healthy: http://127.0.0.1:47604/healthz, we should say Cortex is health according to http://127.0.0.1:47604/healthz.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
Fix: Report a config.yaml that will not load, and refuse to restart o…