| name | test-bootstrap |
| description | Reset the test workspace and optionally set up prerequisites for a specific /troubleshoot test case. Use when user says "bootstrap", "reset workspace", "set up test", or references running a test by number. |
Test Bootstrap
Resets the workspace to a clean git state and optionally sets up prerequisites for a specific test case number.
Usage
- No number: just reset the workspace to the committed state.
- With a number (e.g., "bootstrap 3" or "set up test 3"): reset, then apply the prerequisite steps for that test case.
How to execute
Run the bootstrap shell script in the terminal:
./test-cases/bootstrap.sh
./test-cases/bootstrap.sh <N>
Extract the test number from the user's message. Leading zeros are fine (03 == 3).
After running the script, confirm the result to the user.
If a test number was given:
- Read the test file (
test-cases/test-<NN>.md) and extract the prompt text from the Trigger steps section (the text inside backticks after "Send:" or "Send a … prompt:").
- Display the prompt in your reply so the user can copy-paste it. Format it in a fenced code block.
- Remind the user:
- Open a new chat window (the old session's customization cache is stale after file changes).
- Do NOT have the test file open in the editor — the agent can see open editor tabs and may use the expected-response section to cheat.
- Send the displayed prompt in the fresh session, then follow up with the troubleshoot query from the test file.