harden: security fixes, durability, and repo hygiene #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "harden/security-and-hygiene-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hardens hence following a multi-agent review: security fixes, durability guarantees for concurrent plan mutation, repo hygiene, and contributor onboarding. All ten findings were source-verified (a couple of agent-flagged issues turned out to be false positives and were dropped).
Security
0o600; loading repairs loose perms on existing identity files in placereplica_pathrejects non-hex plan ids (path-traversal footgun)Durability & correctness
PlanFileLockacross the decrypt-append-reencrypt cycle — fixes silent lost updates when concurrent agents mutate the same plan. Local appends now lock +fsync, matching the spawn path.Tests & CI
Hygiene & docs
.gitignorenow covers binaries, tarballs, dist dirs, PDFs, scratch filesmain.rs: dropped misleading#[allow(dead_code)]on live modules; kept targeted item-level allows where warnings would otherwise fire (this surfaced that theauthSPAKE2 module is genuinely unwired)CONTRIBUTING.mddocumenting the siblingspindle-rustcheckoutdocs-audit.md(v0.6.7) underreviews/Verification
cargo test: 984 passed, 0 failed, 12 ignored (P2P network tests)cargo test --release --test perf: passescargo fmt --checkandcargo clippy -- -D warnings: clean🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.