v1.15.11
Fix: Strip Legacy Agent Teams Lite Block During Sync
Users who previously installed Agent Teams Lite as a standalone project carry a ~150-line block wrapped in <!-- BEGIN:agent-teams-lite --> / <!-- END:agent-teams-lite --> markers in their system prompt file. This content is now superseded by the <!-- gentle-ai:sdd-orchestrator --> managed section, so keeping both wastes ~133 lines of context per conversation.
What changed
- New
StripLegacyATLBlockfunction — detects and removes legacy ATL blocks duringsyncandupdate - Line-anchored marker detection — markers are only matched at the start of a line, so inline references in documentation are never touched
- CRLF support — both
StripLegacyATLBlockandStripLegacyPersonaBlocknow handle Windows-style line endings cleanly - Orphan marker cleanup — stray BEGIN or END markers without a matching pair are also removed
- Dual wiring — stripping runs in both the SDD inject and persona inject paths for resilience
Impact
After running gentle-ai sync, the legacy ATL block is automatically removed. No user action required — the next sync handles it.