Skip to content

fix(vibe): Ask resume or new before searching sessions - #290

Merged
shafty023 merged 3 commits into
mainfrom
fix/vibe-start-ask-before-search
Oct 15, 2026
Merged

shafty023 merged 3 commits into
mainfrom
fix/vibe-start-ask-before-search

Conversation

@shafty023

@shafty023 shafty023 commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Starting $vibe no longer runs the previous-session search before anything else (operator ruling, 2026-10-15). Watching a real run, that search took too long.

  • skills/vibe/SKILL.md, section 2: the orchestrator first settles resume or new. "pick up where I left off", "resume", or a named session or slug means resume; a ticket or a description of new work means new. Only when that is unclear does it ask one plain question: "Do you want to pick up something you worked on before, or start something new?"
  • A new session skips the search entirely. vibe-sessions.mjs list now runs only under "Finding a session to resume", after the person chose resume, and what it finds is offered then (a named session is offered first). The stale-session prompt and the handed-off rule moved with it. The old "match a new request against every session" step is gone.
  • If new refuses a taken slug, the orchestrator derives another slug instead of searching.
  • No script change: there is no combined start command, and list keeps its shape for handoff's step 0.

Preflight, connector checks and repo choice are unchanged. One consequence: someone who starts new is no longer reminded about older sessions that were never handed off; they see that reminder when they choose resume.

Measured locally (read-only): node vibe-sessions.mjs list took 2.2 to 3.2 s for 3 sessions on a 51-worktree checkout, with git status --porcelain at 0.3 to 0.6 s per session worktree, so it grows with each open session. The orchestrator turns spent matching the result came on top of that.

Also fixes a stale README line: it said handoff blocks any other edit of a v1.0 file. It now says what guardrails.md says (compile-only repairs allowed, Start Here/ stories exempt), and test_vibe_storybook_existing_component_contract.py and test_vibe_v1_compile_only_repair_contract.py pin the new sentence.

Merged main after #289 (vibe 1.0.37). Bumps vibe to 1.0.38 with a CHANGELOG entry.

Tests: new test_vibe_start_ask_before_search_contract.py (6 cases). 5 fail on main and pass here; the sixth pins handoff's unchanged use of list. uv run pytest plugins/vibe/tools/python: 187 passed after the merge. ruff check clean.

Starting $vibe used to run the previous-session search first, and watching a real run showed it takes too long (operator ruling, 2026-10-15). The orchestrator now settles resume or new from the person's own words, asks one plain question only when that is unclear, skips the search for a new session, and runs the session list only after the person chose to resume.
…fore-search

# Conflicts:
#	plugins/vibe/.claude-plugin/plugin.json
#	plugins/vibe/.codex-plugin/plugin.json
The README said handoff blocks any other edit of a v1.0 file, which no longer holds: compile-only repairs are allowed and Start Here stories are exempt. It now says what guardrails.md says, and the two contract tests pin the new sentence.
@shafty023
shafty023 merged commit 681281a into main Oct 15, 2026
10 checks passed
@shafty023
shafty023 deleted the fix/vibe-start-ask-before-search branch October 15, 2026 19:39
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