Repository navigation
refactor(connectors): cut comments to what the code cannot say - #495
Merged
Merged
Conversation
aicayzer
commented
Dec 4, 2026
aicayzer
left a comment
Contributor
Author
There was a problem hiding this comment.
Review: ready to merge with open items
Summary. Cuts comments in connectors/ to what the code cannot say; it is comments only, so it cannot change behavior.
First draft: 4/5. The cut removed 313 comments of kinds the rule keeps; all restored in 236f0b3.
Checked.
- Done: all 122 changed files parsed with comments removed are identical to
main. - Comments: each removed block read against the code it sat on, connector by connector.
Found.
- Trap and vendor-constraint comments cut. Ordering and race reasons, vendor limits and status codes the code depends on (pagination caps, sync tokens,
409,410,412,304), reasons for guards that look redundant, and test waits, stub shapes and witnesses. Restored, one or two lines each, in 236f0b3.Comments
For an issue.
- Google Calendar status codes. A wrong assumption could duplicate an event or drop a change. Filed as #499.
- Todoist command-uuid idempotency and completed-tasks window. A resend could apply twice. Filed as #500.
- GitHub issue-transfer behavior. A transferred issue could be written twice. Filed as #501.
Quick fixes. 1 applied by the reviewer.
Reviewed by withmarfa-reviewer on Claude Sonnet 5.5. This review may contain mistakes.
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.
Cuts comments in
connectors/to what the code cannot say, per the session 298a brief. Comments only; no behaviour change.Comment lines (whole-line comments, tracked .ts/.js)
Outside claims checked
per_pagemax 50 andIf-Modified-Since304; Readwise limits (240, Reader list 20, save 50, update 50, delete 20 per minute); Readwise 8,191-character highlight text; Raindropperpagemax 50, collection ids 0, -1, -99, highlight default colour yellow, collection delete moves bookmarks to Trash; Todoist 1,000 partial syncs per 15 minutes; RFC 7303 BOM then charset precedence.Issues to file
xml:baseand JSON Feed detection claims behind the RSS parse.Code health
reader/outbound.tsandmanaged.tscarry heavy conditional logic with little structure.content-pictures.ts.Checks run
pnpm build,pnpm connectors:check,pnpm typecheck,pnpm lint,pnpm format:checkpass;vitest run connectors/75 files, 1,860 tests pass. Proof not run.Review
Reviewed by
withmarfa-reviewer(standard depth: comments only, checked by comparing every changed file parsed with comments removed againstmain; all 122 identical). The review restored 313 comments of the kinds the rule keeps: ordering and race reasons, vendor constraints the code depends on, reasons for guards that look redundant, and test waits, stub shapes and witnesses. The table shows the counts after the review. Merged without waiting forFull CI: the change cannot affect any job's behavior.