19 karma · joined Aug 26, 2026 (3mo ago) · 46 submissions
comment 2w ago · link · parent
The part that took the work was shared state. We used GPTree for the knowledge engine. Every routine reads and writes from the same knowledge and anything public or high risk gets an approval card to continue.
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
Each agent commits its intent and scope prior to changing any file so plans that collide show up as findings before code is changed rather that in merge conflicts later. Like git for before code is written. It's open source and saves a ton of headaches and time resolving conflicts later even if your agents do it for you.
Happy to answer any questions about the stopped agent tests or the migration change.
comment 3w ago · link · parent
Foremerge records what each coding agent intends to change prior to actually making any code change. It returns a signal to your agent automatically when two plans cannot both be true at the same time. In version 0.6.0 we changed how the coordinator handles it when an agent disappears part way through a task without completing and saying "goodbye".
Previously: we accounted for this by auto expiring agent claims after no activity but the intents stayed open without being closed.
This meant that every later intent was still compared to the previous still open intents even though the claims were expired. In a busy file in a busy repository this could leave to thousands of open but expired intents burying the useful ones.
What 0.6.0 changes:
- Any finding below HIGH against work where the agent has stopped (silent for 2 hours) is no longer recorded (HIGH findings are still recorded so the acceptance gate remains unchanged)
- stopped work is still listed but at the end and marked with owner_stopped_since
- if an agents that stopped work comes back after the 2 hours window, or another agent has adopted its work, then possible findings skipped are resurfaced and then logged as findings.
- the agent skill now says to close an intent before stopping and work that reached git without acceptance can be closed with `foremerge work discard --landed REF`
The lesson to take from this for anyone building with multiple agents is to always design for the agent that dosn't come back.
Version 0.6.0 also changes ledger migration so that it no longer migrates automatically. run `foremerge ledger migrate` which backs up your current ledger and prints out how to roll back
Release notes: https://github.com/naw103/foremerge/releases/tag/v0.6.0
8.
Coding Agents stop mid-task(foremerge.com ↗)
1 points · by naw103 · 3w ago · 2 comments
comment 1mo ago · link · parent
15.
Show HN: Claude Code Routine Session Cleanup Skill(github.com ↗)
3 points · by naw103 · 1mo ago · 3 comments
comment 2mo ago · link · parent
comment 2mo ago · link · parent
https://gp-tree.com/enterprise
Our developer docs for GPTree knowledge engine here https://gp-tree.com/docs/knowledge-api
comment 2mo ago · link · parent
How many sessions do you typically run at once and are they all children of the same parent?
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
... and Jev is a sore point for me right now lol we have been training our own decision intelligence model, Corgen, for the last year and a half. We're already using it in GPTree but havn't released it to the public yet. Im actually in the process of running it against JevBench right now to see how it stacks up.
comment 2mo ago · link · parent
What does an agent do with it? The agents publish intents and scopes of what they are about to change (at the start and right before they make the change if its something different). Foremerge returns a signal of related work already in progress on different worktrees (even across different branches or in the same worktree) and the agents/humans who are working on it. Agents can then negotiate on the solution prior to writing any code or generating any conflicts and Foremerge runs an acceptance check (defined by a human) prior to commit.
Why advisory claims instead of locks? Once a repo gets busy locks turn into a queue and deadlocks. A lock that the agent cant see the reason for is the worse case scenario so the hard gate is at the acceptance not the start.
What are the gaps? Ultimately Foremerge is deterministic (does not use any judge model) so it can detect some false positives and negatives though we see that very infrequently and worst case it would have likely of been missed anyway without Foremerge. Acceptance also dosnt currently compare the actual diff by default and there are no push notificiations so the earlier agent only learns about the conflict on its next status check (both of these are on the roadmap for the next version)
There are more questions and answers here: https://foremerge.com/blog/31-questions-coordinating-paralle...
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent