Skip to content

feat: add harness failure context#26

Merged
cafitac merged 1 commit intomainfrom
feat/postrelease-next-slice-5
Apr 29, 2026
Merged

feat: add harness failure context#26
cafitac merged 1 commit intomainfrom
feat/postrelease-next-slice-5

Conversation

@cafitac
Copy link
Copy Markdown
Owner

@cafitac cafitac commented Apr 29, 2026

Summary

  • add a top-level failure_context block to harness-style auto/compile reports in CLI, SDK, and MCP
  • keep existing final_failure_classification / failure_classification payloads, but expose the operator-facing failure category, retryability, human-handoff signal, summary, failure_reason, and stop_reason in one stable block
  • cover success, final-test failure, generate failure, and probe failure cases with regression tests

Testing

  • uv run --extra dev pytest tests/unit/sdk/test_client.py tests/unit/mcp/test_tools.py tests/unit/cli/test_auto_command.py tests/unit/cli/test_compile_command.py -q
  • bash scripts/check-python.sh
  • bash scripts/verify-ai-harness.sh
  • uv run --extra dev python - <<'PY' ... failure_context smoke ...

@cafitac cafitac merged commit 5b8d029 into main Apr 29, 2026
1 check passed
@cafitac cafitac deleted the feat/postrelease-next-slice-5 branch April 29, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant