Repository navigation
chore: add a skill that runs the cleanup audit and pass - #538
Merged
Merged
Conversation
|
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 33 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. |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 19, 2026
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.
piqueld's cleanup audit and pass have a skill now (sourceorigin-dev/piqueld#356). Without one here, a cleanup of SourceOrigin would mean rebuilding the area split, the checks, the agent briefs and the review routing from scratch.
This ports that skill as
sourceorigin-cleanup, adapted to this repo:scripts/stats.pymeasures the repo. Lockfiles are found by name, since.gitattributesdoesn't mark them here. The TypeScript SDK's tests and the browser suite count as test code. It counts how many Rust tests need PostgreSQL, and breaks areas over 30,000 lines into their modules. CI'srust-coverageartifact supplies coverage.apps/auth-service(59k lines) splits into Sign-in and OIDC, Accounts, Operations, Admin (withcrates/ui/src/admin) and Pages (with the rest ofcrates/ui,apps/webandtests/browser). Database, SDKs and Tooling are the other areas. Every hand-written file has one owner, and each area is under 22k lines. Title scopes follow this repo's history.--all-features, since a per-package build ofsourceorigin-commonenables none of its features. Clippy then runs again without them.just db testreplacesjust test -pfor auth and the repository.cargo semver-checksruns for the published crates, the web checks for TypeScript and JavaScript, andjust docs screenshotsproves pages unchanged. CI runs every job on drafts here, so the browser suite, the images, packaging and MSRV are left to it.just validateandjust db testonmain, and fixes any failure first.refactor/<n>-…andfix/<issue>-…, and fix PRs sayCloses #<issue>. A vulnerability goes to the owner only (SECURITY.md).crates/databaseand no decisions incrates/ui. It also checks the published crates' API, duplication between the two SDKs andcommon's wire types, and what the CLI, settings, developer console and admin dashboard each reimplement.Proof:
stats.pyruns onmain, and the reviewers matched its counts against cloc and grep (622 Rust tests, 403 of them needing PostgreSQL; 72 TypeScript and 43 browser tests).just docspasses. The council checked every recipe, path, label, CI behavior and naming convention against the repo, and ran the--all-featuresClippy, rustdoc, test and semver-checks commands.Found along the way: Clippy on Rust 1.100, the current stable, fails on
mainincrates/ui(crates/ui/src/settings/timeline.rs:127,map_unwrap_or).rust-toolchain.tomltracks unpinnedstable. The skill's pre-flight would catch it, but this PR doesn't fix it.Council review
Rounds: 6
Rounds 4 and 5 found no blocker and no should-fix left open, and all three approved the final head in round 6. Left out on purpose: a finer module breakdown of
src/webandcrates/uiinstats.py, a branch name for the pre-flight fix PR, and whereorchestrator_capabilitiesis first called. The harness andfile-pralready cover the last two.Note
Written by Claude Opus 5.5 in Claude Code and reviewed by GPT 6.1 Sol, Claude Opus 5.5 and Claude Fable 5.2 (via T3 Code)
🤖 Generated with Claude Code