Skip to content

Fix family hostile numbers: coerce helper and sync engine highs - #3899

Open
accesswatch wants to merge 1 commit into
mainfrom
fix/family-coerce-1
Open

accesswatch wants to merge 1 commit into
mainfrom
fix/family-coerce-1

Conversation

@accesswatch

Copy link
Copy Markdown
Contributor

Part of #3857 and #3842.

Adds quill/core/coerce.py (as_int, as_float, as_str, as_list, as_dict, safe_int_text, bounded_depth) with a hostile-input table test, so the sweep PRs can convert loaders onto one helper.

Also fixes the robustness half of the high #2489 in the sync engine: iterative commit ordering (no RecursionError on long histories, cycle safe), a torn log line is skipped, ManifestEntry.from_dict ignores unknown keys, folder-transport object and commit names are validated (no path traversal), an incomplete commit is retried instead of stopping the pull, and the change marker is written only after the commit succeeds.

Not done here (stays open on #2489): the AAD/manifest authentication design and tombstone-versus-newer-edit comparison, which change the sync format.

🤖 Generated with Claude Code

…s long histories, torn logs and hostile names

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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