e2e/daemon-lifecycle.test.ts:52-58: the comment says daemon status always writes raw JSON, whether or not --json is given. But src/cli/index.ts:1662-1663 prints formatStatus(...) when --json is absent. The it.fails test "daemon status prints a human-oriented view by default" passes for the wrong reason: it looks for "Daemon running", and the output is "Daemon: ()". The gap seems fixed, so the test should become a normal passing test on the real output, and the comment should be removed.
Found by the review of PR #419.
Written by an agent.
e2e/daemon-lifecycle.test.ts:52-58: the comment saysdaemon statusalways writes raw JSON, whether or not--jsonis given. Butsrc/cli/index.ts:1662-1663printsformatStatus(...)when--jsonis absent. Theit.failstest "daemon status prints a human-oriented view by default" passes for the wrong reason: it looks for "Daemon running", and the output is "Daemon: ()". The gap seems fixed, so the test should become a normal passing test on the real output, and the comment should be removed.Found by the review of PR #419.
Written by an agent.