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/:

FileDescription
repo-structure.jsonProject structure and metadata
dependency-graph.jsonImport/export relationships, HTTP cross-language edges (JS/TS → Python), and synthesised call edges for Swift/C++
llm-context.jsonContext prepared for LLM (signatures, call graph)
dependencies.mermaidVisual dependency graph
SUMMARY.mdHuman-readable analysis summary
call-graph.jsonFunction-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.jsonRefactoring issues by file and function
mapping.jsonRequirement->function mapping (produced by generate)
spec-snapshot.jsonCompact coverage summary: git state, per-domain coverage %, uncovered hub functions (auto-updated after analyze and generate)
audit-report.jsonLatest parity audit report (produced by openlore audit)
index-attestation.jsonDeterministic 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.