tieline
v0.1.4Static FE-BE contract-drift checker: finds frontend calls the backend does not expose.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tieline_check
Run the static frontend↔backend contract-drift check. Returns totals plus the drift bucket (frontend calls that resolve to no backend route — the bug bucket) and the unverifiable bucket (URLs built at runtime, reported never guessed).
| Parameter | Type | Description |
|---|---|---|
config | string | Path to tieline.config.json. Defaults to searching upward from the server's working directory. |
tieline_list
Return the full resolved contract map: every frontend endpoint with its status (matched / drift / unverifiable) plus backend routes no frontend call reaches.
| Parameter | Type | Description |
|---|---|---|
config | string | Path to tieline.config.json. Defaults to searching upward from the server's working directory. |
tieline_orphans
List backend routes that no resolvable frontend call reaches (dead/unused routes).
| Parameter | Type | Description |
|---|---|---|
config | string | Path to tieline.config.json. Defaults to searching upward from the server's working directory. |
tieline_doctor
Diff routes parsed from source code (a native server adapter) against the routes declared in the OpenAPI spec (server.spec). Returns undocumented (in code, missing from the spec) and phantom (in the spec, missing from code).
| Parameter | Type | Description |
|---|---|---|
config | string | Path to tieline.config.json. Defaults to searching upward from the server's working directory. |
tieline_init
Auto-detect nearby repos (frontend + backend stacks) and write a tieline.config.json. Returns the generated config and what was detected.
| Parameter | Type | Description |
|---|---|---|
cwd | string | Directory to scan and write the config into. Defaults to the working directory. |