Repository navigation
Prima: verdicts, status --purpose history, step-based video editing, help - #317
Merged
Merged
Conversation
…ideo offsets, --json - check and do open ### Result with verdict: PASSED / FAILED / INCONCLUSIVE - status <hash> replays the full recorded output; status --purpose lists the page and the purpose history - console errors are attached to the step that raised them - check steps carry @ns offsets into video.webm when recorded - --json on every result-printing command - check without --expected splits the scenario into separate outcomes - state aria files keep their latest non-empty capture Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Action publishes each execution's timed steps, console messages and requests on the data log - recordings keep a timeline.json; video --list numbers each command's steps with their time - video --steps keeps chosen steps or a span in seconds; --step-time caps a step's length - --overlay console-errors|console-logs|network|network-errors shows a step's events over that step only - skill: what a video should show, and how to edit it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…video), point to <command> --help Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xplorbot prima, npx or bunx Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verdicts and status
checkanddoopen### Resultwithverdict: PASSED | FAILED | INCONCLUSIVE — <reason>. INCONCLUSIVE when the run settled nothing about the app (stopped before finishing, nothing verified, model call failed, prima crashed). Stored in the purpose log.status <hash>replays the full recorded output; old records fall back to page + artifacts.status --purpose <text>: current page, then numbered history with verdict, first failed step and hash. Works with no browser open.--jsonon every command that prints a result.checkwithout--expectedsplits the scenario into separate outcomes (one small extra model call).Video editing by step
Actionpublishes each execution's timed steps, console messages and requests on the data log; while recording, prima saves them totimeline.jsonbesidevideo.webm(bothdoandcheck).video --listnumbers each command's steps with their time and errors.video --steps 0002=1,3-5/0002=@4.0-9.5keeps chosen steps or a span; without--onlythe named commands are joined.--step-time 1sspeeds up any longer step to fit.--overlay console-errors|console-logs|network|network-errors(repeatable) shows a step's events over that step only.Checked on a real recording: step times line up with the video, and cuts shorten it as expected.
Help
primaandprima --helpopen with the typical run:do/checkwith--purposeand--video, thenvideoandstatus --purpose; both point to<command> --help.prima,prima-cli,explorbot prima,npx prima-cliorbunx prima-cli, including theUsage:line. Under Bun a resolvedprimasymlink falls back to the shell's$_, which fish does not set.Not covered
test-command.ts,rerun-command.ts,video-timeline.ts); merging them is left for a separate change.Tests
bun test boat/prima(201) andtests/unitpass, exceptapibot-config"enables Langfuse from LANGFUSE_* env vars", which reads~/.explorbot/.envlocally and is unrelated.bun test tests/integration/: 183 pass.🤖 Generated with Claude Code