Resonant Business Solutions
Managing Labourly's backlog with AI agents
Labourly is the HR platform of Resonant Business Solutions. As its product owner, I set the target that every item on its development team's work board shows its true status. I manage my day-to-day work on that board with AI agents. With their help, I cleaned the board up.
TL;DR
- Other people wrote or own items on the development team's work board. In my plan for the board, an item is tagged before it is removed. Its removal carries a comment that says how to get it back.
- For the cleanup, AI agents compiled every open item and checked each one against Labourly's code. With their help, I closed the items whose work had already been released. I investigated the rest by hand and closed them when it was warranted.
- Since the cleanup, nobody has asked for a closed item back.
- AI agents now categorize every new item on the board and fill in its details.
Before I closed any item through my write script with my AI agents' assistance, I had made changes on the board by hand to understand how they happen, then tested the script.
- Scripts that only read the board, alongside one that writes
- 11
- Named checks run against a copy of the whole board
- 14
- Kinds of change the write script can make, each one reversible
- 4
- Time idle before an item counts as stale
- 180 days
What it is
The team that develops Labourly manages the platform’s development on a work board in Azure Boards, the part of Azure DevOps for tracking work. A work board is a shared tracker where each piece of planned work is an item with an owner and a status. Azure Boards lays the items out on a kanban board. In Microsoft’s words, “Each work item appears as a card, and columns represent the stages of work, such as To Do, In Progress, and Done.”
The board holds epics, features, stories, bugs and tasks. From largest to smallest, epics hold features, features hold stories, and stories hold their tasks and bugs. An item that holds others is called their parent. The items it holds are its children.
Labourly’s development team uses Scrum, a way of building software in short, fixed periods of work called sprints. Every sprint goes through the same cycle, from planning it to reviewing it and looking back on how it went. Each day of a sprint, the team meets briefly in the daily scrum. The product backlog is the ordered list of the work still to be done. On Labourly, its items are kept on the board. As the product owner, I take part in every step of the cycle. I also do quality assurance (QA) in the development team.
Mine, as product owner
product backlog
My tooling: backlog refinement
sprint planning
My tooling: board-sync turns the planned work into items on the board
the sprint, with the daily scrum
QA, as part of the development team My tooling: sprint tracking
sprint review
My tooling: the review, including analysis of team performance
retrospective
Then back to the product backlog.
Labourly’s Scrum cycle, the parts of it that are mine as product owner, and where my tooling helps.
In all my work, I first establish a baseline and then map the process. From there, I start using AI in a minor part of the process, start small and grow, until I have full assistance from AI agents.
The problem
In my plan for the board, I wrote that the board is healthy when a glance at it tells the truth. Next to ceilings on how many items stay open and how many sit idle, the target I set is that no item misstates its status.
Any item that another person wrote or owns may still have somebody waiting on it. The plan has me make the calls on the board alone, so every step in it that removes an item comes after a step that can be reversed and after a written trail.
The decision
My scripts are the AI agents’ tools for the board. The scripts run on Node, a program that runs JavaScript outside a web browser, without a single outside package. Eleven of them read the board. One writes to it.
eleven scripts read
pull, profile, list, log
one changeset file
one line for each change
one script writes
dry run unless --apply
How ado-push gets its changes: the reading scripts, a changeset, and the one script that writes.
My scripts reach the board with an access token, a credential that sets what
they may do there. When I first copied the whole board out, I used a token that
could only read it. ado-pull makes that copy, every item with, when asked, the
discussion on each. ado-analyze runs fourteen named checks against the copy,
each with a severity of high, medium or low. Among the high ones are an open bug
with no steps to reproduce it, an item in an active state with nobody assigned,
and an open item untouched for more than 180 days.
ado-gaps turns those findings into four worklists. Three of them cover only
items touched within the last 180 days. The fourth has no age limit and lists
the items in an in-progress state that nobody owns. For the stale items,
ado-gaps writes one more list, grouped by owner.
For the judgment on any one stale item, meaning an open item left idle for more than 180 days, I wrote a fixed tree of rules into the plan.
- A stale item that is the parent of any open item stays, whatever its age.
- One still in
New, the state for work not yet started, with no children and no comment for over a year, is tagged and removed. - One that is assigned and in progress, with no change for over a year, is tagged with a comment pinging its owner. It is removed after a two-week grace period.
- One idle for between 180 days and a year is only tagged. The next monthly pass looks at it again to give it a chance.
- One still worth doing despite its age is rescued. It gets a new parent and a new owner, moves into the current sprint and is brought up to date.
For every removed item, I wrote one standing comment into the plan. In it, I record that the item was removed as documented board maintenance after a stated time idle. I give two ways back, the tag the item carries and its history. Anyone who still needs the item is asked to ping me to restore it.
ado-push is the one script that writes to the board. It takes its changes from
a changeset, a file with one line for each change to make. I first made changes
to the board by hand, so that I understood how a change happens. I tested ado-push next and used it once I was confident in it.
Unless it is run with --apply, ado-push makes a dry run and writes nothing
to the board. The dry run saves a short line for each change to a file, naming
the item and what would change. It shows the first twelve of those lines on
screen. To try a large batch on
a few items first, --limit N applies only the first N changes.
Some changesets record the version of each item they were written from. Before
applying an update, ado-push reads the item again from the board when the
update rewrites the item’s text or when the changeset records the item’s
version. It refuses the update if the item has changed since that version or if
the new text would drop an image the item carries. A dry run makes the same
check and reports each refusal before anything is applied.
When an AI agent runs ado-push with --apply, a check first tests the text in
the changeset against the rules I set for how an item is written. The check
blocks the apply when the text breaks those rules. A person can switch the check
off. It also lets an apply through when it cannot find the changeset to test.
Each of the four kinds of change ado-push can make can be undone.
- A closed item can be reopened.
- An updated field can be set back.
- A created item can be deleted.
- An item moved under a new parent can be moved back.
When ado-push closes an item, the reason for closing it goes into the item’s
own history. A dry run saves its lines to a file. An apply writes a log of the
changes it attempted, replacing the log of the run before.
I also wrote board-sync, a skill that sits above the scripts. A skill is a set
of instructions that an AI agent follows. board-sync turns the planned work in
the product workspace, the local files where I plan the product, into items on
the board. It proposes those items as an ado-push changeset and dry-runs it.
Nothing is applied without a review and sign-off.
Once the items exist, board-sync writes their board ids back into the
product workspace. The local documents are the source of truth. The board
mirrors them. An item is marked done only when a verified flow backs it, meaning
a written account of what the platform does, checked on the live platform.
What I did
For the cleanup, the AI agents did the summaries and compilations of the whole backlog. They listed every open story and other item on the board and categorized each one.
Labourly’s code repository holds the platform’s code and the record of every change made to it. I asked the agents which items could be tracked in that repository as released to production, meaning live on the platform. The agents then narrowed the other items down to those still unaccounted for, the duplicates and the related items.
With the agents’ assistance, I closed the items the repository showed as
released. Those closures went through ado-push. Each one is noted as closed
with AI assistance.
I read every remaining item by hand. I investigated the ones the repository could not account for. I asked the developers only about the stories that were pertinent. I did not go to the developers straight away, because I do not want to waste their time when I can extract the information from other valid sources. Once I understood that an item was obsolete, a duplicate or no longer relevant, I closed it by hand.
What I’d do differently
I use this tooling whenever the board needs work. I am too close to it to say what I would change.
Result
Since the cleanup, nobody has asked for any of the closed items back. The board has had better management. Its stories and other items are more consistent.
In the past, to see where the work stood, I relied on items being moved across the board. I can now monitor the work through the same code repository the agents checked the items against, and through its commits, the saved changes that make up its history.
From the clean slate the cleanup left, I now have full assistance from AI agents. They categorize each new item as a story, a bug or a task. Since not every item is written by hand any more, they also give each one complete information: its general description, its steps to reproduce and its acceptance criteria, the conditions a story has to meet to be done. To write those details, the agents draw on these sources.
- Transcripts of meetings, including the daily scrum and the developers’ presentations
- Bug reports
- Information from QA
- Other sources of information
Sources
- Labourly, the platform itself.
- About Kanban boards, Microsoft’s guide to Azure Boards. The line quoted in What it is.
The rest are internal Resonant Business Solutions documents and scripts, read from my own copies. No board data, item or output of any of these scripts appears on this page.
- The board revival plan, my plan for the board. The health target and its ceilings, the rule that every step that removes an item comes after a reversible one and a written trail, and the reason given for it, the read-only token at the first export, the tree for stale items and its branches, and the standing removal comment.
ado-push.mjs, the only script that writes. The changeset it reads, the dry-run default, the--applyflag, the--limitpilot, the short line for each change, the re-read before an update with its version and image checks, the four reversible changes, the reason recorded on a close, and the files written on each run.validate-card.mjs, the rules for how an item is written, andhook-validate-card.mjs, the check that runs it before an AI agent’s--apply, with its override.ado-pull.mjs, the copy of the board.ado-analyze.mjs, the data-health profile. Its fourteen named checks and the severity on each.ado-gaps.mjs, the four worklists and the stale list grouped by owner.ado-check.mjs,ado-review-pack.mjs,ado-archive.mjs,ado-categorize.mjs,ado-feature-digest.mjs,ado-digest.mjs,ado-revamp-prep.mjsandado-2025-review.mjs, the other eight scripts that read the board. Withado-pull,ado-analyzeandado-gaps, they are the eleven in The decision, andado-pushis the one that writes. None of the scripts named here declares an npm dependency. The validator that enforces the QA manual sits in the same folder and is a different piece of work, covered in Writing Labourly’s QA manual before automating its tests.- The output folder, which holds the changesets, the dry-run lines and the apply log. Nothing in it is reproduced here.
board-sync, the sync between the product workspace and the board. The changeset it proposes and dry-runs, the sign-off rule, local documents as the source of truth, and the rule against marking anything done from the state of the board.
These rest on my own account. At the top of the page, they are my day-to-day
use of AI agents as product owner, how I came to use the write script, the
cleanup and how its items were closed, that nothing closed has been asked back,
and how the AI agents work on new items now. In What it is, they are my part in
Labourly’s Scrum cycle, where the tooling helps, and how I approach all my work.
In The decision, they are that my scripts are the AI agents’ tools for the
board, and the order in which I came to use ado-push. In What I did, they are
how the AI agents and I went through the items, how each was closed, and that
the closures made with AI assistance went through ado-push. In Result, they
are what the cleanup left on the board, that nothing closed has been asked back,
how I monitor the work through Labourly’s code repository and its commits, and
how the AI agents work on new items now.