@kal-elsam/kairo-runtime 0.1.0
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/README.md +937 -0
- package/bin/harness.js +11 -0
- package/bin/kairo-runtime.js +11 -0
- package/bin/kairo.js +11 -0
- package/global-template/components/catalog.json +25 -0
- package/global-template/components/orchestrator/orchestrator.md +55 -0
- package/global-template/components/sdd-core/handoff.md +38 -0
- package/global-template/components/sdd-core/spec-sizing.md +38 -0
- package/global-template/components/sdd-core/workflow.md +31 -0
- package/global-template/core/orchestrator.md +55 -0
- package/package.json +64 -0
- package/prompts/HARNESS_ENFORCEMENT_UPGRADE.md +11 -0
- package/prompts/HARNESS_ENTERPRISE.md +33 -0
- package/prompts/HARNESS_INSTALLER_MASTER.md +853 -0
- package/prompts/HARNESS_MINIMAL.md +30 -0
- package/prompts/HARNESS_SPEC_SIZING_UPGRADE.md +41 -0
- package/prompts/HARNESS_STANDARD.md +35 -0
- package/prompts/HARNESS_UNIVERSAL_PARITY.md +56 -0
- package/repo-template/.claude/agents/adapter-parity-reviewer.md +17 -0
- package/repo-template/.claude/agents/architect.md +17 -0
- package/repo-template/.claude/agents/eval-engineer.md +17 -0
- package/repo-template/.claude/agents/reviewer.md +17 -0
- package/repo-template/.claude/agents/sdd-reviewer.md +17 -0
- package/repo-template/.claude/agents/sdd-spec-writer.md +17 -0
- package/repo-template/.claude/skills/checkpoint/SKILL.md +13 -0
- package/repo-template/.claude/skills/eval-design/SKILL.md +3 -0
- package/repo-template/.claude/skills/evals/SKILL.md +13 -0
- package/repo-template/.claude/skills/loop-engineering/SKILL.md +16 -0
- package/repo-template/.claude/skills/maintainability-review/SKILL.md +3 -0
- package/repo-template/.claude/skills/quality-gate-review/SKILL.md +3 -0
- package/repo-template/.claude/skills/sdd/SKILL.md +13 -0
- package/repo-template/.claude/skills/spec-complexity-classifier/SKILL.md +10 -0
- package/repo-template/.claude/skills/spec-escalation-review/SKILL.md +10 -0
- package/repo-template/.claude/skills/spec-intake/SKILL.md +10 -0
- package/repo-template/.claude/skills/tdd/SKILL.md +13 -0
- package/repo-template/.claude/skills/trust-review/SKILL.md +3 -0
- package/repo-template/.codex/skills/adapter-parity/SKILL.md +29 -0
- package/repo-template/.codex/skills/checkpoint/SKILL.md +36 -0
- package/repo-template/.codex/skills/eval-design/SKILL.md +3 -0
- package/repo-template/.codex/skills/evals/SKILL.md +28 -0
- package/repo-template/.codex/skills/loop-engineering/SKILL.md +24 -0
- package/repo-template/.codex/skills/maintainability-review/SKILL.md +3 -0
- package/repo-template/.codex/skills/quality-gate-review/SKILL.md +3 -0
- package/repo-template/.codex/skills/sdd/SKILL.md +30 -0
- package/repo-template/.codex/skills/spec-complexity-classifier/SKILL.md +10 -0
- package/repo-template/.codex/skills/spec-escalation-review/SKILL.md +10 -0
- package/repo-template/.codex/skills/spec-intake/SKILL.md +10 -0
- package/repo-template/.codex/skills/tdd/SKILL.md +27 -0
- package/repo-template/.codex/skills/trust-review/SKILL.md +3 -0
- package/repo-template/.cursor/agents/adapter-parity-reviewer.md +29 -0
- package/repo-template/.cursor/agents/architect.md +27 -0
- package/repo-template/.cursor/agents/context-engineer.md +27 -0
- package/repo-template/.cursor/agents/debugger.md +27 -0
- package/repo-template/.cursor/agents/eval-engineer.md +27 -0
- package/repo-template/.cursor/agents/harness-orchestrator.md +27 -0
- package/repo-template/.cursor/agents/loop-controller.md +17 -0
- package/repo-template/.cursor/agents/loop-debugger.md +16 -0
- package/repo-template/.cursor/agents/reviewer.md +27 -0
- package/repo-template/.cursor/agents/sdd/sdd-acceptance-reviewer.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-implementation-guardian.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-intake-analyst.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-orchestrator.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-spec-reviewer.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-spec-writer.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-task-breakdown.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-technical-planner.md +31 -0
- package/repo-template/.cursor/agents/sdd/sdd-test-planner.md +31 -0
- package/repo-template/.cursor/agents/spec-intake-analyst.md +14 -0
- package/repo-template/.cursor/agents/test-engineer.md +27 -0
- package/repo-template/.cursor/commands/adapter-parity.md +34 -0
- package/repo-template/.cursor/commands/checkpoint.md +30 -0
- package/repo-template/.cursor/commands/debug.md +13 -0
- package/repo-template/.cursor/commands/init-eval.md +12 -0
- package/repo-template/.cursor/commands/init-feature.md +12 -0
- package/repo-template/.cursor/commands/init-harness.md +13 -0
- package/repo-template/.cursor/commands/loop-debug.md +3 -0
- package/repo-template/.cursor/commands/loop-review.md +3 -0
- package/repo-template/.cursor/commands/loop-run.md +5 -0
- package/repo-template/.cursor/commands/review.md +21 -0
- package/repo-template/.cursor/commands/sdd-intake.md +18 -0
- package/repo-template/.cursor/commands/sdd-plan.md +18 -0
- package/repo-template/.cursor/commands/sdd-spec.md +18 -0
- package/repo-template/.cursor/commands/sdd-tasks.md +18 -0
- package/repo-template/.cursor/commands/sdd-validate.md +18 -0
- package/repo-template/.cursor/commands/spec-escalate.md +9 -0
- package/repo-template/.cursor/commands/spec-intake.md +10 -0
- package/repo-template/.cursor/commands/spec-size.md +21 -0
- package/repo-template/.cursor/rules/adapter-parity.mdc +20 -0
- package/repo-template/.cursor/rules/api.mdc +12 -0
- package/repo-template/.cursor/rules/core.mdc +21 -0
- package/repo-template/.cursor/rules/enforcement.mdc +16 -0
- package/repo-template/.cursor/rules/evals.mdc +10 -0
- package/repo-template/.cursor/rules/git.mdc +19 -0
- package/repo-template/.cursor/rules/harness.mdc +14 -0
- package/repo-template/.cursor/rules/loops.mdc +17 -0
- package/repo-template/.cursor/rules/testing.mdc +13 -0
- package/repo-template/.cursor/rules/ui.mdc +13 -0
- package/repo-template/.cursor/skills/api-design/SKILL.md +23 -0
- package/repo-template/.cursor/skills/architecture/SKILL.md +23 -0
- package/repo-template/.cursor/skills/code-review/SKILL.md +23 -0
- package/repo-template/.cursor/skills/context-graph/SKILL.md +23 -0
- package/repo-template/.cursor/skills/debugging/SKILL.md +23 -0
- package/repo-template/.cursor/skills/evals/SKILL.md +23 -0
- package/repo-template/.cursor/skills/git-workflow/SKILL.md +23 -0
- package/repo-template/.cursor/skills/testing/SKILL.md +23 -0
- package/repo-template/.cursor/skills/ui-design/SKILL.md +23 -0
- package/repo-template/.gentle-ai/README.md +37 -0
- package/repo-template/.gentle-ai/loops/README.md +27 -0
- package/repo-template/.gentle-ai/loops/sdd-tdd-repair.loop.md +27 -0
- package/repo-template/.gentle-ai/model-routing.md +25 -0
- package/repo-template/.github/copilot-instructions.md +37 -0
- package/repo-template/.github/dependabot.yml +11 -0
- package/repo-template/.github/instructions/harness.instructions.md +11 -0
- package/repo-template/.github/workflows/harness-quality-gate.yml +67 -0
- package/repo-template/.github/workflows/harness-security-gate.yml +32 -0
- package/repo-template/.harness/spec-sizing.json +33 -0
- package/repo-template/.opencode/README.md +71 -0
- package/repo-template/.opencode/agents/adapter-parity-reviewer.md +23 -0
- package/repo-template/.opencode/agents/architect.md +38 -0
- package/repo-template/.opencode/agents/checkpoint-reviewer.md +38 -0
- package/repo-template/.opencode/agents/eval-engineer.md +38 -0
- package/repo-template/.opencode/agents/loop-controller.md +38 -0
- package/repo-template/.opencode/agents/loop-debugger.md +38 -0
- package/repo-template/.opencode/agents/model-router.md +38 -0
- package/repo-template/.opencode/agents/sdd-orchestrator.md +38 -0
- package/repo-template/.opencode/agents/sdd-spec-reviewer.md +38 -0
- package/repo-template/.opencode/agents/spec-intake-analyst.md +19 -0
- package/repo-template/.opencode/agents/tdd-engineer.md +38 -0
- package/repo-template/.opencode/commands/checkpoint.md +3 -0
- package/repo-template/.opencode/commands/eval-design.md +3 -0
- package/repo-template/.opencode/commands/maintainability-review.md +3 -0
- package/repo-template/.opencode/commands/quality-gate.md +3 -0
- package/repo-template/.opencode/commands/spec-escalate.md +9 -0
- package/repo-template/.opencode/commands/spec-intake.md +10 -0
- package/repo-template/.opencode/commands/spec-size.md +21 -0
- package/repo-template/.opencode/commands/trust-review.md +3 -0
- package/repo-template/.opencode/loops/ai-behavior-improvement.loop.md +15 -0
- package/repo-template/.opencode/loops/bug-repair.loop.md +16 -0
- package/repo-template/.opencode/loops/documentation-sync.loop.md +13 -0
- package/repo-template/.opencode/loops/feature-development.loop.md +25 -0
- package/repo-template/.opencode/skills/spec-complexity-classifier/SKILL.md +10 -0
- package/repo-template/.opencode/skills/spec-escalation-review/SKILL.md +10 -0
- package/repo-template/.opencode/skills/spec-intake/SKILL.md +10 -0
- package/repo-template/.pi/README.md +21 -0
- package/repo-template/.pi/prompts/checkpoint.md +11 -0
- package/repo-template/.pi/prompts/loop-run.md +10 -0
- package/repo-template/.pi/prompts/sdd-plan.md +11 -0
- package/repo-template/.pi/prompts/sdd-spec.md +13 -0
- package/repo-template/.pi/prompts/spec-escalate.md +9 -0
- package/repo-template/.pi/prompts/spec-intake.md +10 -0
- package/repo-template/.pi/prompts/spec-size.md +21 -0
- package/repo-template/.pi/skills/adapter-parity/SKILL.md +7 -0
- package/repo-template/.pi/skills/checkpoint/SKILL.md +7 -0
- package/repo-template/.pi/skills/eval-design/SKILL.md +3 -0
- package/repo-template/.pi/skills/evals/SKILL.md +7 -0
- package/repo-template/.pi/skills/loop-engineering/SKILL.md +7 -0
- package/repo-template/.pi/skills/maintainability-review/SKILL.md +3 -0
- package/repo-template/.pi/skills/quality-gate-review/SKILL.md +3 -0
- package/repo-template/.pi/skills/sdd/SKILL.md +7 -0
- package/repo-template/.pi/skills/spec-complexity-classifier/SKILL.md +10 -0
- package/repo-template/.pi/skills/spec-escalation-review/SKILL.md +10 -0
- package/repo-template/.pi/skills/spec-intake/SKILL.md +10 -0
- package/repo-template/.pi/skills/tdd/SKILL.md +7 -0
- package/repo-template/.pi/skills/trust-review/SKILL.md +3 -0
- package/repo-template/AGENT.md +8 -0
- package/repo-template/AGENTS.md +165 -0
- package/repo-template/CLAUDE.md +9 -0
- package/repo-template/GEMINI.md +9 -0
- package/repo-template/docs/ai/adapter-parity.md +135 -0
- package/repo-template/docs/ai/agent-workflow.md +45 -0
- package/repo-template/docs/ai/api.md +28 -0
- package/repo-template/docs/ai/architecture.md +53 -0
- package/repo-template/docs/ai/context-budget.md +54 -0
- package/repo-template/docs/ai/context-graph.md +39 -0
- package/repo-template/docs/ai/conventions.md +34 -0
- package/repo-template/docs/ai/decision-log.md +5 -0
- package/repo-template/docs/ai/enforcement.md +63 -0
- package/repo-template/docs/ai/eval-strategy.md +42 -0
- package/repo-template/docs/ai/evals.md +44 -0
- package/repo-template/docs/ai/git-workflow.md +35 -0
- package/repo-template/docs/ai/governance.md +61 -0
- package/repo-template/docs/ai/harness.md +49 -0
- package/repo-template/docs/ai/installer-cli.md +34 -0
- package/repo-template/docs/ai/loop-log.md +5 -0
- package/repo-template/docs/ai/loop-observability.md +57 -0
- package/repo-template/docs/ai/loop-policy.md +86 -0
- package/repo-template/docs/ai/loops.md +95 -0
- package/repo-template/docs/ai/maintainability-gates.md +26 -0
- package/repo-template/docs/ai/memory.md +71 -0
- package/repo-template/docs/ai/model-policy.md +105 -0
- package/repo-template/docs/ai/observability-runtime.md +48 -0
- package/repo-template/docs/ai/provider-routing.md +138 -0
- package/repo-template/docs/ai/quality-gates.md +48 -0
- package/repo-template/docs/ai/rollback-runtime.md +25 -0
- package/repo-template/docs/ai/security.md +12 -0
- package/repo-template/docs/ai/spec-driven-development.md +124 -0
- package/repo-template/docs/ai/spec-escalation.md +44 -0
- package/repo-template/docs/ai/spec-intake.md +46 -0
- package/repo-template/docs/ai/spec-sizing.md +207 -0
- package/repo-template/docs/ai/test-driven-development.md +35 -0
- package/repo-template/docs/ai/testing.md +28 -0
- package/repo-template/docs/ai/tool-adapters.md +186 -0
- package/repo-template/docs/ai/trust-allowlist.md +5 -0
- package/repo-template/docs/ai/trust-policy.md +41 -0
- package/repo-template/docs/ai/ui.md +17 -0
- package/repo-template/docs/skills/adapter-parity-review.md +46 -0
- package/repo-template/docs/skills/api-design.md +37 -0
- package/repo-template/docs/skills/architecture.md +37 -0
- package/repo-template/docs/skills/code-review.md +37 -0
- package/repo-template/docs/skills/context-graph.md +38 -0
- package/repo-template/docs/skills/debugging.md +37 -0
- package/repo-template/docs/skills/eval-design.md +12 -0
- package/repo-template/docs/skills/evals.md +37 -0
- package/repo-template/docs/skills/git-workflow.md +37 -0
- package/repo-template/docs/skills/look-trust-review.md +12 -0
- package/repo-template/docs/skills/loop-debugging.md +16 -0
- package/repo-template/docs/skills/loop-design.md +39 -0
- package/repo-template/docs/skills/loop-retrospective.md +15 -0
- package/repo-template/docs/skills/loop-review.md +16 -0
- package/repo-template/docs/skills/maintainability-review.md +12 -0
- package/repo-template/docs/skills/model-selection.md +36 -0
- package/repo-template/docs/skills/quality-gate-review.md +12 -0
- package/repo-template/docs/skills/spec-complexity-classifier.md +41 -0
- package/repo-template/docs/skills/spec-escalation-review.md +34 -0
- package/repo-template/docs/skills/spec-intake.md +25 -0
- package/repo-template/docs/skills/testing.md +37 -0
- package/repo-template/docs/skills/tool-adapter-sync.md +36 -0
- package/repo-template/docs/skills/ui-design.md +37 -0
- package/repo-template/docs/specs/README.md +9 -0
- package/repo-template/docs/specs/templates/basic-spec.md +41 -0
- package/repo-template/docs/specs/templates/complex-spec.md +145 -0
- package/repo-template/docs/specs/templates/standard-spec.md +58 -0
- package/repo-template/evals/README.md +11 -0
- package/repo-template/evals/golden/sample-golden.json +12 -0
- package/repo-template/evals/loop-regression/README.md +11 -0
- package/repo-template/evals/regression/sample-regression.json +12 -0
- package/repo-template/evals/schema/sample-schema.json +12 -0
- package/repo-template/evals/tool-calls/sample-tool-calls.json +12 -0
- package/repo-template/opencode.json.sample +29 -0
- package/repo-template/scripts/harness/backup.mjs +7 -0
- package/repo-template/scripts/harness/doctor.mjs +20 -0
- package/repo-template/scripts/harness/run-evals.mjs +27 -0
- package/repo-template/setup-agent-links.sh +54 -0
- package/scripts/check-published-release.mjs +127 -0
- package/scripts/check-release-commit.mjs +32 -0
- package/scripts/install.sh +225 -0
- package/scripts/installer-smoke-test.sh +155 -0
- package/scripts/lib/attribution-guard.mjs +59 -0
- package/scripts/registry-smoke-test.sh +149 -0
- package/scripts/smoke-test.sh +197 -0
- package/scripts/ux-smoke-test.sh +140 -0
- package/src/cli.js +625 -0
- package/src/doctor.js +68 -0
- package/src/global/adapter-context.js +27 -0
- package/src/global/adapter-matrix.js +38 -0
- package/src/global/adapters/claude.js +8 -0
- package/src/global/adapters/codex.js +8 -0
- package/src/global/adapters/cursor.js +8 -0
- package/src/global/adapters/opencode.js +8 -0
- package/src/global/agents.js +7 -0
- package/src/global/apply-confirmation.js +62 -0
- package/src/global/backups.js +54 -0
- package/src/global/brand/cli.js +52 -0
- package/src/global/brand/index.js +85 -0
- package/src/global/clack/setup-preview.js +48 -0
- package/src/global/clack/setup-wizard-constants.js +6 -0
- package/src/global/clack/setup-wizard.js +207 -0
- package/src/global/clack/theme.js +145 -0
- package/src/global/component-authoring.js +121 -0
- package/src/global/component-builders.js +43 -0
- package/src/global/component-distribution.js +270 -0
- package/src/global/component-installer.js +106 -0
- package/src/global/component-paths.js +22 -0
- package/src/global/component-registry.js +89 -0
- package/src/global/components/orchestrator.js +14 -0
- package/src/global/components/sdd-core.js +17 -0
- package/src/global/diff.js +233 -0
- package/src/global/drift.js +264 -0
- package/src/global/explain.js +144 -0
- package/src/global/global-cli.js +1145 -0
- package/src/global/global-doctor.js +67 -0
- package/src/global/global-installer.js +284 -0
- package/src/global/history.js +313 -0
- package/src/global/ink/run-setup-ink.js +77 -0
- package/src/global/ink/setup-app.js +278 -0
- package/src/global/ink/setup-routing.js +51 -0
- package/src/global/ink/setup-state.js +180 -0
- package/src/global/ink/terminal.js +13 -0
- package/src/global/json-output.js +22 -0
- package/src/global/load-component-catalog.js +41 -0
- package/src/global/load-workspace-component-catalog.js +123 -0
- package/src/global/managed-body.js +28 -0
- package/src/global/managed-config-adapter.js +134 -0
- package/src/global/managed-section.js +73 -0
- package/src/global/npm-registry.js +25 -0
- package/src/global/paths.js +22 -0
- package/src/global/policy.js +344 -0
- package/src/global/preflight.js +65 -0
- package/src/global/registry.js +79 -0
- package/src/global/report.js +110 -0
- package/src/global/rollback.js +126 -0
- package/src/global/setup.js +284 -0
- package/src/global/state-migration.js +65 -0
- package/src/global/state.js +50 -0
- package/src/global/status.js +94 -0
- package/src/global/sync.js +129 -0
- package/src/global/upgrade.js +145 -0
- package/src/harness-files.js +145 -0
- package/src/harness-updater.js +120 -0
- package/src/hash.js +5 -0
- package/src/manifest.js +36 -0
- package/src/project-detection.js +105 -0
- package/src/template-installer.js +72 -0
- package/src/text-template.js +24 -0
- package/src/workspace-cli.js +115 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Architect
|
|
3
|
+
description: Decisiones de arquitectura, capas, ADRs, límites de módulos e integraciones.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Architect
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Proteger arquitectura y documentar decisiones.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Context Engineer
|
|
3
|
+
description: Memoria, Graphify, Engram, contexto y documentación viva.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Context Engineer
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Mantener contexto mínimo, grafo y memoria alineados.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Debugger
|
|
3
|
+
description: Bugs, errores, fallas, comportamiento inesperado o diagnóstico con evidencia.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Debugger
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Reproducir, aislar causa raíz y validar fix.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Eval Engineer
|
|
3
|
+
description: Prompts, agentes, tool calling, RAG y comportamiento IA.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Eval Engineer
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Diseñar evals y regresiones IA.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Harness Orchestrator
|
|
3
|
+
description: Coordina tareas complejas usando SDD, TDD, evals, validación y review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Harness Orchestrator
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Coordinar el flujo completo del harness.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Loop Controller
|
|
3
|
+
description: Controls bounded loops, repair attempts, escalation and checkpoint readiness.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Loop Controller
|
|
7
|
+
|
|
8
|
+
Source of truth:
|
|
9
|
+
- `docs/ai/loops.md`
|
|
10
|
+
- `docs/ai/loop-policy.md`
|
|
11
|
+
- `docs/ai/loop-observability.md`
|
|
12
|
+
|
|
13
|
+
Rules:
|
|
14
|
+
- Do not exceed max attempts.
|
|
15
|
+
- Stop when no progress is detected.
|
|
16
|
+
- Escalate critical changes.
|
|
17
|
+
- Report final loop status.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Loop Debugger
|
|
3
|
+
description: Diagnoses stuck, repeated or unsafe agentic loops.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Loop Debugger
|
|
7
|
+
|
|
8
|
+
Source of truth:
|
|
9
|
+
- `docs/ai/loops.md`
|
|
10
|
+
- `docs/skills/loop-debugging.md`
|
|
11
|
+
|
|
12
|
+
Rules:
|
|
13
|
+
- Stop repeated failures.
|
|
14
|
+
- Compare diffs.
|
|
15
|
+
- Identify root cause.
|
|
16
|
+
- Propose rollback when safer than repair.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Reviewer
|
|
3
|
+
description: Code review antes de merge, PR, checkpoint o entrega final.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Reviewer
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Revisar sin modificar salvo instrucción explícita.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Acceptance Reviewer
|
|
3
|
+
description: Checks final diff against spec and acceptance criteria.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Acceptance Reviewer
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Implementation Guardian
|
|
3
|
+
description: Prevents scope creep and validates implementation stays inside spec.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Implementation Guardian
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Intake Analyst
|
|
3
|
+
description: Clarifies intent, constraints, assumptions and missing context.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Intake Analyst
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Orchestrator
|
|
3
|
+
description: Coordinates the full SDD flow from requirement to acceptance.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Orchestrator
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Spec Reviewer
|
|
3
|
+
description: Reviews specs for contradictions, ambiguity and missing acceptance criteria.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Spec Reviewer
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Spec Writer
|
|
3
|
+
description: Creates or updates specs in docs/specs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Spec Writer
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Task Breakdown
|
|
3
|
+
description: Breaks the plan into small executable tasks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Task Breakdown
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Technical Planner
|
|
3
|
+
description: Turns the spec into an implementation plan aligned with architecture.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Technical Planner
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: SDD Test Planner
|
|
3
|
+
description: Defines tests and evals before implementation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Test Planner
|
|
7
|
+
|
|
8
|
+
## Source of truth
|
|
9
|
+
|
|
10
|
+
- `AGENTS.md`
|
|
11
|
+
- `docs/ai/harness.md`
|
|
12
|
+
- `docs/ai/spec-driven-development.md`
|
|
13
|
+
- `docs/specs/`
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
|
|
17
|
+
- Respect context budget.
|
|
18
|
+
- Do not implement outside the current SDD phase.
|
|
19
|
+
- Produce concise, verifiable output.
|
|
20
|
+
- Escalate if architecture, security, auth, data, infra or high-impact decisions appear.
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
```txt
|
|
25
|
+
Phase:
|
|
26
|
+
Context used:
|
|
27
|
+
Findings:
|
|
28
|
+
Decision:
|
|
29
|
+
Risks:
|
|
30
|
+
Next action:
|
|
31
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Spec Intake Analyst
|
|
3
|
+
description: Classifies task complexity and chooses basic, standard or complex spec.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spec Intake Analyst
|
|
7
|
+
|
|
8
|
+
Read:
|
|
9
|
+
|
|
10
|
+
- `docs/ai/spec-sizing.md`
|
|
11
|
+
- `docs/ai/spec-intake.md`
|
|
12
|
+
- `docs/skills/spec-complexity-classifier.md`
|
|
13
|
+
|
|
14
|
+
Output the recommended spec level, reason, template and validation required.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Test Engineer
|
|
3
|
+
description: Tests, cobertura, regression tests, fixtures y mocks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Test Engineer
|
|
7
|
+
|
|
8
|
+
## Rol
|
|
9
|
+
|
|
10
|
+
Diseñar pruebas de comportamiento.
|
|
11
|
+
|
|
12
|
+
## Proceso
|
|
13
|
+
|
|
14
|
+
1. Leer `AGENTS.md`.
|
|
15
|
+
2. Leer documentos relevantes en `docs/ai/`.
|
|
16
|
+
3. Respetar context budget.
|
|
17
|
+
4. Producir salida verificable.
|
|
18
|
+
5. Reportar riesgos.
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
- Contexto leído
|
|
23
|
+
- Decisiones
|
|
24
|
+
- Cambios propuestos
|
|
25
|
+
- Riesgos
|
|
26
|
+
- Validación
|
|
27
|
+
- Siguiente acción
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# /adapter-parity
|
|
2
|
+
|
|
3
|
+
Review whether the current project keeps parity across adapters.
|
|
4
|
+
|
|
5
|
+
## Check
|
|
6
|
+
|
|
7
|
+
- OpenCode
|
|
8
|
+
- Cursor
|
|
9
|
+
- Codex
|
|
10
|
+
- Claude
|
|
11
|
+
- Gemini
|
|
12
|
+
- Pi
|
|
13
|
+
- Copilot
|
|
14
|
+
|
|
15
|
+
## Validate
|
|
16
|
+
|
|
17
|
+
- SDD support
|
|
18
|
+
- TDD support
|
|
19
|
+
- evals support
|
|
20
|
+
- loop support
|
|
21
|
+
- checkpoint support
|
|
22
|
+
- model routing
|
|
23
|
+
- human approval
|
|
24
|
+
- no duplicated long instructions
|
|
25
|
+
- no adapter claims governance authority
|
|
26
|
+
|
|
27
|
+
## Output
|
|
28
|
+
|
|
29
|
+
```txt
|
|
30
|
+
Adapter parity:
|
|
31
|
+
Missing:
|
|
32
|
+
Conflicts:
|
|
33
|
+
Fixes:
|
|
34
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# /checkpoint
|
|
2
|
+
|
|
3
|
+
Ejecuta validación completa antes de commit.
|
|
4
|
+
|
|
5
|
+
## Flujo
|
|
6
|
+
|
|
7
|
+
1. Revisar diff.
|
|
8
|
+
2. Detectar secrets, `.env`, `console.log`, `debugger`.
|
|
9
|
+
3. Ejecutar linter.
|
|
10
|
+
4. Ejecutar formatter.
|
|
11
|
+
5. Ejecutar typecheck.
|
|
12
|
+
6. Ejecutar tests.
|
|
13
|
+
7. Ejecutar evals si aplica.
|
|
14
|
+
8. Ejecutar build.
|
|
15
|
+
9. Proponer commit conventional.
|
|
16
|
+
10. Esperar aprobación humana.
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
```txt
|
|
21
|
+
Diff:
|
|
22
|
+
Lint:
|
|
23
|
+
Format:
|
|
24
|
+
Types:
|
|
25
|
+
Tests:
|
|
26
|
+
Evals:
|
|
27
|
+
Build:
|
|
28
|
+
Commit propuesto:
|
|
29
|
+
Riesgos:
|
|
30
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# /init-eval
|
|
2
|
+
|
|
3
|
+
Crea estructura de eval para prompt, agente, RAG o tool calling.
|
|
4
|
+
|
|
5
|
+
## Flujo
|
|
6
|
+
|
|
7
|
+
1. Identificar comportamiento IA.
|
|
8
|
+
2. Crear caso base.
|
|
9
|
+
3. Definir input/output esperado.
|
|
10
|
+
4. Agregar caso de error.
|
|
11
|
+
5. Agregar safety/schema checks.
|
|
12
|
+
6. Documentar cómo ejecutar.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# /init-feature
|
|
2
|
+
|
|
3
|
+
Inicializa una feature usando SDD + TDD.
|
|
4
|
+
|
|
5
|
+
## Flujo
|
|
6
|
+
|
|
7
|
+
1. Crear spec en `docs/specs/`.
|
|
8
|
+
2. Identificar capas afectadas.
|
|
9
|
+
3. Crear plan técnico.
|
|
10
|
+
4. Definir tests/evals necesarios.
|
|
11
|
+
5. Crear estructura base si aplica.
|
|
12
|
+
6. No implementar hasta que la spec esté clara.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# /init-harness
|
|
2
|
+
|
|
3
|
+
Revalida o reinstala la infraestructura agéntica del proyecto.
|
|
4
|
+
|
|
5
|
+
## Flujo
|
|
6
|
+
|
|
7
|
+
1. Leer `AGENTS.md`.
|
|
8
|
+
2. Leer `docs/ai/harness.md`.
|
|
9
|
+
3. Inventariar archivos de agentes existentes.
|
|
10
|
+
4. Detectar duplicados o legacy.
|
|
11
|
+
5. Reparar punteros.
|
|
12
|
+
6. Validar rules, commands, agents y skills.
|
|
13
|
+
7. Reportar inconsistencias.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# /review
|
|
2
|
+
|
|
3
|
+
Realiza code review completo con base en `docs/ai/`.
|
|
4
|
+
|
|
5
|
+
## Revisar
|
|
6
|
+
|
|
7
|
+
- arquitectura
|
|
8
|
+
- convenciones
|
|
9
|
+
- tests
|
|
10
|
+
- evals
|
|
11
|
+
- complejidad
|
|
12
|
+
- edge cases
|
|
13
|
+
- seguridad
|
|
14
|
+
- DX
|
|
15
|
+
- performance
|
|
16
|
+
|
|
17
|
+
## Severidad
|
|
18
|
+
|
|
19
|
+
- CRÍTICO: bloquea merge
|
|
20
|
+
- ADVERTENCIA: corregir pronto
|
|
21
|
+
- SUGERENCIA: mejora opcional
|