1---2name: hforge-analyze3description: ---4---5---6name: hforge-analyze7description: repository analysis, runtime fact refresh, evidence-backed notes, and decision capture using harness forge surfaces. use when the user asks to analyze the repo, understand what matters next, gather findings, inspect risks, or turn architecture-significant changes into durable decision records.8---910# HForge Analyze1112## Trigger Signals1314- the user asks for repo analysis, understanding, onboarding, or a summary of what matters next15- the repo already has Harness Forge runtime artifacts that should be reused instead of rediscovered16- there are risks, validation gaps, stale findings, or architecture-significant changes to capture17- the next safe step depends on understanding repo shape, runtime findings, or decision coverage1819## Inspect First2021- `AGENTS.md`22- `.hforge/agent-manifest.json`23- `.hforge/runtime/index.json`24- `.hforge/runtime/repo/repo-map.json`25- `.hforge/runtime/repo/recommendations.json`26- `.hforge/runtime/repo/instruction-plan.json`27- `.hforge/runtime/findings/risk-signals.json`28- `.hforge/runtime/findings/validation-gaps.json`29- `.hforge/runtime/decisions/index.json`3031## Workflow32331. confirm the workspace is initialized with `hforge status --root . --json`342. if runtime artifacts are missing, initialize first with `hforge bootstrap --root . --yes`353. if runtime artifacts are stale, run `hforge refresh --root . --json`364. run `hforge review --root . --json` when runtime health, decision coverage, or stale task artifacts matter375. summarize repo shape, dominant implementation surfaces, risks, validation gaps, and next actions using the existing runtime as the primary source of truth386. when the analysis reveals architecture-significant work, create or update a durable ASR or ADR under `.hforge/runtime/decisions/`3940## References4142- `skills/hforge-analyze/references/analysis-order.md`43- `skills/hforge-analyze/references/output-contract.md`44- `skills/hforge-analyze/references/decision-promotion.md`