pending_work
Retrieves a snapshot of open work (in-flight flows, open intents, proposed ADRs, pending drafts). Use before planning to avoid proposing already captured items. Optional tag or path filters.
Instructions
Snapshot of open work across the project. Returns four buckets:
inFlightFlows: flows currently in planning / in_progress / review
openIntents: forward-intent doc-pages with status != 'resolved' (from flow_seal / DF-254)
proposedAdrs: ADRs with status='proposed' (not yet accepted)
pendingDrafts: knowledge_drafts with status='pending'
Use this BEFORE starting planning so you don't propose something already in flight or already captured as an intent. Optional tag / path filters narrow the result to your area. Pass excludeFlowId= to exclude the flow you are currently planning for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter by tag (any match) | |
| paths | No | Filter by affects-path glob (any match) | |
| projectId | No | Project ID (defaults to linked project) | |
| excludeFlowId | No | Flow id to exclude (your current flow) |