gograph_boundaries_create
Generate a baseline architecture boundary config from existing package imports to start enforcing dependency rules. Writes to .gograph/boundaries.json, refuses overwrites, use once during adoption.
Instructions
Create a baseline architecture boundary configuration from the repository's current package imports. Defaults to .gograph/boundaries.json under the graph root, uses repository-rooted regular-file creation, and refuses linked paths or overwrite. Mutating and non-idempotent; no network access. WHEN TO USE: Once when adopting boundary checks in an existing repository, then review and tighten the generated rules. NOT TO USE: To verify an existing configuration (use gograph_boundaries). RETURNS: The written config path or an error when the path is unsafe or already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Optional in-project output path, absolute or repository-relative; linked components and existing entries are refused (default .gograph/boundaries.json) |