fix: open bug-scan PRs — chat_context await, Pi pull autonomy, predictive_loop#47
Draft
cursor[bot] wants to merge 1 commit into
Draft
fix: open bug-scan PRs — chat_context await, Pi pull autonomy, predictive_loop#47cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
- chat_context: await get_latest_briefing() so briefing block reaches LLM context - node_briefing: get_latest_briefing(allow_autonomy_fallback=False) for Pi pull/RAG/mesh gossip - predictive_loop: index-aligned ACH writeback; remove mesh cache wipe from hot path - auth: reject malformed X-Node-Timestamp instead of skipping replay check Regression tests added/updated in test_chat_context, test_edge_autonomy_backend, test_predictive_loop, test_mesh_identity. Co-authored-by: soookooothaiii <soookooothaiii@gmail.com>
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.
Summary
Addresses three bugs from the daily bug scan (2026-07-21) with open PRs never merged to
main:build_chat_context()called briefing loader withoutawait, silently dropping the 24h briefing block from LLM context.X-Node-Timestamp.store_peer_predictions()in hot path wiped GNN mesh cache each run.Tests
backend/test_chat_context.py(new)backend/tests/test_edge_autonomy_backend.py,test_predictive_loop.py,test_mesh_identity.pyNot in scope