Skip to content

Fix crab court fresh-start prompt handling#54

Merged
kkahadze merged 3 commits intopromptfoo:mainfrom
kkahadze:fix/court-fresh-session-on-no
Mar 11, 2026
Merged

Fix crab court fresh-start prompt handling#54
kkahadze merged 3 commits intopromptfoo:mainfrom
kkahadze:fix/court-fresh-session-on-no

Conversation

@kkahadze
Copy link
Collaborator

Summary

  • treat n and no as explicit negative answers for review resume prompts
  • make declining resume immediately delete the saved review/court session and start fresh
  • add a regression test covering crab court fresh-start vs resume behavior

Verification

  • bash -n src/crabcode
  • replayed review_court in a shell with stubs to confirm no recreates the session
  • replayed review_court in a shell with stubs to confirm Enter still resumes the session
  • noted: bats is not installed in this workspace, so the new bats file was added but not executed here

@kkahadze kkahadze force-pushed the fix/court-fresh-session-on-no branch from c48616b to 786bc7a Compare March 11, 2026 19:53
@kkahadze kkahadze merged commit 9428f21 into promptfoo:main Mar 11, 2026
2 checks passed
@MrFlounder MrFlounder mentioned this pull request Mar 11, 2026
MrFlounder added a commit that referenced this pull request Mar 11, 2026
## Summary

Bump version `0.12.0` → `0.13.0`.

Features since 0.12.0:
- Agent-agnostic support — Claude Code + Codex CLI (#52)
- `crab agent sync` for cross-agent config migration (#55)
- `crab env snapshot/restore` for machine migration (#57)
- Bats unit test framework + CI (#52)
- `crab court` fresh-start prompt fix (#54)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants