Prerequisites
- Asymptote CLI installed (
asymcommand) - A Factory account with Droid configured
- Logged in to your Asymptote account (
asym login)
Setup
Install hooks for Factory
Run the install command. By default, hooks are installed at the user level (To install only for the current project:
~/.factory/settings.json) and apply to all projects:How it works
Once installed, Asymptote registers four hooks in Factory’ssettings.json:
| Hook | Purpose |
|---|---|
SessionStart | Initializes the session and performs cleanup |
PostToolUse | Submits diffs for async security evaluation |
Stop | Polls results and re-prompts Droid on violations |
SessionEnd | Final cleanup |

