Expand description
Flow Compiler (EPIC-050, docs/FLOW_COMPILER.md).
Compiles machine-readable Sequence and Data Flow views from entrypoints, plus one Architecture view per repository.
Traversal: BFS through RESOLVED call edges, capped in depth and breadth, recording store/topic/external access; then abstracted to component-level steps (collapse consecutive same-actor hops).
Structs§
Functions§
- collect_
entrypoints - Collect entrypoints: routes (handlers), declared intent flows, symbols marked as entrypoints (main-guard / bin / module-entry).
- compile_
flows - find_
symbol_ by_ name - flow_
participant_ groups - Flow-participation groups for semantic clustering: for every flow
entrypoint (routes, entrypoint-attributed symbols, public exports,
queue/callback/event surfaces), the set of symbols reachable via
evidence-grade call chains (the same walk the flow compiler uses).
Returns
(entry symbol, reachable set)pairs so callers can exclude verification-seeded flows. Regions whose symbols share a flow cohere (+3). Deterministic:collect_entrypointsiterates sorted collections andwalk_callsis deterministic, so the returned groups are stable for identical graphs. - invocation_
surfaces - Seed invocation surfaces from the Wave 9 semantic-fact layer (deterministic — sorted by (kind, symbol, trigger)):