{"slug": "avc-seeking-help-with-local-coding-agent-repair-failures", "title": "AVC: seeking help with local coding agent repair failures", "summary": "AVC maintainer Fabian Laborde is seeking help distinguishing a coding harness's own routing and validation failures from unsuccessful code repairs, after rerunning a regression test on the Apache-2.0 snapshot of AVC-Local-Harness pinned at commit 4998868e9d4a4560d18ec510948e693a1a900108 produced one test, one error and exit code 1 on Windows 11 with Python 3.12.14. The failing test, test_favorable_model_cannot_hide_squashed_controls in test_edit_inspection.py at line 153, received None as its verification report and raised a TypeError instead of the expected no_cumple_medicion state, while the full test module produced 17 tests: 11 passing, 3 failures and 3 errors. The repository's documented historical baseline is 740 tests: 729 passing, 6 failures and 5 errors, and Laborde states the failures do not prove AVC accepted a bad real application or that any model caused them, calling a mismatch between newer routing and legacy fixtures a hypothesis rather than an established root cause.", "body_md": "I’m the maintainer of [AVC](https://github.com/FabianLaborde/AVC-Local-Harness), an experimental Windows-first coding harness developed with substantial AI assistance, including Codex. I’m also using AI assistance for the English wording of this post.\n\nThe goal is to make small changes to existing projects while preserving unrelated behavior: inspect sources, prepare an isolated candidate, run host checks, return actionable feedback, and require a human decision before applying changes. WPF is our most exercised technology; this is not a claim of general autonomous development.\n\nI’m looking for help with one boundary: **how should a harness distinguish its own routing/validation failures from an unsuccessful code repair, and return the right evidence for the next attempt?**\n\nThe public repository is an Apache-2.0 historical snapshot from November 10, 2026, pinned at:\n\n`4998868e9d4a4560d18ec510948e693a1a900108`\n\nIt includes the Python harness, web UI, tests, architecture documentation and known limitations. Its documented full-suite baseline is **740 tests: 729 passing, 6 failures and 5 errors**. That is historical evidence, not a fresh full-suite run or an application success rate.\n\nOn November 28 I reran an existing regression test on an unchanged checkout of that commit, using Windows 11 and Python 3.12.14. Builds, editor calls, model judgments and captures in this fixture are simulated; it does not compile or inspect a real desktop application.\n\nClone the repository linked above using its green Code button and the HTTPS clone address. Then run the following from PowerShell in the parent folder, with Git and Python 3.12 installed:\n\n```\ncd AVC-Local-Harness\ngit checkout --detach 4998868e9d4a4560d18ec510948e693a1a900108\npy -3.12 -m venv .venv\n.\\.venv\\Scripts\\python.exe -m pip install -r aider_vision_code\\requirements.txt\n.\\.venv\\Scripts\\python.exe -m unittest discover -s aider_vision_code -p test_edit_inspection.py -k test_favorable_model_cannot_hide_squashed_controls -v\n```\n\nThe fixture supplies a favorable simulated model judgment and an after-observation with button height reduced from 50 to 25. It expects the host’s measurement check to produce `no_cumple_medicion`, leave the job in the error phase, and record one edit.\n\nObserved: **one test, one error, exit code 1**. The test receives `None` as its verification report and raises:\n\n```\nself.assertEqual(report['estado'], 'no_cumple_medicion')\nTypeError: 'NoneType' object is not subscriptable\n```\n\nSource: `test_edit_inspection.py` (under `aider_vision_code/`, line 153). Tracking: [issue #1](https://github.com/FabianLaborde/AVC-Local-Harness/issues/1).\n\nRunning that entire test module produced **17 tests: 11 passing, 3 failures and 3 errors**. This exposes a broken orchestration/test contract; it does **not** prove that AVC accepted a bad real application, or that any model caused this failure. A mismatch between newer routing and legacy fixtures is a hypothesis to investigate, not an established root cause.\n\nIn local, unpublished experiments we tried isolated candidates, differential compiler diagnostics, bounded repair attempts, and Codex giving advice to a local coder. One recorded WPF repair run used Strata serving the local model alias `qwen3.8-flash-next-iq3_s`, a 32768-token context, `reasoning_effort=none`, temperature 0 and up to 8000 output tokens per repair. Its two repairs went **14 → 10 → 10 compiler errors**, without reaching a build. Errors changed even when the count stayed constant.\n\nAn archived audit also found that some useful changes were rejected by the harness, while other proposed changes were genuinely incorrect. Later Codex intervention recovered the sample app; that was supervised application repair, not evidence of local autonomy. These pilots, model responses and sample projects are **not published**. Cloning AVC will not reproduce them, and they are not Aider bug reports or a controlled comparison of inference engines.\n\nA focused explanation, code pointer or small regression-backed PR would help more than another broad rewrite. I am not claiming this cycle is solved or asking anyone to debug an unpublished project. The public fixture above is the starting point available for independent inspection.", "url": "https://wpnews.pro/news/avc-seeking-help-with-local-coding-agent-repair-failures", "canonical_source": "https://discuss.huggingface.co/t/avc-seeking-help-with-local-coding-agent-repair-failures/192791#post_1", "published_at": "2026-11-28 22:59:46+00:00", "updated_at": "2026-11-28 23:11:44.899733+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-safety"], "entities": ["AVC-Local-Harness", "Fabian Laborde", "Codex", "Strata", "qwen3.8-flash-next-iq3_s", "Windows 11", "Python 3.12.14", "WPF"], "also_reported_by": [], "takeaway": "A harness should treat a missing verification report as its own orchestration failure rather than a failed repair: the pinned fixture returned None instead of no_cumple_medicion, raising a TypeError at test_edit_inspection.py line 153 and leaving 3 failures and 3 errors across the 17-test module.", "recommendation": {"advice": "Assert that the verification report is non-None before indexing it, so a broken routing/test contract surfaces as an orchestration error rather than a TypeError inside the repair assertion.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/avc-seeking-help-with-local-coding-agent-repair-failures", "markdown": "https://wpnews.pro/news/avc-seeking-help-with-local-coding-agent-repair-failures.md", "text": "https://wpnews.pro/news/avc-seeking-help-with-local-coding-agent-repair-failures.txt", "jsonld": "https://wpnews.pro/news/avc-seeking-help-with-local-coding-agent-repair-failures.jsonld"}}