Skip to content

fix: document PyYAML and reject broken take lists - #1

Merged
hc-ui merged 12 commits into
mainfrom
cursor/optimize-shotbible-aa74
Aug 26, 2026
Merged

hc-ui merged 12 commits into
mainfrom
cursor/optimize-shotbible-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Changes

  • README (EN/ZH) now honestly lists the PyYAML runtime dependency instead of "zero third-party dependencies"
  • Broken takes: list items (strings / nulls) raise ParseError instead of being silently dropped
  • store.py imports Character and Scene used by the helpers
  • Tests: reject non-mapping takes; compileall syntax check inside the existing pytest job (token cannot edit Actions workflows)
  • Version 0.2.2

Verification

Local: pytest → all passed (including the new take-list case)

No PR template in this repo.

Risk / decision

Stricter load behavior: a malformed take list that used to skip bad items will now fail. That is the intended fix for silent data loss.

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:28
@hc-ui
hc-ui merged commit c042c85 into main Aug 26, 2026
6 checks 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