Repository navigation
fix(lettacode): warn about every subagent name Letta Code reserves - #3906
Merged
Merged
Conversation
Letta Code now skips custom subagents named letta, claude-code, codex, opencode or cursor (RESERVED_EXTERNAL_SUBAGENT_NAMES) and memory, as of v0.34.66. Extend the reserved-name set so rulesync warns about all of them, and update the Letta Code subagents note in the file-formats docs. Refs #3673 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…tta-reserved-names # 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.
Refs #3673
Summary
Letta Code v0.34.66 skips a custom subagent named
letta,claude-code,codex,opencodeorcursor(RESERVED_EXTERNAL_SUBAGENT_NAMESinsrc/agent/subagents/index.ts), and the same loader also skips one namedmemory. rulesync only warned aboutclaude-codeandcodex, so the other four were written with no warning and then silently ignored by Letta Code.LETTACODE_RESERVED_AGENT_NAMESinsrc/features/subagents/lettacode-subagent.tsto all six names. The subagent is still written as authored; only the warning changes.docs/reference/file-formats.md(and the regeneratedsrc/generated/docs-content.ts).Remaining in #3673
Refsrather thanCloses.Tests
pnpm cicheckpasses.src/utils/glob.test.tstimed out once under parallel load and passes when rerun alone.🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4