Skip to content

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

Merged
N4M3Z merged 3 commits into
mainfrom
change/windows-install-fixes-of-85
Nov 23, 2026
Merged

N4M3Z merged 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.

@N4M3Z
N4M3Z marked this pull request as ready for review November 23, 2026 23:22
@N4M3Z
N4M3Z self-requested a review as a code owner November 23, 2026 23:22
@N4M3Z
N4M3Z merged commit cfe90ab into main Nov 23, 2026
46 of 51 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T23:22:59.650050Z 4be4ce0 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-23T23:23:50.120673Z 4be4ce0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runeseer

runeseer Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

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

@runeseer

runeseer Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @N4M3Z's task in 1m 8s —— View job


Review

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

Looks good. Nothing changed since the previous review of this head. The manifest fix at src/manifest/read.rs:37-61 still normalizes a \ key and its provenance path through super::slash_lossy, which replaces \ only under cfg!(windows) per the rule documented at src/manifest/mod.rs:110-126, so on Unix a \ stays a name character. The two platform-gated tests in src/manifest/tests.rs pin both halves. src/cli/dotrune/resolve.rs:52-62 sets source_uri per file from crate::cli::config::load_source_uri(module_root) (src/cli/config/mod.rs:378) and skips the assignment when that is empty, matching the deck branch below it; pruning is unaffected, since module identity comes from module_root.

Notes:

  • The Codex code and security reviews were still running at this head, so their results are not reflected here.
  • I could not run cargo test in this environment (command not permitted), so the new unit and integration tests remain unverified here.

No open findings · · branch change/windows-install-fixes-of-85

@github-actions github-actions Bot added the issue:rune Review lane requires intervention label Nov 23, 2026
@runeseer

runeseer Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Runeseer needs attention — invalid review output

Runeseer received a verdict, but deterministic validation rejected it.

Inspect the validation error. Then request a new review round.

Rerun this workflow only when the pull request head is unchanged. Otherwise, clear issue:rune and request a new round.

Affected head: 4be4ce0e.

Open the failed workflow

@macroscopeapp

macroscopeapp Bot commented Nov 23, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at 4be4ce0

Macroscope's review found this PR approvable — The change fixes Windows manifest path interpretation and records the module identity for single-module source provenance, with targeted regression tests. These bounded compatibility fixes introduce no obvious material risk requiring human judgment.

Notes:

  • Macroscope's correctness review did not run, so approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

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 issue:rune Review lane requires intervention size:med auto: changed-lines bucket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant