Output Formats
Output Formats
Section titled “Output Formats”The public build supports three output formats. Analysis runs Agent Architecture and OpenClaw Architecture; results and violations come from those metrics.
Console (Default)
Section titled “Console (Default)”Human-readable terminal output with colors and formatting.
arxo analyzeOutput:
🔍 Analyzing project...✓ Agent architecture analyzed✓ OpenClaw architecture analyzed
📊 Results:
┌─────────────────────────────────────┬─────────┬──────────┐│ Metric │ Value │ Status │├─────────────────────────────────────┼─────────┼──────────┤│ agent_architecture.overall_agent_health │ 0.72 │ ✓ Good ││ agent_architecture.governance_readiness │ 85 │ ✓ Good ││ openclaw_architecture.overall_openclaw_health │ 68 │ ✓ Good │└─────────────────────────────────────┴─────────┴──────────┘
✅ No policy violationsFeatures
Section titled “Features”- Color-coded status (green/yellow/red)
- Progress indicators
- Summary tables
- Violation details with file locations
Quiet Mode
Section titled “Quiet Mode”Suppress progress output:
arxo analyze --quietMachine-readable format for CI/CD and tooling integration.
arxo analyze --format json --output report.jsonStructure
Section titled “Structure”{ "version": "0.1.0", "timestamp": "2024-01-15T10:30:00Z", "project_path": "/path/to/project", "config": { "metrics": ["agent_architecture", "openclaw_architecture"], "policy": { "invariants": [...] } }, "results": [ { "id": "agent_architecture", "name": "Agent Architecture", "values": { "agent_architecture.overall_agent_health": 0.72, "agent_architecture.governance_readiness": 85 }, "evidence": [], "status": "good" }, { "id": "openclaw_architecture", "name": "OpenClaw Architecture", "values": { "openclaw_architecture.overall_openclaw_health": 68 }, "evidence": [], "status": "good" } ], "violations": []}Key Fields
Section titled “Key Fields”| Field | Description |
|---|---|
results | Array of metric results with values |
violations | Policy violations with file locations |
evidence | Specific findings with context |
Usage Examples
Section titled “Usage Examples”Extract agent architecture result:
jq '.results[] | select(.id=="agent_architecture")' report.jsonCount violations:
jq '.violations | length' report.jsonInteractive web report with visualizations and drill-down capabilities.
arxo analyze --format html --output report.htmlFeatures
Section titled “Features”- Interactive tables — Sort, filter, search
- Graph visualizations — Visual dependency graphs
- Drill-down details — Click metrics for evidence
- Responsive design — Works on mobile
- Self-contained — Single HTML file, no dependencies
Opening Reports
Section titled “Opening Reports”# Generate reportarxo analyze --format html --output report.html
# Open in browseropen report.html # macOSxdg-open report.html # Linuxstart report.html # WindowsComparison
Section titled “Comparison”| Format | Use case | Output |
|---|---|---|
| Console | Default; terminal, CI | stdout |
| JSON | CI, tooling, APIs | stdout or file |
| HTML | Human review, sharing | file |
Output Location
Section titled “Output Location”Default (stdout)
Section titled “Default (stdout)”arxo analyze --format json # Prints to terminalFile Output
Section titled “File Output”arxo analyze --format json --output report.jsonarxo analyze --format html --output report.htmlNext Steps
Section titled “Next Steps”- CLI Reference — Command options
- CI Integration — Use in pipelines
- Configuration Guide — Configure output
- OpenClaw Architecture — OpenClaw metric overview
- OpenClaw Keys and possible values — Full detector key contract