Class: Aidp::Execute::ProjectKnowledgeManager
- Inherits:
-
Object
- Object
- Aidp::Execute::ProjectKnowledgeManager
- Defined in:
- lib/aidp/execute/project_knowledge_manager.rb
Overview
Creates and refreshes concise feature/tool notes under docs/
Constant Summary collapse
- MAX_TOOL_NOTES =
5- FEATURE_ROOT_SEGMENTS =
%w[app client lib packages server src].freeze
Instance Method Summary collapse
-
#initialize(project_dir) ⇒ ProjectKnowledgeManager
constructor
A new instance of ProjectKnowledgeManager.
- #sync!(step_name:, task_description:, affected_files:, tool_commands:, feature_identifier: nil) ⇒ Object
Constructor Details
#initialize(project_dir) ⇒ ProjectKnowledgeManager
Returns a new instance of ProjectKnowledgeManager.
13 14 15 |
# File 'lib/aidp/execute/project_knowledge_manager.rb', line 13 def initialize(project_dir) @project_dir = project_dir end |
Instance Method Details
#sync!(step_name:, task_description:, affected_files:, tool_commands:, feature_identifier: nil) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/aidp/execute/project_knowledge_manager.rb', line 17 def sync!(step_name:, task_description:, affected_files:, tool_commands:, feature_identifier: nil) sync_feature_note( feature_identifier: feature_identifier, task_description: task_description, affected_files: affected_files ) sync_tool_notes(step_name: step_name, affected_files: affected_files, tool_commands: tool_commands) end |