59 External Walkthrough
60 External Walkthrough
This walkthrough shows the smallest path from blank task to local spell record.
60.1 1. Start From A Task
Refactor the account serializer so duplicated validation branches are easier to review, but do not change public behavior.
60.2 2. Create A Spell Skeleton
python3 scripts/grimoire.py new spell tmp/account-serializer-refactor.json60.3 3. Fill The Contract
Add the artifact boundary, invariant, output contract, verification command, and failure behavior. The skeleton is plain JSON so it can live in any repo.
60.4 4. Validate Locally
python3 scripts/grimoire.py validate tmp/account-serializer-refactor.json60.5 5. Seal It
python3 scripts/grimoire.py seal tmp/account-serializer-refactor.json60.6 6. Use And Record
Paste the filled spell into your AI tool. Save the model/tool surface, output, verification result, and repair notes. If the spell outperforms the weak request repeatedly, promote it into your local registry.