DOCUMENT OPS
Agent triages README drift and opens Linear tickets with suggested fixes
On a schedule, an agent scans repo READMEs, runs the examples, then reasons about each failure to judge severity and draft a corrected snippet.
How it runs
The automated pipeline, trigger to output.
- TriggerScheduled audit
- ActionPull README code blocks from GitHubGitHub
- ActionRun examples in a sandbox and collect errorsShell
- LogicAgent classifies severity and drafts a fixOpenAI
- ActionOpen a prioritized Linear ticket per breakLinear
- OutputPost run summary with ticket linksLinear
What it does
Goes past detection into triage. An agent runs each README's examples, reads the errors, and decides how bad each break is — a one-line import rename versus a quickstart that no longer works at all. For every real failure it drafts a corrected snippet and opens a Linear ticket at the matching priority, so docs fixes arrive pre-diagnosed.
When to use it
Use it when you want fixes, not just alerts, and you triage doc work in Linear. Best where examples break in nuanced ways that a flat pass/fail check can't prioritize for you.
How it works
- 1A schedule starts the audit.
- 2The agent pulls the target READMEs and their code blocks from GitHub.
- 3It runs each block in a sandboxed shell and collects the failures with full error output.
- 4The agent reasons over each failure, classifies severity, and drafts a corrected snippet using the model.
- 5For each confirmed break it opens a Linear ticket with the diagnosis, the proposed fix, and a priority that maps to severity.
- 6It posts a short run summary linking the created tickets.
Set it up
What you configure once, before turning it on.
- 1Connect GitHubRepos, issues, pull requests, actions.
- 2Connect ShellRun sandboxed commands inside the workspace.
- 3Connect OpenAIModels, embeddings, files.
- 4Connect LinearIssues, projects, cycles, triage.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Document Ops workflows
Flag redline deviations when a contract lands in Drive
Watches a Google Drive folder for incoming counterparty contracts, diffs each clause against your approved template library.
Gate contract signing on clause-deviation approval
When a contract is submitted for signature via webhook, diffs its clauses against approved templates and either auto-approves clean documents or holds them in Slack for explicit…
Triage emailed contract redlines and route by risk
When a counterparty emails a redlined contract, extracts the attachment, diffs clauses against approved templates.
Draft a negotiation brief from contract clause deviations
An agent reviews a contract against approved templates, researches each deviation.
Log contract clause deviations to a Notion review register
On a daily schedule, scans a Drive contracts folder, diffs clauses against approved templates with OpenAI.
Weekly audit of clause drift across the contract repository
Each week, scans all executed contracts in Drive, measures how far each clause has drifted from approved templates.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
