altimate-code
altimate-code copied to clipboard
feat: harness-side dbt validator framework (dbt-tests-pass + schema-verify hardening)
Tracking issue for the harness-side validator framework PR.
Problem
The agent can declare success while dbt tests are still failing or schemas are mismatched. The validator framework was introduced in earlier PRs (#792 registry, #800 dbt-schema-verify) but the dbt-tests-pass validator was never shipped, and dbt-schema-verify had a JSON-parsing bug on noisy stdout.
Solution
- New
dbt-tests-passvalidator: fires post-finishReason=stop, runsaltimate-dbt testagainst every model touched in the session, injects a synthetic user message with failing test names if any fail dbt-schema-verifyhardened:parseSchemaVerifyOutput()scans for last balanced JSON object in noisy dbt stdout- Debug logging gated behind
ALTIMATE_VALIDATORS_DEBUG=1(noisy; off by default) build-local-tarball.sh: addsaltimate-dbtbin entry so validators can spawn it from benchmark containerssystem.ts: fix strayaltimate_changeend marker placement (Marker Guard false-positive)