Expand description
Pure domain model types.
Structs§
- Audit
Event Record - Redacted durable audit event.
- Claim
Record - Claim fact extracted from or supported by evidence.
- Code
Call Record - Call relationship extracted from code.
- Code
Chunk Record - Versioned retrievable code chunk.
- Code
Dependency Record - Dependency declaration extracted from package manager manifest or lock files.
- Code
Extraction Metadata - Tree-sitter query metadata attached to extracted code facts.
- Code
Feature Flag Graph - Feature flag graph grouped by stable configuration source.
- Code
Feature Flag Record - Feature flag or runtime configuration relationship extracted from code.
- Code
Feature Flag Request - Feature-flag graph query over an indexed repository scope.
- Code
Feature Flag Usage - One code location where a feature flag is defined, read, or guards code.
- Code
File Diagnostic - File-level diagnostic produced by indexing.
- Code
File Fields - Input fields for one parsed repository file.
- Code
File Fingerprint - Previously indexed file hash used to skip unchanged incremental parses.
- Code
File Record - Parser output for one repository file.
- Code
Graph Artifact - Code graph artifact tied to a shared retrieval result.
- Code
Graph Batch - Atomic code graph mutation batch.
- Code
Graph Commit Receipt - Receipt returned after code graph facts commit.
- Code
Impact Path Groups - Diff paths split by the effective repository selector.
- Code
Impact Request - Code impact analysis request over a Git diff.
- Code
Import Record - Import relationship extracted from code.
- Code
Index Batch - One bounded parse result committed under a checkpointed index session.
- Code
Index Checkpoint - Durable progress checkpoint for a repository indexing session.
- Code
Index Progress Summary - Coarse phase timing and counts reported by repository indexing.
- Code
Index Request - Code repository indexing request shared by interfaces.
- Code
Index Resource Budget - Resource budget used to partition repository indexing into bounded batches.
- Code
Index Session - Stable metadata for one resumable repository indexing session.
- Code
Index Snapshot - Parsed index changes ready to commit into storage.
- Code
Index Summary - Result of applying a code index snapshot.
- Code
Index Task Record - Durable background task for one code repository index request.
- Code
Parse Status Counts - Parse-status counts surfaced by graph diagnostics.
- Code
Path Tombstone - Rename/delete lineage marker retained after incremental updates.
- Code
Range - Inclusive source line range and half-open byte range in a repository file.
- Code
Reference Fields - Input fields for a syntax-level reference.
- Code
Reference Record - Versioned syntax-level reference or dependency edge candidate.
- Code
Repository Cross Edge - Cross-repository overlay edge derived after member snapshots are indexed.
- Code
Repository Excluded Path - Path excluded from indexing by preset, ignore file, or request scope.
- Code
Repository Language Preview - Language bucket in a repository scope preview.
- Code
Repository Largest File - Large file surfaced before a full repository index starts.
- Code
Repository Latency Sample - Representative query latency captured for an operations report.
- Code
Repository Registration - Code repository identity persisted after registration.
- Code
Repository Report - Reusable repository operations report.
- Code
Repository Scope Preview - Non-mutating preview of the effective repository indexing scope.
- Code
Repository Selector - Repository selector accepted by code index and retrieval APIs.
- Code
Repository Set - Persisted repository-set metadata.
- Code
Repository SetAdd Member Request - Request to attach one indexed repository snapshot to a repository set.
- Code
Repository SetCreate Request - Repository-set creation request shared by API adapters.
- Code
Repository SetMember - Persisted repository-set membership pointing at a real repository snapshot.
- Code
Repository SetMember Status - Status for one repository-set member snapshot.
- Code
Repository SetOverlay Status - Overlay freshness and task-independent diagnostics.
- Code
Repository SetQuery Hit - Query hit with explicit repository-set provenance.
- Code
Repository SetQuery Request - Multi-repository query request.
- Code
Repository SetRefresh Summary - Summary returned after rebuilding a repository-set overlay.
- Code
Repository SetRefresh Task Record - Durable repository-set overlay refresh task record.
- Code
Repository SetRemove Member Request - Request to remove one repository snapshot from a repository set.
- Code
Repository SetStatus - Aggregated repository-set status.
- Code
Repository Status - Repository index status and diagnostics summary.
- Code
Repository Totals - Aggregated totals for repository indexes separate from graph-evidence code rows.
- Code
Retrieval Hit - Code retrieval hit with source location, layers, and freshness metadata.
- Code
Retrieval Request - Code repository retrieval request.
- Code
Scope Retention Summary - Scope retention result after pruning old repository snapshots.
- Code
Symbol Record - Versioned syntax-level symbol definition.
- Commit
Receipt - Receipt returned after graph facts and mutation log entries commit.
- Confidence
Score - Confidence score in basis points so it remains sortable and exact.
- Context
Entity - Entity projection retained with each context item.
- Context
Graph Fact - Structured relation, claim, or event that supports a retrieval hit.
- Context
Graph Path - Direct graph path evidence derived from a structured graph fact.
- Context
Graph Path Edge - One edge in a graph path returned through the context pack.
- Context
Pack Item - Context-pack item tied to a retrieval hit.
- Domain
Error - Domain-level validation failure.
- Event
Record - Event fact tied to entities and optional valid-time text.
- Evidence
Extraction Metadata - Metadata shared by text, image, OCR, caption, table, layout, and embedding evidence.
- Evidence
Record - Evidence accepted by the graph mutation pipeline.
- Evidence
Span - Source byte and line span for evidence-backed facts.
- Extraction
Diagnostic - Diagnostic emitted by an extractor without blocking other modalities.
- Fusion
Diagnostics - Diagnostics for reciprocal-rank fusion.
- Graph
Mutation Batch - A transactional graph mutation unit.
- Graph
Relation Record - Typed relation between graph entities.
- Graph
Version - Monotonic graph state version.
- Graph
Version Range - Graph-version validity range for facts.
- Index
Status - Versioned status for a derived index.
- Knowledge
Entity - A minimal entity model used by early graph-building code.
- Knowledge
Map - Versioned repository contract that tells agents where project knowledge lives.
- Knowledge
MapChange - Optional source changes accepted by the update command.
- Knowledge
MapHistory Entry - Version history entry written after CLI mutations.
- Knowledge
MapRoute - Ordered source route for a topic.
- Knowledge
MapSource - Addressable knowledge source that remains authoritative outside the map.
- Knowledge
MapTopic - Human-readable topic bucket used by agents for routing.
- Layout
Region - Page-space rectangle for table and layout evidence.
- Proposal
Conflict Record - Stored conflict associated with a proposal.
- Proposal
Provenance - Auditable model, prompt, and source lineage for a stored proposal.
- Proposal
Record - Stored proposal ready for CLI/Web review.
- Ranking
Signal - Per-retriever ranking signal preserved after fusion.
- Repository
Code Chunk Record - Searchable code chunk.
- Repository
Code File Record - File-level code index row.
- Repository
Code Range - Inclusive byte or line range for repository code index rows.
- Repository
Code Reference Record - Reference extracted from tree-sitter syntax and optionally resolved.
- Repository
Code Symbol Record - Symbol definition extracted from tree-sitter syntax.
- Rerank
Diagnostics - Diagnostics for post-fusion reranking.
- Rerank
Mode Error - Invalid rerank backend mode supplied by runtime configuration.
- Rerank
Signal - Final rerank signal applied after hybrid retrieval fusion.
- Retrieval
Backend Status - Per-backend status preserved so callers can distinguish fallback from complete hybrid retrieval.
- Retrieval
Budget Used - Budget actually consumed by retrieval context packing.
- Retrieval
Hit - A context item returned by retrieval.
- Retrieved
Context Pack - A compact, auditable context pack for agent and UI adapters.
- Service
Definition Plan - Service definition rendering without privileged execution.
- Service
Operator Status - Persisted silent-update operator status.
- Software
Build Target - Build target, script, profile, or generator entry projected from indexed repository evidence.
- Software
Build Target Input - Constructor input for
SoftwareBuildTarget. - Software
Component - Projected dependency component from repository manifests and lockfiles.
- Software
Component Input - Constructor input for
SoftwareComponent. - Software
Dependency Usage - Import/include evidence that uses a declared dependency component.
- Software
Dependency Usage Input - Constructor input for
SoftwareDependencyUsage. - Software
Design Element - Design, architecture, module, component, interface, or capability evidence.
- Software
Design Element Input - Constructor input for
SoftwareDesignElement. - Software
File - Projected repository file node for the software global model.
- Software
File Input - Constructor input for
SoftwareFile. - Software
Global Projection - Projected software global facts for one repository scope.
- Software
Global Request - Repository-scoped software global model query.
- Software
Global Status - Freshness and count summary for the software global projection.
- Software
IacResource - Infrastructure, deployment, or service-operation resource projected from indexed IaC evidence.
- Software
IacResource Input - Constructor input for
SoftwareIacResource. - Software
Relationship - Cross-domain relationship between projected software files, topics, components, and usages.
- Software
Relationship Input - Constructor input for
SoftwareRelationship. - Software
SdkUsage - Projected SDK or external API usage from unresolved import/include evidence.
- Software
SdkUsage Input - Constructor input for
SoftwareSdkUsage. - Software
Topic - Topic extracted from repository documentation or the repository knowledge map.
- Software
Topic Input - Constructor input for
SoftwareTopic. - Source
Scope - Authorized source boundary for evidence and retrieval.
- Worker
Status - Aggregated status for a worker family.
- Worker
Task Record - Persistent worker task used by service, CLI, Web, and recovery diagnostics.
Enums§
- Audit
Status - Persistent audit status shared by CLI/Web/service/agent surfaces.
- Code
Graph Artifact Kind - Code artifact category returned through the general GraphRAG context pack.
- Code
Index Mode - Code index mode tied to Git snapshots or diffs.
- Code
Index Task State - Persistent lifecycle for background code repository index tasks.
- Code
Parse Status - Parser status for a repository file at a graph version.
- Code
Query Kind - Retrieval query kind for code graph and lexical search.
- Code
Reference Kind - Reference category extracted from tree-sitter captures.
- Code
Repository SetRefresh Task State - Durable state for a repository-set overlay refresh task.
- Code
Resolution State - Resolution certainty for syntax-level code references.
- Code
Retrieval Layer - Retrieval layer that contributed to a code hit.
- Code
Symbol Kind - Symbol definition category extracted from tree-sitter captures.
- Context
Graph Fact Kind - Structured graph fact kind referenced from a context item.
- Evidence
Modality - Evidence media unit tracked by multimodal ingestion and retrieval.
- Extraction
Status - Extraction outcome recorded when multimodal workers degrade or fail.
- Fact
Status - Lifecycle status for graph facts created from evidence or extraction.
- Freshness
Policy - Freshness policy for hybrid retrieval.
- Index
Kind - Derived index families maintained from the graph mutation log.
- Index
Modality - Source modality covered by a derived index cursor.
- Index
State - Operational state of a derived index.
- Knowledge
MapSource Kind - Supported source category labels in the YAML contract.
- Proposal
Conflict Severity - Conflict severity shown before manual approval.
- Proposal
Kind - Proposal fact family stored before user approval.
- Proposal
State - Proposal approval lifecycle.
- Rerank
Mode - Rerank backend requested for the hybrid retrieval candidate set.
- Retrieval
Backend State - Availability state for optional retrieval backends.
- Retrieval
Mode - Retrieval path used to satisfy a query.
- Retriever
Source - Retrieval source that contributed to a fused context result.
- Service
Manager Action - Service manager action surfaced as a generated, user-executed plan.
- Service
Operator State - Installed background operator state.
- Software
Global Kind - Query kind for repository-scoped software global model facts.
- Worker
Backend State - Runtime availability of an external worker backend.
- Worker
Kind - External or fallback worker family used by background productization tasks.
- Worker
Task State - Persistent task lifecycle for bounded worker queues.
Constants§
- RECIPROCAL_
RANK_ FUSION_ K - RRF constant used by Phase 1 hybrid retrieval.
Functions§
- code_
snapshot_ expected_ scope_ id - code_
snapshot_ scope_ id - Builds the stable source scope id for a Git snapshot partition.
- normalize_
actor - Normalizes a required actor identifier for lifecycle decisions.