feat(augment): agent registry governance registration (Phase 0)#3228
Open
rrbanda wants to merge 4 commits into
Open
feat(augment): agent registry governance registration (Phase 0)#3228rrbanda wants to merge 4 commits into
rrbanda wants to merge 4 commits into
Conversation
…fecycle Add governanceRegistered on unified agents, register-for-governance API, and strict publish/unpublish transitions. Registry UI surfaces unregistered runtime agents with a Register action before lifecycle promotion.
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
pkliczewski
approved these changes
May 21, 2026
…nd changeset - Regenerate report.api.md for augment and augment-common (fixes CI node 22/24) - Add augment-specific CPD exclusions to .sonarcloud.properties (fixes 5.6% > 3% threshold) - Add changeset for agent-registry-governance PR
- A1/A5: Add X-Backstage-Request header to fetchJson, fetchJsonSafe, chatEndpoints streaming fetch, and fetchHelpers jsonBody - A2: Add null coalescing for initialNodes/initialEdges in EditorCanvas - A3: Add null guards for workflow/name/nodes/edges in PublishDialog - A4: Fix My Agents filter to include governance-registered and BYO agents - A6: Add delete button on draft agent cards in CompactAgentCard/AgentGrid, wire handleDeleteAgent in MarketplacePage
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3228 +/- ##
==========================================
- Coverage 53.82% 53.80% -0.02%
==========================================
Files 2362 2362
Lines 84815 84882 +67
Branches 23508 23535 +27
==========================================
+ Hits 45650 45670 +20
- Misses 37714 37759 +45
- Partials 1451 1453 +2
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
…ality gate Extract applyLifecycleTransition helper to deduplicate promote, demote, publish, and unpublish handlers. Removes ~75 lines of repeated config-update, audit-log, and save logic. Reverts .sonarcloud.properties CPD exclusion hack.
|
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.


Summary
governanceRegisteredon unified agent listings so runtime-only agents (Kagenti/orchestration without achatAgentsrow) are distinguishable from governed agents.PUT /agents/:id/registerfor admins to enroll runtime agents into governance at draft.Test plan
yarn test --testPathPattern=agentRoutes.test(44 tests)yarn testaugment-backend (1997 passed)yarn testaugment frontend (1234 passed)yarn lintaugment-backend + augment frontendNotes
AgentApprovalWorkflowService) and cluster security changes are out of scope for this PR and remain local/uncommitted.adminRoutesSSRF test (ECONNRESET) observed intermittently in full backend runs; passes on retry and is unrelated to these changes.