Repository navigation
Fix retained notification sanitization, Burrow credentials, and audit ledger reads - #1759
Conversation
… the audit ledger consistently
Deploying mouseterm with
|
| Latest commit: |
3d026b6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1a663524.mouseterm.pages.dev |
| Branch Preview URL: | https://audit-closeout.mouseterm.pages.dev |
dormouse-bot
left a comment
There was a problem hiding this comment.
Three points need a change or a decision before this merges; details are inline.
dormouse.ymlnow fails to load on the code it ships with.mainretired$PROJECT_ROOTin favor of$HERE(38fa90d), andtool-registry.test.tspins that$PROJECT_ROOTis rejected as anunknown substitution. This change fixes an older installeddorbut breaks every repo Tool for current builds and for the next release.- Hosted refuses every Burrow that v1.3.0 shipped. v1.3.0's
BurrowRuntimeauthenticates/ws/burrowwith?token=and supports Hosted enrollment. Production Hosted deploys separately from desktop releases. So whichever ships first breaks the other: a header-only relay Worker 401s every released desktop, and a header-only desktop 401s against today's Worker. The compatibility note covers only self-hosted Relays, where the rule "update the Relay and desktop together" can be followed. Users update their own desktops, so that rule can't hold for Hosted. - The ledger reads now count per-run reports toward the 1000-issue cap. The rationale this PR rewrites recorded 95 tracker issues filed in the month before 2026-11-09. At that rate the
--state allsnapshot fills its read in under a year, and from then on every audit run fails closed. This PR drops the "within a year" estimate from the rationale and adds nothing that keeps it from happening.
|
Addressed the Tool and ledger points in the latest commit:
On compatibility, the maintainer explicitly instructed: "none are currently in use. Don't worry about back-compat" in response to the deployment/credential-cleanup question. The requested decision is to keep this change header-only, with no legacy query-token path. The compatibility break for Hosted as well as self-host is intentional for this task; an old desktop must be updated when its Relay changes. Please review on that basis. The 321 self-hosted Relay tests pass on Linux, and the Hosted socket authentication integration tests have passed in the ongoing full Hosted run. |
Pending OSC 99 notification chunks now lose control characters before retention, preserving whitespace across chunk boundaries and the existing size limits. Burrow WebSocket connections carry their credential in an Authorization header on every attempt; both Relays reject query credentials, including requests that also supply a valid header. Browser Client authentication is unchanged.
The audit's three private-ledger reads now paginate GitHub's repository issue connection instead of the asynchronous search index. Newly filed findings appear immediately, existing unindexed keys are deduplicated, and accumulated run reports cannot exhaust a fixed read cap. Any failed page fails the read. The owning specs and integration tests cover these contracts.
Validation: 343 targeted parser/Burrow/service tests, 321 Linux Relay tests, 200 Linux audit/canary tests, and 81 Tool registry tests passed. Library and Hosted type checks and spec/Markdown/workflow/network lints passed. The exact paginated query was checked against the real tracker. The standalone browser-dev harness boots. GitHub CI, Hosted verification, and Chromium/WebKit visual checks passed. The local full Hosted suite had 385 passes and three timeouts; all three reproduced on unchanged main in the same WSL environment.
Compatibility: this intentionally requires updated Relay and desktop code for both Hosted and self-host. The maintainer explicitly waived backward compatibility for this task and confirmed no self-hosted deployments are in use. No query-token fallback is retained.