Repository navigation
docs(server): put back the notes the comment pass dropped (#4054) - #4086
Merged
Merged
Conversation
Restores, word for word, the security notes, platform facts, measured values, attribution and concrete-breakage traps that the comment pass in #4054 deleted from server/ (access, auth, account, the agent catalog and launch, bridge, the Claude readers, cliproxy, cmd, the Codex daemon and queue), after checking each finding of a Codex review of the merged commit. Comments only; no code changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
What
#4054 (
server/, part 1 of 8) was part of the repo-wide comment pass and merged before the owner's rule for comment-removal PRs: security notes, platform facts, measured values, third-party attribution, Rust SAFETY notes and traps that name a concrete breakage stay. This PR puts back what it dropped of those, word for word where the code is unchanged, on today'smain.How the notes were picked: a Codex adversarial review (gpt-6.2-sol, reasoning high) of the merged commit against its parent listed every deleted comment it took for a kept kind; each finding was checked against the code before the pass and today's file, and put back only when it is one of those kinds. A trap came back only when it names what the obvious change would break. Notes whose code has since moved sit on that code now; notes whose code is gone, or that are no longer true, stay out.
Comments only: no code changes. The refactor-merge kit's
proof.shchecks that every file is identical once comments are removed; lint directives (which it counts as code) stay out.Details
Lines restored per kind
Approximate: a mixed block counts under its main kind.
There are 783 HIGH/MEDIUM findings: 719 accepted, 42 traps declined, 9 rejected, 13 about the PR body (ignored).
Of the 13 LOW findings, three were fixed: the kept comment had been cut mid-sentence (claude-store.ts:148, claude-input.ts:247, codex.test.ts:1621). The other ten keep the same meaning in other words, so they were left.
14 notes Codex did not flag came back under the rule:
INTRODUCTION_TTL_MSreasonFRAME_WAIT_MSreasonatStart, "a dist/ rebuilt since"PROCESS_MISS_TTL_MSreason; three inlinecatchnotes ("gone, or not ours")BUSY_HOLD_MSreason; thebusy()note "Claude writes a turn's prompt to its transcript as the turn begins"Foreground.pidDeclined, rejected, skipped
42 trap findings were declined: they give a design reason, describe the code, or name a test target or regression. Examples:
--there included"; codex-images.ts:172 "never holds the bridge for more than a window's work"9 findings were rejected:
CTL_KERN/KERN_PROCARGS2notes; refactor(server): drop comments the code can say, part 1 of 8 #4054 turned the numbers into named constants.Left out on purpose:
claudeTranscriptStart, which starts "null while ...".Security notes put back
tailscale statusprovesgatedcloses the gatelanExposed: who is let in as open, and the bind scopebindScope: a name is never resolvedinTailnetforwardingHeadersversuscameThroughProxymachineForwardingHeadersaddressesNodeisServeOwnerRequestdecideAccess: a rebound page's Host; the sole-login proof and Funnel; the open grant refuses rebound namesadmitACCOUNT_HELD_MAXstaletake-overenrollingMemberoverflowholdsandfullreasonsAddGatesdocsapplyLink: the session is its authorityPENDING_MAXpendingErrorgatesholdsEveryAddwaitingRemoveKeysasblockedadmitted: 10 min and 10 s limitspullForRefusedSignInbudgetfreshenproofwait: a relayed record never pushes one outtrimlatch?fresh=1removalscanDeliverbefore each tryclaudeStoreOfnever substitutes the default store/branchparent: non-blocking, no symlinkslastEntrypointownSessionInsteadclaude-<uid>folder this user ownsAGENT_IDopenPlain: FIFO or link swapsvalidDetailIdlengthstillThereforeignanswers nothingcheckCoveredfreshre-asked, stale write withheldtext/api/accessits own, wrong token opens nothing.envtokenregisteredconditionsValidation
bun run check fast: passed (18,593 unit tests, typecheck, build, generated themes and types).proof.sh(comments only),ready.sh(required checks, threads, CodeRabbit, main) before the merge.🤖 Generated with Claude Code