Skip to content

fix(lettacode): warn on the reserved subagent name antigravity - #3979

Merged
dyoshikawa merged 2 commits into
mainfrom
resolve-issue-3673-letta-antigravity-reserved
Nov 26, 2026
Merged

dyoshikawa merged 2 commits into
mainfrom
resolve-issue-3673-letta-antigravity-reserved

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Letta Code v0.34.71 added "antigravity" to RESERVED_EXTERNAL_SUBAGENT_NAMES, so the agent loader now skips a custom subagent named antigravity (alongside letta, claude-code, codex, opencode, cursor, and memory). 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: add antigravity to LETTACODE_RESERVED_AGENT_NAMES; bump the "as of" version in the comment to v0.34.71.
  • docs/reference/file-formats.md (+ regenerated src/generated/docs-content.ts): list antigravity among the reserved names in the Letta Code subagents note.
  • src/features/subagents/lettacode-subagent.test.ts: add antigravity to the parameterized reserved-name test.

Design decisions

  • Keep the existing behavior for reserved names: the subagent is still generated as authored and a warning is logged (no rename/skip), consistent with the other reserved names.

Skipped items

  • Dropping the Letta Code hooks adapter: the hooks loader (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.
  • Modelling Mods: code modules, not generatable (decided in the issue).

Refs #3673

🤖 Generated with Claude Code

https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4

dyoshikawa and others added 2 commits November 26, 2026 16:34
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
@dyoshikawa
dyoshikawa merged commit 44acc21 into main Nov 26, 2026
10 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-issue-3673-letta-antigravity-reserved branch November 26, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant