github Gentleman-Programming/gentle-ai v1.15.11

latest releases: v2.1.5, v2.1.4, v2.1.3...
3 months ago

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.

Don't miss a new gentle-ai release

NewReleases is sending notifications on new releases.