pub struct InvestigateArgs {Show 17 fields
pub query: Vec<String>,
pub depth: usize,
pub limit: Option<usize>,
pub kind: Option<String>,
pub language: Option<String>,
pub include_body: bool,
pub include_tests: bool,
pub quiet: bool,
pub flat: bool,
pub max_per_layer: Option<usize>,
pub intent: Option<String>,
pub agent: bool,
pub agent_budget: usize,
pub exclude: Option<String>,
pub paths: Option<String>,
pub scope: Option<String>,
pub json: bool,
}Fields§
§query: Vec<String>Natural-language or keyword query. Scored across symbol name,
signature, doc comment, file path, and ledger entries.
Plan D t-002: multi-word queries are accepted unquoted —
asd investigate failing test store joins to “failing test store”.
Quoting still works for queries containing flag-like tokens.
depth: usizeNumber of top entry-point symbols to fully expand (default: 10). Alias: –limit (both accepted).
limit: Option<usize>Maximum results to expand. Overrides –depth when provided.
kind: Option<String>Filter by symbol kind: module, function, method, class, variable.
language: Option<String>Filter by language (e.g. “swift”, “python”, “typescript”, “rust”).
include_body: boolInclude full source body of each symbol in output (can be large).
include_tests: boolInclude symbols from test files in entry-point candidates.
quiet: boolSuppress the stale-index warning.
flat: boolReturn a flat entry_points array instead of the default by_layer grouped output.
max_per_layer: Option<usize>Maximum entry points per layer in grouped output (default: unlimited).
intent: Option<String>Adjust output ordering and guidance for a specific intent. Values: bugfix, feature, refactor, test, architecture, ui.
agent: boolEmit token-budgeted JSON for LLM consumption. Trims bodies, collapses low-signal fields, adds token_estimate.
agent_budget: usizeToken budget when –agent is set (default: 8000).
exclude: Option<String>Comma-separated terms to exclude. Also supports inline minus-prefix syntax in the query, e.g. “drift playhead -sample -waveform”.
paths: Option<String>Comma-separated glob patterns to restrict results to specific paths, e.g. –paths “App//DriftPad*,Packages/SequencerCore/”.
scope: Option<String>Named scope alias from .asd/scopes.toml, e.g. –scope drift-pad.
json: boolOutput is always JSON; this flag is accepted for CLI consistency.
Trait Implementations§
Source§impl Args for InvestigateArgs
impl Args for InvestigateArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for InvestigateArgs
impl Debug for InvestigateArgs
Source§impl FromArgMatches for InvestigateArgs
impl FromArgMatches for InvestigateArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.