What is Agent Harness
Today’s Coding Agents can read requirements, modify code, run tests, and even submit Pull Requests. But “can do a lot” doesn’t mean “does it well.” An Agent typically cycles through “understand the task — take action — check results — adjust” repeatedly — this is the Agent Loop. A truly reliable Loop isn’t just about keeping the Agent moving. It’s about making sure the Agent knows what the goal is, what it must not touch, how to tell whether the result is correct, and what to do when something fails. Otherwise, it might change a lot of code, run a lot of tests, and still be unable to prove the task is actually done. This is what Loop Engineering and Harness Engineering aim to solve: preparing the project context, relevant development tools, validation methods, and clear safety boundaries for the Agent, making every Loop closer to reliable delivery. In Qoder, Loop Engineering covers the following asset types: Rules, Skills, Hooks, MCP configurations, Custom Agents, Plugins, and Session Insights.Why you need Better Harness
Building good Loop Engineering is hard. Rules that should exist are only in someone’s head. Recurring feedback never gets fixed into a rule. Team conventions live in Slack threads instead ofAGENTS.md. Most teams don’t have the bandwidth — or a clear standard — to sit down and get it right.
Better Harness is our attempt to close that gap. It’s an Agent that reviews your project’s Loop Engineering for you, tells you which parts are strong and which are weak, and — for every gap it finds — can start a fix task with one click.
In the latest Qoder, you can enter Better Harness through the visual interface to launch an analysis and fix issues, or run /better-harness directly. It analyzes how the Agent executes tasks, identifies missing or weak key elements, and helps you understand what to strengthen next.
How Better Harness works
Better Harness checks not just a single answer, but the entire harness supporting the Coding Agent: whether goals and context are clear, whether the project is easy to run, whether permissions are controlled, whether validation is effective, whether delivery is safe, and whether the team and Agent can continuously learn from tasks. The main analysis process:- Map the current Harness — identify goals, context, execution entry points, feedback loops, delivery mechanisms, and learning capture.
- Find breakpoints — explain which link is missing a mechanism, integration, actual execution, or evidence of results.
- Choose the minimal improvement vehicle — assign the problem to the most appropriate Rule, Skill, Hook, script, automation, or human gate.
- Fix and verify — scope the repair, run relevant validation, then re-run
/better-harnessto check whether the Loop has actually improved.
What Better Harness evaluates
Better Harness scans a project and produces a report along five dimensions:- Task Understanding — whether the Agent can tell what this project is, where a task should start, and how big the change should be.
- Controlled Execution — whether the Agent can bring the project up, work inside clear permissions, and stay within its lane.
- Change Validation — whether every change is checked against lint, tests, and the like, and whether failures get fixed and re-checked.
- Reliable Delivery — whether task results have evidence to accept them, and whether risky actions have approval, rollback, or recovery.
- Learning Capture — whether recurring issues become discoverable, reusable rules or Skills that show up on the next similar task.
How to use it
- Click Better Harness at the bottom of the left sidebar (next to Knowledge and Marketplace).
- Your projects appear as tabs at the top (e.g. air, maERP, condo, twenty, flow). Click a tab to switch; click + Add Project to add a new one.
- The first time you scan a project, you’ll see “Understanding your project structure…” as the Agent maps modules, dependencies, and code relationships. You can track progress via View in Quest List.
- When the report is ready, the overview page displays bar chart scores for the five dimensions, related findings counts, and Scope stats (Rules, Skills, Custom Agents, MCPs, Memories, Hooks).
- Below the chart, finding cards are listed and can be filtered with All Findings / Processed / Pending tabs. Each card shows a priority (High/Medium/Low), title, and dimension.
- Click Plan a fix on a card to start the fix flow. Click Ignore to dismiss recommendations you don’t need.
- Use Regenerate to run a fresh scan, or View Details to open the full report page.

Understanding the five dimensions
Task Understanding
Task Understanding
Checks whether the Agent understands your goal, the relevant context, and the scope of changes — so every task has a clear direction and a clear boundary.
Controlled Execution
Controlled Execution
Checks whether the Agent can start and operate the project according to its instructions, and complete the task within clear permissions and operating boundaries.
Change Validation
Change Validation
Checks whether the Agent runs relevant checks for the current change, and whether it can fix failures and validate again.
Reliable Delivery
Reliable Delivery
Checks whether the task result has verifiable evidence for acceptance, and whether high-risk actions have approval, rollback, or recovery options.
Learning Capture
Learning Capture
Checks whether recurring issues are captured as discoverable, reusable, and maintainable rules, workflows, or tools — and whether their effect is validated in later similar tasks.
Creating a fix plan
Clicking Plan a fix on a card opens a Finding Detail dialog containing:- Priority indicator (High / Medium / Low)
- Issue title and the dimension it belongs to (e.g. “Repair Plan · Change Validation”)
- Cause — why the current configuration has this gap
- Expected Output — what the fix should achieve
- Fix Instructions — an editable prompt pre-filled with a repair plan, starting with
/harness. You can use it as-is or modify it before confirming.
Viewing the full report
Click View Details at the top right of the overview page to open the full report. It includes:- Agent Work Loop — a pipeline visualization showing scores for each of the five dimension nodes.
- Project Usage — daily activity heatmap, analyzed session count, estimated active minutes, Skill usage count, and most-used Skills.
- Prioritized improvements — all finding cards with Plan AI Fix and View details actions.
- Agent Customization — discovered Loop Engineering assets (Hooks, MCP, Plugins) and coverage status (Rules, Skills, Session Insights, Custom Agents).
- Evidence & Methods — sampling confidence, source gaps, and delivery results indicating the data volume behind the conclusions.
- Long Sessions for Review — flags sessions exceeding 45 minutes for manual inspection.
- Session Observations — representative observations extracted from analyzed sessions to guide investigation priorities.
Regenerating a report
Reports carry a timestamp (24-hour, local time). As your project evolves, older reports become less relevant. Use Regenerate on the report page to run a fresh scan; the newer report replaces the previous one on that project. Use Regenerate when:- You’ve merged a batch of Loop Engineering improvements and want to re-check the score.
- The project structure has changed materially (new modules, big refactors).
- The last report is older than a couple of weeks.
Making every Harness accumulate into future capability
A single/better-harness analysis isn’t the end. It helps you discover breakpoints, generate fix plans, and verify after fixing whether new Rules, Skills, Hooks, or scripts have truly entered the Agent’s work cycle.
More importantly, experiences worth reusing are accumulated as personal or team Agent assets, making subsequent Loops more stable, efficient, and controllable. Now you can enter Better Harness in Qoder, or run /better-harness, to see what’s most worth strengthening next.