- services/graph.mjs builds the union graph (elements, connections, decision and registry nodes) from the loaded model
- queries: text, type:, diagram:, decision:, uses:, near:, from: to:, unused, shared, -shared; walks follow connections only
- task model:graph with --query and --links; three suite checks; SKILL.md task row and gotcha
- parse, merge and validate decisions (ids, status, elements, diagrams,
supersedes); strip decisions keys from diagrams and check the ids
- model:validate counts decisions; model:list lists them with status and
the diagrams that reference them; examples carry decisions
- formats.md and SKILL.md describe the format and when an agent writes one
An architecture diagram inside a model that defines no cards gets one card
per drawn shared element with a description, as the extension does. Test
covers the resolved JSON; formats.md and SKILL.md describe the rule.
- examples/: c4-standard-web-app, c4-e-shop (was online-shop),
c4-event-based-integration; the same models the extension offers
under Archify | New Model…
- model-scaffold --example <name> copies one and renames id, name,
description and the overview title; never overwrites
- tests cover every example and the copy; docs updated
Model tasks (validate, list, scaffold, resolve), diagram tasks (validate,
render), the bundled Archify 3.0.1 runtime and yaml parser under
scripts/vendor, references for authoring, formats and folders, and the
online-shop example model.