WIP: test(assistant): locate native tool turn stall #1627

Draft
lytedev wants to merge 4 commits from propose/native-agent-turn-diagnostics into propose/native-agent-real-service-proof
Owner

See the commit.

See the commit.
test(assistant): locate the native tool stall across canonical turns
Some checks failed
/ check-format (push) Has been cancelled
/ build (push) Has been cancelled
1f39806ff6
Keep the existing 45-second bound and every delivery assertion. Add a
second discovery and monotonic phase timing to separate a general second
turn stall from output-specific work. Runtime validation is pending.
test(assistant): retain native deadlines outside TCG overhead
Some checks failed
/ check-format (push) Has been cancelled
/ build (push) Has been cancelled
b3ddd59644
The timing probe completed first discovery at 37.990 seconds, leaving
less than seven seconds of the unchanged 45-second case budget for the
next turn. This does not establish an output-specific deadlock.

Execute the same real Herdr/Core proof natively in the Nix build sandbox.
Require a loopback-only network namespace before launching any child.
Keep the TCG version available as virtualMachineProof, with explicit
verification of its firewall isolation. Preserve all delivery and replay
assertions and the original Node deadline. Runtime validation is pending.
test(assistant): require complete native proof execution
Some checks failed
/ check-format (push) Has been cancelled
/ build (push) Has been cancelled
efc4ae139a
The native sandbox run completed all registered-tool contracts in
17.844 seconds with the unchanged 45-second case deadline. It observed
42 genuine RPCs, one exact UTF-8 prompt delivery, no additional mutation
after durable replay, and zero RPCs for the shared non-operator.

Require an exact nonempty TAP result with no skipped, cancelled or TODO
cases so an accidentally omitted test cannot make this check pass.
Ruff PLW1509 is inapplicable here: a runtime guard requires the launcher
to be single-threaded before controlling-terminal setup, and the reader
thread starts only afterward. Other Ruff checks pass. Revalidation of
the TAP footer check is pending.
test(assistant): retain Local voice proof in shared fixture
All checks were successful
/ check-format (push) Successful in 18s
/ build (push) Successful in 29m4s
70fef51659
Carry the private Local response and egress observations from the
existing spoken proof into the extracted fixture. The five established
voice case bodies remain byte-identical in the combined candidate.

Immutable prerequisite candidate 36c7d61f291a passed 860 Node tests with
zero omissions in 120.444 seconds, 204 UI tests, complete strict/build
checks, genuine native-agent integration, and all existing voice and
TV service checks on bigtower. This fixture is byte-identical to the
one tested there; that candidate remains local, not a pushed QA merge.
All checks were successful
/ check-format (push) Successful in 18s
/ build (push) Successful in 29m4s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin propose/native-agent-turn-diagnostics:propose/native-agent-turn-diagnostics
git switch propose/native-agent-turn-diagnostics

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch propose/native-agent-real-service-proof
git merge --no-ff propose/native-agent-turn-diagnostics
git switch propose/native-agent-turn-diagnostics
git rebase propose/native-agent-real-service-proof
git switch propose/native-agent-real-service-proof
git merge --ff-only propose/native-agent-turn-diagnostics
git switch propose/native-agent-turn-diagnostics
git rebase propose/native-agent-real-service-proof
git switch propose/native-agent-real-service-proof
git merge --no-ff propose/native-agent-turn-diagnostics
git switch propose/native-agent-real-service-proof
git merge --squash propose/native-agent-turn-diagnostics
git switch propose/native-agent-real-service-proof
git merge --ff-only propose/native-agent-turn-diagnostics
git switch propose/native-agent-real-service-proof
git merge propose/native-agent-turn-diagnostics
git push origin propose/native-agent-real-service-proof
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lytedev/nix!1627
No description provided.