Repository navigation
feat(rules): cargo-locked makes every Cargo command in recipes, workflows and t3.json pass --locked - #38
Draft
PiquelChips wants to merge 1 commit into
Draft
feat(rules): cargo-locked makes every Cargo command in recipes, workflows and t3.json pass --locked#38PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
…d t3.json pass --locked
PiquelChips
force-pushed
the
feat/rule-cargo-locked
branch
from
November 22, 2026 22:30
0643754 to
f1232f2
Compare
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.
Stacked on #37; part of a stack adding the standard's rules over manifests, config files, workflows, recipes and docs. Rebased onto #13's head
c4a57df.What and why
TC4: a Cargo command without
--lockedmay rewriteCargo.lockin CI or under an agent.cargo xtaskis covered bylayout's alias; the rest need a check.*.just,.githubYAML file andt3.jsonforcargo build,check,clippy,doc,llvm-cov,nextest,publish,runandtestwithout--locked(or--frozen).cargoto the next&&,||,;or|, across lines ending in\.#lines are skipped,+toolchainis understood, and so are just's@/-prefixes.--fixinserts--lockedafter the subcommand (afterrunforcargo nextest run), one fix per line naming it, sinceapply_alldrops fixes with the same description.Fixgains a second edit beside thetoml_editone:Fix::linereplaces a line of a non-TOML file. TOML files still go throughtoml_editonly.TextFileloader for the files rules read line by line.Measured
Measured read-only at
origin/main: piquelda17710f52, sourceorigine99cc0e6b, DirkEngine07e8ba44.piqueld's 7 are all
cargo runin its justfile. The inventory's other 13 werecargo xtask(nowlayout's alias) or comments.Testing
+nightly, continued lines,;/&&chains, a comment, a workflow block andt3.json; a script outside the scanned files is ignored. The fix's output is compared line by line.-D warnings,cargo nextest run --workspaceandcargo xtask standardpass with a clean tree;just readmeregenerated the rules list.just check-changed origin/feat/readme-standardpasses (fmt-check, audit, unused, standard, lint, doc, test, doc-test, package).Checklist
cargo xtask standard --fixwhere a fix exists) or adds a deviation with its reason.)just check-changedpasses.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)