Security/Agents: AgentRunner.buildHandoffTargetParams drops SearchScopeIDs, boundActionParams, SecurityEnvelope, and ParentRunTainted on handoff
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Read packages/AI/Agents/src/AgentRunner.ts, especially buildHandoffTargetParams and its use in FollowHandoffs. Trace how the named scope, bound parameter, security envelope, and taint fields are represented in sourceParams and the source run, then check existing handoff tests. Done means those four values reach the target run while the listed source-specific execution fields remain omitted.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
From the post-release WS3 independent review of Consult & Handoff (PR #5055, tracked in PR #6482 / plans/video-studio-ws3-consult-handoff-review.md).
Location
packages/AI/Agents/src/AgentRunner.ts#L1432-L1480(buildHandoffTargetParams)packages/AI/Agents/src/AgentRunner.ts#L1202-L1279(FollowHandoffs)
Defect
AgentRunner.buildHandoffTargetParams manually constructs a subset object from sourceParams that forwards PrimaryScopeEntityName, PrimaryScopeRecordID, SecondaryScopes, CredentialScope, Audience, ConversationBranchID, ConversationHistoryFrom, and provider, but omits:
SearchScopeIDsboundActionParams(server-bound action parameters hidden from the model)SecurityEnvelopeParentRunTainted(and taint propagation from the source run)
As a result, handing off from a scoped/bound/tainted source run drops search-scope restrictions, bound action parameters, security-envelope constraints, and run taint on the target agent run.
Suggested Fix
Forward SearchScopeIDs, boundActionParams, SecurityEnvelope, and taint (ParentRunTainted) from sourceParams (and the source run) in buildHandoffTargetParams, while still omitting source-specific execution fields (payload, lastRunId, autoPopulateLastRunPayload, configurationId, override, parentRun, onAgentRunCreated, allowedAgentIds).
- Lenguaje dominante
- TSQL
- Estrellas
- 32
- Forks
- 7
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 504
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MemberJunction/MJ
-
DBAutoDoc: export --state-file writes SQL Server SQL for a PostgreSQL database, ignoring --providerAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
MemberJunction/MJ#7094 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
MemberJunction/MJ#6971 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
MemberJunction/MJ#6947 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MemberJunction/MJ#6800 ·
Los mantenedores suelen responder en 1 día
-
Convention: saved-query discoverability follows Status — Approved is canon, Pending is a draftAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MemberJunction/MJ#6746 ·
Los mantenedores suelen responder en 1 día
Todos los issues de MemberJunction/MJ
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OHDSI/Data2Evidence#3815 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
roc-lang/basic-webserver#277 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
redhat-developer/rhdh-plugin-export-overlays#4995 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
fidelity
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPosiblemente ocupada @huanghaoyuanhhy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/milvus-backup#1418 ·
Los mantenedores suelen responder en 1 día