Overview of fallow-type-aware sidecar
mainThe fallow-type-aware sidecar provides optional TypeScript-Go semantic refinement for Fallow. It operates on a specific protocol (currently Protocol v6) that accepts a bounded set of queries to perform semantic analysis.
Supported Query Types:
symbol-usesymbol-traceapi-surfacesymbol-impacttype-coupling
Key Characteristics:
- Input/Output: Accepts one versioned JSON request on
stdinand writes one JSON response tostdout. - Deterministic Results: Evidence and operation-specific arrays are deterministic and bounded. Results include explicit reporting for totals, omissions, reason codes, actions, and truncation.
- Semantic Identity: Symbol identities include project-relative path, namespace, declaration kind, exported/local name, line number, byte column, and optional owner.
- Safety Policy: The sidecar does not manufacture certainty from unsafe project states. It reports structural diagnostics, unknown identities, or capacity limits as advisory gaps rather than definitive findings. It does not emit TypeScript compiler diagnostics as Fallow findings.