Skip to main content

Module brief

Module brief 

Source
Expand description

CLI re-export of the brief helpers that now live in core (agentstatedeveloper_core::brief). Kept as a single-line module so existing crate::commands::brief::* call sites in read.rs / graph.rs resolve unchanged. Plan D t-007.

Functionsยง

brief_call_list
Project a list of {qname, file, line} records (the call-graph output shape) down to a single qname (file:line) string per entry.
brief_from_env
Plan D t-007: whether the spawned process should default to brief output. Reads ASD_FORMAT=brief (case-insensitive). Hosts can also flip the flag explicitly per-call without consulting this helper.
brief_read
Brief shape for read: keeps the call graph + effect/ledger summaries but as counts + compact strings, not full nested objects.
brief_search_results
Plan D t-007: brief shape for code_search / search. Projects each FTS hit down to {qname, file, line, signature, doc, score?}.
brief_symbol
Project a Symbol down to the brief field set.
query_id
Plan D t-005: deterministic query id for wrapper-side dedup. query_id("read", &["store.pricing.rates.get_rate"]) โ†’ "Qf3a2b1c..." (first 7 hex chars of blake3 of the joined input). Same inputs โ†’ same id; safe to compare across processes.