Why Is reply_source Native After a Successful SEND?
Why Is reply_source Native After a Successful SEND?
Distinguish model fallback, deployment version and wallet execution. This is part two of the WAB ENGINE and AI Agents programming series, grounded in the V3.4 Testnet experiments.
What the experiment actually showed
The actual response used reply_source:native. Possible explanations include an older process listening on port 7100 or an AI path timing out or rejecting generated text. The response alone does not identify which cause occurred.
Engineering method
Check the process bound to port 7100, the running image identifier, and structured model-call diagnostics. Then test wording with a fixture.
A repeatable local exercise
Use ss -lntp and docker ps, then compare with Repo/README.md.
Use a recorded JSON response or a mock HTTP server. Run local unit tests, compare actual values with expected values, and inspect error paths. An AI response must not be used as evidence of a wallet transaction or its confirmation.
What can go wrong
Do not infer that the new image is running because docker compose build succeeded; a different process may still own the port.
Practical review questions
- Which facts came directly from WAB ENGINE, and which are generated prose?
- Can the experiment be repeated without broadcasting another transaction?
- What observation would falsify the diagnosis?
- Which error states are visible to the caller rather than hidden by a fallback?
Implementation boundary
WAB ENGINE remains the authoritative execution layer. The experimental agent is a separate client. Examples are intentionally scoped to Testnet and do not modify the Engine, Bitcoin Core, the signed fee law, or deployed wallet state.
Project references
- WAB ENGINE API: https://thamer.org/api
- WAB ENGINE overview: https://thamer.org/engine
- Educational code repository: https://thamer.org/repo/
Scope: experimental Testnet programming notes and preliminary SDK-style examples, not production-ready wallet software.
