Repository navigation
Conversation
Dependency refresh carried in this change: - fancy-regex 0.20, sha2/sha1 0.11, md5 0.8, toml 1.2, toml_edit 0.25, unicode_names2 4.0, and the Eggup pin at fe763189 (zip 9.6.1). - Adapt config/Cargo inspection and text/calc call sites to the new APIs. Security audit follow-ups: - 006: allow-list the reviewed Eggup git source and add a fail-fast dependency-provenance preflight to the release gate; packaging stays intentionally blocked until 007. - 009 operator surface: resolve Windows PowerShell from %SystemRoot%, create Unix staging directories 0700 at creation, and render Windows claude/vscode setup as JSON config blocks. - 009 substrate: explicit fancy-regex limits (250k backtrack steps, 4 MiB delegate), propagate schema-pattern errors through config_preflight, and deny unsafe_code package-wide with two narrow allows. - Register 007 (blocked on an Eggup registry release) and 008 (ADR-0002-gated) with evidence. Plans 006/009 are implemented; 007 is blocked and 008 is proposed. Verified with fmt, generate-docs, clippy -D warnings, the full test suite (skip parity, 4 threads), doc tests, cargo-deny, and the provenance self-test.
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.
Summary
This PR carries the dependency refresh already staged on the working tree plus the security-audit follow-ups from plans 006 and 009.
Dependency refresh
fancy-regex0.20,sha2/sha10.11,md50.8,toml1.2,toml_edit0.25,unicode_names24.0.fe763189, whose graph resolveszip 9.6.1.Audit follow-ups
deny.tomlallow-lists exactly the reviewed Eggup repository;scripts/check-dependency-provenance.pyscans every dependency table and fails the release gate fast; docs updated.cargo packageremains intentionally blocked until 007.%SystemRoot%PowerShell resolution with fail-closed path validation; Unix staging directories created0700; Windowsclaude/vscoderender JSON config blocks instead ofcmd.exeone-liners.compile_fancyconstruction point with 250k backtrack / 4 MiB delegate limits; schema-pattern errors propagate throughconfig_preflight;unsafe_code = "deny"with two narrow allows.eggup-archive 0.2.0still requireszip ^6.0.0), 008 is ADR-0002-gated and not implemented.Test plan
cargo fmt --all -- --checkcargo run --locked --features dev-tools --bin generate-docs -- --checkcargo clippy --locked --all-targets --all-features -- -D warningscargo test --locked --all-features -- --skip parity --test-threads=4cargo test --locked --doccargo deny check advisories bans licenses sourcespython3 scripts/check-dependency-provenance.py --self-test(10/10)python3 scripts/check-dependency-provenance.pyexits 1 by design, naming plan 007Notes
cargo packagestill exits 101 until 007 lands.scripts/release-check.shrequires a clean tree and is covered by the equivalent individual gate commands above.