Skip to content

fix: align portable paths and upload validation - #6

Merged
suraciii merged 1 commit into
mainfrom
fix/dot-pages-config
Aug 14, 2026
Merged

fix: align portable paths and upload validation#6
suraciii merged 1 commit into
mainfrom
fix/dot-pages-config

Conversation

@suraciii

@suraciii suraciii commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Change the default configuration directory from UserConfigDir/pages to UserConfigDir/.pages and update the CLI contract and user documentation.
  • Close staged HTML files before validating rejected Uploads so Windows can remove the staging directory.
  • Require canonical zip entry paths, reject case-insensitive duplicate names, and extract only after every entry passes validation.
  • Accept only the documented Content-Type shapes: plain zip, and HTML with no parameter or only charset=utf-8.
  • Keep install and remote Publish instructions shell-neutral, and update the design index for pages skill.

Verification

  • make ci
  • go test -race ./...
  • Linux, macOS, and Windows builds
  • Linux, macOS, and Windows test compilation
  • Focused HTML rejection, Content-Type, and zip path tests
  • Standard validation for the bootstrap and embedded skills
  • Built pages skill output matches the embedded SKILL.md byte-for-byte

@suraciii
suraciii enabled auto-merge (squash) August 14, 2026 02:35
@suraciii
suraciii merged commit 67d6a05 into main Aug 14, 2026
1 check passed
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.

1 participant