Skip to content

fix(runner): support DeepSeek Harness 0.2.2-rc.3 on Windows - #317

Merged
mergify[bot] merged 2 commits into
mainfrom
fix/312-dsh-windows-rc3
Dec 1, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
fix/312-dsh-windows-rc3

Conversation

@ericlitman

Copy link
Copy Markdown
Owner

Summary

Allows DeepSeek Harness (dsh) 0.2.2-rc.3 alongside 0.2.1-rc.2 on Windows while keeping non-Windows hosts pinned to 0.2.1-rc.2, incorporating @Minervaowl7's PR #300 (b7ef68fc) with authorship preserved and refactoring the platform check into a pure measuredVersions(platform) function tested across win32, darwin, and linux.

Closes #312

Evidence

  • Contributor Windows measurements recorded in fix(runner): support DSH 0.2.2-rc.3 on Windows #300 (patch rows, stored-login preflight, read-only, and bounded writer on dsh 0.2.2-rc.3 on Windows), accepted by operator decision alongside our macOS 0.2.1-rc.2 live gate.
  • Gate on head 1da328bb:
    • bun run test: 555 pass, 0 fail (exit 0)
    • FORCE_COLOR=1 bun run test: 555 pass, 0 fail (exit 0)
    • bun run typecheck: exit 0
    • bun run static: 220 pass, 0 fail (exit 0)
    • claude plugin validate plugins/pstack: Validation passed (exit 0)
    • bun plugins/pstack/skills/poteto-mode/scripts/runner/registry/render.ts --check: exit 0
  • Live gate (claude:runner with --runner-route dsh:deepseek-flash@low) running on pro14 from trusted origin/main against head 1da328bb.

Merge Danger

Low. On macOS and Linux, measuredVersions(process.platform) returns only ["0.2.1-rc.2"] (no behavioral change). On Windows, 0.2.2-rc.3 is added to the version guard and documented honestly in model-catalog.md and CHANGES.md.

Not verified

  • Live execution of dsh 0.2.2-rc.3 on Windows (no Windows host in the test fleet; relies on @Minervaowl7's measurements in PR fix(runner): support DSH 0.2.2-rc.3 on Windows #300 and the pure measuredVersions("win32") table tests, per operator proof-exception approval).
  • Windows sandbox mechanism and escape matrix (explicitly documented in providers/dsh.ts and model-catalog.md as measured only on macOS).

@mergify

mergify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 2 merge protections satisfied — ready to merge.

Show 2 satisfied protections

🟢 Queue ready pull requests

Automatically queue non-draft pull requests targeting main after verify and live-gate pass on the head and every review thread is resolved.

  • #review-threads-unresolved = 0
  • -draft
  • check-success=live-gate
  • check-success=verify

🟢 🚦 Auto-queue

When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.

  • -files~=^\.github/
  • base = main

@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: 1da328bb82c71408e6a42e4ea0e0e96863d16100
  • Base SHA: 5d8f0a63deebcc9abe82c8c5110c7807b19b1ff1
  • Result: PASSED — named features verified
  • Self-test: not requested
  • Planned sessions: 3 (limit 12)
  • Publisher revision: 5d8f0a63deebcc9abe82c8c5110c7807b19b1ff1
  • Evidence-set SHA-256: 6006ab8c6594729e2e93da80867e4e8f7866f1f453352fae712d0c7d6c1c369b
  • Installation (claude): CLI 2.1.332 (Claude Code), plugin 1.21.0, candidate 1da328bb82c71408e6a42e4ea0e0e96863d16100, tree 0f3414f93cf3d5a19be740c8ed25539117a336656885f8f705b903bea81d487c.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1, full-access-writer, bounded-writer; result passed 16 assertions; ids retained privately; 16 assertions machine-checked; transcript SHA-256 3dc550a3e358bb05c06f9867e282a0c3e4bb796059dd5b3172313c965f209371; artifact-set SHA-256 ff2b4b6f8ddd7b511b14583d8e4658ca6072a7db3bedbfc436e39c37b9bf9c92.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

@mergify

mergify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into main as 9e412e6 at 15:10 UTC

Less than a minute in the queue, with no time running CI.

So far

  • ✅ Entered the queue Tue 1 Dec, 15:10 · rule default · triggered by merge protections
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged 15:10 · 9e412e6 · merge
8 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule Protect main
  • #review-threads-unresolved = 0 · required by Merge Protections rule Queue ready pull requests
  • -draft · required by Merge Protections rule Queue ready pull requests
  • check-success=live-gate · required by Merge Protections rule Queue ready pull requests
  • check-success=verify · required by Merge Protections rule Queue ready pull requests
  • any of · required by GitHub repository ruleset rule Protect main:
    • check-success = @github-actions/verify
    • check-neutral = @github-actions/verify
    • check-skipped = @github-actions/verify
  • any of · required by GitHub repository ruleset rule Protect main:
    • check-success = live-gate
    • check-neutral = live-gate
    • check-skipped = live-gate
  • any of · required by GitHub repository ruleset rule Review gate:
    • check-success = @mergify/Mergify Merge Protections
    • check-neutral = @mergify/Mergify Merge Protections
    • check-skipped = @mergify/Mergify Merge Protections

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit 9e412e6 into main Dec 1, 2026
6 checks passed
@mergify mergify Bot added queued and removed queued labels Dec 1, 2026
@unfret-eal

unfret-eal Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ No blocking findings

Walkthrough

The DeepSeek Harness (`dsh`) runner now accepts dsh `0.2.2-rc.3` on Windows in addition to `0.2.1-rc.2`. macOS and Linux still accept only `0.2.1-rc.2`. The version check moves into a pure `measuredVersions(platform)` function, and when it refuses a version, the `unavailable-cli`/69 message now names the platform and lists the versions accepted there. The PR adds table tests for `win32`, `darwin` and `linux` and makes a few existing tests work with Windows paths and CRLF line endings. Windows support relies on the contributor's measurements from PR #300; the author notes that no live Windows run was done.

Area What changes
Version guard The preflight `--version` check uses a per-platform list. Windows accepts `0.2.1-rc.2` and `0.2.2-rc.3`, other hosts accept only `0.2.1-rc.2`, and the refusal message lists the versions accepted on that host.
Docs and changelog `model-catalog.md`, the provider notes and `CHANGES.md` now describe the Windows-only `0.2.2-rc.3` allowance and what the contributor measured on Windows. The new note's wording about which sandbox measurements exist for Windows is inaccurate.
Tests Adds tests for `measuredVersions` on each platform and for which versions the guard accepts. Credential-path expectations now use resolved paths, the preflight patch read now normalizes CRLF, and the refusal-message assertion in `run.test.ts` is updated.
Advisories (1)
  • 🔵 Low · The provider notes misstate what was measured for the Windows sandbox · plugins/pstack/skills/poteto-mode/scripts/runner/providers/dsh.ts:221
    When a Windows user checks whether dsh 0.2.2-rc.3 is suitable for a bounded writer, the new note tells them that the “Windows sandbox mechanism” was measured on macOS. The adjacent notes identify the macOS evidence as a Seatbelt test on dsh 0.2.1-rc.2; the Windows evidence describes read-only and writer checks on disposable fixtures, not a Windows sandbox or escape-matrix measurement. State that the sandbox mechanism and escape matrix were characterized on macOS, not Windows. The same wording appears in model-catalog.md:161 and CHANGES.md:16.
    Not blocking because: Bounded documentation phrasing error: adjacent notes already state that macOS measured Seatbelt on 0.2.1-rc.2, and no runtime behavior, security guarantee, or merge gate depends on this wording.
Details
Lane / stage Model Effort Outcome Duration
broad-gpt-5.6-sol-xhigh / review openai/gpt-6.2-sol → gpt-6.2-sol · primary xhigh succeeded 1 min 38 s
focal-gpt-5.6-sol-xhigh copy / review openai/gpt-6.2-sol → gpt-6.2-sol · primary xhigh succeeded 4 min 1 s
focal-gpt-5.6-sol-xhigh copy 2 / review Not recorded Not recorded failed Not recorded
judge / judge gemini-4-neon-low → gemini-4-neon · primary low succeeded 43 s

First review of this pull request.
2 reviewers finished.
Commit 1da328b.
Check run.
Run: GET /unfret/run/panel:1da328bb82c71408e6a42e4ea0e0e96863d16100:YHGMwwJUzpo:E7hJMssQluE.

@unfret review · @unfret status · @unfret help

@unfret-eal unfret-eal Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No blocking findings
Check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support DeepSeek Harness 0.2.2-rc.3 on Windows

2 participants