What does an AI coding agent do?
A coding agent can read a repository, propose a plan, change files, run tools and use the results to decide what to do next. In a useful development workflow, it works toward a defined task and checks its progress against evidence.
Start with one feature that can be reviewed on its own. Give the agent the relevant requirements, repository guidance and tools for that task. Anthropic’s Building effective agents makes a useful distinction between a predefined workflow and an agent that chooses its next steps; its broader advice is to begin with the simplest approach that fits.
The workflow below is a practical way to organize a project with BeeMVP. It describes roles and review points to agree with your team. It is not a claim that every project needs a separate person for each role.
Who takes part, and what do they decide?
On a freelance project, I am your development contact. You or a person you nominate brings the product knowledge. If your team includes a designer, tester or technical lead, we agree where their review fits. The AI agent is a tool used in that work, with a defined task and access.
Product-owner input is most useful when agreeing the task and trying the result. The developer handles the routine technical checks and brings back the decisions that need product knowledge.
| Participant | Responsibility | What they review |
|---|---|---|
| Client or product owner | Explain the user task, business rules, priorities and constraints. | Whether the spec reflects the need and the finished journey solves it. |
| Developer / Lan | Choose the technical approach, control the agent’s scope and check the implementation. | Code changes, tests, data handling, integration behavior and release readiness. |
| AI coding agent | Draft artifacts, make agreed changes, run allowed tools and report evidence or uncertainty. | Its own output can be checked again, but that is not a person’s approval. |
| Additional human reviewer, when agreed | Bring a second technical, design, domain or accessibility perspective. | The areas they were assigned, with findings recorded and resolved. |
1. Turn the request into a spec people can check
The agent can read the current flow, organize your brief and point out missing decisions. The spec should describe the person using the product, the task, the expected result and the important exceptions.
For a membership feature, “handle payments correctly” leaves too much open. A clearer requirement is: receiving the same payment event again must not create another purchase or another access record. A separate payment must still be recorded.
The product owner confirms the business rules. The developer checks how they fit the existing system. Open questions stay visible until someone answers them. GitHub’s Spec Kit separates what and why from technical planning, and treats a requirements checklist as a review of the requirements, not proof that the feature works.
- Write observable acceptance criteria and examples.
- List loading, empty, failure, permission and repeat-action behavior where relevant.
- Name what is outside the first milestone.
- Record assumptions, unanswered questions and who can resolve them.
2. Let the agent propose a plan; have the developer check it
A useful plan names the parts that need to change, their dependencies and the checks for each step. The agent can inspect the repository and prepare that plan. The developer reviews the approach, existing contracts and the effect on other parts of the product.
Keep each piece small enough to inspect and run. For a mobile feature, that could mean one screen and its API states. For a backend change, it could mean receipt, processing and recovery as separate steps.
Before implementation, agree which environment and sample data are safe to use, which services the agent can contact and which actions need a person’s decision. Give the agent only the access needed for its task.
3. Build in short loops with a result to inspect
The agent makes a focused change, runs the relevant checks and uses failures as feedback for the next change. It should bring back the changed behavior, the checks it ran and the questions it could not resolve.
The developer reviews the changes against the spec and the existing code. A green check is useful when the check covers the requirement. It is less useful if the agent has weakened an assertion or skipped the difficult path to make the run pass.
OpenAI’s iterative repair example separates inspection, focused repair and validation. The part to carry into a client project is the feedback loop: inspect the result, fix a specific problem and validate again.
4. Use tests to check behavior, including the exceptions
An agent can suggest test cases and implement them, but a developer needs to inspect what those tests prove. The expected result should come from the requirement and the business rule, rather than simply copying the implementation’s current behavior.
For new behavior, test-driven development can help: write a check that fails for the missing behavior, implement enough to satisfy it, then refactor while preserving the result. Google Cloud’s discussion of TDD and AI explains that cycle. For existing behavior, use regression and acceptance checks that exercise the current implementation.
A webhook acknowledgement is only one result. The checks should also inspect the resulting records and pending work. A provider response can be simulated for a focused test; the report must say when the real integration has not been exercised.
| Example check | Result to inspect |
|---|---|
| The same payment event arrives repeatedly | One stored event and one business effect after processing. |
| Different event IDs refer to the same payment | The payment is not recorded twice. |
| A genuinely different payment arrives | The separate purchase is retained. |
| A provider request fails | The failure is recorded and a controlled retry remains available. |
| An unauthorized person attempts an action | The server rejects the request and protected data stays unchanged. |
5. Make QA and QC visible parts of the work
Quality assurance (QA) concerns the practices that give confidence the requirements will be met. Quality control (QC) concerns checking the result against those requirements. These activities overlap; ASQ explains the distinction in its quality-management guidance.
In a small software project, QA can include reviewing the spec, choosing useful test scenarios, keeping test data separate and agreeing how a release will be checked. QC can include running those checks, inspecting a screen, reviewing a diff and recording defects.
Agents can draft scenarios, run automated checks and collect screenshots or error details. A person still needs to judge whether the examples are realistic and whether the result is clear to the user. Give each finding a reproduction, expected result, observed result and owner.
| Activity | Agent contribution | Human responsibility |
|---|---|---|
| Requirements review | Find ambiguity, missing states and conflicting statements. | Confirm the business rule and resolve the ambiguity. |
| Technical checks | Run the agreed tests, build and static checks. | Review coverage, failures and changes to the checks themselves. |
| Journey review | Exercise a flow and collect evidence. | Try the experience and judge clarity, usefulness and important exceptions. |
| Defect follow-up | Prepare a reproduction and a focused fix. | Decide priority and verify that the fix addresses the actual problem. |
6. Give a person a reviewable result
A useful handoff contains the change summary, a way to try the feature, the checks performed and the remaining limits. Keep automated results, agent findings and human decisions distinguishable.
The developer reviews the technical work. The product owner or nominated user reviews the task in the product. When an additional reviewer is part of the scope, they review their assigned area and record the decision. The release owner checks that required findings have been resolved or explicitly accepted.
AI review can help identify a concern, including a repository-specific rule someone might miss. OpenAI’s code-review guidance describes it as an additional reviewer alongside tests and required approvals. It does not turn an automated finding list into a human sign-off.
For a UI change, review the flow, wording, small-screen layout and failure states. For a data or payment change, review the state transitions, permissions, repeat handling and recovery. A screenshot alone cannot prove those backend properties.
7. Judge the outcome and keep learning after release
Ask for evidence that matches the claim. If the claim is “the duplicate event has no repeated effect,” inspect the stored state after repeated delivery. If the claim is “the member can complete the flow,” try that journey in the agreed environment.
Anthropic’s evaluation guidance separates an agent’s transcript from the outcome it leaves in the environment. It also recommends combining automated checks with human judgment and real-use feedback. These are different sources of evidence.
For the development workflow itself, track useful measures: accepted tasks, rework, defects that escaped review and the time spent reviewing changes. OpenAI’s agent-skill evaluation guide includes outcome, process, style and efficiency checks. Choose a small set that helps the team improve; a larger pile of generated code is not a delivery result.
A concrete example: a membership change in RoleHarbor
RoleHarbor’s single-business release provides a practical example of this workflow: a specification and acceptance scenarios, a plan for the web app and services, implementation tasks, tests and an operating handover. The deployed system combines ReactJS, Cloudflare Workers, PostgreSQL, Stripe billing and Discord access.
One rule is that cancelling future renewals keeps access through the paid period. Another is that refunding one package must not remove access still granted by a different valid package. These rules give an agent specific changes to trace and give the developer concrete stored results to inspect.
The product owner decides the membership policy and which provider accounts may be used. I remain responsible for the technical approach, implementation review and the evidence behind a release. A nominated user reviews the relevant product journey; automated checks do not stand in for that person’s decision.
This example describes the development workflow. RoleHarbor’s product features cover memberships, billing, staff operations and Discord access.
The shared demo and its reset button provide another concrete spec: visitors can try three roles; only an Owner can restore the saved test connections; membership and payment records must stay intact. Tests check the allowed and denied requests, while a person can follow the sign-in and reset steps in the product. The fixed shared accounts do not expose private staff or MFA controls.
Agree on the first feature and the review points
Bring the task, the current product or design and the person who can answer the product questions. We can agree on a focused milestone, the agent’s scope and what you will receive for review.
The worksheet helps name the people involved, the expected behavior and the evidence needed at each stage. It is a planning aid, not a record that any checks or human approvals have already happened.
Try RoleHarbor for yourself.
RoleHarbor serves one business and one Discord server. Try the member journey or sign in as Owner, Administrator or Viewer. The demo uses Stripe test mode; no real charges are collected. Discord uses the configured demo server.
How to sign in and restore the connections
- Open the staff demo. The sign-in page lists the three available accounts.
- Choose Owner, Administrator or Viewer to fill in the email and password. Start with Viewer if you want to look around.
- Select Sign in. Use the workspace navigation to explore members, plans, billing and operations.
- Owner
- demo.owner@beemvp.comBusiness and provider settings, package-to-role mapping, room access and membership operations.
- Administrator
- demo.admin@beemvp.comDay-to-day membership operations, packages, billing and eligible failed-work retries.
- Viewer
- demo.viewer@beemvp.comRead-only access to the workspace. Changes are refused by the server.
Shared password: RoleHarbor@Demo
These public accounts keep fixed sign-in details. They cannot change staff accounts, passwords or MFA. Private staff accounts retain the full team and security controls.
Restore the default connections
Sign in as Owner, open Connections and choose Reset demo. Enter the shared password, then select Restore default connections.
This restores the saved Stripe test keys and Discord connection settings. It keeps members, payments, plans and activity. It does not undo Discord room changes, reverse payments or reset the whole workspace.
This is a shared workspace, so other visitors may change its records. Use test information when trying an editable role.
Further reading & related work
Product examples and references for the decisions in this note.
- GitHub Spec Kit: specification, planning and review ↗
- Anthropic: Building effective agents ↗
- OpenAI: Build iterative repair loops with Codex ↗
- Google Cloud: Test-driven development and AI ↗
- ASQ: Quality assurance and quality control ↗
- Anthropic: Demystifying evals for AI agents ↗
- OpenAI: Custom code review rules for Codex ↗
- OpenAI: Testing agent skills systematically with evals ↗
- RoleHarbor: current product and Stripe test demo ↗
- RoleHarbor: end-to-end project showcase ↗
- RoleHarbor: shared staff demo accounts ↗