@autonsh/cli 0.17.1 → 0.18.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/dist/config.js +14 -0
- package/dist/config.js.map +1 -1
- package/dist/index.js +607 -124
- package/dist/index.js.map +1 -1
- package/dist/prompts.d.ts +34 -8
- package/dist/prompts.js +186 -8
- package/dist/prompts.js.map +1 -1
- package/dist/task.d.ts +9 -1
- package/dist/task.js +21 -0
- package/dist/task.js.map +1 -1
- package/dist/template-engine.d.ts +19 -0
- package/dist/template-engine.js +187 -0
- package/dist/template-engine.js.map +1 -0
- package/dist/template-registry.d.ts +36 -0
- package/dist/template-registry.js +294 -0
- package/dist/template-registry.js.map +1 -0
- package/package.json +2 -1
- package/templates/coding/agent.md +39 -0
- package/templates/coding/agent.ts +83 -0
- package/templates/coding/task.yaml +36 -0
- package/templates/harness/agent.md +43 -0
- package/templates/harness/harness.ts +145 -0
- package/templates/harness/task.yaml +15 -0
- package/templates/research/task.yaml +32 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-registry.js","sourceRoot":"","sources":["../src/template-registry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACpD,MAAM,qBAAqB,GAAG,OAAO,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;AAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,WA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AAE,CAAC;gBACZ,KAAK,GAAG,MAAM,OAAO,EAAE,CAAC;gBACxB,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,EAAU;YAClB,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAClC,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,aAAa,CAAC,QAAkC;YACpD,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAClC,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;QAClE,CAAC;QACD,KAAK,CAAC,MAAM;YACV,MAAM,GAAG,KAAK,CAAC;YACf,KAAK,GAAG,MAAM,OAAO,EAAE,CAAC;QAC1B,CAAC;KACF,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,IAAI,SAAS,GAA4B,IAAI,CAAC;AAC9C,MAAM,CAAC,KAAK,UAAU,mBAAmB;IACvC,IAAI,CAAC,SAAS;QAAE,SAAS,GAAG,MAAM,sBAAsB,EAAE,CAAC;IAC3D,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autonsh/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "auton CLI. Run autonomous tasks in one command.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"@clack/prompts": "^1.7.0",
|
|
23
23
|
"boxen": "^8.0.1",
|
|
24
24
|
"cli-progress": "^3.12.0",
|
|
25
|
+
"handlebars": "^4.7.8",
|
|
25
26
|
"log-symbols": "^7.0.1",
|
|
26
27
|
"ora": "^9.4.1",
|
|
27
28
|
"picocolors": "^1.1.1",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Coding Agent — Engenheiro TypeScript Sênior
|
|
2
|
+
|
|
3
|
+
Você refatora, testa, migra e corrige código TypeScript.
|
|
4
|
+
|
|
5
|
+
## Princípios Invioláveis
|
|
6
|
+
1. **Entenda antes de mudar** — leia, trace dependências, entenda o fluxo
|
|
7
|
+
2. **Mudanças atômicas** — um arquivo por vez, typecheck a cada passo
|
|
8
|
+
3. **Tipos estritos** — `strict: true`, `noImplicitAny`, `exactOptionalPropertyTypes`
|
|
9
|
+
4. **Testes obrigatórios** — unit + integration para lógica de negócio
|
|
10
|
+
5. **Sem breaking changes** — API pública só com migração + depreciação
|
|
11
|
+
6. **Performance consciente** — `const`, `readonly`, evite alocações
|
|
12
|
+
7. **Documentação "por que"** — JSDoc em exports, comentários de decisão
|
|
13
|
+
|
|
14
|
+
## Fluxo por Task
|
|
15
|
+
```
|
|
16
|
+
PLAN → analise impacto, liste arquivos, defina testes
|
|
17
|
+
IMPLEMENT → edite um arquivo, tsc --noEmit, commit mental
|
|
18
|
+
TEST → vitest run, coverage > 80%
|
|
19
|
+
VERIFY → goal atendido? gaps? evidência
|
|
20
|
+
CHECKPOINT→ salve diff, testes, coverage
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Ferramentas
|
|
24
|
+
- `ctx.tools.read(file)` — ler
|
|
25
|
+
- `ctx.tools.write(file, content)` — escrever
|
|
26
|
+
- `ctx.tools.patch(file, old, new)` — editar cirúrgico
|
|
27
|
+
- `ctx.tools.exec(cmd)` — rodar tsc, vitest, eslint
|
|
28
|
+
- `ctx.tools.list(dir)` — explorar
|
|
29
|
+
- `ctx.storage` — KV persistente
|
|
30
|
+
- `ctx.work.add(type, title, payload)` — findings/artifacts
|
|
31
|
+
|
|
32
|
+
## Resposta (JSON)
|
|
33
|
+
```json
|
|
34
|
+
{ "file": "src/auth.ts", "content": "...", "reason": "adicionar Zod schema" }
|
|
35
|
+
```
|
|
36
|
+
ou finalização:
|
|
37
|
+
```json
|
|
38
|
+
{ "done": true, "summary": "Refatorado auth.ts + 12 testes + OpenAPI atualizado" }
|
|
39
|
+
```
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { readdirSync, readFileSync, existsSync, writeFileSync } from "node:fs";
|
|
2
|
+
import { join, resolve } from "node:path";
|
|
3
|
+
import { agent, TASK_DONE_EVENT } from "@autonsh/runtime";
|
|
4
|
+
|
|
5
|
+
function readdirSyncSafe(dir: string): string[] {
|
|
6
|
+
try { return readdirSync(dir); } catch { return []; }
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function readFileSafe(file: string): string {
|
|
10
|
+
try { return readFileSync(file, "utf8"); } catch { return ""; }
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function writeFileSafe(file: string, content: string): void {
|
|
14
|
+
writeFileSync(file, content, "utf8");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default agent(async (ctx) => {
|
|
18
|
+
const goal = ((ctx.input as { prompt?: string } | undefined)?.prompt ?? "").trim();
|
|
19
|
+
if (!goal) {
|
|
20
|
+
await ctx.events.emit(TASK_DONE_EVENT, { result: "goal vazio", evidence: {} });
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Carrega agent.md (genesis) + skills
|
|
25
|
+
const agentMd = readFileSafe("agent.md");
|
|
26
|
+
const skillDocs = readdirSyncSafe("skills")
|
|
27
|
+
.filter((d) => existsSync(join("skills", d, "SKILL.md")))
|
|
28
|
+
.map((d) => `# skill: ${d}\n${readFileSafe(join("skills", d, "SKILL.md"))}`)
|
|
29
|
+
.join("\n\n");
|
|
30
|
+
const systemPrompt = `${agentMd}\n\n${skillDocs}`;
|
|
31
|
+
|
|
32
|
+
await ctx.logger.info("task iniciada", { goal });
|
|
33
|
+
|
|
34
|
+
// 1. PLAN — analisa código, propõe plano
|
|
35
|
+
const plan = await ctx.llm.chat({
|
|
36
|
+
system: `Você é um engenheiro sênior TypeScript.\n${systemPrompt}\n\nAnalise o codebase e proponha um PLANO detalhado para: ${goal}\nListe: arquivos a tocar, testes a criar, riscos.`,
|
|
37
|
+
prompt: goal,
|
|
38
|
+
});
|
|
39
|
+
await ctx.logger.info("plano", { plan });
|
|
40
|
+
|
|
41
|
+
// 2. IMPLEMENT — executa mudanças arquivo a arquivo
|
|
42
|
+
// Para simplicidade: pede ao LLM para gerar os diffs/patches
|
|
43
|
+
const implement = await ctx.llm.chat({
|
|
44
|
+
system: `Execute o plano. Use ctx.tools para ler/escrever/editar arquivos.\nFaça UMA mudança por vez. Rode tsc --noEmit após cada arquivo.\nResponda JSON: { file, content, reason } ou { done: true, summary }`,
|
|
45
|
+
prompt: plan,
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
let parsed: { file?: string; content?: string; reason?: string; done?: boolean; summary?: string };
|
|
49
|
+
try { parsed = JSON.parse(implement.trim()); } catch { parsed = { done: true, summary: implement }; }
|
|
50
|
+
|
|
51
|
+
if (!parsed.done && parsed.file && parsed.content) {
|
|
52
|
+
await ctx.tools.write(parsed.file, parsed.content);
|
|
53
|
+
await ctx.logger.info("arquivo escrito", { file: parsed.file, reason: parsed.reason });
|
|
54
|
+
|
|
55
|
+
// Typecheck incremental
|
|
56
|
+
const tc = await ctx.tools.exec("tsc --noEmit").catch((e) => e.message);
|
|
57
|
+
await ctx.logger.info("typecheck", { result: tc });
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 3. TESTS — roda testes
|
|
61
|
+
const testResult = await ctx.tools.exec("vitest run --reporter=json").catch((e) => e.message);
|
|
62
|
+
await ctx.logger.info("testes", { result: testResult });
|
|
63
|
+
|
|
64
|
+
// 4. VERIFY — validação final
|
|
65
|
+
const verify = await ctx.llm.chat({
|
|
66
|
+
system: "Verifique: goal atendido? Testes passam? Typecheck limpo? Responda JSON: { pass: boolean, gaps: string[] }",
|
|
67
|
+
prompt: `Goal: ${goal}\nPlan: ${plan}\nTestes: ${testResult}`,
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
let verified: { pass: boolean; gaps: string[] };
|
|
71
|
+
try { verified = JSON.parse(verify.trim()); } catch { verified = { pass: false, gaps: ["parse error"] }; }
|
|
72
|
+
|
|
73
|
+
await ctx.logger.info("verificacao", { pass: verified.pass, gaps: verified.gaps });
|
|
74
|
+
|
|
75
|
+
// Work context
|
|
76
|
+
await ctx.work.add("finding", "implementação", { goal, plan, verify: verified });
|
|
77
|
+
await ctx.work.add("artifact", "mudanças", { files: parsed.file ? [parsed.file] : [] });
|
|
78
|
+
|
|
79
|
+
await ctx.events.emit(TASK_DONE_EVENT, {
|
|
80
|
+
result: verified.pass ? "Goal atendido" : `Gaps: ${verified.gaps.join(", ")}`,
|
|
81
|
+
evidence: { plan, testResult, verify: verified, filesChanged: parsed.file ? [parsed.file] : [] },
|
|
82
|
+
});
|
|
83
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: coding
|
|
2
|
+
description: Agente de código — refatorar, testar, migrar, corrigir
|
|
3
|
+
goal: ""
|
|
4
|
+
entry: agent.ts
|
|
5
|
+
models:
|
|
6
|
+
default: ollama:qwen2.5-coder:14b-instruct-q4_K_M
|
|
7
|
+
env:
|
|
8
|
+
- GITHUB_TOKEN
|
|
9
|
+
mode: build
|
|
10
|
+
skills:
|
|
11
|
+
- typescript
|
|
12
|
+
- refactoring
|
|
13
|
+
- testing
|
|
14
|
+
verify:
|
|
15
|
+
typecheck: "tsc --noEmit"
|
|
16
|
+
test: "vitest run"
|
|
17
|
+
lint: "eslint ."
|
|
18
|
+
genesis: |
|
|
19
|
+
Você é um engenheiro de software sênior especializado em TypeScript.
|
|
20
|
+
|
|
21
|
+
Princípios:
|
|
22
|
+
1. Entenda o código ANTES de mudar — leia, trace dependências
|
|
23
|
+
2. Mudanças pequenas, atômicas, testáveis
|
|
24
|
+
3. Tipos estritos: `strict: true`, `noImplicitAny`, `exactOptionalPropertyTypes`
|
|
25
|
+
4. Testes obrigatórios: unit + integration para lógica de negócio
|
|
26
|
+
5. Nunca quebre API pública sem migração + depreciação
|
|
27
|
+
6. Performance: evite alocações desnecessárias, use `const`, `readonly`
|
|
28
|
+
7. Documentação: JSDoc em exports públicos, comentários "por que" não "o que"
|
|
29
|
+
|
|
30
|
+
Fluxo por task:
|
|
31
|
+
- PLAN: analise impacto, liste arquivos, defina testes
|
|
32
|
+
- IMPLEMENT: edite um arquivo por vez, rode typecheck a cada passo
|
|
33
|
+
- VERIFY: tsc --noEmit → vitest run → eslint
|
|
34
|
+
- CHECKPOINT: salve evidência (diff, testes, coverage)
|
|
35
|
+
|
|
36
|
+
Responda em PT-BR. Seja conciso.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Harness Agent — Loop Local
|
|
2
|
+
|
|
3
|
+
Você é um agente autônomo que roda **local** (sem Control Plane).
|
|
4
|
+
Seu ciclo: **PLAN → ACT → VERIFY → CHECKPOINT** até `done: true`.
|
|
5
|
+
|
|
6
|
+
## Princípios
|
|
7
|
+
- **Pequenos passos**: uma ação por turno, verificável
|
|
8
|
+
- **Checkpoint sempre**: estado salvo em `.auton/checkpoints/` para resume
|
|
9
|
+
- **Ferramentas primeiro**: use `ctx.tools` para ler/escrever/correr código
|
|
10
|
+
- **Verificação honesta**: se não passou, explica o que falta
|
|
11
|
+
|
|
12
|
+
## Ferramentas disponíveis
|
|
13
|
+
- `ctx.tools.list(dir)` — lista arquivos
|
|
14
|
+
- `ctx.tools.read(file)` — lê arquivo
|
|
15
|
+
- `ctx.tools.write(file, content)` — escreve arquivo
|
|
16
|
+
- `ctx.tools.exec(cmd)` — roda comando shell (tsc, vitest, etc.)
|
|
17
|
+
- `ctx.tools.patch(file, oldStr, newStr)` — edita cirúrgico
|
|
18
|
+
- `ctx.storage.get/set(key, value)` — KV persistente
|
|
19
|
+
- `ctx.work.add(type, title, payload)` — work context (findings/artifacts)
|
|
20
|
+
|
|
21
|
+
## Formato de resposta (JSON)
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"plan": "Uma frase: o que vou fazer agora",
|
|
25
|
+
"action": "comando ou código para ctx.tools.exec / ctx.tools.write",
|
|
26
|
+
"done": false
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
Se `done: true`, o loop para e emite `TASK:DONE`.
|
|
30
|
+
|
|
31
|
+
## Modo harness
|
|
32
|
+
- `loop: true` — continua até `done: true` ou `maxTurns`
|
|
33
|
+
- `maxTurns: 10` — segurança contra loops infinitos
|
|
34
|
+
- `checkpointDir: ".auton/checkpoints"` — resume automático no próximo `auton run`
|
|
35
|
+
|
|
36
|
+
## Exemplo
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"plan": "Ler src/auth.ts para entender a estrutura",
|
|
40
|
+
"action": "read src/auth.ts",
|
|
41
|
+
"done": false
|
|
42
|
+
}
|
|
43
|
+
```
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Harness local — loop agêntico sem Control Plane.
|
|
4
|
+
* Roda: plan → act → verify → checkpoint → done.
|
|
5
|
+
* Checkpoints em .auton/checkpoints/ (resume no próximo run).
|
|
6
|
+
*/
|
|
7
|
+
import { readFile, writeFile, mkdir, readdir } from "node:fs/promises";
|
|
8
|
+
import { join, resolve } from "node:path";
|
|
9
|
+
import { createLlm, createStorage, createTools } from "@autonsh/runtime";
|
|
10
|
+
|
|
11
|
+
const GOAL = process.env.AUTON_GOAL ?? process.argv.slice(2).join(" ") ?? "";
|
|
12
|
+
const CHECKPOINT_DIR = ".auton/checkpoints";
|
|
13
|
+
const MAX_TURNS = Number(process.env.AUTON_MAX_TURNS ?? 10);
|
|
14
|
+
|
|
15
|
+
async function main(): Promise<void> {
|
|
16
|
+
if (!GOAL) {
|
|
17
|
+
console.error("Erro: goal não fornecido. Use AUTON_GOAL ou passe como argumento.");
|
|
18
|
+
process.exit(1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Carrega agent.md como system prompt base
|
|
22
|
+
const agentMd = await readFile("agent.md", "utf8").catch(() => "");
|
|
23
|
+
const systemPrompt = `Você é um agente autônomo em modo harness (local).
|
|
24
|
+
${agentMd}
|
|
25
|
+
|
|
26
|
+
Objetivo: ${GOAL}
|
|
27
|
+
|
|
28
|
+
Loop: planeje → execute → verifique → checkpoint.
|
|
29
|
+
Responda em JSON: { "plan": "...", "action": "...", "done": false }`;
|
|
30
|
+
|
|
31
|
+
const llm = createLlm({ model: process.env.AUTON_MODEL });
|
|
32
|
+
const storage = createStorage({ dir: ".auton/storage" });
|
|
33
|
+
const tools = createTools({ cwd: process.cwd() });
|
|
34
|
+
|
|
35
|
+
// Resume checkpoint se existir
|
|
36
|
+
let turn = 0;
|
|
37
|
+
let context = "";
|
|
38
|
+
const checkpoints = await listCheckpoints();
|
|
39
|
+
if (checkpoints.length > 0) {
|
|
40
|
+
const latest = checkpoints[checkpoints.length - 1];
|
|
41
|
+
const data = JSON.parse(await readFile(latest, "utf8"));
|
|
42
|
+
turn = data.turn ?? 0;
|
|
43
|
+
context = data.context ?? "";
|
|
44
|
+
console.log(`[harness] Resumindo checkpoint turno ${turn}`);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
console.log(`[harness] Iniciando: ${GOAL}`);
|
|
48
|
+
|
|
49
|
+
while (turn < MAX_TURNS) {
|
|
50
|
+
turn++;
|
|
51
|
+
console.log(`[harness] Turno ${turn}/${MAX_TURNS}`);
|
|
52
|
+
|
|
53
|
+
// 1. PLAN
|
|
54
|
+
const planResp = await llm.chat({
|
|
55
|
+
system: systemPrompt + `\n\nContexto anterior:\n${context}`,
|
|
56
|
+
prompt: "Planeje o próximo passo. Responda JSON: { plan, action, done }",
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
let parsed: { plan: string; action: string; done: boolean };
|
|
60
|
+
try {
|
|
61
|
+
parsed = JSON.parse(planResp.trim());
|
|
62
|
+
} catch {
|
|
63
|
+
parsed = { plan: planResp, action: "", done: false };
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
console.log(`[harness] Plan: ${parsed.plan}`);
|
|
67
|
+
if (parsed.done) {
|
|
68
|
+
console.log("[harness] Task concluída pelo agente");
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// 2. ACT (executa action via tools se houver, senão LLM)
|
|
73
|
+
let result: string;
|
|
74
|
+
if (parsed.action) {
|
|
75
|
+
try {
|
|
76
|
+
result = await tools.exec(parsed.action);
|
|
77
|
+
console.log(`[harness] Action executada`);
|
|
78
|
+
} catch (e) {
|
|
79
|
+
result = `Erro ao executar action: ${(e as Error).message}`;
|
|
80
|
+
console.log(`[harness] ${result}`);
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
const actResp = await llm.chat({
|
|
84
|
+
system: systemPrompt + `\n\nContexto:\n${context}`,
|
|
85
|
+
prompt: `Execute: ${parsed.plan}`,
|
|
86
|
+
});
|
|
87
|
+
result = actResp;
|
|
88
|
+
console.log(`[harness] LLM executou diretamente`);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// 3. VERIFY
|
|
92
|
+
const verifyResp = await llm.chat({
|
|
93
|
+
system: "Verifique se o resultado atende o objetivo. Responda JSON: { pass: boolean, feedback: string }",
|
|
94
|
+
prompt: `Objetivo: ${GOAL}\nResultado: ${result}`,
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
let verified: { pass: boolean; feedback: string };
|
|
98
|
+
try {
|
|
99
|
+
verified = JSON.parse(verifyResp.trim());
|
|
100
|
+
} catch {
|
|
101
|
+
verified = { pass: verifyResp.toLowerCase().includes("sim"), feedback: verifyResp };
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
console.log(`[harness] Verify: ${verified.pass ? "PASS" : "FAIL"} - ${verified.feedback}`);
|
|
105
|
+
|
|
106
|
+
// 4. CHECKPOINT
|
|
107
|
+
context += `\nTurno ${turn}:\nPlan: ${parsed.plan}\nResult: ${result}\nVerify: ${verified.feedback}\n`;
|
|
108
|
+
await saveCheckpoint(turn, context, result, verified.pass);
|
|
109
|
+
|
|
110
|
+
if (verified.pass) {
|
|
111
|
+
console.log("[harness] Verificação passou - task concluída");
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Continua loop com feedback
|
|
116
|
+
context += `Feedback: ${verified.feedback}\n`;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// Salva resultado final
|
|
120
|
+
await storage.set("harness:result", { goal: GOAL, turns: turn, context, finalOutput: context });
|
|
121
|
+
console.log("[TASK:DONE]", JSON.stringify({ result: context, evidence: { turns: turn } }));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
async function listCheckpoints(): Promise<string[]> {
|
|
125
|
+
try {
|
|
126
|
+
const files = await readdir(CHECKPOINT_DIR);
|
|
127
|
+
return files
|
|
128
|
+
.filter((f) => f.endsWith(".json"))
|
|
129
|
+
.map((f) => join(CHECKPOINT_DIR, f))
|
|
130
|
+
.sort();
|
|
131
|
+
} catch {
|
|
132
|
+
return [];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
async function saveCheckpoint(turn: number, context: string, result: string, pass: boolean): Promise<void> {
|
|
137
|
+
await mkdir(CHECKPOINT_DIR, { recursive: true });
|
|
138
|
+
const file = join(CHECKPOINT_DIR, `turn-${turn}-${Date.now()}.json`);
|
|
139
|
+
await writeFile(file, JSON.stringify({ turn, context, result, pass, timestamp: Date.now() }, null, 2));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
main().catch((e) => {
|
|
143
|
+
console.error("[harness] Erro fatal:", e);
|
|
144
|
+
process.exit(1);
|
|
145
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: harness
|
|
2
|
+
description: Modo harness — loop agêntico local (sem CP), checkpoints persistentes
|
|
3
|
+
goal: ""
|
|
4
|
+
entry: harness.ts
|
|
5
|
+
models:
|
|
6
|
+
default: ollama:qwen2.5-coder:14b-instruct-q4_K_M
|
|
7
|
+
env: []
|
|
8
|
+
mode: harness
|
|
9
|
+
harness:
|
|
10
|
+
loop: true
|
|
11
|
+
maxTurns: 10
|
|
12
|
+
checkpointDir: ".auton/checkpoints"
|
|
13
|
+
verify:
|
|
14
|
+
typecheck: "tsc --noEmit"
|
|
15
|
+
test: "vitest run"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: research
|
|
2
|
+
description: Agente de pesquisa — busca, sumariza, cita fontes, gera relatórios
|
|
3
|
+
goal: ""
|
|
4
|
+
entry: agent.ts
|
|
5
|
+
models:
|
|
6
|
+
default: ollama:qwen2.5-coder:14b-instruct-q4_K_M
|
|
7
|
+
env: []
|
|
8
|
+
mode: research
|
|
9
|
+
skills:
|
|
10
|
+
- api
|
|
11
|
+
- docs
|
|
12
|
+
verify:
|
|
13
|
+
sources: "echo 'verificar citações'"
|
|
14
|
+
genesis: |
|
|
15
|
+
Você é um pesquisador técnico. Sua missão: encontrar, verificar e sintetizar informação.
|
|
16
|
+
|
|
17
|
+
Princípios:
|
|
18
|
+
1. Fontes primárias > secundárias > opinião
|
|
19
|
+
2. Cite SEMPRE: URL, data, autor, trecho relevante
|
|
20
|
+
3. Verifique contradições entre fontes
|
|
21
|
+
4. Distinga fato de especulação
|
|
22
|
+
5. Estruture: Resumo → Evidência → Conclusão → Gaps
|
|
23
|
+
|
|
24
|
+
Ferramentas: ctx.tools.exec (curl, grep, jq), ctx.tools.read/write
|
|
25
|
+
Output: relatório Markdown com seções claras e citações inline [1], [2]...
|
|
26
|
+
|
|
27
|
+
Fluxo:
|
|
28
|
+
- PLAN: defina queries, fontes, critérios de inclusão
|
|
29
|
+
- SEARCH: execute buscas, salve raw results
|
|
30
|
+
- SYNTHESIZE: agrupe por tema, resolva conflitos
|
|
31
|
+
- REPORT: gere Markdown estruturado
|
|
32
|
+
- VERIFY: todas as claims têm citação?
|