Axon · Configuration & integration

Maintain index and cross-repository evidence

Inspect status before deciding whether a warm update is enough. index, index rebuild and index build share the same build path. If both --full and --incremental are present, incremental wins; --lsp independently forces full indexing.

Incremental indexing skips framework enrichment for affected TypeScript/JavaScript/Vue/Svelte/PHP/Blade files. modules.partialLanguages records the partial dependency state until a full index. Use a full index before relying on framework-rich impact results.

Resolver inputs can automatically force a full build: configuration read by the last project-resolution pass, including absent probes; newly named inputs such as package manifests and bundler configuration; vendor packs; and any Go file change. Inspect full_rebuild_reason in JSON summaries where applicable.

Check extractor provenance and degraded-file reports when results are sparse. Extraction includes tree-sitter paths for JavaScript/TypeScript and Vue-related structure; lexical/structural paths for PHP/Go/Rust and infrastructure; project import resolution; Laravel, Vue and React enrichments; Go interfaces/routes; and Terraform/HCL, Docker/Compose and GitHub Actions adapters. These do not imply uniform language completeness. Laravel evidence requires explicit configuration, a direct laravel/framework requirement (framework package), or artisan plus a genuine Laravel Application bootstrap (indirect-dependency application). Detection is subtree-scoped.

Discovery is broader than symbol extraction: Python, Ruby, Java, Kotlin, C/C++, Svelte, JSON, TOML and go.mod can enter the file universe without a dedicated symbol extractor in the extraction dispatcher. A file node is not evidence of parsed methods/calls. TS/JS include TSX/JSX/MJS/CJS; PHP includes Blade; Dockerfile/Containerfile variants and HCL/Terraform are recognized. YAML infrastructure extraction is specific to supported workflow/Compose shapes, not arbitrary YAML semantics. LSP enrichment is optional and depends on installed/configured servers; inspect lspEnrichmentFailures, coverage.producerRuns, collision reports and overlay.degradedFiles instead of assuming all producers succeeded.

Inspect repository-level dependencies and operational boundaries with:

axon deps graph
axon deps clusters
axon deps --module billing
axon operational --kind job

These commands print JSON without --json. Operational queries expose indexed commands, jobs, events, schedules, HTTP boundaries, handlers, edges and contracts. Follow the reported source before treating a boundary as complete runtime wiring.

For cross-repository questions, configure explicit sibling path entries and index each repository separately. siblings status and delta's crossRepo.siblings distinguish readability from freshness. Relative paths resolve under the corpus; relative db overrides resolve under the sibling root. Role kernel, or a package matching overlay.kernel.package, selects kernel interpretation; others are peers. CLI/MCP trace follows existing indexed edges across exact portable identities using one global traversal budget and repository-qualified IDs; no siblings preserves local output. TypeScript file IDs do not bridge; HTTP surfaces require primary/kernel topology. Declaring a sibling does not invent Expo-to-PHP endpoint mappings. Inspect configured sibling indexes with axon siblings status. Neither checkouts nor universal coverage are managed. deps.repositories is not a supported configuration key.

Use overlay status for trust and overlay ownership for ownership evidence. overlay check tests presence, not comprehensive freshness. overlay refresh uses the ordinary warm-index update path; overlay rebuild forces a full build.

Use pack status to inspect cached vendor symbol packs and pack build to build or reuse them. --force requests replacement; --pack-cache overrides the cache directory. vendor-pack is an alias. Packs supply external symbols and framework evidence, not proof of resolved runtime wiring. After changing configuration or pack inputs, perform a full index and inspect status.

The CLI pack cache and the indexer's symbol packs are distinct. The cache key hashes the first available composer.lock, Cargo.lock, package-lock.json, or pnpm-lock.yaml (in that order), otherwise the corpus path. cached means the cache file exists; merged compares the recorded key. At this pin pack build initializes/reuses a cache database and records a key, not a dependency download, full symbol extraction or LSP pass. Its manifest.depth: full-lsp label is not evidence that LSP ran; node/edge counts refer to the active graph.

Indexing also reads local JSON symbol packs under .axon/packs/ then legacy .lux/packs/; duplicate pack names prefer the first, and unreadable/malformed packs are skipped. Built-in Laravel symbols are adapter-gated. The public pack shape has schema_version, pack_name, ecosystem, version, symbols, optional facade_bindings (empty), and generated_at; each symbol requires id, name, kind, qualified_name, language_id, with optional file_path/package_name. Each binding requires facade_short, facade_fqn, accessor_fqn, with optional methods (empty). These are supplied structural facts, not installed source. vendorPack.merge controls symbol merging; firstParty.packages informs PHP namespace discovery from package manifests, not checkout/install management. Reindex fully after changing packs.

Soma can consume the database for documentation and DeltaReportV1 for structural concern checks. These are separate consumers: creating a database does not certify a downstream concern gate.