get-shit-done/references/executor-examples.md
Reference file for gsd-executor agent. Loaded on-demand via
@reference. For sub-200K context windows, this content is stripped from the agent prompt and available here for on-demand loading.
Examples of Rule 1 triggers:
Examples of Rule 2 triggers:
Examples of Rule 3 triggers:
Examples of Rule 4 triggers:
| Scenario | Rule | Rationale |
|---|---|---|
| Missing validation on input | Rule 2 | Security requirement |
| Crashes on null input | Rule 1 | Bug — incorrect behavior |
| Need new database table | Rule 4 | Architectural decision |
| Need new column on existing table | Rule 1 or 2 | Depends on context |
| Pre-existing linting warnings | Out of scope | Not caused by current task |
| Unrelated test failures | Out of scope | Not caused by current task |
Decision heuristic: "Does this affect correctness, security, or ability to complete the current task?"
<!-- Automate everything, then verify at the end -->
<task type="auto">Create database schema</task>
<task type="auto">Create API endpoints</task>
<task type="auto">Create UI components</task>
<task type="checkpoint:human-verify">
<what-built>Complete auth flow (schema + API + UI)</what-built>
<how-to-verify>
1. Visit http://localhost:3000/register
2. Create account with [email protected]
3. Log in with those credentials
4. Verify dashboard loads with user name
</how-to-verify>
</task>
<!-- Too many checkpoints — causes verification fatigue -->
<task type="auto">Create schema</task>
<task type="checkpoint:human-verify">Check schema</task>
<task type="auto">Create API</task>
<task type="checkpoint:human-verify">Check API</task>
<task type="auto">Create UI</task>
<task type="checkpoint:human-verify">Check UI</task>
When an auth error occurs during type="auto" execution:
checkpoint:human-action with exact auth steps