Skip to content

Keep Knowledge status JSON separate from CLI warnings - #175

Merged
BunsDev merged 1 commit into
mainfrom
knowledge-status-streams
Oct 11, 2026
Merged

BunsDev merged 1 commit into
mainfrom
knowledge-status-streams

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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.

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
@vercel

vercel Bot commented Oct 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 11, 2026 8:47pm UTC

Request Review

@BunsDev
BunsDev merged commit 595c676 into main Oct 11, 2026
4 of 5 checks passed
@BunsDev
BunsDev deleted the knowledge-status-streams branch October 13, 2026 12:48

This branch was successfully deployed

1 active deployment
Preview — 03febd93 Deployed Oct 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant