Handshake: declare MODIFY and ASK capability on the wire and tighten what the handshake negotiates
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- json, typescript
Línea de trabajo
Start with docs/spec/conformance.md, docs/spec/instrument/specification.md, and the v0.1.0 handshake and request-envelope schemas; compare the cited sections and lines against the review notes linked in the issue. Each checklist item asks for protocol or schema decisions across multiple files, so agree on the intended behavior before editing. Done means all six items are resolved consistently, with normative text and schema validation aligned.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 ClientHello, ServerHello, and capability negotiation. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit.
- The specification asks the Guardian to learn out of band which hooks a client emits (
docs/spec/conformance.mdline 32 forsubagentStart) while the same bullet says the optional hooks are "capability-negotiated via the handshake," and it never says why either mechanism is needed. The alternative is a rule on the harness: if the framework can observe or spawn an event, it MUST emit the hook, so absence means the event did not occur. Please either state the rationale formethods_implementedandmethods_evaluatedin the specification (for example a partial Guardian or an optional observability hook), or replace them with a fixed Core hook set plus conditional emission. Issue #16 (no signal for missing hook coverage) and issue #31 (methods_evaluatedallows accept-and-ignore) cover detection, not this design. - §6.5 tells the Guardian to learn out of band whether a client can apply
MODIFYand says v0.1 does not put that on the wire (docs/spec/instrument/specification.mdline 206), and §9.2 does the same forASK(line 335). ACS-Core already requires a handshake that declaresmethods_implementedandprofiles_supported, so the client's ability to apply MODIFY and to route ASK belongs in ClientHello (specification/v0.1.0/handshake.jsonlines 8 to 66). Please add both capabilities to ClientHello and make the §6.5 and §9.2 substitutions key on them. Issue #147 (a substituted DENY looks like a policy DENY) covers the record of a substitution, not the declaration. - The method-name pattern
^(steps/|protocols/|agbom/|trace/|system/|handshake/|wrapped:).+(specification/v0.1.0/handshake.jsonline 27,specification/v0.1.0/request-envelope.jsonline 14) acceptssteps/notAHook,trace/foo,wrapped:!!!, and, because it has no$, a name followed by a newline and anything else.methods_implementedmay be empty or hold duplicates, andmethods_evaluated(line 79) andper_method_mskeys (line 116) have no pattern at all. Please define one end-anchored method-name grammar (known names, or a tightnamespace/Nameform plus thewrapped:form), apply it to all four places, and addminItemsanduniqueItems. Separately, thehandshake.jsonroot (line 6) and theacs_schema.jsonreference to it (line 11) validate an empty object, and the requestpayloadforhandshake/hellois not checked againstClientHello. PR #496 (defer/subscribe) addsdefer/to the same two patterns and keeps the.+form. - Transport negotiation does nothing a client can act on.
handshake/helloalready arrives on a concrete transport,selected_transport(specification/v0.1.0/handshake.jsonlines 82 to 85) carries no address, port, or command and has no description, and nothing says it must be one oftransports_supportedor what the agent does when it differs from the current connection. §13 lets a failed ping "renegotiate transport" (docs/spec/instrument/specification.mdline 436) while deferringsystem/handshake_renegotiateto v0.2 (line 437). Please either deletetransports_supportedandselected_transportin v0.1, or specify the switch: which endpoint, when later hooks move, and what a mismatch means. Issue #165 and PR #348 (reference Guardian transport selection) fix the reference code only. - The ServerHello list in §4 (
docs/spec/instrument/specification.mdline 83) is an inventory, and several fields get no normative sentence anywhere.approver_types_supportedandselected_transportappear nowhere else indocs/,methods_evaluatedappears elsewhere only in the FAQ,timeout_config'sdefault_msandper_method_msshape is schema-only,trace_emissiongets one sentence about the collector endpoint, and thetrace_emissiondescriptions cite a "Section 3.15" that does not exist (specification/v0.1.0/handshake.jsonlines 154 and 155). Please give each field a normative sentence or stop listing it. PR #352 (§10 verifier rules) would definesignature_algorithms_supported, and issue #15 (handshake resolution rules) is related. - §4.1 says "Whether a Guardian can attach mid-flight to a session that started unguarded is undefined in v0.1" (
docs/spec/instrument/specification.mdline 102), which gives the Guardian an action the protocol does not have. Every v0.1 message is a request the Observed Agent sends, and v0.1 has no notifications (line 73), so a Guardian that was down at session start has nothing to send into that session. Please rephrase with the Observed Agent as the actor: say whether it may begin a handshake for asession_idit already started unguarded, and what happens to the actions it took before that hello. Issue #386 (re-handshake vs no renegotiation) asks the related legality question, and Bar Kaduri's pending default-deny PR for issue #32 will rewrite this paragraph, so whichever lands second should carry the change.
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 183
- Forks
- 56
- Merge medio
- 3 d 1 h
- PR fusionados (30 d)
- 67
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Los mantenedores suelen responder en 1 día
-
status:needs-triage type:docs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 96/100
GenAI-Security-Project/agent-control-standard#717 ·
Los mantenedores suelen responder en 1 día
-
status:needs-triage type:docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
GenAI-Security-Project/agent-control-standard#650 ·
Los mantenedores suelen responder en 1 día
-
priority:P1 status:needs-triage type:conformance
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertostatus:needs-triage type:conformance
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de GenAI-Security-Project/agent-control-standard
Issues similares
-
Media browser returns "Not found" for repositories using the SHA-256 object formatPosiblemente ocupada @adamchodera la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Follow-ups from #312Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
janhesters/remixcn#318 ·
Los mantenedores suelen responder en 1 día
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
danielmiessler/LifeOS#3150 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Make the "%" unit spacing the same in the web and in A10Posiblemente ocupada @kragent66-glitch la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 comentario ·