feat: add supervised collaboration request path#1987
Draft
mhseo93 wants to merge 6 commits intomultica-ai:mainfrom
Draft
feat: add supervised collaboration request path#1987mhseo93 wants to merge 6 commits intomultica-ai:mainfrom
mhseo93 wants to merge 6 commits intomultica-ai:mainfrom
Conversation
MHS-18 adds server-side policy enforcement for operator-controlled agents, daemon prompt alignment, and regression tests for issue create/update, batch update, agent mentions, fallback comments, and actor resolution.
|
Someone is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
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
Adds a server-validated
collaboration_requestpath for supervised agent collaboration so agents do not use rawmention://agent/...handoff links.This PR is intentionally kept as a draft stacked PR because the branch currently includes dependencies that are not all merged into
mainyet:MHS-18: harden operator-controlled agent commands)MHS-20: supervised collaboration policy foundationMHS-21: collaboration request data/API/controller/CLI pathMHS-22: DB-backed handler/router integration coverage for the collaboration request pathWhat changed
collaboration_requestmigration/query/generated model support.POST /api/issues/{id}/collaboration-requestsGET /api/issues/{id}/collaboration-requestsmultica issue collaboration-request create <issue-id> --to <agent> --purpose <text>multica issue collaboration-request list <issue-id>X-Task-IDmention://agentis blocked in request purpose/commentsValidation
Local non-DB validation:
Disposable local DB validation was also completed for the new
collaboration_requestmigration and integration tests:Result:
The disposable DB used a local
pgvector/pgvector:pg17Postgres-compatible container and was stopped/removed after validation. No prod/runtime/daemon/shared DB/Cloud Agent action was performed.Not included / follow-up
completed,cancelled,expired) are not implemented yet.Review notes
Please review this as the implementation path for replacing raw agent handoff links with an audited, policy-controlled
collaboration_requestprimitive. Because this branch is stacked, the cleanest review order is: