Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native tool fields can bypass this integration’s content-only encryption: legacy function-call history was sent unchanged, and the ordinary reply decoder forwarded structured tool calls to Pi. Reject modern and legacy tool history before admission, strip both schema formats, and refuse unsupported tool responses before dispatch. Keep local tools inside encrypted message text.
Move the ordinary stream decoder into a directly exercised module. Normalize SSE data framing before checking it so zero/extra spaces and CRLF cannot bypass the guard. Share tool-field refusal with the coupon adapter, preserve static coupon errors, and retain gift accounting/signature ordering and encrypted reasoning behavior. Regenerate the admitted manifest. Native encrypted-tool support remains disabled.
Validation at b4d092c on zed with freshly built locked dependencies and Node 24.21.0: 41 focused tests pass (NEAR decoder, coupon adapter, chat signatures and in-content parser); documentation checks pass (171 local links/fragments); whitespace/import checks pass. The full offline gate was attempted: 46 suites pass, 9 fail. Failures include an overly long rehearsal Unix socket path, a missing legacy bin/abalone-mcp entry point, browser startup and UI checks. No passing full-gate or baseline-comparison claim is made. Detailed logs are retained locally; installed dependencies and generated build outputs were removed.
Independent review and a passing applicable integration gate remain outstanding. No merge/deployment, paid calls or protocol switch. Relates to #73 and #56, amiller/awesome-private-inference#23, and the proposed DevProof supplement amiller/devproof-audits-guide#5.