You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Praxis mode: three Go fields have no Rust counterpart, and the parity check is green on Go-only PRs #1828
The Praxis workflow has failed on every run on main since #1804. Three
fields that Go PRs added have no Rust counterpart, and the parity tests that
catch this do not block a Go-only PR. For two of the fields, rows recorded in
praxis mode differ from direct mode.
Failing tests
On main (430563a), cargo test --locked in praxis/:
record::line::tests::every_session_event_field_is_set_or_listed
fields neither set nor listed: ["project", "subagentKind"]
parse::model::tests::every_go_inference_field_is_set_or_listed
Go fields the Rust model does not give: ["inference.toolCallCount"]
No row has a project. Direct mode sets it in the forward proxy, but attribution.Wire does not carry it and ingestion does not set it. Under --praxis, cost by project (#1821) files every row under no project, and an Agents row cannot expand into projects (#1824).
None. Only the session API's summary view sets it, like messageCount and toolCount, which the Rust model already lists as not set.
Proposed fix
inference.toolCallCount: add it to the Rust not-set list, next to messageCount and toolCount.
project: carry it in attribution.Wire, as proc and clientProc are,
and set it on the row in Rust.
subagentKind: port the Bob child-task rule to the Rust row builder. A Bob
child's subagent is its own task id, and its kind is subtask when the
request offers end_subtask, else subagent. Extend the Go golden table
so the parity test pins it.
Why the PRs were green
On a pull request, the Praxis workflow blocks only when the PR changes praxis/, the workflow, or praxis mode's Go side. For any other PR, fmt,
clippy, the tests and the end-to-end step run with continue-on-error, so
the check is green and the failure is a warning inside the run. On a push to main, the same failure fails the run.
#1804, #1819 and #1812 changed Go code and the goldens that the Rust tests
read, so each passed as a PR and failed after merge. Making a PR run blocking
when it changes those goldens (core/pipeline/testdata/** and the parsers' testdata/) would catch this before merge.
Activity