rust-archive-build-binding
Skill4 starsChanged 20 days agoMITView on GitHub
Prevent stale Cargo artifacts when a source archive is restored over a reused Rust target directory. Use for reproducible benchmark comparisons and for moving source archives between machines.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accepted-proof-exact-retuneSkill
- beachhead-ratchetSkill
- circuit-edit-integration-safetySkill
- computer-algebra-oraclesSkill
- constraint-construction-searchSkill
- cross-model-review-gateSkill
- deepseek-pressure-testSkill
- ecdsafail-fastevalSkill
- ecdsafail-lowq-playbookSkill
- ecdsafail-oracle-loopSkill
- ecdsafail-pareto-ratchetSkill
- ecdsafail-scratch-dietSkill
- elicit-researchSkill
- exact-search-engineeringSkill
- fast-lean-proof-loopSkill
- hard-problem-contractSkill
- invariant-chartSkill
- jev-second-perspectiveSkill
- lean-arklib-proofsSkill
- lean-finite-certificate-splittingSkill
- mission-commandSkill
- nasqret-playbookSkill
- pip-disciplineSkill
- portable-source-assertionsSkill
- proximity-prize-campaignSkill
- proximity-prize-frontier-archaeologySkill
- research-loopSkill
- route-compare-probe-disciplineSkill
- send-to-claude-fableSkill
- shot-autopsySkill
- squares-in-squares-campaignSkill
- verify-paired-native-measurementsSkill
- verify-research-transferSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When reusing a target directory across archived revisions:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bind the binary actually tested to the intended source, features, toolchain and flags.
Cargo commonly checks source modification times against dependency information. An archive can restore different source with older timestamps and leave an incorrectly reusable artifact. A clean source hash alone does not establish which source produced the executable. See Cargo's fingerprint documentation.
When reusing a target directory across archived revisions:
- Freeze source/archive and patch hashes, toolchain, feature selection and
compiler flags before building. Keep benchmark binaries outside
target. - Restore into an owned source tree with fresh modification times, for example
tar -xmzf source.tar.gz -C owned-checkout. Check for obsolete files not in the archive; extraction does not remove them. Preserve other workers' trees. - Confirm the affected crates rebuild. If source and compiler diagnostics disagree, inspect Cargo fingerprints and mtimes before changing correct source. Use a clean target when the binding remains uncertain.
- Save the successful build log and hash each copied executable. Freeze those hashes through correctness checks and timed runs. Compare both arms with identical flags and features; build/check/test artifacts are not interchangeable.
- Exclude results from a build whose source binding is unresolved. Rebuild and rerun the necessary gates after repair; a later successful build does not retroactively validate earlier results.
For source archives crossing case-sensitive filesystems or containing Git symlinks, read references/archive-transfer.md before extraction.
For cold multi-role builds under nested time limits, read references/cold-build-timeouts.md before sizing the run or interpreting a timeout.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

