Fix order total rounding
1.0051.01
Self-hosted agent orchestration
Open source · self-hosted · experimentalTurn a Work Item into a pull request with AI agents, explicit budgets and evidence you can inspect. You decide what gets merged.
1.0051.01
- return Math.round(amount * 100);
+ return Math.round((amount + Number.EPSILON) * 100);
Code, checks and a review. Nothing merged.
Deterministic demo · no model calls · no spend
01 / THE WORK, MADE VISIBLE
A rounding bug. An implementer. An independent reviewer. Explore the recorded evidence from the deterministic demo that ships with Unfold.
The order service rounds 1.005 to 1.00 instead of 1.01. The Work Item asks for a minimal fix and independent verification.
Reproduce the rounding regression. Apply a minimal fix, preserve the tests, and independently verify the patch.
The implementer reproduces the failing tests, changes one line, then runs the checks again. The outputs stay with the Shift.
Recorded change · src/order.js
- return Math.round(amount * 100);
+ return Math.round((amount + Number.EPSILON) * 100);
The reviewer independently runs the checks and approves the change. That approval is evidence for a person to assess.
Independent review
independent node --test
When you run the local demo, the change stays on your machine. Ploeg’s unattended worker workflow can open a pull request on your forge. Human review, merging and release stay with you.
Code, checks and a review. Nothing merged.
Simulation of the deterministic demo — no model calls, no spend
Each line is an event the demo recorded when it ran, with its original timing alongside.
Ready for your review
The change the demo made
@@ -1,6 +1,6 @@
export function moneyToCents(amount) {
if (!Number.isFinite(amount) || amount < 0) throw new TypeError('Amount must be a finite non-negative number');
- return Math.round(amount * 100);
+ return Math.round((amount + Number.EPSILON) * 100);
}
export function orderTotal(items) {
Running the local demo leaves the change on your machine. Ploeg’s unattended worker workflow can publish a pull request on your forge.
The same demo in Unfold, recorded by a script that clicks through it. Nothing was set up by hand.
Agents propose changes. People accept, merge and release.
02 / BOUNDED BY DESIGN
Inspect the change, trace the checks and decide whether the result is ready. When a Shift cannot finish, it stops for human attention.
Which settings each claim needs03 / UNDER THE SURFACE
Ploeg authorizes and budgets managed execution. Unfold is where you start, steer and inspect the work. Both ship from one repository, under one Unfold version.
Browser / VS Code
Authorization · budgets · orchestration
Unattended worker workflow
Conceptual view. Pull request publication is available in Ploeg’s unattended worker workflow; Unfold’s managed candidate path does not publish yet.
Ploeg authorizes and budgets managed agent Runs. With its executor enabled, it runs the Work Items it takes from trackers such as Vikunja and ClickUp. It decides who may write each branch and keeps the record of every Shift in PostgreSQL. Ploeg is Dutch for crew.
Unfold is the front end, in the browser or in VS Code. You start work there, steer agents while they run and review what they produced. With shared execution turned on, Ploeg authorizes and budgets the Runs you start there, and Unfold still executes them itself; without it, Unfold runs sessions on its own. Planned: Ploeg executes every Run, and Unfold on its own runs only the deterministic demo. Unfold is Dutch for floor, as in shop floor.
04 / BUILD WITH YOUR EYES OPEN
Run Unfold on your infrastructure, inspect its source and connect your own providers through LiteLLM. It is experimental software, used on its owner’s backlog.
Read the licencePlanned, not built yet: a preview environment for every pull request, and size limits that keep each pull request small enough to understand in one sitting.
Planned · not on sale yet
Hosted Unfold does not exist yet. This is the price model we have decided on. We will publish prices after the pilot’s first validation milestone.
Join the listThe planned delivery fee follows accepted work and ticket size. Acceptance can be explicit or deemed after 10 working days; the full terms will accompany the price list.
Model tokens are charged at cost plus a published fixed markup, including for rejected work. Attempts that fail because of Unfold’s infrastructure or bugs are exempt.
Each Work Item gets a Budget before work starts, and it is never raised silently. A Shift that reaches it stops and offers to split the work.
An agency decides what it charges its own clients. Unfold does not set those prices.
Run Unfold on your own cluster and Unfold charges you nothing. You pay your own model provider and your own infrastructure.
A ticket is a Work Item with a size and a price that your client approved.
FOLLOW THE WORK
Leave your email address and tell us what interests you. We write when there is something for you to try, and we do not use your address for anything else.
No cookies and no trackers. Your address is stored in the EU.
Thanks, you are on the list.
To be removed later, send an email to ryan@webgrip.nl.