diff --git a/.agent-flow/.gitignore b/.agent-flow/.gitignore new file mode 100644 index 00000000000..ae0e9d71e48 --- /dev/null +++ b/.agent-flow/.gitignore @@ -0,0 +1,7 @@ +# agent-flow local state (the committed record is tickets.jsonl + config.json) +flow.db +flow.db-* +serve.json +loop.json +STOP +*.tmp diff --git a/.agent-flow/config.json b/.agent-flow/config.json new file mode 100644 index 00000000000..18621909545 --- /dev/null +++ b/.agent-flow/config.json @@ -0,0 +1,75 @@ +{ + "version": 1, + "prefix": "warp", + "leaseMinutes": 30, + "maxAttempts": 3, + "wip": { + "perAgent": 1, + "columns": { + "in_progress": 4, + "review": 6 + } + }, + "requireReview": true, + "requireHandoff": true, + "allowSelfApprove": false, + "dod": [], + "dodTimeoutMs": 600000, + "autoExport": true, + "defaultBranch": "master", + "branchPattern": "af/{id}-{slug}", + "worktreeDir": "../{repo}.worktrees", + "loop": { + "maxTickets": 5, + "label": "agent-ok", + "maxTurns": 80, + "harness": "claude" + }, + "github": { + "enabled": false, + "repo": null, + "labelPrefix": "status:", + "issueLabel": "agent-flow", + "reconcileMinutes": 5, + "webhookSecretEnv": "AGENT_FLOW_GITHUB_SECRET" + }, + "mailbox": { + "enabled": false, + "bin": "agent-mail", + "session": "agent-flow", + "scope": null, + "audience": "group", + "notifyOn": [ + "claimed", + "review", + "rejected", + "blocked", + "needs_human", + "done", + "lease_expired" + ], + "reviewPeer": null + }, + "swarm": { + "enabled": false, + "path": null, + "harnesses": [], + "autoApproveOnMajority": false, + "timeoutMs": 300000 + }, + "jev": { + "path": null, + "model": null, + "onSubmit": false, + "timeoutMs": 120000 + }, + "hooks": { + "taskCompletedDod": false, + "handoffOnStop": true, + "heartbeatMinutes": 5 + }, + "server": { + "host": "127.0.0.1", + "port": 8791 + } +} diff --git a/.agent-flow/tickets.jsonl b/.agent-flow/tickets.jsonl new file mode 100644 index 00000000000..e69de29bb2d diff --git a/.gitattributes b/.gitattributes index 9867ec12259..0a8e1232a0d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ *.pdb filter=lfs diff=lfs merge=lfs -text crates/input_classifier/models/** filter=lfs diff=lfs merge=lfs -text crates/input_classifier/models/**/*tokenizer.json -filter -diff -merge text linguist-generated=true +.agent-flow/tickets.jsonl text eol=lf merge=union