| name | investigation |
| description | Deep-dive investigation with documentation output. |
Investigation
Conducts deep-dive investigations on specific topics and produces detailed documentation.
Requirements
- Active session must exist (session path in working memory)
- If no active session: STOP and ask user for session path
Execution
Session path: [SESSION_PATH from working memory]
Topic: $ARGUMENTS
Steps
-
Investigate thoroughly:
- Check project docs folder for related documents (if exists)
- Explore the codebase to understand the topic
- Identify key files, patterns, dependencies
- Note potential issues or concerns
-
Create documentation:
- File:
[SESSION_PATH]/[TIMESTAMP_FILE]-dive-[topic-slug].md
Structure:
# Deep Dive: [topic]
Date: [TIMESTAMP_LOG]
## Summary
[Brief overview of findings]
## Key Findings
[Bullet points]
## Code Structure
[Relevant files with brief explanations]
## Dependencies & Relationships
[How components interact]
## Considerations
[Issues, edge cases, concerns]
## Recommendations
[Suggested next steps]
-
Update session:
- Edit
[SESSION_PATH]/_overview.md:
- Add to Flow Log:
- [TIMESTAMP_ITERATION] Deep dive: [topic] -> [filename].md
- Add to Files:
- [filename].md - Deep dive: [topic]
- Commit (if git repo):
cd [SESSION_DIR] && git add . && git commit -m "Deep dive: [topic]"
-
Report back: Provide concise summary of key findings with filename