Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

docs(architecture): spell empty-bay repair in boundary-encloses diagnostic

tt-a1icc25fbe96b0c
diff --git a/archify/renderers/architecture/render-architecture.mjs b/archify/renderers/architecture/render-architecture.mjs
index 344bbb31..d96280c7 100644
--- a/archify/renderers/architecture/render-architecture.mjs
+++ b/archify/renderers/architecture/render-architecture.mjs
@@ -668,7 +668,7 @@ function validateArchitecture() {
for (const component of components.values()) {
if (members.has(component.id) || !rectContains(b, component)) continue;
const message = `Component "${component.id}" is not wrapped by boundary "${b.label}" but sits inside its frame — `
- + 'move it outside the frame, place the wrapped members in one compact block, or add it to wraps only when it truly belongs there.';
+ + 'move it outside the frame, place the wrapped members in one compact axis-aligned cluster (no empty bay for a non-member), or add it to wraps only when it truly belongs there.';
problems.push(message);
diagnostics.push({
code: 'layout/boundary-encloses-non-member',
@@ -681,7 +681,7 @@ function validateArchitecture() {
},
supportedFixes: [
`move "${component.id}" outside the boundary frame`,
- 'reposition the wrapped members into one compact block that leaves non-members outside',
+ 'reposition the wrapped members into one compact axis-aligned cluster (no empty bay) that leaves non-members outside',
],
});
}