From aa1751a8567b258090c602f945d9fc93d2b2ab9a Mon Sep 17 00:00:00 2001 From: Vladimir Bragin Date: Tue, 10 Nov 2026 12:25:02 -0600 Subject: [PATCH 1/2] chore(tracker): set up agent-flow Add the .agent-flow/ config and empty ticket snapshot, and the .gitattributes rule that keeps tickets.jsonl union-merged with LF endings. Co-Authored-By: Claude Opus 5.5 --- .agent-flow/.gitignore | 7 ++++ .agent-flow/config.json | 75 +++++++++++++++++++++++++++++++++++++++ .agent-flow/tickets.jsonl | 0 .gitattributes | 1 + 4 files changed, 83 insertions(+) create mode 100644 .agent-flow/.gitignore create mode 100644 .agent-flow/config.json create mode 100644 .agent-flow/tickets.jsonl 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..e7ed61886a2 --- /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": "main", + "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 From 4b2e43e5e56738fc8adf39d14be6499d930d82a2 Mon Sep 17 00:00:00 2001 From: Vladimir Bragin Date: Tue, 10 Nov 2026 14:21:04 -0600 Subject: [PATCH 2/2] fix(tracker): set agent-flow defaultBranch to master agent-flow init assumed main. This repo's default branch is master, and the agent-flow hook, worktrees and PRs use this value. Co-Authored-By: Claude Opus 5.5 --- .agent-flow/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.agent-flow/config.json b/.agent-flow/config.json index e7ed61886a2..18621909545 100644 --- a/.agent-flow/config.json +++ b/.agent-flow/config.json @@ -16,7 +16,7 @@ "dod": [], "dodTimeoutMs": 600000, "autoExport": true, - "defaultBranch": "main", + "defaultBranch": "master", "branchPattern": "af/{id}-{slug}", "worktreeDir": "../{repo}.worktrees", "loop": {