Editorial pass on the Instrument specification and the trust concept pages

Open
#529 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #565 by @drk-ram — closed without merging

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
documentation

Research direction

Read the listed sections in docs/spec/instrument/specification.md, docs/spec/conformance.md, the request and response envelope schemas, docs/spec/instrument/hooks.md, and the Trust, Provenance, and Agents concept pages. Check the cited lines against the integration version described in the issue, and account for the named pull requests that may touch some passages. Done means all listed editorial notes are addressed consistently; a partial PR should reference issue #529 without closing it.

Written by the indexing model from the issue text.

Description

priority:P2 scope:in-focus status:accepted type:docs workstream:spec

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 editorial notes on the Instrument specification and the Trust, Provenance, and Agents concept pages. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit.

  • The four principles in docs/spec/instrument/specification.md §1 (lines 9 to 14) are not about interception or enforcement. Principle 1 is the contract versus implementation split for the whole spec, 2 and 3 are provenance and trust classification, and 4 covers all three pillars and tiered conformance. Move ACS-wide principles to the spec introduction, and if Instrument keeps a list, make it about the control loop: hooks, dispositions, and the Guardian decision path.
  • §1 principle 2 (specification.md line 12) says "The agent MUST NOT have knowledge of hooks", but §2 makes the Observed Agent the party that sends hook traffic and §6.4 requires it to apply every disposition, so something in that runtime must know the hooks exist. Rewrite it to say the model MUST NOT emit or observe hook traffic and the framework does, and stop using "agent" for both the harness and the model in the same list.
  • §2 (specification.md line 20) says the Observed Agent "Implements ACS endpoints", but the same section has it HTTP POST or stdio-write the hook and wait (line 46), and ClientHello comes from the Observed Agent (line 81). The Guardian accepts the call. Say the Observed Agent emits hook requests and applies the decision, and the Guardian implements the ACS endpoint.
  • §11 opens with "ACS MUST be deployable across IDE, SaaS, on-prem on Linux/Windows/macOS/mobile/browser" (specification.md line 387). That MUST binds the standard and its future versions, not an implementation, so no v0.1 deployment can conform to it or violate it. State portability as a design goal in plain prose.
  • ACS does not extend JSON-RPC 2.0 at the protocol layer: the top-level members are the standard ones, and ACS fields sit inside params or result. Three places still say "with ACS extensions": docs/spec/conformance.md line 31, and line 5 of both request-envelope.json and response-envelope.json. Call it a JSON-RPC 2.0 profile instead (no notifications, method namespaces, a required params shape, additionalProperties: false, optional batching). The §3 table row was already fixed for issue #194 (acs_version location).
  • The caption above the profile stack diagram in docs/spec/conformance.md line 13 says "Each layer is a self-declared claim from the handshake, not a verified fact", which does not parse for a first-time reader. Say in plain terms that these are optional conformance profiles and that profiles_supported and profiles_accepted are advertisements, which is ordinary capability negotiation. Keep the "Who verifies" paragraph at line 45 for buyers.
  • §10 points at itself for the bytes that get signed. Line 350 says "the §10 canonical input" in the section's first sentence, and §10.2 (line 379) says "the canonical input defined in §10", while the definition is the unnumbered Signed input paragraph at line 356, which calls it the "canonical form". Point both sentences at the Signed input paragraph and use one name for it. PR #352 (section 10 verifier rules) and PR #339 (signature requirement versus schema, for issue #195) both rewrite line 350 and keep the self-citation, so whichever lands second should carry this fix.
  • §10.3 opens with a noun list and no verb: "request_id (UUID), timestamp (ISO 8601), and optional nonce (16–64 bytes)." (specification.md line 383). Make it a sentence that says these fields are the replay inputs. Their types are already in request-envelope.json.
  • Three places name fabrication as the alternative to omitting final_chain_hash: specification.md line 311, hooks.md line 256, and the subagent-stop.json description at line 22. A made-up value fails at once against the published chain head as CHAIN_MISMATCH, so it is not an option worth naming. Say the field is absent when the framework keeps no chain. PR #517 (postCompact fields) and PR #498 (Hooks page payload summaries) both rewrite hooks.md line 256 and keep the word.
  • The last sentence of Trust between agents in docs/concepts/agents.md line 29 ("depends on its trust basis, not on the fact that it arrived") only makes sense to a reader who already knows the Trust page. Say it plainly: arrival on the wire does not make a claim true, and reliance follows how the fact was produced, whether asserted, attached by the framework, or cryptographically attested. Keep the existing link to Trust basis.
  • The Provenance page opens with "lets trust launder silently" (docs/concepts/provenance.md line 3), and docs/concepts/trust.md line 31 says "trust laundering up the spectrum". Say what happens instead: if provenance or the trust basis is dropped at a boundary, untrusted or merely asserted data can be treated as trusted on the far side. Keep "laundering" only if it is glossed once, and do not make the Provenance opener depend on the Trust page.
  • The Trust basis spectrum in docs/concepts/trust.md (line 9, with rungs at lines 15 and 19) reads as levels of content trust. Framework-attached provenance strengthens confidence in the origin label, and a signature authenticates the emitter and the bytes, but neither makes text from an untrusted source more believable. Rewrite "Deterministically attached" and "Cryptographically attested" so they describe ACS metadata and channel claims (provenance fields, envelopes, and the audit chain) rather than the substance of the content.

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/agent-control-standard

All issues in GenAI-Security-Project/agent-control-standard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.