Intent: give immutability a mechanism, treat Intent as a wire type, and define goal-to-capability derivation

Open
#537 2 comments 0 reactions 0 assignees View on GitHub

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
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start by reading docs/concepts/intent.md, the cited schema sections in docs/spec/instrument/specification.md and the four named schema files, then compare the worked example in docs/topics/ACS_in_action_example.md. Resolve the three documented gaps: sealing and verifying Intent, defining its wire representation and naming, and specifying how goals derive capabilities. The issue is done when all three are addressed; partial fixes should reference issue #537 without closing it.

Written by the indexing model from the issue text.

Description

priority:P2 scope:deferred status:accepted type:proposal 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 notes on Intent. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit.

  • The Intent immutability rule (docs/concepts/intent.md line 13, docs/spec/instrument/specification.md line 297) is an invariant with no mechanism behind it. Nothing says who parses raw into parsed, and parser_provenance.origin: user_input is asserted by the sender: §8.4 line 295 requires that value, but session-start.json line 38 points at the generic provenance.json, which accepts any origin. Say how Intent is sealed when it is established, how a Guardian verifies the origin claim, and how a host stops the Observed Agent from supplying or rewriting Intent before it is committed. Issue #149 and PR #340 (which Intent is canonical) settle ordering only.
  • docs/concepts/intent.md line 3 says Intent is "not a wire format", but four schemas carry it (session-start.json lines 22 to 46, agent-trigger.json line 17, subagent-start.json line 28, and the parsed items in ask-details.json lines 44 to 57), each as an inline copy. One fix is to extract a shared Intent schema and document the on-wire types in prose, with raw as a free-text string and parsed as a capability list. The other is to drop "not a wire format" and say Intent is a governance concept with a wire representation. Either way, tool-call-request.json lines 45 to 52 reuse the name intent for an unrelated {description, goal} object, and that should get a different name.
  • docs/concepts/intent.md line 9 presents Intent.parsed as a permission set, but users state goals, and nothing says who turns a goal into permissions, from which inputs, or how over- and under-approximation are handled. The worked example stores a goal string as Intent (docs/topics/ACS_in_action_example.md lines 133 and 146), while the schema expects {tool, operation, resource} tuples. Specify the derivation contract, or stop presenting Intent.parsed as a set the user authors directly. Issue #385 (how capability compares to Intent.parsed) covers the shape mismatch, not the derivation.

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.