Uh oh!
There was an error while loading. Please reload this page.
feat(rancher): create_agent + update_agent tools with knowledge binding (CLEAN-51) - #46
Merged
Conversation
Base automatically changed from
feat/CLEAN-50-agent-files-sync-safety to
mainSeptember 1, 2026 12:37
…ding (CLEAN-51) The admin agent promised agent creation and knowledge binding but had no shortcuts for either. The creation sequence (seed → skills → promote-before- deploy → deploy) moves from the controller into AgentDeployService.createAgent so the REST endpoint and the new tool share one implementation; update_agent replaces knowledgeIds wholesale and reminds about the restart. SOUL.md now prefers the shortcuts with http as fallback. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
maksymhryzodub-progforce-pushed
the
feat/CLEAN-51-rancher-create-bind-tools
branch
from
September 1, 2026 12:37
0f3c764 to
2116b9cCompareUh oh!
There was an error while loading. Please reload this page.
maksymhryzodub-prog
deleted the
feat/CLEAN-51-rancher-create-bind-tools
branch
September 7, 2026 12:52
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 freeto 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.
Summary
CLEAN-51 — follow-up to CLEAN-50 (Q1 decision: phased). Stacked on #45 — retarget to
mainafter it merges.create_agenttool: create + deploy from a template (validates templateId, optionalllmCredentialId/knowledgeIds/isAdmin). The full creation sequence (DB row → template file seed → skills sync → promote-before-deploy → first deploy) is extracted from the REST controller intoAgentDeployService.createAgent— one shared implementation, no drift.update_agenttool: rename / switch credential / bind knowledge bases.knowledgeIdsreplaces the full list (tool description tells the model toget_agentfirst); result carries an explicit restart-required notice.httpas fallback.Test plan
agentDeploy.service.spec.ts(4 specs): sequence order, best-effort seed, no admin side effects by default, promote-before-deploy invariant incl. previous-admin demote/redeployapi: jest 194/194, build green, eslint 0 errors🤖 Generated with Claude Code