Skip to content

v1.15.11

Choose a tag to compare

@github-actions github-actions released this 01 Apr 20:56

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 StripLegacyATLBlock function — detects and removes legacy ATL blocks during sync and update
  • 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 StripLegacyATLBlock and StripLegacyPersonaBlock now 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.