agent_workspace
Manage LINZA workflows by inspecting workspace, ingesting artifacts, reviewing supervised items, explaining connections, searching memory, exporting context, or running diagnostics with dry-run preview.
Instructions
Main LINZA workflow facade. Choose one action to inspect the workspace, ingest artifacts, review/apply supervised items, explain connections, search memory, export context, or run diagnostics. Safe actions are read-only; apply actions preview by default with dry_run=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Workflow action. Setup: doctor, map. Review/growth: teach, grow, review_next, apply_review_items, history, revoke_approval. Artifact flow: ingest_artifacts, analyze_inbox. Graph/context: connect, search_memory, export_context. Trace calibration: record_trace, analyze_trace, review_calibr. | |
| artifacts | No | Artifact inputs for ingest_artifacts; each item may include text/content, path/source_uri, title, and metadata. | |
| trace | No | Agent trace payload for record_trace; stored as structured sidecar evidence, not raw chain-of-thought. | |
| trace_id | No | Trace identifier used by analyze_trace and review_calibr. | |
| source_kind | No | Optional artifact/source filter such as chat, document, note, log, web_article, or trace. | |
| batch_id | No | Optional batch identifier for grouping ingested artifacts or review intents. | |
| privacy | No | Privacy label stored with artifacts/traces; default private. | private |
| kind | No | Review item kind filter for review/history actions; use all for no filter. | all |
| mode | No | Growth mode for grow; default assisted. | assisted |
| item_ids | No | Stable review intent IDs to preview/apply with apply_review_items. | |
| approval_id | No | Existing approval row ID for revoke_approval. | |
| reason | No | Reason recorded when revoking an approval or applying a reviewed action. | |
| include_revoked | No | Include revoked approvals in history results. | |
| dry_run | No | Preview apply/revoke actions without writing active sidecar changes; default true. | |
| allow_overwrite | No | Allow reviewed YAML/frontmatter writes where supported; source note bodies are still protected by LINZA policy. | |
| include_memory | No | Include memory candidates in teach/grow/review workflows. | |
| source | No | Source note/path/query endpoint for connect. | |
| target | No | Target note/path endpoint for connect. | |
| max_depth | No | Maximum graph depth for connection/path exploration. | |
| max_notes | No | Maximum notes to sample when building workspace maps or growth candidates. | |
| max_domains | No | Maximum domain groups to build in map/growth workflows. | |
| query | No | Search query for search_memory and export_context. | |
| limit | No | Maximum items/cards/results to return for the selected action. |