You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ A new snapshot/command flag touches up to 7 files in a fixed order. Follow this
102
102
Command-only flags (like `find --first`) that don't flow to the platform layer only need steps 1 and the handler file.
103
103
104
104
## Hard Rules
105
-
- Use `runCmd`/`runCmdSync` from `src/utils/exec.ts` for process execution.
105
+
- Use process helpers from `src/utils/exec.ts` for TypeScript process execution: `runCmd`, `runCmdStreaming`, `runCmdSync`, `runCmdBackground`, and `runCmdDetached`. Do not import raw `spawn`/`spawnSync` outside `src/utils/exec.ts`; add or extend an exec helper instead. Plain `.mjs` packaging fixtures that cannot import TypeScript helpers should keep child-process usage local and prefer `execFile`/`execFileSync` over spawn.
106
106
- Use daemon session flow for interactions (`open` before interactions, `close` after).
107
107
- Use `keyboard dismiss` for iOS keyboard dismissal; it may tap safe native controls such as `Done` but must not fall back to system back navigation.
108
108
- Do not remove shared snapshot/session model behavior without full migration.
0 commit comments