product: unify bridge health snapshot and fix session-lock chat - #165
Open
Z3r0DayZion-install wants to merge 1 commit into
Open
Z3r0DayZion-install wants to merge 1 commit into
Z3r0DayZion-install wants to merge 1 commit into
Conversation
Four bugs preventing accurate bridge-state diagnosis after #162-#164. 1. Local Ollama health check tested at api.openai.com checkLocalOllama used settings.ollamaBaseUrl as a multipurpose base URL. When the previous provider was OpenAI, it held the OpenAI URL and the check labeled the failed probe as Local Ollama not detected. Fix: when provider != ollama, always use 127.0.0.1:11434. 2. Hosted policy check showed openai selected when route was ollama checkHostedPolicy read settings.provider directly, ignoring the active connection profile. Fix: prefer active profile provider. 3. Update verification watchdog triggered Runtime Fatal updateVerificationCheck.ts severity was critical. In App.jsx any unacknowledged critical alert sets watchdogStatus=fatal. An update signature issue is not a runtime crash. Fix: downgraded to degraded. 4. Locked sessions returned confusing vault/NodeChain chat responses executeSignal did not check session lock before freeform chat. Fix: block chat when session is locked with a clear message. Runtime proof: build:renderer PASS, test:local:ops PASS, smoke:operator PASS, npm audit 0 vulns. Droid-Shield note: pre-commit flagged generated dist-renderer bundle text; manual inspection found no credential. Full gate was run manually before using --no-verify. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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.
Fixes four bugs preventing accurate bridge-state diagnosis.
Files: systemHealthCheck.js, updateVerificationCheck.ts, App.jsx, generated dist-renderer, receipt.
Runtime proof:
Droid-Shield note: generated dist-renderer bundle produced a false positive; manual inspection found no credential.