output.md
June 25, 2026 · View on GitHub
Output
openlore writes to the OpenSpec directory structure:
openspec/
config.yaml # Project metadata
specs/
overview/spec.md # System overview
architecture/spec.md # Architecture
auth/spec.md # Domain: Authentication
user/spec.md # Domain: User management
api/spec.md # API specification
decisions/ # With --adr flag
index.md # ADR index
adr-0001-*.md # Individual decisions
Each spec uses RFC 2119 keywords (SHALL, MUST, SHOULD), Given/When/Then scenarios, and technical notes linking to implementation files.
Analysis Artifacts
Static analysis output is stored in .openlore/analysis/:
| File | Description |
|---|---|
repo-structure.json | Project structure and metadata |
dependency-graph.json | Import/export relationships, HTTP cross-language edges (JS/TS → Python), and synthesised call edges for Swift/C++ |
llm-context.json | Context prepared for LLM (signatures, call graph) |
dependencies.mermaid | Visual dependency graph |
SUMMARY.md | Human-readable analysis summary |
call-graph.json | Function-level call graph (18 languages: TS/JS, Python, Go, Rust, Ruby, Java, C/C++, C#, Swift, Kotlin, PHP, Scala, Dart, Lua, Elixir, Bash — query coverage with get_language_support) |
refactor-priorities.json | Refactoring issues by file and function |
mapping.json | Requirement->function mapping (produced by generate) |
spec-snapshot.json | Compact coverage summary: git state, per-domain coverage %, uncovered hub functions (auto-updated after analyze and generate) |
audit-report.json | Latest parity audit report (produced by openlore audit) |
index-attestation.json | Deterministic build-time integrity stamp (schema version, committed production counts, content digest). On load the index is reconciled against it into a healthy / degraded / mismatched verdict; a non-healthy index is disclosed (on get_health_map and in conclusion-tool confidence boundaries), never silently served as complete. Advisory; no LLM |
vector-index/ | LanceDB search index — keyword (BM25) by default; a semantic vector index after openlore embed --local or when EMBED_* is configured |
openlore analyze also writes ARCHITECTURE.md into .openlore/analysis/ -- a Markdown overview of module clusters, entry points, and critical hubs, refreshed on every run.