--- name: project-profile-manager description: Handles saving and loading of project-specific context bundles. tags: [context, memory, workspace] category: system --- # Project Profile Manager ## Profile Structure Profiles are stored in `/profiles/.json` containing: - `preferences`: Key-value pairs for `user_set` - `required_skills`: List of skills to be loaded via `load_skills` - `working_dir`: The primary VFS path for the project - `session_anchor`: Last known session date/ID ## Workflow: Save 1. Capture current working directory using `get_current_dir`. 2. Retrieve relevant `user_list` keys. 3. Save as JSON to `/profiles/`. ## Workflow: Load 1. Read `/profiles/.json`. 2. Apply `user_set` for all stored preferences. 3. Call `load_skills` for all registered project skills. 4. Navigate to `working_dir`.