Skip to content

skill(next-dev-loop): fix --session flag, agent-browser bootstrap, --headed daemon note#95005

Merged
aurorascharff merged 2 commits into
canaryfrom
aurorascharff/next-dev-loop-friction-fixes
Jun 22, 2026
Merged

skill(next-dev-loop): fix --session flag, agent-browser bootstrap, --headed daemon note#95005
aurorascharff merged 2 commits into
canaryfrom
aurorascharff/next-dev-loop-friction-fixes

Conversation

@aurorascharff

Copy link
Copy Markdown
Contributor

Three small next-dev-loop skill fixes from a real adoption run.

1. Flag mismatch. Preflight documented --session-name <slug> but the CLI flag is --session <name>. The skill tells agents to trust the documented command over source, so the copy-paste failed. Fixed in two places (preflight + post-loop close).

2. agent-browser bootstrap. The CLI isn't always installed; the skill said "upgrade" but not "install if missing." Reworded the prereq bullet to "Install or upgrade agent-browser" and added a line telling the agent to install it before continuing if it isn't on PATH.

3. --headed daemon gotcha. Launch flags like --headed are silently ignored when the agent-browser daemon is already running from a previous session (⚠ --headed ignored: daemon already running). The preflight just listed --headed without noting this, so a second session inherited the first one's flags. Added a callout telling the agent to run agent-browser close first to change launch flags.

Docs-only.

@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Stats cancelled

Commit: 9833ca6
View workflow run

@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 9833ca6

@aurorascharff aurorascharff marked this pull request as ready for review June 21, 2026 12:29
Copilot AI review requested due to automatic review settings June 21, 2026 12:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the next-dev-loop skill documentation to match the real agent-browser CLI surface and clarify a common workflow pitfall during repeated dev sessions.

Changes:

  • Fixes the documented agent-browser flag from --session-name to --session (including the state file path placeholder).
  • Clarifies that agent-browser may need to be installed (not just upgraded) before running preflight.
  • Adds a note that --headed (and similar launch flags) are ignored when an existing agent-browser daemon is already running, and instructs to run agent-browser close to change launch flags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aurorascharff aurorascharff requested a review from gaojude June 21, 2026 12:31
@aurorascharff aurorascharff merged commit 88ef216 into canary Jun 22, 2026
128 of 129 checks passed
@aurorascharff aurorascharff deleted the aurorascharff/next-dev-loop-friction-fixes branch June 22, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants