Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ronaldjdev/forge/llms.txt
Use this file to discover all available pages before exploring further.
forge assay produces a qualitative, multi-perspective architectural essay on top of the quantitative data from forge inspect. Instead of a single point of view, it convenes five simulated expert personas — each with a different professional lens — and asks every one of them to weigh in on your codebase simultaneously. The result is a richer, more actionable diagnosis than any single audit score can give you: you learn not just what is wrong, but why it matters from a scalability standpoint, a technical-debt standpoint, a security standpoint, a product standpoint, and a governance standpoint — all at once.
Usage
The Five Personas
Each persona targets a distinct area of architectural concern. Running the full assay surfaces blind spots that any single reviewer would miss.| Persona | Focus |
|---|---|
| Jeff Bezos | Coupling, scalability, team autonomy (API mandate) |
| Martin Fowler | Refactoring, technical debt, microservices vs monoliths |
| Hacker | Security, performance, edge cases, vulnerabilities |
| Alex (PM) | Time-to-market, complexity, technical ROI |
| Dr. Carter (Architect) | Dependency cycles, layer violations, structural health |
The essay is driven by the last
forge inspect result. If no prior audit exists, assay still runs but with reduced context. For the richest output, always run forge inspect first.Flags
--persona=<id>
Filter to a single persona. Valid IDs:
bezos, fowler, hacker, pm, senior.--save
Persist the full assay report to the
.forge/assay/ directory for later review and comparison.--json
Emit machine-readable JSON output — useful for tooling, CI pipelines, or dashboards.
Saving Results
When you pass--save, Forge writes the full report to .forge/assay/ using a timestamped filename (e.g. assay-2026-06-25T00-00-00.md). Results accumulate over time, so you can track how each persona’s assessment evolves across sprints or refactoring cycles.
.forge/assay/ directory acts as a lightweight architectural journal. Before major decisions — migrating to microservices, introducing a new feature boundary, upgrading an ORM — run assay --save so you have a recorded baseline to compare against after the change.
Recommended Workflow
Audit first
Run
forge inspect to get a quantitative score (0–100), violation list, and architecture graph.Run assay
Run
forge assay to get qualitative analysis from all five personas, grounded in the inspect data.Prioritise
Use the personas’ recommendations to decide which fixes deliver the most value. CRITICAL violations flagged by Dr. Carter and Jeff Bezos typically block team autonomy and introduce the highest risk.