Repository navigation
feat(audit): real-task harnesses — products-admin CRUD build + real-data modes - #620
Merged
Merged
Conversation
…ata modes for the rest - products-admin: new driver that points the coding-agent machinery (plan mode, approval-gated fs+shell, durable store, loop guard) at a real greenfield build — a products admin dashboard CRUD (JSON store, node:http REST, single-page dashboard, node --test suite). The harness boots the agent-built server and verifies the full CRUD over real HTTP. - repo-maintainer: REPO_FIXTURE=<dir> reviews a real checkout + diff; ships real-fixture/ (the merged PR #616 diff + files at head). B5 adapts: a real diff has no planted bugs, so the check asserts a coherent typed review. - research-analyst: CORPUS_DIR=<dir> researches real .md/.txt/.mdx docs (verified against ../docs). Cost check fixed: providers that bill per call (OpenRouter usage.cost applies cache discounts) can't bit-match a fresh registry estimate — re-estimate with cachedInputTokens and allow a 15% band; exact equality still required when nothing was billed. - incident-responder: INCIDENT_TELEMETRY=<file.json> replaces canned telemetry; real-telemetry.json is built from actual run logs + git history. - REPORT.md: real-task round results, including the honest finding that gpt-4o-mini cannot finish open-ended builds (use AUDIT_MODEL override). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Runs all six live harnesses against OpenRouter with a working key, adds a new real-task coding driver, and gives the canned harnesses real-data modes.
audit/products-admin/(new): the coding-agent machinery — plan mode, approval-gatedfs+shell, durablefileStore, loop guard — pointed at a genuine greenfield objective: scaffold a products admin dashboard CRUD (JSON store,node:httpREST, single-page dashboard,node --testsuite). The driver then boots the agent-built server and verifies the full CRUD over real HTTP.REPO_FIXTURE=<dir>forrepo-maintainer— reviews a real checkout + diff. Shipsreal-fixture/built from merged PR fix(server): atomic session ownership claim - deny a lost claim instead of streaming in a foreign session (Eve2-F1) #616's actual diff + files at head.CORPUS_DIR=<dir>forresearch-analyst— researches real documents. Verified againstdocs/(64 real SDK docs) with a real question.INCIDENT_TELEMETRY=<file.json>forincident-responder— real telemetry JSON (built from actual run logs + real git history) replaces canned fixtures.hostinger-monitor/companionare inherently real already (live endpoints; live multi-turn conversation with durable memory).Live results (OpenRouter, alpha.19 packed build @
06aaff6e)claude-haiku-4.5— 15 agent-written tests + live CRUD verificationHarness fix (not an SDK defect)
research-analyst's cost check demandedsum(costUsd) === estimateCost(aggregate)exactly. Per-call billed costs (OpenRouterusage.costapplies prompt-cache discounts) can't bit-match a fresh registry estimate — the check now re-estimates withcachedInputTokensand allows a 15% band for billed runs. Real-corpus run:$0.018895billed vs$0.018895estimated.Honest finding
gpt-4o-minipasses every bounded harness but cannot finish an open-ended greenfield build — wrong ESM specifiers,fetchshadowing, hallucinatednode-fetch, and repeating an identical failing command until the loop-guard denied it. The SDK behaved correctly throughout;AUDIT_MODELselects a stronger model (claude-haiku-4.5verified green). Documented inaudit/REPORT.mdandproducts-admin/README.md.Test plan
node --testgreen → harness-verified real HTTP CRUDGenerated with Devin