Repository navigation
feat(bots): learn and reuse skills from conversations - #1391
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 28, 2026 06:42
nixuuu
added a commit
that referenced
this pull request
Nov 29, 2026
## Summary - Trace completed local thread delegations to the owner request, routine or event trigger that started them. Give verified continuations read-only access to current procedures and restore the private chat context for owner requests. - Tell bots to check the scope of a failed action before reporting a denial and continue any authorized work that can proceed. Refresh existing native sessions when the gateway's approval or external conversation instructions change. - Cover a procedure revised while a delegation runs and verify that a delegation originating from another bot cannot retrieve private procedures or chat history. Fixes: #1391 ## Verification - 47 local integration tests passed across thread notices, bot skills, event triggers, parked interactions, approval review, instruction refresh and bot memory. - Gateway typecheck, lint on the changed TypeScript files and whitespace checks passed. - Repository-wide verification runs in GitHub CI. ## Follow-up A separate two-worker test reproduced stale native context when a bot returns to its original worker after receiving messages on another worker. That case requires synchronizing the resumed session with the gateway transcript.
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.
What changed
Bots can learn a reusable procedure after working through a task with the owner, improve it after a correction, and read the current version for the next task. Each bot has its own library of up to 64 skills. An owner can also choose Learn from this conversation and edit the request before sending it.
Verified routines and event triggers can use a skill by name. Library changes and sample previews require a private owner conversation. A preview sends the selected procedure and example to a separate tool-free generation on the bot's worker. Bot moves and gateway consolidation preserve procedures and revisions.
Verification
Copy audit
Passed the ten checks in docs/copy.md §8. The new action says Learn from this conversation. Its editable request identifies the steps, corrections, variable inputs and expected output. Widened the actions menu after the first narrow-viewport check clipped the label, then verified the complete label at 390 px. Existing drafts remain editable.