Skip to content

docs(changelog): list the two fixes from pull request 85 under 0.7.1 - #89

Draft
runewright[bot] wants to merge 3 commits into
mainfrom
change/windows-install-fixes-of-85
Draft

runewright[bot] wants to merge 3 commits into
mainfrom
change/windows-install-fixes-of-85

Conversation

@runewright

@runewright runewright Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Port the two fixes of pull request 85 that main lacks: a manifest key that holds \ reads as its / form on Windows, and a single-module source in .rune records 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 main in 24 files, because pull requests 86, 87, and 88 fixed most of the same faults their own way. Two of its fixes are not on main, and this change brings them over: the manifest read uses main's own manifest::slash_lossy instead of a new services/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

  • Read a manifest key and its provenance path with / between their parts on Windows in flatten_tree in src/manifest/read.rs, through manifest::slash_lossy. Elsewhere a \ stays a character of the name.
  • Set the source_uri of every file of a single-module source from that module's module.yaml in src/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 no module.yaml.
  • Test the read on Windows and on Unix in src/manifest/tests.rs, and a .rune install from a single module in tests/dotrune.rs.
  • List both fixes under 0.7.1 in CHANGELOG.md.

Testing

  • The new Windows tests fail without the fixes: the manifest read with the key reads with slashes, and the .rune install with provider 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 --workspace on 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.
  • On one core with eight test threads, one or two hook timing tests in tests/hook_dispatch.rs and tests/hook_wrap.rs fail per run, a different set each time. main at abe1d59 fails them the same way, and neither file is touched here.
  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings and cargo fmt --all --check clean on Windows.
  • Linux: read_keeps_a_backslash_in_a_key_where_it_is_a_name_character builds only off Windows and runs in CI alone.
  • macOS: not run.

Release Notes

  • Read a manifest key and its provenance path that hold \ on Windows as their / form, so a manifest a Windows build wrote that way still names the files it deployed.
  • Record the module as the provenance source of a single-module source in .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

  • Normalizes each YAML key component and provenance path with slash_lossy in flatten_tree in read.rs, so backslashes act as path separators on Windows and are left as name characters elsewhere
  • Makes resolve_sources in resolve.rs record the module root's source URI as the provenance source for files from a single-module source
  • Adds Windows and non-Windows manifest tests plus an integration test for single-module provenance
  • Lists both fixes under 0.7.1 in CHANGELOG.md

Macroscope summarized 4be4ce0.

Claude Opus 5.5 (claude-opus-5-5) and others added 3 commits November 23, 2026 16:27
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>
@github-actions github-actions Bot added size:med auto: changed-lines bucket area:docs auto: documentation and markdown labels Nov 23, 2026
@runeseer

runeseer Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

review/correctness round 1 started on 4be4ce0e at ledger generation 1.

@runeseer

runeseer Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @Runewright[bot]'s task in 2m 42s —— View job


Review

  • Read the diff against origin/main
  • Judge the other lanes' findings (none present)
  • Recheck the ledger (no open threads)
  • Write the verdict, findings, and summary files

Looks good. Both fixes hold: src/manifest/read.rs:43 and :57-59 normalize a \ key and its provenance path only under cfg!(windows), matching the rule slash_lossy documents at src/manifest/mod.rs:110-126 — \ stays a name character on Unix — and the two platform-gated tests pin both halves. src/cli/dotrune/resolve.rs:55-61 sets source_uri per file for a single-module source exactly as the deck branch at :71 already did, so skill_readiness no longer fails the bundle on uri.is_empty() (src/skill_readiness.rs:427). Pruning is unaffected: is_owned_by_module derives its module identity from module_root, not from the per-file value.

Notes:

  • The pull request body is still the unfilled draft template. The CHANGELOG entries themselves are accurate.
  • I could not run cargo test in this environment (command not permitted), so the two new unit tests and the new integration test are unverified here.
    · branch change/windows-install-fixes-of-85

@runeseer

runeseer Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Runeseer review — clean

Looks good. Both fixes hold: read normalizes a \ key and its provenance path only under cfg!(windows), matching slash_lossy's rule that \ stays a name character on Unix, and the single-module branch now sets source_uri per file as the deck branch already did.

  • The pull request body is still the unfilled template; the changelog entries are accurate.
  • Tests were not run here; cargo was not permitted.

No open findings · Reviewed 4be4ce0e · review run · $1.28 · 2m42s · 32 turns

@runeseer runeseer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earned approval: review/correctness returned a clean verdict for 4be4ce0 at ledger generation 1. Dismissed automatically on any new push or generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs auto: documentation and markdown size:med auto: changed-lines bucket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants