opencode-agent-orchestration-kit 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +1 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +65 -0
- package/.github/ISSUE_TEMPLATE/config.yml +11 -0
- package/.github/ISSUE_TEMPLATE/documentation.yml +22 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +43 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +25 -0
- package/.github/workflows/check.yml +47 -0
- package/CODE_OF_CONDUCT.md +24 -0
- package/CONTRIBUTING.md +52 -0
- package/LICENSE +201 -0
- package/NOTICE.md +23 -0
- package/README.md +806 -0
- package/SECURITY.md +17 -0
- package/docker/open-design/.env.example +6 -0
- package/docker/open-design/Dockerfile +50 -0
- package/docker/open-design/docker-compose.yml +18 -0
- package/docker/open-design/opencode-od/agents/od-worker.md +22 -0
- package/docker/open-design/opencode-od/opencode.json +24 -0
- package/docs/agents.md +21 -0
- package/docs/commands.md +16 -0
- package/docs/configuration.md +30 -0
- package/docs/docker-open-design.md +42 -0
- package/docs/impeccable.md +18 -0
- package/docs/installation.md +176 -0
- package/docs/models.md +17 -0
- package/docs/open-design.md +25 -0
- package/docs/quickstart.md +74 -0
- package/docs/releases/v1.0.10.md +46 -0
- package/docs/releases/v1.0.14.md +39 -0
- package/docs/releases/v1.0.27.md +66 -0
- package/docs/security.md +8 -0
- package/docs/superpowers/plans/2026-07-20-safe-installation-lifecycle.md +779 -0
- package/docs/superpowers/plans/2026-07-20-version-identity-and-releases.md +590 -0
- package/docs/superpowers/specs/2026-07-20-safe-installation-lifecycle-design.md +1350 -0
- package/docs/superpowers/specs/2026-07-20-version-identity-and-releases-design.md +557 -0
- package/docs/superpowers.md +34 -0
- package/docs/synology.md +30 -0
- package/docs/troubleshooting.md +54 -0
- package/docs/workflows.md +44 -0
- package/doctor.sh +5 -0
- package/env.example +15 -0
- package/install.sh +5 -0
- package/opencode/AGENTS.md +104 -0
- package/opencode/agents/debugger.md +41 -0
- package/opencode/agents/designer.md +93 -0
- package/opencode/agents/developer.md +180 -0
- package/opencode/agents/evaluator.md +35 -0
- package/opencode/agents/evolver.md +31 -0
- package/opencode/agents/lead.md +251 -0
- package/opencode/agents/researcher.md +76 -0
- package/opencode/agents/review_api.md +34 -0
- package/opencode/agents/review_coordinator.md +111 -0
- package/opencode/agents/review_quality.md +35 -0
- package/opencode/agents/review_security.md +35 -0
- package/opencode/agents/review_tests.md +37 -0
- package/opencode/agents/reviewer.md +116 -0
- package/opencode/agents/scoper.md +75 -0
- package/opencode/agents/specifier.md +116 -0
- package/opencode/commands/code-simplify.md +36 -0
- package/opencode/commands/design.md +27 -0
- package/opencode/commands/evolve.md +165 -0
- package/opencode/commands/feature.md +67 -0
- package/opencode/commands/implement.md +11 -0
- package/opencode/commands/init.md +34 -0
- package/opencode/commands/loop.md +145 -0
- package/opencode/commands/mvp-spec.md +20 -0
- package/opencode/commands/plan.md +74 -0
- package/opencode/commands/research.md +12 -0
- package/opencode/commands/review-orchestrated.md +47 -0
- package/opencode/commands/review-preflight.md +26 -0
- package/opencode/commands/review.md +18 -0
- package/opencode/commands/scope.md +36 -0
- package/opencode/commands/spec.md +12 -0
- package/opencode/commands/test.md +40 -0
- package/opencode/docs/ai/evolution/README.md +135 -0
- package/opencode/docs/ai/evolution/benchmarks/manual-scenarios.md +123 -0
- package/opencode/docs/ai/evolution/benchmarks/router-scenarios.jsonl +8 -0
- package/opencode/docs/ai/evolution/evolution_history.md +83 -0
- package/opencode/docs/ai/evolution/mechanisms.jsonl +7 -0
- package/opencode/docs/ai/evolution/rejected_mechanisms.jsonl +2 -0
- package/opencode/docs/ai/evolution/runs/README.md +15 -0
- package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/analysis/overview.md +12 -0
- package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/change_evaluation.json +108 -0
- package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/change_manifest.json +52 -0
- package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/evaluation.md +19 -0
- package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/post_evaluation.md +12 -0
- package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/analysis/overview.md +7 -0
- package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/change_evaluation.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/evaluation.md +19 -0
- package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/change_evaluation.json +66 -0
- package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/change_manifest.json +82 -0
- package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/evaluation.md +20 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/ahe-run-lifecycle-validator.md +40 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/evolve-evaluation-only-contract.md +15 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/open-design-tool-contract.md +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/slash-command-contract-coverage.md +40 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/overview.md +17 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/pre_apply_approval.md +15 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/change_evaluation.json +252 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/change_manifest.json +210 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/evaluation.md +25 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/post_apply_evaluation.md +15 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/post_manifest_evaluation.md +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/pre_apply_evaluation.md +15 -0
- package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/change_manifest.json +30 -0
- package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/evaluation.md +25 -0
- package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/change_manifest.json +29 -0
- package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/evaluation.md +18 -0
- package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/change_manifest.json +34 -0
- package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/evaluation.md +17 -0
- package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/change_evaluation.json +12 -0
- package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/change_manifest.json +28 -0
- package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/evaluation.md +17 -0
- package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/analysis/overview.md +9 -0
- package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/change_manifest.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/evaluation.md +18 -0
- package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/analysis/overview.md +12 -0
- package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/change_manifest.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/evaluation.md +17 -0
- package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/analysis/overview.md +10 -0
- package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/change_evaluation.json +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/change_manifest.json +30 -0
- package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/evaluation.md +17 -0
- package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/analysis/overview.md +25 -0
- package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/change_evaluation.json +28 -0
- package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/change_manifest.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/evaluation.md +22 -0
- package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/analysis/overview.md +27 -0
- package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/change_evaluation.json +32 -0
- package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/change_manifest.json +49 -0
- package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/evaluation.md +92 -0
- package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/detail/token-vs-semantic.md +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/overview.md +14 -0
- package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/evaluation.md +36 -0
- package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/analysis/overview.md +13 -0
- package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/change_evaluation.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/change_manifest.json +47 -0
- package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/evaluation.md +27 -0
- package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/analysis/overview.md +32 -0
- package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/change_evaluation.json +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/change_manifest.json +35 -0
- package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/evaluation.md +31 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-1-feature-sidecar-false-positive.md +51 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-2-checker-time-budget.md +52 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md +99 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/change_evaluation.json +61 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/change_manifest.json +61 -0
- package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md +448 -0
- package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/analysis/detail/intake-gray-zone.md +65 -0
- package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/analysis/overview.md +172 -0
- package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/evaluation.md +226 -0
- package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/analysis/detail/plan-only-gray-zone.md +62 -0
- package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/analysis/overview.md +167 -0
- package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/evaluation.md +163 -0
- package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/analysis/overview.md +42 -0
- package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/change_evaluation.json +46 -0
- package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/change_manifest.json +57 -0
- package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/evaluation.md +48 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/analysis/detail/contract-vs-runtime-gap.md +163 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/analysis/detail/evidence-collection-blocker.md +134 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/analysis/overview.md +111 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/change_evaluation.json +52 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/change_manifest.json +50 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/evaluation.md +46 -0
- package/opencode/docs/ai/evolution/runs/iteration-021/manifest-justification.md +48 -0
- package/opencode/docs/ai/evolution/session-sources.md +91 -0
- package/opencode/docs/ai/harness/README.md +32 -0
- package/opencode/docs/ai/harness/agents.md +148 -0
- package/opencode/docs/ai/harness/checks.md +119 -0
- package/opencode/docs/ai/harness/commands.md +391 -0
- package/opencode/docs/ai/harness/evidence.md +85 -0
- package/opencode/docs/ai/harness/init-detection-rules.md +160 -0
- package/opencode/docs/ai/harness/orchestrated-review.md +131 -0
- package/opencode/docs/ai/harness/skill-metadata-schema.md +198 -0
- package/opencode/docs/ai/harness/skill-resolution.md +202 -0
- package/opencode/docs/ai/harness/skill_registry.json +443 -0
- package/opencode/docs/ai/harness/skill_registry.md +43 -0
- package/opencode/docs/ai/project-context-template.md +53 -0
- package/opencode/opencode.json +38 -0
- package/opencode/package-lock.json +1717 -0
- package/opencode/package.json +11 -0
- package/opencode/plugins/token-tree-usage.tsx +206 -0
- package/opencode/references/performance-checklist.md +153 -0
- package/opencode/references/security-checklist.md +134 -0
- package/opencode/references/testing-patterns.md +236 -0
- package/opencode/scripts/check-harness.mjs +1572 -0
- package/opencode/scripts/check-harness.test.mjs +820 -0
- package/opencode/scripts/collect-session-evidence.mjs +612 -0
- package/opencode/scripts/collect-session-evidence.test.mjs +443 -0
- package/opencode/scripts/preflight-audit.mjs +497 -0
- package/opencode/scripts/preflight-audit.test.mjs +363 -0
- package/opencode/scripts/project-capability-snapshot.mjs +407 -0
- package/opencode/scripts/project-capability-snapshot.test.mjs +382 -0
- package/opencode/scripts/review-orchestrated-prepare.mjs +547 -0
- package/opencode/scripts/review-orchestrated-prepare.test.mjs +516 -0
- package/opencode/scripts/skill-resolver.mjs +585 -0
- package/opencode/scripts/skill-resolver.test.mjs +781 -0
- package/opencode/scripts/update-skill-registry.mjs +380 -0
- package/opencode/skills/api-and-interface-design/SKILL.md +315 -0
- package/opencode/skills/autonomous-loops/SKILL.md +312 -0
- package/opencode/skills/code-review-and-quality/SKILL.md +365 -0
- package/opencode/skills/code-simplification/SKILL.md +345 -0
- package/opencode/skills/context-engineering/SKILL.md +252 -0
- package/opencode/skills/debugging-and-error-recovery/SKILL.md +316 -0
- package/opencode/skills/documentation-and-adrs/SKILL.md +298 -0
- package/opencode/skills/doubt-driven-development/SKILL.md +168 -0
- package/opencode/skills/iterative-retrieval/SKILL.md +232 -0
- package/opencode/skills/open-design/SKILL.md +123 -0
- package/opencode/skills/performance-optimization/SKILL.md +365 -0
- package/opencode/skills/security-and-hardening/SKILL.md +369 -0
- package/opencode/skills/source-driven-development/SKILL.md +210 -0
- package/opencode/skills/test-driven-development/SKILL.md +406 -0
- package/opencode/skills/using-agent-skills/SKILL.md +194 -0
- package/opencode/skills/verification-loop/SKILL.md +162 -0
- package/opencode/tools/open_design.ts +361 -0
- package/opencode/tui.json +5 -0
- package/package.json +20 -0
- package/rollback.sh +5 -0
- package/scripts/check.sh +184 -0
- package/scripts/install-smoke.sh +111 -0
- package/scripts/manage-installation.mjs +1498 -0
- package/scripts/manage-installation.test.mjs +1936 -0
- package/scripts/version.mjs +197 -0
- package/scripts/version.test.mjs +195 -0
- package/uninstall.sh +5 -0
- package/upgrade.sh +5 -0
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
# Evaluación Iteración 017 — AHE Cycle
|
|
2
|
+
|
|
3
|
+
**Fecha:** 2026-05-30
|
|
4
|
+
**Iteración:** 017 (`ahe-cycle`)
|
|
5
|
+
**Estado:** evidencia suficiente para `debugger`; no procede propuesta de cambios todavía
|
|
6
|
+
|
|
7
|
+
## 1. Objetivo evaluado
|
|
8
|
+
|
|
9
|
+
Evaluar el estado actual del harness para `/evolve` y routing relacionado usando:
|
|
10
|
+
|
|
11
|
+
- artefactos staged de `session_sources`;
|
|
12
|
+
- evidencia primaria por `execution trees`;
|
|
13
|
+
- validaciones locales del harness;
|
|
14
|
+
- muestreo de árboles históricos para detectar fallos/riesgos de routing.
|
|
15
|
+
|
|
16
|
+
## 2. Scenarios ejecutados
|
|
17
|
+
|
|
18
|
+
| ID | Escenario | Tipo | Resultado |
|
|
19
|
+
| --- | --- | --- | --- |
|
|
20
|
+
| S1 | Integridad de staging `session_sources` + cursor incremental | static_contract | pass |
|
|
21
|
+
| S2 | Contrato documental actual de `/evolve` y sidecars opcionales | static_contract | pass |
|
|
22
|
+
| S3 | Corpus histórico: `/feature` no debe hacer sidecars obligatorios | transcript_replay sobre trees staged | fail |
|
|
23
|
+
| S4 | Corpus histórico: feature técnica con incertidumbre delega primero a `researcher` | transcript_replay sobre trees staged | pass |
|
|
24
|
+
| S5 | `node scripts/check-harness.mjs` | live_smoke | pass |
|
|
25
|
+
| S6 | `node --test scripts/check-harness.test.mjs` | live_smoke | fail |
|
|
26
|
+
| S7 | Replay live nuevo con `opencode run` para routing técnico | transcript_replay | not_run |
|
|
27
|
+
|
|
28
|
+
## 3. Resultados por escenario
|
|
29
|
+
|
|
30
|
+
### S1 — Integridad de staging `session_sources` + cursor incremental
|
|
31
|
+
|
|
32
|
+
**Resultado:** pass
|
|
33
|
+
|
|
34
|
+
**Comandos/pasos usados:**
|
|
35
|
+
|
|
36
|
+
- lectura de `raw/session-sources.summary.json`
|
|
37
|
+
- lectura de `raw/cursor.json`
|
|
38
|
+
- lectura parcial de `raw/execution-trees.jsonl`
|
|
39
|
+
|
|
40
|
+
**Evidencia:**
|
|
41
|
+
|
|
42
|
+
- `raw/session-sources.summary.json:4-22`
|
|
43
|
+
- `local-opencode-db`: discovered `375`, accepted `375`, skipped `0`
|
|
44
|
+
- `external-opencode-raw`: discovered `406`, accepted `164`, skipped `242`, `skip_reasons.empty_array=242`
|
|
45
|
+
- `raw/cursor.json:2-19`
|
|
46
|
+
- `cursor_mode=execution_tree_incremental`
|
|
47
|
+
- `cursor_start=null`
|
|
48
|
+
- `trees_discovered=129`, `trees_accepted=129`, `trees_skipped=0`
|
|
49
|
+
- supplemental raw: `matched=132`, `unmatched=32`
|
|
50
|
+
|
|
51
|
+
**Conclusión observable:** el staging requerido por `session-sources.md` existe, tiene conteos coherentes y el cursor incremental por árbol está presente.
|
|
52
|
+
|
|
53
|
+
### S2 — Contrato documental actual de `/evolve` y sidecars opcionales
|
|
54
|
+
|
|
55
|
+
**Resultado:** pass
|
|
56
|
+
|
|
57
|
+
**Comandos/pasos usados:**
|
|
58
|
+
|
|
59
|
+
- lectura de `commands/evolve.md`
|
|
60
|
+
- lectura de `docs/ai/harness/commands.md`
|
|
61
|
+
- lectura de `docs/ai/harness/checks.md`
|
|
62
|
+
|
|
63
|
+
**Evidencia:**
|
|
64
|
+
|
|
65
|
+
- `commands/evolve.md:76-111` documenta ramas `evaluation-only`, `debugger-only` / `no-apply` / `no-manifest` y bloquea `developer` sin manifest/aprobación.
|
|
66
|
+
- `docs/ai/harness/commands.md:157-201` replica el contrato de `/evolve`, incluyendo `session_sources`, `execution trees` y stop conditions.
|
|
67
|
+
- `docs/ai/harness/checks.md:36-43` declara que un run con `evaluation.md` pero sin `analysis/overview.md` ni `change_manifest.json` es un estado intermedio válido.
|
|
68
|
+
|
|
69
|
+
**Conclusión observable:** el contrato está escrito de forma compatible con auditorías sin aplicación y con sidecars no obligatorios fuera de `/evolve`.
|
|
70
|
+
|
|
71
|
+
### S3 — Corpus histórico: `/feature` no debe hacer sidecars obligatorios
|
|
72
|
+
|
|
73
|
+
**Resultado:** fail
|
|
74
|
+
|
|
75
|
+
**Comandos/pasos usados:**
|
|
76
|
+
|
|
77
|
+
- inspección de `raw/normalized-sessions.jsonl`
|
|
78
|
+
|
|
79
|
+
**Evidencia:**
|
|
80
|
+
|
|
81
|
+
- `raw/normalized-sessions.jsonl:101-109`
|
|
82
|
+
- root `ses_21cb97bcdffeE10ri056Aeafpz`
|
|
83
|
+
- prompt: `"/feature Prueba Test para probar todo el flujo..."`
|
|
84
|
+
- summary: `Agentes contactados: designer, researcher, specifier, developer, reviewer, evaluator, debugger, evolver.`
|
|
85
|
+
|
|
86
|
+
**Conclusión observable:** existe al menos un árbol aceptado donde `/feature` contactó `evaluator`, `debugger` y `evolver`, contradiciendo la regla de sidecars opcionales y el mecanismo rechazado `mech-sidecars-for-every-feature`.
|
|
87
|
+
|
|
88
|
+
### S4 — Corpus histórico: feature técnica con incertidumbre delega primero a `researcher`
|
|
89
|
+
|
|
90
|
+
**Resultado:** pass
|
|
91
|
+
|
|
92
|
+
**Comandos/pasos usados:**
|
|
93
|
+
|
|
94
|
+
- inspección de `raw/normalized-sessions.jsonl`
|
|
95
|
+
|
|
96
|
+
**Evidencia:**
|
|
97
|
+
|
|
98
|
+
- `raw/normalized-sessions.jsonl:110-111`
|
|
99
|
+
- root `ses_21ba737f5ffeKn3KgWOiw704wo` describe feature técnica con APIs de Polymarket
|
|
100
|
+
- child inmediato `ses_21ba6d31fffeKitYG0px0vpxUi` = `Research Polymarket APIs (@researcher subagent)`
|
|
101
|
+
|
|
102
|
+
**Conclusión observable:** el corpus también contiene un control positivo donde el routing técnico sí delega discovery sustantivo a `researcher` antes de la especificación/implementación.
|
|
103
|
+
|
|
104
|
+
### S5 — `node scripts/check-harness.mjs`
|
|
105
|
+
|
|
106
|
+
**Resultado:** pass
|
|
107
|
+
|
|
108
|
+
**Comando usado:**
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
node scripts/check-harness.mjs
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Evidencia:**
|
|
115
|
+
|
|
116
|
+
- salida observada: `Harness check passed.`
|
|
117
|
+
|
|
118
|
+
**Conclusión observable:** la estructura/documentación actual del harness supera el checker local en el estado actual del repo.
|
|
119
|
+
|
|
120
|
+
### S6 — `node --test scripts/check-harness.test.mjs`
|
|
121
|
+
|
|
122
|
+
**Resultado:** fail
|
|
123
|
+
|
|
124
|
+
**Comando usado:**
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
node --test scripts/check-harness.test.mjs
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Evidencia:**
|
|
131
|
+
|
|
132
|
+
- la ejecución no terminó dentro del timeout de 120s;
|
|
133
|
+
- salida final:
|
|
134
|
+
- `cancelled 1`
|
|
135
|
+
- `Promise resolution is still pending but the event loop has already resolved`
|
|
136
|
+
|
|
137
|
+
**Conclusión observable:** la suite de tests del checker no está estable en este entorno/estado y actualmente no puede usarse como validación verde de baseline.
|
|
138
|
+
|
|
139
|
+
### S7 — Replay live nuevo con `opencode run` para routing técnico
|
|
140
|
+
|
|
141
|
+
**Resultado:** not_run
|
|
142
|
+
|
|
143
|
+
**Comando usado:**
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
opencode run --format json --thinking --dir <harness-repo> --command feature "..."
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Evidencia:**
|
|
150
|
+
|
|
151
|
+
- el replay excedió el timeout de 180s antes de completar un primer handoff útil verificable;
|
|
152
|
+
- solo quedó evidencia parcial de skill loading e inspección inicial, insuficiente para un veredicto honesto de routing.
|
|
153
|
+
|
|
154
|
+
**Conclusión observable:** no se usa este replay como prueba concluyente en esta iteración.
|
|
155
|
+
|
|
156
|
+
## 4. Comandos usados
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
node scripts/check-harness.mjs
|
|
160
|
+
node --test scripts/check-harness.test.mjs
|
|
161
|
+
rtk git status --short --branch
|
|
162
|
+
opencode run --format json --thinking --dir <harness-repo> --command feature "..."
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Además se hicieron lecturas directas de:
|
|
166
|
+
|
|
167
|
+
- `commands/evolve.md`
|
|
168
|
+
- `docs/ai/harness/commands.md`
|
|
169
|
+
- `docs/ai/harness/checks.md`
|
|
170
|
+
- `docs/ai/evolution/session-sources.md`
|
|
171
|
+
- `docs/ai/evolution/benchmarks/manual-scenarios.md`
|
|
172
|
+
- `docs/ai/evolution/benchmarks/router-scenarios.jsonl`
|
|
173
|
+
- `docs/ai/evolution/mechanisms.jsonl`
|
|
174
|
+
- `docs/ai/evolution/rejected_mechanisms.jsonl`
|
|
175
|
+
- artefactos staged bajo `raw/`
|
|
176
|
+
|
|
177
|
+
## 5. Evidencia y rutas relevantes
|
|
178
|
+
|
|
179
|
+
- `docs/ai/evolution/runs/iteration-017-ahe-cycle/raw/session-sources.summary.json`
|
|
180
|
+
- `docs/ai/evolution/runs/iteration-017-ahe-cycle/raw/cursor.json`
|
|
181
|
+
- `docs/ai/evolution/runs/iteration-017-ahe-cycle/raw/execution-trees.jsonl`
|
|
182
|
+
- `docs/ai/evolution/runs/iteration-017-ahe-cycle/raw/normalized-sessions.jsonl`
|
|
183
|
+
- `commands/evolve.md`
|
|
184
|
+
- `docs/ai/harness/commands.md`
|
|
185
|
+
- `docs/ai/harness/checks.md`
|
|
186
|
+
- `docs/ai/evolution/rejected_mechanisms.jsonl`
|
|
187
|
+
|
|
188
|
+
## 6. Regresiones observadas
|
|
189
|
+
|
|
190
|
+
1. **Riesgo real de sidecar overreach en `/feature`.**
|
|
191
|
+
- Evidencia directa en `normalized-sessions.jsonl:101-109`.
|
|
192
|
+
- Impacto: contradice la regla de sidecars opcionales y puede inflar coste/contexto del flujo normal.
|
|
193
|
+
|
|
194
|
+
2. **Suite de tests del checker no fiable como smoke verde.**
|
|
195
|
+
- Evidencia: `node --test scripts/check-harness.test.mjs` cancelado por promesa pendiente.
|
|
196
|
+
- Impacto: reduce confianza en la red de seguridad automática del checker.
|
|
197
|
+
|
|
198
|
+
## 7. Limitaciones
|
|
199
|
+
|
|
200
|
+
- El working tree observado durante la evaluación ya no coincide con el intake declarado: `rtk git status --short --branch` mostró `* master`, `M agents/lead.md` y `?? docs/ai/evolution/runs/iteration-017-ahe-cycle/`. No atribuyo ese diff al objetivo evaluado salvo este artefacto `evaluation.md`.
|
|
201
|
+
- El replay live nuevo con `opencode run` no produjo un primer handoff verificable dentro del timeout; por honestidad queda como `not_run`.
|
|
202
|
+
- No se inspeccionaron directorios externos directamente; se usó el staging existente en `raw/`.
|
|
203
|
+
|
|
204
|
+
## 8. Handoff para debugger/reviewer
|
|
205
|
+
|
|
206
|
+
### Para `debugger`
|
|
207
|
+
|
|
208
|
+
- Prioridad 1: atribuir por qué el corpus aún contiene un `/feature` con sidecars obligatorios (`ses_21cb97bcdffeE10ri056Aeafpz`).
|
|
209
|
+
- Prioridad 2: atribuir la causa del fallo/hang de `scripts/check-harness.test.mjs`.
|
|
210
|
+
- Falsificación mínima sugerida:
|
|
211
|
+
- encontrar evidencia de que `ses_21cb97...` es un test artificial ya mitigado por reglas posteriores y no representa comportamiento actual; o
|
|
212
|
+
- demostrar con replay estable que el routing actual ya no reproduce ese patrón.
|
|
213
|
+
|
|
214
|
+
### Para `reviewer`
|
|
215
|
+
|
|
216
|
+
- No revisar cambios de harness todavía.
|
|
217
|
+
- Revisar después cualquier propuesta de cambio contra estos dos focos y contra `rejected_mechanisms.jsonl` para evitar introducir sidecars obligatorios por accidente.
|
|
218
|
+
|
|
219
|
+
## 9. Recomendación de continuidad
|
|
220
|
+
|
|
221
|
+
**Proceed:** sí, hay evidencia suficiente para pasar a `debugger`.
|
|
222
|
+
|
|
223
|
+
Motivo:
|
|
224
|
+
|
|
225
|
+
- hay un fallo observable de routing/proceso en corpus aceptado;
|
|
226
|
+
- hay un fallo observable en validación automática local;
|
|
227
|
+
- el contrato actual de `/evolve` y el staging de `execution trees` están suficientemente documentados y verificables para soportar atribución.
|
|
228
|
+
|
|
229
|
+
## 10. Session sources
|
|
230
|
+
|
|
231
|
+
### Por fuente
|
|
232
|
+
|
|
233
|
+
- `local-opencode-db`
|
|
234
|
+
- discovered: `375`
|
|
235
|
+
- accepted: `375`
|
|
236
|
+
- skipped: `0`
|
|
237
|
+
- skip_reasons: `{}`
|
|
238
|
+
|
|
239
|
+
- `external-opencode-raw`
|
|
240
|
+
- discovered: `406`
|
|
241
|
+
- accepted: `164`
|
|
242
|
+
- skipped: `242`
|
|
243
|
+
- skip_reasons: `{ "empty_array": 242 }`
|
|
244
|
+
|
|
245
|
+
## 11. Execution trees
|
|
246
|
+
|
|
247
|
+
- trees evaluadas: `129` staged
|
|
248
|
+
- cursor start: `null`
|
|
249
|
+
- cursor end: `time_updated_max=1780128847905`, `root_session_id=ses_1880e3155ffeS87I6VQB6W9YHZ`
|
|
250
|
+
- roots nuevas o actualizadas revisadas en detalle: `4`
|
|
251
|
+
- `ses_1883bebdbffeDVUV69GzTZVo9H`
|
|
252
|
+
- `ses_1880e3155ffeS87I6VQB6W9YHZ`
|
|
253
|
+
- `ses_21cb97bcdffeE10ri056Aeafpz`
|
|
254
|
+
- `ses_21ba737f5ffeKn3KgWOiw704wo`
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
# Addendum post-apply — 2026-05-30
|
|
259
|
+
|
|
260
|
+
Este bloque reevalúa la misma iteración **después** de aplicar los cambios
|
|
261
|
+
documentales aprobados. No sustituye la evidencia pre-apply; la complementa.
|
|
262
|
+
|
|
263
|
+
## 12. Objetivo evaluado
|
|
264
|
+
|
|
265
|
+
Verificar si los cambios aplicados en:
|
|
266
|
+
|
|
267
|
+
- `commands/evolve.md`
|
|
268
|
+
- `docs/ai/harness/commands.md`
|
|
269
|
+
- `docs/ai/harness/checks.md`
|
|
270
|
+
- `docs/ai/evolution/README.md`
|
|
271
|
+
|
|
272
|
+
respaldan a nivel de evidencia las predicted fixes del manifest para:
|
|
273
|
+
|
|
274
|
+
1. clasificación consistente de evidencia natural vs sintética/coercitiva;
|
|
275
|
+
2. distinción consistente entre smoke rápido y suite larga del checker;
|
|
276
|
+
3. límites de lo aún no verificable sin corpus/replay futuro.
|
|
277
|
+
|
|
278
|
+
## 13. Escenarios ejecutados
|
|
279
|
+
|
|
280
|
+
| ID | Escenario | Tipo | Resultado |
|
|
281
|
+
| --- | --- | --- | --- |
|
|
282
|
+
| PA1 | Consistencia documental: natural vs sintético/coercitivo | static_contract | pass |
|
|
283
|
+
| PA2 | Consistencia documental: smoke rápido vs suite larga con presupuesto explícito | static_contract | pass |
|
|
284
|
+
| PA3 | Validación local del checker en estado post-apply sin `change_evaluation.json` | live_smoke | pass |
|
|
285
|
+
| PA4 | Confirmación conductual con corpus/replay futuro | transcript_replay | not_run |
|
|
286
|
+
|
|
287
|
+
## 14. Resultados post-apply por escenario
|
|
288
|
+
|
|
289
|
+
### PA1 — Consistencia documental: natural vs sintético/coercitivo
|
|
290
|
+
|
|
291
|
+
**Resultado:** pass
|
|
292
|
+
|
|
293
|
+
**Comandos/pasos usados:**
|
|
294
|
+
|
|
295
|
+
- lectura de `commands/evolve.md`
|
|
296
|
+
- lectura de `docs/ai/harness/commands.md`
|
|
297
|
+
- lectura de `docs/ai/evolution/README.md`
|
|
298
|
+
- búsqueda textual por `sintético|coercitivo|segunda prueba|sidecar-overreach`
|
|
299
|
+
|
|
300
|
+
**Evidencia:**
|
|
301
|
+
|
|
302
|
+
- `commands/evolve.md:117-125`
|
|
303
|
+
- clasifica prompts coercitivos como tests sintéticos/coercitivos de routing;
|
|
304
|
+
- exige una segunda prueba antes de afirmar sidecar-overreach;
|
|
305
|
+
- preserva la legalidad de requests donde el usuario sí pide sidecars.
|
|
306
|
+
- `docs/ai/harness/commands.md:206-214`
|
|
307
|
+
- replica la misma regla dentro del contrato general de `/evolve`.
|
|
308
|
+
- `docs/ai/evolution/README.md:69-79`
|
|
309
|
+
- fija la misma higiene mínima de evidencia a nivel de guía AHE.
|
|
310
|
+
|
|
311
|
+
**Conclusión observable:** la clasificación synthetic-vs-natural quedó documentada
|
|
312
|
+
de forma consistente en las tres superficies objetivo del cambio `chg-17-1`.
|
|
313
|
+
|
|
314
|
+
### PA2 — Consistencia documental: smoke rápido vs suite larga con presupuesto explícito
|
|
315
|
+
|
|
316
|
+
**Resultado:** pass
|
|
317
|
+
|
|
318
|
+
**Comandos/pasos usados:**
|
|
319
|
+
|
|
320
|
+
- lectura de `commands/evolve.md`
|
|
321
|
+
- lectura de `docs/ai/harness/commands.md`
|
|
322
|
+
- lectura de `docs/ai/harness/checks.md`
|
|
323
|
+
- lectura de `docs/ai/evolution/README.md`
|
|
324
|
+
- búsqueda textual por `smoke rápido|suite larga|presupuesto|runtime observado|timeout`
|
|
325
|
+
|
|
326
|
+
**Evidencia:**
|
|
327
|
+
|
|
328
|
+
- `commands/evolve.md:31-39`
|
|
329
|
+
- distingue smoke local vs suite larga y exige presupuesto temporal explícito.
|
|
330
|
+
- `docs/ai/harness/commands.md:181-188`
|
|
331
|
+
- replica la misma expectativa para AHE.
|
|
332
|
+
- `docs/ai/harness/checks.md:11-24,79-83`
|
|
333
|
+
- define el smoke barato, la suite larga y la regla operativa de registrar presupuesto/runtime.
|
|
334
|
+
- `docs/ai/evolution/README.md:188-196`
|
|
335
|
+
- documenta el mismo split en el criterio de listo.
|
|
336
|
+
|
|
337
|
+
**Conclusión observable:** la distinción smoke-vs-full-checker-budget quedó
|
|
338
|
+
documentada de forma consistente en las cuatro superficies objetivo del cambio
|
|
339
|
+
`chg-17-2`.
|
|
340
|
+
|
|
341
|
+
### PA3 — Validación local del checker en estado post-apply sin `change_evaluation.json`
|
|
342
|
+
|
|
343
|
+
**Resultado:** pass
|
|
344
|
+
|
|
345
|
+
**Comandos usados:**
|
|
346
|
+
|
|
347
|
+
```bash
|
|
348
|
+
rtk git status --short --branch
|
|
349
|
+
node scripts/check-harness.mjs
|
|
350
|
+
node --test scripts/check-harness.test.mjs
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
**Evidencia:**
|
|
354
|
+
|
|
355
|
+
- `rtk git status --short --branch`
|
|
356
|
+
- working tree con cambios locales y `?? docs/ai/evolution/runs/iteration-017-ahe-cycle/`.
|
|
357
|
+
- `node scripts/check-harness.mjs`
|
|
358
|
+
- falla con: `docs/ai/evolution/runs/iteration-017-ahe-cycle: manifest exists without change_evaluation.json`.
|
|
359
|
+
- `node --test scripts/check-harness.test.mjs`
|
|
360
|
+
- `pass 13`, `fail 1`, `duration_ms 83166.062`;
|
|
361
|
+
- el único fallo replica exactamente el mismo gating de lifecycle:
|
|
362
|
+
`manifest exists without change_evaluation.json`.
|
|
363
|
+
|
|
364
|
+
**Conclusión observable:** en el estado actual del repo, ambos checks quedan en
|
|
365
|
+
rojo por la dependencia de lifecycle ya esperada cuando existe manifest sin
|
|
366
|
+
`change_evaluation.json`. Esta evidencia **no contradice** las predicted fixes
|
|
367
|
+
aplicadas; tampoco demuestra por sí sola una regresión nueva del harness.
|
|
368
|
+
|
|
369
|
+
### PA4 — Confirmación conductual con corpus/replay futuro
|
|
370
|
+
|
|
371
|
+
**Resultado:** not_run
|
|
372
|
+
|
|
373
|
+
**Motivo:** la petición pidió evaluar las surfaces documentales aplicadas y no
|
|
374
|
+
crear `change_evaluation.json`. La confirmación fuerte de comportamiento exigiría
|
|
375
|
+
una nueva medición sobre corpus/replay posterior a estas reglas, no solo
|
|
376
|
+
inspección estática.
|
|
377
|
+
|
|
378
|
+
**Qué queda pendiente verificar:**
|
|
379
|
+
|
|
380
|
+
- que el evaluator futuro deje de tratar un árbol coercitivo como baseline natural sin segunda prueba;
|
|
381
|
+
- que el clasificador no sea tan amplio que capture requests legítimas donde el usuario sí pide sidecars;
|
|
382
|
+
- que una nueva corrida AHE con `change_evaluation.json` ya presente devuelva el checker al estado esperado para ese lifecycle;
|
|
383
|
+
- que el budget documentado siga siendo suficiente cuando el repo crezca.
|
|
384
|
+
|
|
385
|
+
## 15. Evaluación de predicted fixes del manifest
|
|
386
|
+
|
|
387
|
+
### `chg-17-1`
|
|
388
|
+
|
|
389
|
+
- `feature-sidecar-false-positive`: **supported (documentation evidence)**
|
|
390
|
+
- `synthetic-routing-test-misclassified-as-natural-feature`: **supported (documentation evidence)**
|
|
391
|
+
|
|
392
|
+
Motivo observable:
|
|
393
|
+
|
|
394
|
+
- las superficies cambiadas ahora alinean la regla de clasificación;
|
|
395
|
+
- la claim de sidecar-overreach requiere segunda prueba independiente;
|
|
396
|
+
- se preserva la legalidad de requests explícitas del usuario.
|
|
397
|
+
|
|
398
|
+
Límite:
|
|
399
|
+
|
|
400
|
+
- aún no está verificado con nueva medición de corpus natural o replay estable.
|
|
401
|
+
|
|
402
|
+
### `chg-17-2`
|
|
403
|
+
|
|
404
|
+
- `checker-suite-timeout-misclassification`: **supported (documentation evidence)**
|
|
405
|
+
- `ahe-validation-budget-underreported`: **supported (documentation evidence)**
|
|
406
|
+
|
|
407
|
+
Motivo observable:
|
|
408
|
+
|
|
409
|
+
- las superficies cambiadas distinguen explícitamente smoke rápido vs suite larga;
|
|
410
|
+
- exigen presupuesto temporal superior al default y registro de runtime observado;
|
|
411
|
+
- la rerun actual del suite ya no falla por timeout sino por lifecycle gating conocido.
|
|
412
|
+
|
|
413
|
+
Límite:
|
|
414
|
+
|
|
415
|
+
- aún no está verificado que futuros evaluators reporten siempre esa diferencia correctamente;
|
|
416
|
+
- tampoco queda falsado aquí el risk task de hidden async leak, aunque la evidencia actual no lo reactiva.
|
|
417
|
+
|
|
418
|
+
## 16. Regresiones observadas post-apply
|
|
419
|
+
|
|
420
|
+
- No vi regresiones nuevas en las superficies objetivo evaluadas.
|
|
421
|
+
- Persiste una dependencia de lifecycle: con manifest presente, el checker exige
|
|
422
|
+
`change_evaluation.json`. Dado el contexto de esta tarea, se trata como
|
|
423
|
+
limitación/estado esperado y no como regresión automática del cambio aplicado.
|
|
424
|
+
|
|
425
|
+
## 17. Limitaciones post-apply
|
|
426
|
+
|
|
427
|
+
- Esta reevaluación se centró en inspección estática y checks locales mínimos.
|
|
428
|
+
- No se creó `change_evaluation.json` por restricción explícita de la tarea.
|
|
429
|
+
- No se hizo replay nuevo ni nueva curación de corpus natural; por tanto la
|
|
430
|
+
confirmación fuerte de comportamiento queda diferida.
|
|
431
|
+
- El working tree no está limpio y contiene cambios fuera de las cuatro
|
|
432
|
+
superficies objetivo; no los atribuyo a esta evaluación salvo el propio
|
|
433
|
+
`evaluation.md`.
|
|
434
|
+
|
|
435
|
+
## 18. Handoff para debugger/reviewer
|
|
436
|
+
|
|
437
|
+
### Para `debugger`
|
|
438
|
+
|
|
439
|
+
- Si hace falta confirmación fuerte, la siguiente pieza útil es una medición con
|
|
440
|
+
corpus/replay posterior que pruebe que la regla de segunda evidencia se aplica
|
|
441
|
+
de verdad y no solo está escrita.
|
|
442
|
+
|
|
443
|
+
### Para `reviewer`
|
|
444
|
+
|
|
445
|
+
- A nivel de evidencia documental, las predicted fixes del manifest quedan
|
|
446
|
+
soportadas.
|
|
447
|
+
- Lo todavía no verificado pertenece a risk tasks de comportamiento futuro, no a
|
|
448
|
+
inconsistencia textual de las surfaces cambiadas.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Detail: planning-prompt intake gray zone
|
|
2
|
+
|
|
3
|
+
## Question
|
|
4
|
+
|
|
5
|
+
Does current evidence show that `lead` is doing too much of the planning/discovery work itself before the first handoff in free-message planning prompts?
|
|
6
|
+
|
|
7
|
+
## Evidence
|
|
8
|
+
|
|
9
|
+
### Contracts
|
|
10
|
+
|
|
11
|
+
- `agents/lead.md:69-73` permits light inspection for routing.
|
|
12
|
+
- `agents/lead.md:53-60` forbids deep investigation and says substantive understanding should go to `researcher`.
|
|
13
|
+
- `docs/ai/harness/commands.md:13-15` routes technical uncertainty to `researcher` and routes directly to `specifier` only when context is already sufficient.
|
|
14
|
+
|
|
15
|
+
### Replay observations
|
|
16
|
+
|
|
17
|
+
#### `ses_187e0a2d6ffe40q84bHbdIiEWW` — plan-only, no implementation
|
|
18
|
+
|
|
19
|
+
- Lead says it already performed a “light context check”.
|
|
20
|
+
- Lead identifies relevant control-point docs.
|
|
21
|
+
- Lead still chooses `researcher` first rather than implementing or specifying directly.
|
|
22
|
+
|
|
23
|
+
#### `ses_187dfda06ffeY8Q50Sii1mVjuH` — complex planning request
|
|
24
|
+
|
|
25
|
+
- Complete tree is coherent: `lead -> researcher -> specifier`.
|
|
26
|
+
- Research and specification were delegated in the expected order.
|
|
27
|
+
- No sidecars appeared.
|
|
28
|
+
|
|
29
|
+
## What is actually proven
|
|
30
|
+
|
|
31
|
+
### Facts
|
|
32
|
+
|
|
33
|
+
- Lead sometimes reads enough to name key docs before the first handoff in planning-oriented free messages.
|
|
34
|
+
- In the observed replays, that pre-handoff reading did **not** cause a wrong-first-handoff, skipped research, premature implementation, or phase inversion.
|
|
35
|
+
|
|
36
|
+
### Inference
|
|
37
|
+
|
|
38
|
+
- The observed behavior is compatible with the current contract.
|
|
39
|
+
- The main unresolved issue is evaluator/debugger classification: the contract allows light intake, but the replay set does not define a hard observable threshold for when planning-oriented intake becomes substantive research.
|
|
40
|
+
|
|
41
|
+
### Not proven
|
|
42
|
+
|
|
43
|
+
- Not proven that lead is overreaching.
|
|
44
|
+
- Not proven that direct `specifier` would have been more correct.
|
|
45
|
+
- Not proven that this is a regression.
|
|
46
|
+
|
|
47
|
+
## Why this matters
|
|
48
|
+
|
|
49
|
+
This gray zone is operationally important for future audits because it can create false positives:
|
|
50
|
+
|
|
51
|
+
- one auditor may classify “read a few contract docs before delegating” as acceptable intake;
|
|
52
|
+
- another may classify the same behavior as delayed research handoff.
|
|
53
|
+
|
|
54
|
+
Current evidence is enough to flag the ambiguity, but not enough to demand a harness change.
|
|
55
|
+
|
|
56
|
+
## Falsification criteria
|
|
57
|
+
|
|
58
|
+
Escalate beyond audit only if future complete-tree evidence shows at least one of these under natural or stable replay conditions:
|
|
59
|
+
|
|
60
|
+
1. lead resolves substantive planning or technical uncertainty itself before any `researcher` handoff;
|
|
61
|
+
2. lead reads broad repo/config/code evidence that is necessary to answer the planning question, not just to route it;
|
|
62
|
+
3. direct-to-`specifier` happens while research-sensitive uncertainty is still open;
|
|
63
|
+
4. repeated natural free-message trees show materially different first-handoff behavior for the same planning class.
|
|
64
|
+
|
|
65
|
+
Absent that, the current best attribution is: **gray zone in auditability, not confirmed routing failure**.
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Debugger Overview — iteration-018-free-message-routing-audit
|
|
2
|
+
|
|
3
|
+
## 1. Evidencia analizada
|
|
4
|
+
|
|
5
|
+
- `evaluation.md`
|
|
6
|
+
- staged tree artifacts under `raw/`:
|
|
7
|
+
- `execution-trees.jsonl`
|
|
8
|
+
- `normalized-sessions.jsonl`
|
|
9
|
+
- `session-sources.summary.json`
|
|
10
|
+
- `cursor.json`
|
|
11
|
+
- repo contracts used for attribution:
|
|
12
|
+
- `agents/lead.md`
|
|
13
|
+
- `docs/ai/harness/commands.md`
|
|
14
|
+
- `docs/ai/harness/agents.md`
|
|
15
|
+
- `docs/ai/harness/evidence.md`
|
|
16
|
+
- replay-tree confirmation from `~/.local/share/opencode/opencode.db` for the evaluator sessions cited in `evaluation.md`
|
|
17
|
+
|
|
18
|
+
Method note: attribution is based on complete trees first. Child sessions were only inspected after reconstructing the parent tree.
|
|
19
|
+
|
|
20
|
+
## 2. Estado
|
|
21
|
+
|
|
22
|
+
**Estado:** no listo para evolver/spec; **listo para cerrar como audit**.
|
|
23
|
+
|
|
24
|
+
Reason: the current evidence supports a routing audit conclusion, but does **not** show a confirmed routing defect strong enough to justify an evolver phase.
|
|
25
|
+
|
|
26
|
+
## 3. Pattern summary
|
|
27
|
+
|
|
28
|
+
### A. Over-delegation
|
|
29
|
+
|
|
30
|
+
- **Observed historical-corpus behavior:** none confirmed.
|
|
31
|
+
- **Replay-confirmed behavior:** none.
|
|
32
|
+
- **Conclusion:** no evidence that free-message routing is over-delegating in the current sample.
|
|
33
|
+
|
|
34
|
+
### B. Wrong-first-handoff
|
|
35
|
+
|
|
36
|
+
- **Observed historical-corpus behavior:** one staged free-message tree (`ses_18807423fffey1ToAgBg9YtyaI`) routes `lead -> researcher`, but the prompt is synthetic/coercive, so it only proves that path exists.
|
|
37
|
+
- **Replay-confirmed behavior:**
|
|
38
|
+
- small/clear/low-risk prompt: lead keeps fast-path intent toward `developer`.
|
|
39
|
+
- technical-uncertainty prompt: lead chooses `researcher` first.
|
|
40
|
+
- plan-only prompt: lead avoids implementation and routes toward research/spec flow.
|
|
41
|
+
- **Conclusion:** no wrong-first-handoff confirmed.
|
|
42
|
+
|
|
43
|
+
### C. Sidecar overreach
|
|
44
|
+
|
|
45
|
+
- **Observed historical-corpus behavior:** sidecars in staged corpus appear only in `/evolve` trees.
|
|
46
|
+
- **Replay-confirmed behavior:** none of the normal free-message replays invoked `evaluator`, `debugger`, or `evolver`.
|
|
47
|
+
- **Conclusion:** no sidecar overreach confirmed.
|
|
48
|
+
|
|
49
|
+
### D. Incoherent sequencing in multi-delegation trees
|
|
50
|
+
|
|
51
|
+
- **Observed historical-corpus behavior:** no natural historical tree available to test this.
|
|
52
|
+
- **Replay-confirmed behavior:** complex planning replay root `ses_187dfda06ffeY8Q50Sii1mVjuH` produced coherent sequencing `lead -> researcher -> specifier`, with no extra agents and no phase inversion.
|
|
53
|
+
- **Conclusion:** no incoherent sequencing confirmed.
|
|
54
|
+
|
|
55
|
+
## 4. Root causes
|
|
56
|
+
|
|
57
|
+
### RC0 — No confirmed routing failure in the available evidence
|
|
58
|
+
|
|
59
|
+
**Facts**
|
|
60
|
+
- The staged historical corpus accepted by cursor contains only `3` trees, `2` of which are `/evolve` and therefore not baseline free-message evidence.
|
|
61
|
+
- The only staged free-message tree is synthetic/coercive and cannot stand in for natural baseline behavior.
|
|
62
|
+
- Replays cover the requested routing classes and all passed evaluator criteria.
|
|
63
|
+
- The complex replay tree shows the expected phase order without sidecars.
|
|
64
|
+
|
|
65
|
+
**Inference**
|
|
66
|
+
- The observed system behavior currently matches the declared routing contract for the scenarios tested.
|
|
67
|
+
|
|
68
|
+
**Impact**
|
|
69
|
+
- There is no evidence-backed defect to hand to `evolver`.
|
|
70
|
+
|
|
71
|
+
### RC1 — Evidence gap: weak natural historical baseline for free-message routing
|
|
72
|
+
|
|
73
|
+
**Facts**
|
|
74
|
+
- `cursor.json` shows only `3` accepted trees in the staged slice.
|
|
75
|
+
- `evaluation.md` explicitly records that the historical corpus is too small for a robust natural baseline.
|
|
76
|
+
- Natural routing conclusions therefore rest mostly on fresh replays, not on a broad historical sample.
|
|
77
|
+
|
|
78
|
+
**Inference**
|
|
79
|
+
- The main limitation is not a harness routing bug but insufficient naturally occurring tree evidence in this staged window.
|
|
80
|
+
|
|
81
|
+
**Impact**
|
|
82
|
+
- We can confirm absence of obvious failure in the tested scenarios, but not claim strong behavioral stability across broader natural traffic.
|
|
83
|
+
|
|
84
|
+
### RC2 — Contract gray zone: allowed lead intake vs. delegated research remains under-falsified for planning prompts
|
|
85
|
+
|
|
86
|
+
**Facts**
|
|
87
|
+
- `agents/lead.md` allows light inspection to route (`69-73`) and says substantive understanding should go to `researcher` (`53-60`).
|
|
88
|
+
- `docs/ai/harness/commands.md` says free-message routing may go directly to `specifier` when context is sufficient (`15`) and to `researcher` when uncertainty exists (`13`).
|
|
89
|
+
- In the plan-only replay `ses_187e0a2d6ffe40q84bHbdIiEWW`, lead reports a light context check before saying it would delegate to `researcher`.
|
|
90
|
+
- In the complex replay, lead lightly inspected docs before handing off to `researcher`, then to `specifier`; the resulting tree remained coherent.
|
|
91
|
+
|
|
92
|
+
**Inference**
|
|
93
|
+
- This is not a confirmed defect. It is a classification gray zone: current contracts allow some lead-owned intake, but the replay set does not yet falsify where planning-oriented intake should stop and delegated research should begin.
|
|
94
|
+
|
|
95
|
+
**Impact**
|
|
96
|
+
- This ambiguity can affect future audits, because different evaluators may classify the same pre-handoff reading differently.
|
|
97
|
+
|
|
98
|
+
See `analysis/detail/intake-gray-zone.md`.
|
|
99
|
+
|
|
100
|
+
## 5. Fixes candidatos por nivel de componente
|
|
101
|
+
|
|
102
|
+
No evidence-backed fixes are recommended at this time.
|
|
103
|
+
|
|
104
|
+
If a future iteration collects stronger contrary evidence, the likely component level would be:
|
|
105
|
+
- `workflow/evidence`: improve natural baseline collection for free-message trees.
|
|
106
|
+
- `agent/command contract`: only if future complete-tree evidence shows lead crossing from light intake into substantive planning/discovery before first handoff.
|
|
107
|
+
|
|
108
|
+
For this audit, proposing actual harness changes would overreach the evidence.
|
|
109
|
+
|
|
110
|
+
## 6. Riesgos y regresiones
|
|
111
|
+
|
|
112
|
+
### Confirmed regressions
|
|
113
|
+
|
|
114
|
+
- None.
|
|
115
|
+
|
|
116
|
+
### Open risks
|
|
117
|
+
|
|
118
|
+
- **Audit repeatability risk:** with such a small natural staged sample, future audits may depend too heavily on replay prompts.
|
|
119
|
+
- **Classification drift risk:** the intake-vs-research boundary in planning prompts may be interpreted inconsistently until a stronger natural corpus or a more falsable benchmark exists.
|
|
120
|
+
|
|
121
|
+
### Not supported by evidence
|
|
122
|
+
|
|
123
|
+
- claiming `researcher` is overused in free-message normal flow
|
|
124
|
+
- claiming `developer` fast-path is broken
|
|
125
|
+
- claiming sidecars leak into normal flow
|
|
126
|
+
- claiming multi-delegation sequencing is incoherent
|
|
127
|
+
|
|
128
|
+
## 7. Atribución de cambios previos
|
|
129
|
+
|
|
130
|
+
No `change_manifest.json` exists for this iteration, so there is no prior change set to score as `keep`, `improve`, or `rollback+pivot`.
|
|
131
|
+
|
|
132
|
+
Relevant historical note only: iteration 006 already tightened the `/feature` intake-vs-research boundary, but this iteration does not present evidence of a new regression in free-message routing.
|
|
133
|
+
|
|
134
|
+
## 8. Handoff para lead / specifier / evolver / reviewer
|
|
135
|
+
|
|
136
|
+
### Concise pattern summary
|
|
137
|
+
|
|
138
|
+
- No confirmed over-delegation.
|
|
139
|
+
- No confirmed wrong-first-handoff.
|
|
140
|
+
- No confirmed sidecar overreach in normal free-message flow.
|
|
141
|
+
- No confirmed incoherent sequencing; the only multi-delegation replay was coherent.
|
|
142
|
+
- The only meaningful open question is the planning-prompt gray zone around how much lead-owned intake is acceptable before first handoff.
|
|
143
|
+
|
|
144
|
+
### Confidence
|
|
145
|
+
|
|
146
|
+
- **Medium** for the replay-confirmed conclusions.
|
|
147
|
+
- **Low-to-medium** for historical-baseline claims, because the staged natural corpus is thin.
|
|
148
|
+
|
|
149
|
+
### Evidence gaps
|
|
150
|
+
|
|
151
|
+
- More natural free-message trees covering small/direct, technical-uncertain, and plan-only requests.
|
|
152
|
+
- At least one natural multi-delegation free-message tree not produced by replay.
|
|
153
|
+
- A benchmark that makes the planning intake boundary observable without coercing the routing outcome.
|
|
154
|
+
|
|
155
|
+
### Falsification criteria
|
|
156
|
+
|
|
157
|
+
The current “stop at audit” conclusion should be reconsidered if any future complete-tree evidence shows one of the following in a natural free-message request:
|
|
158
|
+
|
|
159
|
+
1. a small/clear/low-risk request routes first to `researcher` or `specifier` without concrete blocking ambiguity;
|
|
160
|
+
2. a technical-uncertainty request routes first to `developer` or to substantive lead-owned discovery;
|
|
161
|
+
3. a normal free-message tree invokes `evaluator`, `debugger`, or `evolver` without explicit `/evolve` or concrete failure-analysis need;
|
|
162
|
+
4. a planning tree inverts the expected order, e.g. `specifier` before necessary research, or `developer` before plan/spec criteria exist;
|
|
163
|
+
5. a planning-oriented replay or natural tree shows lead performing substantive repo/code analysis that is necessary to answer the user’s question before any `researcher` handoff.
|
|
164
|
+
|
|
165
|
+
### Recommendation
|
|
166
|
+
|
|
167
|
+
**Stop at debugger-only audit. Do not proceed to evolver.**
|
|
168
|
+
|
|
169
|
+
Why:
|
|
170
|
+
- there is no confirmed routing defect;
|
|
171
|
+
- the strongest finding is an evidence/classification gap, not a behavior regression;
|
|
172
|
+
- moving to evolver now would turn an audit ambiguity into an implementation search without root-cause proof.
|