Wiki runtime · Manuel agent
Statut : v1 approuvé doc — codes runtime proposés à implémenter côté exécution
Index des codes mentionnés dans le wiki. Deux origines :
- agent-maker : validation / warnings YAML (existant dans le code).
- runtime (proposé) : à implémenter côté exécution — préfixe
{domaine}.{code}.
Instruction — runtime (proposé)
| Code | Condition | Fiche |
|---|
instruction.unresolved_placeholder | Placeholder requis absent avant appel LLM | algorithm |
Capacity — agent-maker (existant)
| Code | Condition | Fiche |
|---|
capacity.agent_not_found | Target kind: agent inconnu | a2a/delegation |
capacity.facet_not_found | Id de scope[] absent de la façade cible | idem |
capacity.scope_empty | scope[] vide | idem |
capacity.mcp_not_found | Connector MCP absent | mcp/yaml-model |
capacity.self_reference | Délégation vers soi-même | a2a/delegation |
MCP — runtime (proposé)
| Code | Condition | Fiche |
|---|
mcp.tool_denied | Outil hors grant à l'exécution | grants |
Warnings agent-maker (existant)
| Code | Condition | Fiche |
|---|
orphan.agent | Agent sans trigger ni parent kind: agent | triggers/common-rules |
orphan.mcp | Serveur MCP non référencé | — |
orphan.model | Modèle non utilisé | — |
trigger.external_no_facade | external-gateway sans facade | a2a/yaml-model |
instruction.unknown_variable | Variable inconnue dans template | — |
instruction.unused_required | Placeholder requis jamais fourni (lint éditeur) | — |
Note : pas de warning trigger.delegation_no_facade aujourd'hui — facade sur delegation-gateway reste recommandée doc-only.
Evals — agent-maker (existant)
Lacunes P0 (runtime proposé)
| Code | Condition | HTTP (indicatif) |
|---|
delegation.timeout | Délégation A2A dépasse le délai configuré | 504 |
delegation.max_depth | Profondeur context.depth > plafond | 400 |
delegation.target_not_found | target absent de agents[] | 404 |
a2a.wire_error | Erreur sérialisation / binding A2A | 502 |
a2a.auth_rejected | JWT / mTLS gateway refusé | 401 / 403 |
trigger.values_invalid | Payload HTTP ne mappe pas vers placeholders requis | 400 |
Voir a2a/internal-delegation.md · a2a/security.md.