Skip to content

Add continue-from-previous feature for grouped shots#10

Merged
kut merged 1 commit intomainfrom
develop
Feb 26, 2026
Merged

Add continue-from-previous feature for grouped shots#10
kut merged 1 commit intomainfrom
develop

Conversation

@kut
Copy link
Copy Markdown
Member

@kut kut commented Feb 26, 2026

Summary

  • Adds continue: true option for shots within a group to reuse the browser page from the previous shot instead of navigating to a new URL
  • Concatenates descriptions from all shots in a continue chain into a cumulative LLM prompt with COMPLETED EARLIER / CURRENT GOAL labels
  • Chain-level browser context management: one context per chain, with "all or nothing" skip logic for correctness

Test plan

  • All 153 tests pass (python -m pytest tests/ -v)
  • New config parsing tests: continue: true parsed, defaults to false, validation errors for first-in-group, flat mode, url+continue, viewport override
  • New runner helper tests: _build_chains() and _format_accumulated_goal()
  • Manual: create a shots.yaml with a continue chain and run shots run

🤖 Generated with Claude Code

Allow shots in a group to specify `continue: true` to reuse the
browser page from the previous shot instead of navigating to a new URL.
Concatenates descriptions from all shots in the continue chain into
a cumulative prompt for the LLM with COMPLETED EARLIER / CURRENT GOAL
labels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kut kut merged commit 93c720a into main Feb 26, 2026
0 of 10 checks passed
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.

1 participant