discuss-automation
Author a Garrison automation by conversation. Use when the user wants to "automate" something, "build an automation", or asks "can you make this run automatically". Opens a Discuss conversation, settles the design, writes a brief, and drives the planner.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- discuss-automation
- description
- Author a Garrison automation by conversation. Use when the user wants to "automate" something, "build an automation", or asks "can you make this run automatically". Opens a Discuss conversation, settles the design, writes a brief, and drives the planner.
03 SKILL.md 正文
Discuss an automation
Author automations the way Kanban cards are discussed — a real conversation, not a plain-English goal box.
Flow
-
Open the Discuss conversation. The Automations view's "Discuss an automation" button opens the web-channel in James mode with the kickoff "What would you like to automate?" (built by
lib/discuss.mjsbuildAutomationDiscussUrl). The gateway reads the mode from the leading "James," in the kickoff and ignoresbody.context, so the kickoff carries everything. -
Converse — ask, don't assume. Surface the load-bearing decisions and ask the user:
- Trigger — manual, cron (
"every weekday 8am"), webhook (a connector event), or listener (poll a connector). - Connectors — which connected services it uses (Google / Slack / Trello
/ …). If one isn't connected, note it (the run will pause
awaiting_connector). - Steps — the rough sequence, using ONLY the 8 step types:
browser,verify,navigate,wait,local_command,api_call,connector,sub_automation. - Inputs — what the automation takes (e.g.
recipient_email). - Failure handling — what should happen if a step fails (the engine self-heals recoverable browser steps; a CAPTCHA/MFA/payment pauses for you).
- Trigger — manual, cron (
-
Write the brief. When the design has settled, write
~/.garrison/automations/briefs/<slug>.mdwith: what this automates · trigger · connectors · steps outline · inputs · failure handling · acceptance. -
Plan + rehearse. Hand the brief to the planner (Router-routed, no hardcoded model):
POST <automations-url>/api/automations/plan-from-brief { "briefSlug": "<slug>", "name": "<name>" }It turns the brief into steps, saves the automation, and returns it. The user reviews + hand-edits the steps, then runs it — watching each step stream in the run viewer (cached/vision tier, live browser stream, self-healing notices, per-step feedback).
The plain-English goal textarea is gone; this conversation is how automations are authored. Steps stay hand-editable afterward.
04 同仓库更多 Skills
pinned-helper
An owned skill the human has pinned so the Improver must not touch it.
legacy-helper
A rarely used helper kept around from an earlier workflow.
human-notes
A human-authored skill not deployed by APM (loose, not in the lock).
garrison-helper
Helps compose and station Garrison Fittings into Faculty role slots.
walkthrough
Record a short, narrated, captioned video walkthrough that proves a finished coding task and shows how it behaves, then self-verify the video via vision on extracted frames and publish it as one scrubbable Tailscale link. Use after completing a change/fix/feature on a web project (Next.js/React etc.) when the user wants visual proof of work, a demo of a user flow, or to avoid manually retesting and watching a long raw screen recording. Triggers on requests like "record a walkthrough", "show me it working", "make a demo video of this", "prove the feature", or finishing a UI/route/form/API change worth demonstrating. Not for walking through a full from-scratch project build.
Trello
Manage tasks via Trello REST API.