scry_scrub
Creates a clean PR branch by stripping @scry.* markers from tracked files, excluding agent/ and AGENT.md by default. Fails if on main/master or dirty working tree.
Instructions
Create a clean PR branch with all @scry.* markers stripped.
By default, files inside agent/** and any AGENT.md are excluded from scrubbing — their markers are left intact. Only tracked files outside the agent workspace are cleaned. This matches the common workflow: agent/ is gitignored (or excluded via .git/info/exclude), so only the tracked source files need clean markers for PR submission.
Set include_agent=true to restore the prior behavior: scrub everything and remove the agent/ directory entirely.
Creates {branch}--clean from current HEAD. Does not stage or commit — leaves unstaged changes for the user.
Fails if on main/master or if working tree is dirty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_agent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |