Skip to content

docs(skills): fix stale tool conversation handle claim in creating-mods - #4360

Draft
amelia-letta wants to merge 1 commit into
mainfrom
amelia/builtin-skill-watch-creating-mods-de54f4a461b6
Draft

amelia-letta wants to merge 1 commit into
mainfrom
amelia/builtin-skill-watch-creating-mods-de54f4a461b6

Conversation

@amelia-letta

Copy link
Copy Markdown
Collaborator

Summary

  • Fix stale claim in references/architecture.md that mod tools "receive ctx.conversation.getHistory() but not fork/send helpers"

Stale claim and current owning source

src/tools/manager.ts (~line 2172) builds the full createModConversationHandle(...) for mod tool run contexts, so tools receive the same scoped ctx.conversation handle as commands and events: fork, getHistory, sendMessageStream, updateTitle, and updateLlmConfig (src/mods/conversation-handle.ts, ModToolRunContext.conversation: ModConversationHandle in src/mods/types.ts:579-586).

Scope note

This PR intentionally does not touch turn_end/"reload"/alwaysAsk drift: open watcher PR #4118 already covers those findings for this skill; no duplication per watcher rules.

Focused validation

  • bun run check passes (12/12 checks)
  • Diff is documentation-only (1 markdown file in src/skills/builtin/creating-mods/references/)

Builtin-skill-watch: creating-mods@de54f4a461b6-34f18e9b25b017bd

Test plan

  • bun run check passes
  • Diff is documentation-only

👾 Generated with Letta Code

Co-Authored-By: Letta Code noreply@letta.com

Tools receive the full scoped conversation handle (fork,
sendMessageStream, updateTitle, updateLlmConfig), not just
getHistory. The old claim that tools lack fork/send helpers no
longer matches src/tools/manager.ts, which builds the complete
createModConversationHandle for tool run contexts.

Builtin-skill-watch: creating-mods@de54f4a461b6-34f18e9b25b017bd

Co-Authored-By: Letta Code <noreply@letta.com>
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.

2 participants