arch-gate-js
JavaScript arch-gate (dependency-cruiser)
REFERENCE MODE: This skill provides reference material for the JavaScript domain's arch-gate binding. It is a thin pointer — the structural concept, the read-only contract, the execution model, and the findings → triage → lesson feedback loop are owned by the central standard and MUST NOT be duplicated here.
The single authoritative model for arch-gate lives in arch-gate-fitness-functions.md in plan-marshall:manage-architecture. Read that document for what an architectural fitness function is, the read-only structural-boundary-gate contract, the single per-deliverable execution model, resolution/execution path, and the lesson lifecycle. This skill carries only the JavaScript-specific binding.
Enforcement
Execution mode: Reference library; load for context when running or interpreting the JavaScript arch-gate. Never execute this document's content as a workflow.
Prohibited actions:
- Do not duplicate the central
arch-gate-fitness-functions.mdmodel here — this skill is a thin pointer - Do not mutate source from the arch-gate run — it is read-only with respect to both source and the lessons corpus
- Do not conflate module-boundary rules with per-file ESLint style — dependency-cruiser asserts a property of the module graph
Constraints:
- The JavaScript arch-gate tool is dependency-cruiser; the descriptor the extension declares is
{'tool': 'dependency-cruiser'} - arch-gate runs as a per-deliverable read-only verify-step resolved through
architecture resolve --command arch-gate - A structural-boundary violation is typed as an
arch-constraintfinding, never a genericlint-issue