You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] status ignores --config and reports ok with empty runs while a run is active #46
meshloop status --config <file> --json ignores --config. Run from a directory with no meshloop.toml, it returns {"ok": true, … "runs": []} while a detached run is active. inspect --graph <id> --config <file> on the same graph works and shows nodes Running.
Version / OS
meshloop 0.3.0, origin/main @ 2769f08. Windows 11 native.
Reproduction
Put the config outside the repository (e.g. a scratch dir); no meshloop.toml in the repo root.
cmd_status (crates/meshloop-cli/src/main.rs:926) calls crate::config::discover(None) and with_saga(None, None, …), so it never receives the parsed --config/--db. When discovery fails, it returns success with empty runs (lines 931–944), and does the same when resolve_graph_id fails (950–963). Both cases are reported as "no runs" instead of as errors.
Expected
status honours --config and --db like inspect, cancel and review-plan.
No config found, or an unknown --graph, gives a non-zero exit or ok: false with a reason, not ok: true with no runs.
Acceptance criteria
Test: config outside cwd plus a detached run → status --config lists the run.
Test: no config → error result naming the missing config.
Test: unknown --graph → error naming the graph id.
Part of the cause is in the parser. crates/meshloop-cli/src/args.rs:255 builds Command::Status from --graph only. --config and --db never reach cmd_status, and nothing reports them as unknown. So the fix needs:
Command::Status gets config and db fields, parsed the way resume and inspect parse them.
cmd_status passes them to discover(config.as_deref()) and with_saga(config, db, …).
Executors: Claude Sonnet Meshloop workers wrote the change, and the Claude Code (Opus 5.5) orchestrator made the fixes recorded in the commit messages.
Checks:cargo run --locked -p xtask -- check passes on 8808951 (Windows 11). Not run: Linux/macOS.
CI at merge: ubuntu check passed; the windows and second ubuntu jobs were still pending.
Activity
smota commentedon Oct 7, 2026
Extra finding, checked on
origin/main@09a823a:Part of the cause is in the parser.
crates/meshloop-cli/src/args.rs:255buildsCommand::Statusfrom--graphonly.--configand--dbnever reachcmd_status, and nothing reports them as unknown. So the fix needs:Command::Statusgetsconfiganddbfields, parsed the wayresumeandinspectparse them.cmd_statuspasses them todiscover(config.as_deref())andwith_saga(config, db, …).Add a parser test:
status --config x --db ykeeps both values.smota commentedon Oct 7, 2026
Workflow status: delivered. PR #63 merged by smota as
d058307(2026-10-07).work/status-liveness-verify), commit(s) 07be0ee.cargo run --locked -p xtask -- checkpasses on8808951(Windows 11). Not run: Linux/macOS.