()
| 2016 | |
| 2017 | // Active plan injection (Feature 8). Returns '' when no plan is active. |
| 2018 | function getActivePlanContext() { |
| 2019 | try { |
| 2020 | if (_planTracker && _planTracker.plan) { |
| 2021 | return _planTracker.formatForPrompt(); |
| 2022 | } |
| 2023 | } catch {} |
| 2024 | return ''; |
| 2025 | } |
| 2026 | |
| 2027 | // Auto-load knowledge notes (algorithm cheat sheets, syntax reminders, etc.) |
| 2028 | // from the project's knowledge/ directory based on keyword overlap with the |
no test coverage detected