Flow Tool
septum_slice
Match HTTP routes, jobs, CLI commands, and controller actions against Septum's static entrypoint catalog.
septum_slice queries a stored static entrypoint catalog (vertical_slices in .septum/septum.db) to show related architectural layers—such as ingress, validation, controller, service/use-case, repository, schema hints, and event side effects—around a feature entrypoint.
{
"query": "POST /orders",
"max_depth": 5,
"controller_file": "src/orders/controller.ts",
"workspace_path": "/path/to/project"
}
Query Matching & Parameters
| Parameter | Behavior |
|---|---|
query | Required. Matches HTTP method/URI (POST /orders, /orders/{id}), controller actions (OrderController@store, OrderController::store), triggers (JOB ProcessOrderJob, CLI order:cleanup, EVENT OrderPlacedListener), or token-scored task phrases. |
max_depth | Defaults to 5, clamped to 1–8 hops in the returned chain. |
controller_file | Optional path hint used to disambiguate when multiple routes or actions match. |
When multiple entrypoints match or tie on relevance score, septum_slice returns status: "ambiguous" with bounded alternatives rather than silently guessing one chain.
How the Static Entrypoint Catalog Is Built
During septum sync or on-demand refresh, Septum runs 12 semantic adapters complemented by generic declarative route extraction:
| Ecosystem | Registered Semantic Adapters |
|---|---|
| PHP | Laravel, Symfony |
| TypeScript / JavaScript | NestJS, Express, Fastify, Hono, Elysia, MCP / CLI |
| Python | FastAPI, Django, Flask |
| Go | Go HTTP patterns (selected standard HTTP / Gin / Echo / Chi / Fiber routing) |
How to Interpret Slice Output
Every septum_slice response explicitly states:
{
"confidence_scope": "query_to_catalog_target_only",
"execution_order": "not_established"
}
- Not Runtime Execution Order:
chainnodes represent statically observed associations labeled withrelationship.kindandderivation. They do not execute handlers or guarantee runtime control flow order. - Partial & Lexical Coverage: Adapters recognize selected literal, decorator, and routing syntax. Lexical heuristics can include mutually exclusive branches, and Go handler/service chains omit package-import expansion.
- Schema Summaries Are Static: The registered schema provider analyzes Laravel migrations statically; dynamic migration logic or unparsed schema steps are not proof of deployed database state.
- Missing Match ≠ Runtime Absence: A
not_foundoutcome indicates no matching record in the static catalog, not proof that an endpoint or listener is absent at runtime.