Envelope and schema gaps: step id, ping result, SessionContext, payload limits, language tags, skill attestations
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json, typescript
- Domain
- backend-api-design, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 183
- Forks
- 56
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 1/5 Under an hour Newbie friendliness 96/100
GenAI-Security-Project/agent-control-standard#717 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenAI-Security-Project/agent-control-standard#650 ·
Maintainers usually reply within 1 day
-
priority:P1 status:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 comment ·
Maintainers usually reply within 1 day
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolMay be free again A pull request for this issue was closed without being merged. Openstatus:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 comment ·
Maintainers usually reply within 1 day
All issues in GenAI-Security-Project/agent-control-standard
Similar issues
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TanbirRamim/vibereel#39 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34988 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mastra-ai/mastra#32336 · 1 comment ·
Maintainers usually reply within 1 day