Documentation
¶
Overview ¶
Mapture — repo-native architecture graph tool. See _docs/mapture-dev-prd-v1.md for the full product spec.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd wires up the Mapture CLI.
|
Package cmd wires up the Mapture CLI. |
|
internal
|
|
|
bootstrap
Package bootstrap scaffolds repository config and starter catalogs for `mapture init`.
|
Package bootstrap scaffolds repository config and starter catalogs for `mapture init`. |
|
catalog
Package catalog defines the canonical catalog model (teams and domains) and loads it from mapture.yaml and optional legacy YAML files.
|
Package catalog defines the canonical catalog model (teams and domains) and loads it from mapture.yaml and optional legacy YAML files. |
|
config
Package config loads and validates repository-level Mapture configuration.
|
Package config loads and validates repository-level Mapture configuration. |
|
exporter/html
Package html writes static explorer bundles backed by visualization JSON.
|
Package html writes static explorer bundles backed by visualization JSON. |
|
exporter/jgf
Package jgf builds the shareable JSON Graph Format export for downstream consumers.
|
Package jgf builds the shareable JSON Graph Format export for downstream consumers. |
|
exporter/mermaid
Package mermaid renders normalized graphs as Mermaid flowcharts.
|
Package mermaid renders normalized graphs as Mermaid flowcharts. |
|
exporter/visualization
Package visualization builds the explorer-facing JSON derived from the JGF export.
|
Package visualization builds the explorer-facing JSON derived from the JGF export. |
|
graph
Package graph defines the normalized architecture graph model that the scanner produces and that exporters consume.
|
Package graph defines the normalized architecture graph model that the scanner produces and that exporters consume. |
|
projectscope
Package projectscope applies ad-hoc CLI scan scopes on top of discovered project config.
|
Package projectscope applies ad-hoc CLI scan scopes on top of discovered project config. |
|
scanner
Package scanner walks configured source trees and extracts structured `@arch.*` and `@event.*` metadata from comment blocks.
|
Package scanner walks configured source trees and extracts structured `@arch.*` and `@event.*` metadata from comment blocks. |
|
schema
Package schema embeds the CUE definitions used to validate YAML inputs.
|
Package schema embeds the CUE definitions used to validate YAML inputs. |
|
server
Package server hosts the `mapture serve` local explorer.
|
Package server hosts the `mapture serve` local explorer. |
|
ui
Package ui provides shared CLI reporting primitives for rich and plain-text terminal output.
|
Package ui provides shared CLI reporting primitives for rich and plain-text terminal output. |
|
updater
Package updater upgrades the current mapture installation in place.
|
Package updater upgrades the current mapture installation in place. |
|
validator
Package validator turns scanned raw blocks plus catalog metadata into a normalized graph and enforces validation layers 4-6.
|
Package validator turns scanned raw blocks plus catalog metadata into a normalized graph and enforces validation layers 4-6. |
|
webui
Package webui exposes the embedded frontend bundle used by the server.
|
Package webui exposes the embedded frontend bundle used by the server. |
Click to show internal directories.
Click to hide internal directories.