Repository navigation
fix(lettacode): warn on the reserved subagent name antigravity - #3979
Merged
Merged
Conversation
letta-code v0.34.71 added "antigravity" to RESERVED_EXTERNAL_SUBAGENT_NAMES, so Letta Code now skips a custom subagent with that name. Add it to LETTACODE_RESERVED_AGENT_NAMES so rulesync warns, and list it in the docs. Refs #3673 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…tta-antigravity-reserved # Conflicts: # src/generated/docs-content.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Letta Code v0.34.71 added
"antigravity"toRESERVED_EXTERNAL_SUBAGENT_NAMES, so the agent loader now skips a custom subagent namedantigravity(alongsideletta,claude-code,codex,opencode,cursor, andmemory). Rulesync's reserved set did not include it, so such a subagent was written without the usual warning.Changes
src/features/subagents/lettacode-subagent.ts: addantigravitytoLETTACODE_RESERVED_AGENT_NAMES; bump the "as of" version in the comment to v0.34.71.docs/reference/file-formats.md(+ regeneratedsrc/generated/docs-content.ts): listantigravityamong the reserved names in the Letta Code subagents note.src/features/subagents/lettacode-subagent.test.ts: addantigravityto the parameterized reserved-name test.Design decisions
Skipped items
src/hooks/loader.ts, same 11 events) still ships in letta-code v0.34.71, so hooks keep being emitted. This remains a watch item for when upstream removes it.Refs #3673
🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4