PowerShell's parser fails on three categories of special characters inside
double-quoted strings in check-complete.ps1:
1. UTF-8 em-dash (U+2014) in comments — misinterpreted as code tokens
2. Square brackets [planning-with-files] — parsed as array index syntax
3. Parentheses ($COMPLETE/$TOTAL) and phase(s) — parsed as subexpressions
Fix: replace double-quoted Write-Host strings with single-quoted strings
and string concatenation, and replace em-dashes with ASCII double-hyphens.
Applied to all 12 tool variant copies (adal, codebuddy, codex, continue,
gemini, kiro, mastracode, openclaw, opencode, pi, scripts, skills).
Verified on Windows 11 with PowerShell 5.1 — all scenarios pass.
Closes#87
The original mastracode variant had a two-step path resolution that fell
back to a project-relative path if the $HOME-based path didn't exist.
This was dropped in the previous commit. Restore it to preserve support
for project-local mastracode installations.
The Stop hook used a YAML multiline block (command: |) with a 25-line bash
script for OS detection and script dispatch. On Windows, Claude Code passes
hook commands through Git Bash, which fails to parse the multiline content —
the SCRIPT_DIR=... variable assignment is interpreted as a command name rather
than a shell assignment, producing:
bash: SCRIPT_DIR=/c/Users/.../scripts: No such file or directory
sh: /check-complete.sh: No such file or directory
Replace the multiline block with a single-line command that:
1. Sets SD variable inline (works in all sh-compatible shells)
2. Tries powershell.exe first (covers Windows)
3. Falls back to sh (covers Linux/macOS)
This eliminates the OS-detection logic entirely — the fallback chain handles
platform differences implicitly. Applied to all 7 tool variants (claude,
cursor, codex, codebuddy, kilocode, mastracode, opencode).
Mastra Code reads hooks from .mastracode/hooks.json, not SKILL.md
frontmatter. All three hooks (PreToolUse, PostToolUse, Stop) were
silently non-functional. Added hooks.json with proper Mastra format
including matchers and timeouts. Fixed MASTRACODE_SKILL_ROOT env var
(does not exist in Mastra Code). Corrected docs/mastra.md to accurately
describe the hooks.json system and fixed personal install instructions
to include the hooks file.
v2.16.1 fixed the output pipe encoding but missed the read side.
Get-Content without -Encoding in PS5 reads files with the system ANSI
code page (Windows-1252), corrupting non-ASCII characters in
task_plan.md and SKILL.md before they reach the output pipe.
Changes to pre-tool-use.ps1, session-start.ps1, agent-stop.ps1:
- All Get-Content calls: added -Encoding UTF8
- [System.Text.Encoding]::UTF8 replaced with
[System.Text.UTF8Encoding]::new($false) — UTF-8 without BOM,
preventing stray 0xEF 0xBB 0xBF preamble in JSON output
Closes#82
Adds documentation and examples for running planning-with-files
inside BoxLite micro-VM sandboxes via ClaudeBox.
- docs/boxlite.md: full integration guide covering ClaudeBox Skill
API, persistent sessions, hooks behavior inside the VM, snapshots,
session recovery, and troubleshooting
- examples/boxlite/quickstart.py: working Python example using
ClaudeBox's Skill object to inject planning-with-files into a VM
- examples/boxlite/README.md: example context and requirements
- README: new Sandbox Runtimes section (BoxLite is infrastructure,
not an IDE - kept separate from the 16-platform IDE table)
- README: BoxLite badge, Documentation table entry, version bump
to 2.18.0, file structure updated
- CHANGELOG: v2.18.0 entry with full details
- CONTRIBUTORS: @DorianZheng added for Issue #84
BoxLite loads via pip install claudebox - no .boxlite/ folder needed
since ClaudeBox uses a Python Skill object, not file-system discovery.
Closes#84
WIKI_HOME_PAGE.md and DISCUSSION_2_CONTENT.md were leftover
scaffolding — wiki draft never published and old discussion
post content. Removed from tracking, added to .gitignore.
PR #83 correctly moved version to metadata.version but left
the stale 2.10.0 value. All IDE files had 2.16.1, canonical
was the only one still showing 2.10.0.
Gemini, AdaL, Agent, Factory, Pi — no allowed-tools or version fields,
description-only update to match canonical trigger terms.
Pi name (pi-planning-with-files) and Agent license field preserved.
Continue, OpenClaw — no allowed-tools field so that fix doesn't apply.
- Removed top-level version field
- Updated description with trigger terms
- Added metadata.version: "2.16.1" in correct block YAML location
OpenClaw: inline JSON metadata expanded to proper block YAML,
openclaw.os array preserved exactly.
Codex, Cursor, Kilocode, CodeBuddy, OpenCode — all had:
- allowed-tools as invalid YAML list → fixed to comma-separated string
- version at top-level frontmatter → moved to metadata.version
- description missing trigger terms → updated to match canonical
Each file's IDE-specific SCRIPT_DIR env var preserved exactly.
Version bumped to 2.16.1 (current release) across all.
PowerShell scripts (all 4):
- Add $OutputEncoding and [Console]::OutputEncoding = UTF8 before any output
- Fixes diamond replacement characters (◆) caused by PowerShell 5.x
defaulting to UTF-16LE stdout — Copilot reads stdout as UTF-8, causing
the byte mismatch that produces garbled output on Windows systems
Bash scripts (session-start.sh, pre-tool-use.sh):
- Use json.dumps(..., ensure_ascii=False) instead of default ensure_ascii=True
- Preserves UTF-8 characters (CJK, emojis, accented letters) in task_plan.md
context instead of converting them to raw \uXXXX escape sequences
README:
- Move Contributors from ugly bottom section into collapsible near top
- Add full contributors table with all PR authors since v2.8.0
- Add @Hexiaopi for Issue #82 bug report
- Update version badge and releases table to v2.16.1
CHANGELOG: add [2.16.1] entry
Fixes#82 — reported by @Hexiaopi
Fixes session-catchup false positives in all 9 skill-distributed copies.
Changes:
- Added early return when no planning files exist in project
- Added early return when no planning update found in session
- Removed fallback branch that emitted unsynced context incorrectly
Thank you @gydx6 for the thorough bug report, detailed analysis, and clean fix across all affected files.
Fixes#78
OpenCode uses different session storage (.json at ~/.local/share/opencode/) than Claude Code (.jsonl at ~/.claude/projects/). Session catchup now detects the IDE and provides a clear workaround message instead of silently failing.
- Added IDE detection (checks env vars and directory structure)
- OpenCode users get helpful message to manually read planning files
- Claude Code functionality unchanged
- Updated OpenCode docs with known limitations section
Fixes#74
- New collapsible 'Releases & Session Recovery' section at top
- Shows key version highlights in compact table
- Session recovery info condensed with pro tip
- Removed duplicate sections from bottom of README
- Cleaner, more scannable layout
- Thank You section now collapsible with attention-grabbing header
- Community Forks moved to top, collapsible with engaging header
- Added @ mention for RioTheGreat-ai
- Linked 'Open an issue' directly to issues page