Repository navigation
Restore local credential hardening and isolate fake process signals - #418
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 27, 2026
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.
Closing #401 as superseded left its later credential-copy and stale-discovery repairs outside main. This restores the bounded patch on current main: profile edits check the previous token even when it is cleared, rotated or detached by an address change; unreadable credentials prevent unchecked metadata from being exposed; credential loss during discovery suppresses late results and supersedes earlier reads. Regression coverage preserves profile bytes after refusal and keeps credential-only recovery available.
The five credential source/test files match reviewed commit
5ee2ecdbaac3226c5d6f158dbdf15b14f91eb9f5byte-for-byte. The token-suffix fixture retains full and partial leak assertions with a sentinel that cannot collide with generated UUIDs. This branch starts fromd717bb0861378718783513ae34895bfd50ae09c8and changes no renderer behavior or native execution admission.Validation exposed a separate fixture defect: plausible fake PIDs could reach production process-group signaling. A signal-free diagnostic reproduced pending fake disposal when the signal function reported success; the original stalled worker's actual cause remains unproven. That first unit run was interrupted and preserved. Commit
f173d6b37dedb38a7765582597ee7a11c1a4ea76places fake PIDs outside Node's accepted signal range, forcing the existing fake-process fallback before any OS signal. Its new regression failed before the repair, and all 68 focused health/Codex/Claude lifecycle tests passed afterward. Production signaling and real-process lifecycle coverage remain unchanged.Fresh validation of the final source passed: full build, full unit command (2,127 passed, 22 skipped, zero failures or cancellations), workspace typechecks, and the real Electron connection/discovery IPC journey (1/1). Independent review approved both the credential reconciliation and fixture repair. Signed head:
17a5e4d1113f6120fbce026cdfe0f178a9b1678d. Full local UI testing was not run for this main-process/test-fixture change; required hosted E2E and protected merge-queue validation are pending.The dated receipt preserves the original regressions, interrupted validation and exact evidence limits. The historical #401 hosted cold transcript failure (run
40087454211, 694.8 ms median against 500 ms) remains undiagnosed and is not erased by this reconciliation. Refs #378 and #376; real-runtime, native privacy and human acceptance gates remain open.