Skip to content

docs: correct clean log check guidance - #369

Draft
janicduplessis wants to merge 3 commits into
mainfrom
@janic/issue-365-log-pass
Draft

docs: correct clean log check guidance#369
janicduplessis wants to merge 3 commits into
mainfrom
@janic/issue-365-log-pass

Conversation

@janicduplessis

Copy link
Copy Markdown
Collaborator

Description

The agent guide treats exit code 0 from logs --errors as a clean-app check, but queries that print errors also exit 0. The exit-only wording replaced an empty-output check in 8719c80; the query contract still requires inspecting the result.

Solution

Require both a successful query and no matching errors in captured logs. Align the CLI guides, README, and website, and clarify that an empty timeline does not prove launch or capture succeeded. Command behavior and the static skill remain unchanged.

Test plan

pnpm run test:e2e runs the real CLI against temporary workspaces: empty and matching-error queries both exit 0, a missing log directory is empty, and an invalid query exits 1. Assertions cover human output and JSON streams.

Fixes #365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent guide treats a successful error-log query as a clean app

1 participant