Battle Drill
The drill command group runs the organization’s repeatable compliance
procedures: quarterly access reviews, tabletop exercises, incident response,
onboarding, and offboarding. A drill is a definition with ordered steps. A
run is one execution of it: scheduled drills get one run per period
(2026-Q4, 2026-W41, 2026), event drills one run per occurrence.
Battle Drill is organization-wide. These commands ignore the active
system/framework context set by pretorin context set, and they need an
org-wide API token: the platform rejects system-scoped tokens, and the CLI says
so. Wherever a command takes a drill, it accepts the drill’s id or its slug.
These commands require a platform deployment with Battle Drill support and the
organization’s battle_drill package enabled. Installing the CLI does not enable
that platform feature. Older deployments may return an unavailable-endpoint error.
Drills
pretorin drill list --seeds # the seed library, with adoption status
pretorin drill adopt quarterly-access-review
pretorin drill list # adopted drills (--include-inactive for all)
pretorin drill show quarterly-access-review
pretorin drill create -f drill.json # a custom DrillCreateRequest
Adopting a seed that is already adopted prints the existing drill id instead of failing.
Runs
# Event drill: one run per occurrence
pretorin drill start incident-response --subject "Phishing report from finance" \
--occurred-at 2026-10-05T14:00:00Z --assignee <user_id>
# Scheduled drill: one run per period (default: the current period)
pretorin drill open quarterly-access-review --period 2026-Q4
pretorin drill runs --view overdue # active (default), overdue, completed, cancelled, all
pretorin drill runs --drill incident-response --trigger event
pretorin drill run show <run_id>
pretorin drill run assign <run_id> <user_id>
pretorin drill run assign <run_id> --unassign
When a period already has a run, open prints the existing run id instead of
creating a second one.
Steps
pretorin drill step complete <run_id> <step_key> \
-j "Reviewed 42 accounts against HR roster; removed 3 stale accounts" \
--upload ./access-review-2026-q4.csv --evidence <evidence_id>
pretorin drill step complete <run_id> <step_key> -j "Debrief held with IR team" \
--note-name "Tabletop debrief" --note "Attendees: ... Findings: ..."
pretorin drill step na <run_id> <step_key> -j "No contractors were onboarded"
pretorin drill step evidence add <run_id> <step_key> --upload ./screenshot.png --evidence-type screenshot
pretorin drill step evidence remove <run_id> <step_key> <evidence_id>
step complete uploads each --upload file and records the --note-name /
--note text against the step first, then completes the step with the
justification and any --evidence ids. A step marked evidence_required
cannot be completed without at least one evidence item. --evidence-type
defaults to other for files and interview_notes for notes.
Sign-off
There is deliberately no command to complete (sign off) or cancel a run. When
every step is finished, drill run show reports the run as ready and prints
the web-app URL, <platform>/battle-drill/runs/<run_id>, where a person reviews
the run and signs it off.
From an AI agent, the same work runs through the Battle Drill MCP tools and the
battle-drill workflow (start_task with intent_verb=battle_drill); see the
MCP Tool Reference.