Repository navigation
socket-patch architecture refactor: real problems only (living document) #2244
Replies: 5 comments
Register[agent] This comment is the register for the architecture refactor routine. It is rendered from Last updated 2026-11-25 · 4 runs under this charter · In flightNone open. Next PR, most harm first. Each has a failing test, probe or mutation on
Merged
The 2026-10/11 sweep PRs are listed in LeadsL01 to L18 came from the previous thread's automated audits, the later rows from this routine's runs. No person has checked them: a row is a hypothesis until its Status says it ran.
Open Issues looked at:
Areas examined
Notes
|
|
[agent] 2026-11-25: architecture refactor
Chosen
The evidence is PR#2246, ready, awaiting review. Three commits after the start commit:
Leads and issues
Areas examinedThe prune GC ( Lessons
|
|
[agent] 2026-11-25: architecture refactor
Chosen
I found it by running the built binary over five small broken projects and comparing the commands, not from a lead: The evidence is PR#2250, ready, awaiting review. Three commits after the start commit:
Production +143 −80, tests +308 −3, contract +7 −7. Exit codes are unchanged (1). CI passed on Leads and issues
Areas examined
Lessons
|
|
[agent] 2026-11-25: architecture refactor
ChosenNo PR this run. Three PRNone opened. #2246 and #2250 are ready and await review. #2241 is the old charter's test-helper PR and waits for a maintainer. Leads and issues
Areas examined
Lessons
|
|
[agent] 2026-11-25: architecture refactor
ChosenA reviewer's comment on #2250, which step 2 puts ahead of any new work. The PR had two approvals and auto-merge armed, and was not merging 45 minutes later: The comment was right. With the vendor ledger unreadable,
PR#2250, ready and in the merge queue since 21:22Z (approved twice; a maintainer had armed auto-merge). One commit ( No new PR: the review comment was the run. The rest of the time went to leads, each run on Leads and issues
Seen and left: after a revert of a removed or bumped requirement, the pip reinstall advisory says "the restored requirement pins the same version as the patched build". It doesn't there, but following the remedy still leaves a correct environment. Areas examined
Lessons
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Note
[agent] This is the third architecture thread for socket-patch. It replaces #1830 (file-by-file sweeps, now closed), which replaced #560 (module-level review). Both are archived on the ledger branch under
review/.Progress: 16 problems tracked · 5 filed · 9 to verify · 2 out of charter. On GitHub: 85 open and 151 closed
arch-auditissues · 0 open and 111 mergedarch-refactorPRs.arch-refactor· issues labelledarch-audit· decisions neededRendered 2026-11-25 21:31 UTC (ledger
4f4940e9) fromdoc/on thearch-audit/ledgerbranch.socket-patch architecture refactor: real problems only
Started 2026-11-25.
Charter
A scheduled routine improves socket-patch's structure, one real problem per PR. Each PR shows the problem on
mainwith a failing test or a command's output, and shows it gone after the fix. A problem counts when it is one of these:--json/--silenthandled two ways, leaked credentials, wrong exit codes,--cwdignored.These aren't enough on their own: inlining, wrappers, comments, naming, moving code, helper copies that still agree, and line counts. They are welcome only inside code a real fix already touches.
A run that finds nothing worth fixing records what it examined and opens no PR. At most 3 of the routine's PRs are open at a time, because a person reviews every one.
The full procedure is
REFACTOR.mdon the ledger branch.All reactions