execute_codebase_workflow
Orchestrate multi-step codebase audits, context generation, security scans, dependency mapping, and self-healing through one action parameter for a unified report.
Instructions
Autonomous all-in-one T-Zero master tool that executes any codebase workflow in a single command, distinguishing from individual specialized tools by autonomously orchestrating multi-step analysis, context generation, security scans, dependency mapping, and self-healing in an integrated pipeline.
Parameters:
action(str, optional, default='auto'): Workflow operation: 'auto' (runs comprehensive all-in-one audit & context pipeline), 'context' (builds AST context tree), 'audit' (code quality & smells), 'security' (Zero-Leak secret scan), 'blueprint' (Mermaid system architecture), 'dependencies' (import & module topology), 'impact' (blast radius of modified symbols), 'search' (hybrid BM25 semantic code search), 'prune' (in-memory AST snippet pruning), 'heal' (AST self-healing diagnosis & patching), 'memory' (query/manage memory store), 'swarm' (multi-agent consensus & task dispatch), or 'design' (UI/UX design blueprint).target(str, optional, default='.'): Target repository root path, file path, diff string, or raw code snippet.query(str, optional, default=''): Search term, focus symbol name, or goal prompt depending on action.options(str, optional, default=''): Optional JSON string specifying extra configuration parameters (e.g. reduction_mode, max_tokens, depth).
Behavior:
Orchestrated execution: When action='auto', performs a complete end-to-end audit (security, architecture, token savings, dependencies) and delivers a unified executive summary.
Deterministic: Dispatches to specialized underlying T-Zero engines.
100% Offline: Executes entirely on local AST without sending code to unverified cloud APIs.
Auth & Rate Limits: Zero credentials required; completes in <500ms.
Error Handling: Gracefully falls back and reports clean diagnostic messages for missing paths or invalid JSON options.
Usage Guidelines:
When to use: Use whenever you want an instant complete overview of a codebase, or want to perform any T-Zero operation through a single unified entrypoint without choosing between individual tools.
When NOT to use: Do not use if you specifically need an isolated low-level API call without any contextual wrapper.
Returns: Comprehensive Markdown report tailored to the requested action or full autonomous pipeline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query, focus symbol name, or task goal prompt. | |
| action | No | Workflow operation: 'auto' (comprehensive all-in-one pipeline), 'context', 'audit', 'security', 'blueprint', 'dependencies', 'impact', 'search', 'prune', 'heal', 'memory', 'swarm', 'design'. | auto |
| target | No | Target repository path, file path, diff string, or code snippet (default: '.'). | . |
| options | No | Optional JSON string of additional configuration parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |