Envelope and schema gaps: step id, ping result, SessionContext, payload limits, language tags, skill attestations
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- json, typescript
- Ambito
- backend-api-design, security
Direzione di ricerca
Start by reading the referenced envelope and hook schemas, the specification sections cited in each checklist item, and the linked related issues and pull requests. The work spans request identity, ping results, SessionContext, payload limits, language tags, and skill attestations across multiple schemas and spec text. Done means all checklist items are resolved and their schema and specification changes agree.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Yaron Sheffer (@yaronf) reviewed the ACS docs and specification at release 0.1.4 and wrote up his notes in yaronf/ACS-Notes. This issue groups his notes on gaps in the request and response envelopes and the hook schemas. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit.
- Each step carries two identifiers, the JSON-RPC
id(specification/v0.1.0/request-envelope.jsonlines 16 to 18) andparams.request_id(lines 32 to 35), and replay (§10.3,docs/spec/instrument/specification.mdline 383), the audit chain (context-entry.jsonline 15), and trace all key on the second. Constrain the JSON-RPCidto a UUID unique within the session, use it as the step id, treat a duplicate asREPLAY_DETECTED, and dropparams.request_idand its copy on the result.request_hash(context-entry.jsonline 24) would then stop covering the step identity, so say in that rule thatentry_hashstill binds it throughstep_id, and note that PR #496 (deferred_request_id) and PR #294 (approvals keyed onrequest_id) would need the same rename. -
handshake/hellohas a named result shape inresponse-envelope.json(ServerHello, lines 16 to 19), but thesystem/pingreply exists only as prose in §13 (specification.mdline 428) and as an example in thepayloaddescription (lines 85 to 88), andpayloadaccepts any object. Give the ping response its own subschema as anAcsResultwhosepayloadrequiresstatus,echo, andserver_timestamp, and reference it fromresultthe wayServerHellois referenced. Issue #129 (the reference Guardian does not implementsystem/ping) is the implementation side. - §8 names the SessionContext members (
specification.mdline 266) and then declines to schematize the container (line 268), although ContextEntry is also server-side state and still has a schema that fixes its canonical form (line 277). Publish a schema that declaressession_id,chain_hashas the lowercase-hex head,entriesas an array of ContextEntry,provenance_summary, and optionalintentby$ref, and leave further members open withadditionalPropertiesorunevaluatedProperties, asplatform_contextandmodificationsalready are. Issue #18 (no cross-Guardian verification protocol) is related but asks for something else. - The spec gives an oversized hook body no defined outcome. Streaming is deferred (
specification.mdline 73), no schema has a truncation mode, flag, or compression field, and only the Observed Agent declares a size (max_payload_size_bytes,handshake.jsonlines 36 to 39), so the Guardian cannot bound its memory or learn that it saw a partial body. Say which path an oversized body takes (refusal, a hash or summary, compression, or a later stream), add a Guardian receive limit to ServerHello, and define how the Guardian knows it did not see the full body. Issue #155 (truncation flag fortoolCallResult) covers one hook, and the issue #32 ruling that an unsigned refusal blocks the step closes the fail-open bypass but not the limit or the indicator. - No ACS field carries a language tag, though user text (
hooks/user-message.jsonlines 16 and 17),Intent.raw(hooks/session-start.jsonline 26), tool-call framing, retrieved text,reasoning(response-envelope.jsonlines 44 to 46), and the ASKquestionandcontext(ask-details.jsonlines 32 and 33) are all natural language. A policy or intent parser reads an untagged string in whatever language its rules use, so a false friend can trip a deny word or slip past a keyword list, and a display or approver can misread the text. Add a BCP 47 tag (RFC 5646) to those values, per content part where a message can mix languages, and toreasoningand the ASK prompt, but not to identifiers, enums, or hashes. - ACS puts skill scanning and publisher reputation outside its scope (
docs/spec/instrument/hooks.mdline 268,specification/proposals/skill-lifecycle/README.mdline 83), andregistration_provenance(hooks/skill-register.jsonlines 59 to 61) is a plain Provenance object with no signature, scan result, or registry verdict. That forces a Guardian to re-derive trust from the raw definition on every register or load, and it leaves an enterprise no field for policy such as "only digests in our registry" or "this scan passed". ACS need not run the scanner, butskillRegisterandskillLoadneed a place to carry a prior attestation, a publisher identity, or a registry decision that policy can rely on. - Folded from issue #155 (bounded
toolCallResultpayloads).outputs[].valueinhooks/tool-call-result.json(line 34) is{}with no type or size bound, and no schema has atruncated,digest, orcontent_reffield. A Guardian that scans a truncated result can allow on partial evidence while the chain commits to a body the tool never returned, and an attacker who can pad a result can push the interesting part past the cut. Issue #155 proposes inlining the first N bytes with a digest over the full body, a flag marking the inline part partial, and a reference the Guardian can fetch. Settle that shape as part of the large-payload item above.
A PR that fixes only some of these items should say Refs with this issue number rather than Closes, so the issue stays open until the last item lands.
- 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 ·