Skip to content

fix(updater): disable startup auto-update in subagents#3173

Draft
heartpunk wants to merge 1 commit into
letta-ai:mainfrom
heartpunk:sophie/disable-subagent-autoupdate
Draft

fix(updater): disable startup auto-update in subagents#3173
heartpunk wants to merge 1 commit into
letta-ai:mainfrom
heartpunk:sophie/disable-subagent-autoupdate

Conversation

@heartpunk

Copy link
Copy Markdown

Summary

  • force-disable startup auto-update in spawned subagent child environments
  • add an updater-side guard for subagent/child runtime markers before registry fetch/install
  • cover both the subagent env composition and updater short-circuit behavior with tests

Validation

  • npm exec --yes bun -- test src/agent/subagent-env-composition.test.ts src/updater/auto-update.test.ts
  • npm exec --yes bun -- run typecheck
  • npm exec --yes @biomejs/[email protected] -- check src/updater/auto-update.ts src/updater/auto-update.test.ts src/agent/subagents/manager.ts src/agent/subagent-env-composition.test.ts
  • npm exec --yes bun -- run check
  • npm exec --yes bun -- test --coverage src/agent/subagent-env-composition.test.ts src/updater/auto-update.test.ts

Draft only.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <[email protected]>
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