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

Aperta
#537 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
183
Fork
56
Merge medio
3g 1h
PR unite (30g)
67

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GenAI-Security-Project/agent-control-standard

Tutte le issue di GenAI-Security-Project/agent-control-standard

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.