agent-workflows
Installation
SKILL.md
Agent Workflows
Use @lineagehq/workflows@0.1.0 with protocol 1.0. Read references/protocol.md before operating a run.
Operate a run
- Create one stable
host_...ID for this host session. - Send
agent.inspect, then claim an unowned run and register only capabilities actually available. Read the returned pinnedleasePolicy; never request or invent a policy. - Follow the runner's current step. Send
agent.proposebefore every browser mutation and continue only when it returns an unexpired allowed lease. - Execute one bounded browser action batch under that lease. Stop on an unexpected state or expired lease.
- For each declared screenshot checkpoint, request an evidence slot. Write only the
Uint8Arrayreturned by Browsertab.screenshot()to the exact runner-issuedstagingPath, then register the slot. - Commit only runner-returned artifact IDs and assess every expectation once, in order. Never supply artifact paths, hashes, sizes, timestamps, or IDs.
- Inspect after each transaction and use the returned revision for the next mutation.
- When remaining runner lease time is at or below
heartbeatThresholdSeconds, send one identical-scope heartbeat before expiry. It extends only tomin(runnerNow + rollingSeconds, hardExpiresAt).