Repository navigation
Keep Knowledge status JSON separate from CLI warnings - #175
Merged
Merged
Conversation
Parse successful CLI stdout without appending stderr warnings; preserve bounded failure diagnostics and strict JSON verification. Synchronize the reload privacy test with the next navigation and editor readiness before removing its handler. Coven-Harness: Codex / gpt-6-astra
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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.
Connecting to an existing Open Knowledge editor failed when the CLI wrote valid status JSON to stdout and a Node warning to stderr. Successful commands now return stdout alone; unsuccessful commands retain bounded combined diagnostics. Malformed JSON still fails verification, and externally owned servers remain running on disconnect and quit.
The real-editor reload test now observes the intercepted main navigation, verifies the guest stays hidden while it is held, and waits for the new document and editor before removing its own handler. This preserves the existing privacy assertions and timeouts while removing reliance on a cached load state.
Validation: full build and all workspace typechecks passed; 783 unit tests, 234 desktop E2E tests and seven site tests passed with real Knowledge enabled and no skips. All 480 tracked files remained byte-identical throughout the gate. Three focused regressions cover successful JSON plus stderr, failed-command diagnostics, and strict malformed-JSON refusal; the successful-warning case failed before the production fix. Independent review approved the exact four-file patch.
The original hosted reload stall and a local intermediate bootstrap failure remain archived. The final reload sequencing passed focused real-editor checks and the full suite; the evidence establishes the test-ordering correction, with no conclusion about an upstream connection defect.
This prerequisite repair unblocks fresh integration verification for #173.
Hosted verification: both required macOS jobs passed on
03febd9, each with 782 unit passes plus one opt-in skip, 234 desktop E2E passes and seven site passes. The PR iPhone job passed. The optional push iPhone job recorded 33 native unit passes and 27 UI passes with one failure waiting for the pairing input after a tap (job). Native sources and the CI workflow are byte-identical to main; its preserved log/xcresult evidence has been handed to the Companion owner. The cause of that optional failure remains unproven.