[RefImpl] acs-example-guardian: a policy-backend interface that every step reaches
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start with adapters/src/acs/guardian/example_guardian.py, especially _policy_backend_decision(), and trace the ACS_POLICY_BACKEND selection into the OPA backend. Identify how toolCallRequest, toolCallResult, and the informational steps such as sessionStart, userMessage, and knowledgeRetrieval are dispatched. Done means the Guardian exposes separate evaluate and record operations, OPA implements both, informational steps are audited without changing their responses, and the no-backend default behavior remains unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Target runtime or language
Python, adapters/src/acs/guardian (acs-example-guardian)
What this proves
Following Rock's note on #183: the example Guardian has a policy backend since #602, but example_guardian.py imports opa_backend directly in _policy_backend_decision(), and only toolCallRequest and toolCallResult reach it. A policy engine that decides on what happened earlier in the session also needs the other steps (sessionStart, userMessage, knowledgeRetrieval and so on), even if it may only allow them.
Proposal:
- A small backend interface in acs/guardian (evaluate for toolCallRequest and toolCallResult, record for the informational steps), selected by ACS_POLICY_BACKEND as now. opa_backend becomes the first implementation; the default path without a backend does not change.
- Informational steps reach the backend audit-only: the backend sees them, and the Guardian's answer for them stays as it is.
This shows that the reference Guardian can carry a stateful policy engine without changing the wire layer. We would use it for Kyvvu's policy engine, which now runs behind its own ACS Guardian, kyvvu-acs (announced in https://github.com/GenAI-Security-Project/agent-control-standard/discussions/617). With this interface we would maintain one backend plug-in instead of our own wire layer.
Do you intend to implement this yourself
Yes, I want this assigned to me
Current Priority Scope
Feeds the runnable Guardian reference implementation
- Lingua principale
- TypeScript
- Stelle
- 183
- Fork
- 56
- Merge medio
- 3g 1h
- PR unite (30g)
- 67
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
GenAI-Security-Project/agent-control-standard#764 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage type:docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 96/100
GenAI-Security-Project/agent-control-standard#717 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
GenAI-Security-Project/agent-control-standard#650 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P1 status:needs-triage type:conformance
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertastatus:needs-triage type:conformance
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GenAI-Security-Project/agent-control-standard
Issue simili
-
Media browser returns "Not found" for repositories using the SHA-256 object formatForse già presa @adamchodera l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Follow-ups from #312Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
janhesters/remixcn#318 ·
I maintainer di solito rispondono entro 1 giorno
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
danielmiessler/LifeOS#3150 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·