gograph_boundaries
Check package imports against a boundaries.json configuration to enforce layer separation in Go projects. Use in CI gates or post-edit reviews to identify boundary violations.
Instructions
Refresh source analysis and check package imports against a boundaries.json configuration. The required config defaults to .gograph/boundaries.json; explicit paths must remain inside the analyzed project, and every path component plus the final regular file is read through the rooted repository boundary. Create it with gograph_boundaries_create. Read-only; no side effects. WHEN TO USE: In CI gates or post-edit reviews to enforce layer separation. NOT TO USE: For unconstrained dependency exploration (use gograph_deps or gograph_coupling). RETURNS: Structured pass state and boundary violations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Optional in-project path to a regular, non-linked boundary config (default .gograph/boundaries.json) |