/tapestry-discipline:architecture-reportfrom tapestry-discipline
Generate a fresh architecture snapshot + diff + narrative report for the current repo state. Runs the deterministic snapshot/diff scripts, then invokes the architecture-analyst subagent to interpret. Outputs land in docs/architecture-snapshots/.
Ships in tapestry-discipline. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Run the full architecture-snapshot pipeline and produce a fresh narrative report.
Steps:
Run python scripts/architecture_snapshot.py from the repo root. This writes docs/architecture-snapshots/<timestamp>-snapshot.json and <timestamp>-snapshot.md.
Run python scripts/architecture_diff.py from the repo root. This finds the two most-recent snapshot JSONs, diffs them, pulls git log between the SHAs, and writes <timestamp>-diff.json + <timestamp>-diff.md.
Invoke the architecture-analyst subagent with the three paths (snapshot.json, diff.json, diff.md) as input. The subagent reads them, PROBES the repo for verification, and writes <timestamp>-narrative.md with TL;DR + what-changed + why-it-matters + diagnosis + recommendations.
Show the user the three output paths and the TL;DR from the narrative.
Discipline:
docs/architecture-snapshots/.7-day visitors to each command page
npx claudepluginhub lizo-roadtown/hcs-coordination --plugin tapestry-discipline