pub struct SubProjectFiles {
pub root_path: PathBuf,
pub project_brief: Option<PathBuf>,
pub product_context: Option<PathBuf>,
pub active_context: Option<PathBuf>,
pub system_patterns: Option<PathBuf>,
pub tech_context: Option<PathBuf>,
pub progress: Option<PathBuf>,
pub tasks_dir: Option<PathBuf>,
pub task_files: Vec<PathBuf>,
}Expand description
Sub-project file structure
Represents the complete file layout of an individual sub-project within the workspace. Each sub-project has its own directory with standardized files for project management, technical documentation, and task tracking.
Fields§
§root_path: PathBufSub-project root directory (sub_projects/{project_name}/) Base path for all files belonging to this specific sub-project
project_brief: Option<PathBuf>project_brief.md - Sub-project foundation and scope definition Defines what this specific sub-project does and why it exists
product_context: Option<PathBuf>product_context.md - User experience and product requirements Documents user needs, functionality, and success criteria
active_context: Option<PathBuf>active_context.md - Current work focus and recent changes Tracks what’s currently being worked on and immediate next steps
system_patterns: Option<PathBuf>system_patterns.md - Technical architecture and design patterns Documents the technical approach, patterns, and architectural decisions
tech_context: Option<PathBuf>tech_context.md - Technology stack and infrastructure details Lists technologies used, dependencies, constraints, and deployment context
progress: Option<PathBuf>progress.md - Work completed, current status, and known issues Tracks what’s working, what’s left to build, and current challenges
tasks_dir: Option<PathBuf>tasks/ directory - Contains all task management files Directory where individual task files and the task index are stored
task_files: Vec<PathBuf>Individual task files (task_*.md files excluding _index.md) All discovered task files with their complete paths for direct access
Trait Implementations§
Source§impl Clone for SubProjectFiles
impl Clone for SubProjectFiles
Source§fn clone(&self) -> SubProjectFiles
fn clone(&self) -> SubProjectFiles
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more