Expand description
Purpose: Define ProjectAtlas 3 core domain models and shared helpers.
Re-exports§
pub use index_work::IndexCancellation;pub use index_work::IndexWorkControl;pub use index_work::IndexWorkFailure;pub use index_work::IndexWorkResource;pub use index_work::IndexWorkStage;
Modules§
- graph
- Typed, project-qualified repository graph contracts.
- health
- Purpose: Detect structural health issues in
ProjectAtlasindexes. - index_
work - Cooperative cancellation and failure contracts for bounded index work.
- language
- Purpose: Own deterministic language capability and detection truth.
- optional_
parser_ pack - Validated accepted-capability manifest for the optional native parser pack.
- optional_
parser_ protocol - Closed, bounded wire contract between the parser supervisor and resident workers.
- outline
- Purpose: Build compressed file outlines for agent context.
- relation_
capabilities - Own the accepted relation-family inventory and its content-free projections.
- support_
catalog - Own the fixed complete-support schema and public ecosystem catalog projections.
- symbols
- Purpose: Define
ProjectAtlassymbol graph domain types. - telemetry
- Purpose: Track
ProjectAtlastoken savings telemetry. - toon
- Purpose: Render
ProjectAtlasresponses with the TOON standard encoder.
Structs§
- Index
Generation - Monotonic identity of one completely published derived index.
- Indexed
Node - A node with attached purpose state.
- Navigation
Next Call - Directly reusable next navigation call for one ranked row.
- Node
- Repository node stored in the
ProjectAtlasindex. - Overview
- Overview returned by startup/overview commands.
- Purpose
- Purpose metadata attached to a node.
- Purpose
Review Signal - Review signal used by agent-facing purpose curation queues.
- Ranked
Connection - One bounded high-value connection sampled for a ranked node.
- Ranked
Connection Count - Bounded count metadata for one connection family.
- Ranked
Node - A ranked node with concise evidence for why it was selected.
Enums§
- Core
Error - Core error type for
ProjectAtlasdomain operations. - Navigation
Next Capability - Existing navigation capability recommended after one ranked row.
- Node
Kind - File or folder node kind.
- Purpose
Review Priority - Agent-facing priority for purpose curation.
- Purpose
Source - Source for purpose metadata.
- Purpose
Status - Status for purpose metadata.
- Ranked
Connection Direction - Direction of one sampled relationship relative to the ranked node.
- Ranked
Connection Kind - Closed connection families exposed by folder and file navigation rows.
- Ranked
Connection Target - Compact typed target for a sampled ranked-node connection.
- Ranked
Reason Code - Compact deterministic reasons used by agent-facing repository ranking.
Constants§
- AGENT_
REVIEWED_ SOURCE_ VALUES - Stored purpose source values that represent reviewed agent-owned purposes.
- HIGH_
IMPACT_ FILE_ NAMES - File names that belong in default file-purpose curation.
- HIGH_
IMPACT_ PATH_ PREFIXES - Path prefixes that belong in default file-purpose curation.
- HIGH_
IMPACT_ PATH_ SEGMENTS - Path segments that belong in default file-purpose curation.
- LEGACY_
HUMAN_ PURPOSE_ SOURCE - Legacy stored source value used by older approved human-curated purposes.
Functions§
- is_
high_ impact_ file_ path - Return whether a file path is important enough for default purpose curation.
- normalize_
native_ path_ display - Normalize a native filesystem path for stable diagnostics and metadata.
- normalize_
native_ path_ display_ str - Normalize a native filesystem path string for stable diagnostics and metadata.
- normalize_
repo_ path - Convert an absolute path into a stable repository-relative slash path.
- normalize_
repo_ path_ prefix - Normalize a repository-relative path prefix used by query filters.
- normalized_
extension - Return a normalized extension for indexing.
- normalized_
parent - Return the parent path for a normalized repository path.
- purpose_
review_ signal - Return the purpose-curation review signal for an indexed node.
- repo_
path_ to_ native - Convert a stable slash-separated repository key into a native path.
- validated_
repo_ file_ key - Normalize and validate a user-supplied path as a repository-relative file key.
- validated_
repo_ node_ key - Normalize and validate a user-supplied path as a repository-relative node key.
Type Aliases§
- Core
Result - Convenient result alias for
ProjectAtlascore operations.