Expand description
Project module: work context management.
Replaces the Space system with a project-centric model:
- Projects are registered aliases for filesystem paths
- Sessions reference projects (1 primary + N secondary)
- Memories link to projects via a junction table (N:M)
§Structure
mod.rs— Project struct and ProjectSource enum (this file)manager.rs— ProjectManager (CRUD, lookup, detection)detection.rs— Detection logic (name/path/tag matching)
Re-exports§
pub use conversation_buffer::ConversationBuffer;pub use conversation_buffer::ConversationTurn;pub use detection::detect_project;pub use detection::extract_path;pub use detection::find_by_id;pub use detection::find_by_name;pub use detection::DetectionResult;pub use manager::ProjectManager;pub use manager::ProjectManagerError;
Modules§
- conversation_
buffer - ConversationBuffer: in-memory circular buffer of recent conversation turns.
- detection
- Project detection: find a Project matching user input.
- manager
- ProjectManager: CRUD operations for Projects using SQLite.
- project_
db - Project-related SQLite operations.
Structs§
- Project
- A registered work context (code project, writing project, etc).
Enums§
- Project
Source - How a Project was registered.
Type Aliases§
- Project
Id - Unique identifier for a Project.