Skip to content

Add the e2e explore command - #433

Merged
kblok merged 2 commits into
mainfrom
explore-cli
Oct 17, 2026
Merged

kblok merged 2 commits into
mainfrom
explore-cli

Conversation

@kblok

@kblok kblok commented Oct 17, 2026

Copy link
Copy Markdown
Member

The explore library had no command, so nobody could run an exploration from the terminal. `e2e explore [goal]` now takes upstream's flags and bounds (`--config`, `--target`, `--agent`, `--max-steps`, `--timeout`, `--headed`, `--output`), reads accounts from `E2E_USER__*`, and prints the run as upstream's list reporter does without its live window, then exits with the outcome's code. Output is redacted for config secrets and account passwords. .NET-only: `ExploreCommand` and its flag parser, `FakeExplore` and `ExploreEnvironment` (test helpers), and the `ExploreFlags` tests; `ExploreText` and `ExploreView` map to `explore-text.ts` and `list-explore.ts`. Partial: the golden and badge tests (no RUN header, no action counts, one target) and the non-verdict failure test. Not ported: `--session` and `--reporter` (refused, exit 2), `--trace`, `--video`, `--debug`, `--ai-trace` (notice, ignored), report.json, the live-window test, the "badges the record after its test has finished" test, and the `--artifacts` refusal test (the port never had the flag).

Closes #316

🤖 Generated with Claude Code

https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV

kblok and others added 2 commits October 17, 2026 16:27
The explore library had no command, so a user could not run an exploration
from the terminal. The command parses upstream's flags and bounds, reads
accounts from the environment, and prints the run as upstream's list
reporter does without its live window: each step and finding as it
happens, then the findings with their evidence and the assessment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV
…one pass

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV
@kblok
kblok merged commit b642824 into main Oct 17, 2026
1 check passed
@kblok
kblok deleted the explore-cli branch October 17, 2026 21:25
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.

Port explore, or record it as not ported

1 participant