Skip to content

v0.5.1 — penFile path fix

Choose a tag to compare

@celstnblacc celstnblacc released this 18 Jun 23:55
· 12 commits to main since this release
a1bae2d

Fix

Allow penFile to live outside the project directory.

penFile is a read-only input — it may point to a shared Pencil workspace anywhere on disk. The path traversal guard was incorrectly applied to it, causing pencil-sync doctor to reject valid configs (e.g. penFile: /Users/.../Downloads/design.pen).

Only write targets (codeDir, stateFile) are confined by the traversal guard.

Changes

2026-06-19: fix(config): allow penFile outside configDir — read-only input must not be traversal-guarded

Full Changelog

https://github.com/celstnblacc/pencil-sync/blob/main/CHANGELOG.md