Repository navigation
docs(changelog): list the two fixes from pull request 85 under 0.7.1 - #89
runewright[bot] wants to merge 3 commits into
Conversation
A manifest written on Windows with `\` between the parts of a key named files that the `/` keys rune writes did not match. `flatten_tree` now reads each key and its provenance path through `manifest::slash_lossy`, which turns `\` into `/` on Windows only. On Unix a `\` stays a character of the name, and a test there holds it. From pull request 85 by LangrMartin, rebuilt on main's own path helper. Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
A single-module source in `.rune` gave its files no `source_uri`, so provenance fell back to the consumer's root, which has no module.yaml, and recorded an empty source. Every install from such a source then warned that each provider's source snapshot remains unverified. The module's own module.yaml now names the source, as a deck entry's does. From pull request 85 by LangrMartin (a6139fe), with a test that fails without it. Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness round 1 started on |
|
Claude finished @Runewright[bot]'s task in 2m 42s —— View job Review
Looks good. Both fixes hold: Notes:
|
Runeseer review — cleanLooks good. Both fixes hold:
No open findings · Reviewed |
Port the two fixes of pull request 85 that
mainlacks: a manifest key that holds\reads as its/form on Windows, and a single-module source in.runerecords its module as the provenance source.Plan
Pull request 85, from a fork by LangrMartin, makes rune build and install a deck on Windows. It conflicts with
mainin 24 files, because pull requests 86, 87, and 88 fixed most of the same faults their own way. Two of its fixes are not onmain, and this change brings them over: the manifest read usesmain's ownmanifest::slash_lossyinstead of a newservices/paths.rs, and each fix comes with a test that fails without it. Both fixes are LangrMartin's work from pull request 85, which can then close as superseded.Changes
provenancepath with/between their parts on Windows inflatten_treeinsrc/manifest/read.rs, throughmanifest::slash_lossy. Elsewhere a\stays a character of the name.source_uriof every file of a single-module source from that module'smodule.yamlinsrc/cli/dotrune/resolve.rs, as the deck branch beside it does for each deck entry. Provenance fell back to the consumer's root, which has nomodule.yaml.src/manifest/tests.rs, and a.runeinstall from a single module intests/dotrune.rs.CHANGELOG.md.Testing
the key reads with slashes, and the.runeinstall withprovider claude source snapshot remains unverified: selected skill file skills/Sourced/SKILL.md has invalid provenance evidence, the same for gemini, opencode, and codex.cargo test --locked --workspaceon Windows 11 with Rust 1.100.0: 2602 passed, 0 failed, 146 ignored, both with the temp folder as a short name and with it on another drive than the checkout.tests/hook_dispatch.rsandtests/hook_wrap.rsfail per run, a different set each time.mainatabe1d59fails them the same way, and neither file is touched here.cargo clippy --locked --workspace --all-targets --all-features -- -D warningsandcargo fmt --all --checkclean on Windows.read_keeps_a_backslash_in_a_key_where_it_is_a_name_characterbuilds only off Windows and runs in CI alone.Release Notes
\on Windows as their/form, so a manifest a Windows build wrote that way still names the files it deployed..rune. The source was empty, and every install from one warned that the source snapshot remains unverified.🤖 Generated with Claude Code
Note
Fix Windows backslash handling in manifest keys and single-module provenance source
slash_lossyinflatten_treein read.rs, so backslashes act as path separators on Windows and are left as name characters elsewhereresolve_sourcesin resolve.rs record the module root's source URI as the provenance source for files from a single-module sourceMacroscope summarized 4be4ce0.