chore: bootstrap agnostic agent harness framework
This commit is contained in:
19
harness/contracts/evidence.schema.json
Normal file
19
harness/contracts/evidence.schema.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://arnes.local/evidence.schema.json",
|
||||
"title": "Gate Evidence",
|
||||
"type": "object",
|
||||
"required": ["feature_id", "agent", "verdict", "summary", "evidence", "timestamp"],
|
||||
"properties": {
|
||||
"feature_id": { "type": "string", "minLength": 1 },
|
||||
"agent": { "type": "string", "enum": ["reviewer", "security", "qa", "leader"] },
|
||||
"verdict": { "type": "string", "enum": ["APPROVED", "CHANGES_REQUESTED"] },
|
||||
"summary": { "type": "string", "minLength": 1 },
|
||||
"evidence": {
|
||||
"type": "array",
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"timestamp": { "type": "string", "format": "date-time" }
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
21
harness/contracts/handoff.md
Normal file
21
harness/contracts/handoff.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Handoff Contract
|
||||
|
||||
## Regla anti teléfono-descompuesto
|
||||
Los agentes **no** devuelven código en chat. Deben escribir a disco y responder solo:
|
||||
- `done -> <ruta>`
|
||||
- `blocked -> <ruta>`
|
||||
|
||||
## Rutas estándar por feature
|
||||
- `work/artifacts/<feature_id>/implementer.md`
|
||||
- `work/artifacts/<feature_id>/reviewer.json`
|
||||
- `work/artifacts/<feature_id>/security.json`
|
||||
- `work/artifacts/<feature_id>/qa.json`
|
||||
- `work/artifacts/<feature_id>/leader-close.json`
|
||||
|
||||
## Campos mínimos de artefactos JSON de gate
|
||||
- `feature_id` (string)
|
||||
- `agent` (reviewer|security|qa|leader)
|
||||
- `verdict` (APPROVED|CHANGES_REQUESTED)
|
||||
- `summary` (string)
|
||||
- `evidence` (array de comandos/salidas/rutas)
|
||||
- `timestamp` (ISO 8601)
|
||||
Reference in New Issue
Block a user