-
Notifications
You must be signed in to change notification settings - Fork 0
Scenarios
VAC34 edited this page Jul 26, 2026
·
14 revisions
Common workflow walkthroughs.
User says: "Add dark mode toggle"
Expected flow:
- Agent reads
.saipen/STATE.mdandBOARD.md - If no active ticket -> propose one via PLAN or ADD
- SCOUT the ticket: read existing UI code, find color theming
- BUILD: implement toggle with minimal changes
- VERIFY: toggle works, persists, reverses
- REVIEW: diff check, backwards compat
- SHIP: commit with conventional message
- DONE: checkpoint
User says: "The export button crashes on empty state"
Expected flow:
- HUNT or direct bug ticket
- SCOUT: reproduce the crash, find relevant code path
- BUILD: fix the null-pointer / missing guard
- VERIFY: export works on both empty and populated states
- REVIEW: check no side effects
- SHIP: commit with fix reference
Scenario: Agent A worked for 2 hours, reached SHIP on T-42. User opens a different agent (Agent B) and says "saipen continue"
What happens:
- Agent B reads BOOT.md -> STATE.md (phase: SHIP) -> BOARD.md (T-42 in DOING) -> LOG.md tail
- STATE.next_action says "Complete SHIP for T-42: verify, commit, push"
- Agent B picks up exactly where A left off
- No briefing needed — the
.saipen/directory IS the brief
Scenario: Core agent working on main feature. User says "saihunt" to delegate a bug sweep.
What happens:
- saihunt subSaipen auto-spawns with read-only mode
- Runs 6-category HUNT sweep against current HEAD
- Writes findings to kitchen/OUTBOX.md
- Core agent collects OUTBOX, tickets findings
- Main work never interrupted
User says: "saipen goal make the UI responsive"
What happens:
- PLAN generates ticket wave (up to 20 tickets / 3 waves)
- Each ticket goes through SCOUT -> BUILD -> VERIFY -> REVIEW -> SHIP
- After each DONE, agent checks goal caps
- If cap hit -> report progress, wait for user re-invoke
- If mature exit -> final report, goal_mode disabled
Scenario: Agent crashed mid-BUILD. .saipen/ has stale state.
What happens:
- New agent reads BOOT.md -> STATE.md (phase: BUILD, but stale
claim_time> 15 min) - RFC § 1.5 Recovery: reset stale claim, reclaim ticket
- LOG a RECOVERY: event
- Resume SCOUT or BUILD depending on what was done
User says: "saipen translate"
What happens:
- TRANSLATE phase loads
- Agent reads EN root docs + existing
.saipen/saitranslate/kitchen/ - Detects drift since last run
- Core locales (RU/ET/DED) updated by main agent
- 29 non-Core locales ticketed for subSaipen instances
- Completion LOGged, bundle sits in kitchen awaiting integration
User says: "saipen clean"
What happens:
- CLEAN phase loads
- Board scrub: prune done tickets, fix structural issues, check BLOCKED items
- Orphan hunt: find and delete unconnected files
- Link audit: fix dead references
- Trash removal: temp files, caches, stale kitchen files. Seal LOG if oversized.
- Freshness check: verify paths and dependencies
- LOG completion, STATE -> DONE
SAIPEN v7.158.0 — One command. Zero dependencies. Zero amnesia. — MIT