Repository navigation
Add drawing comments - #316
Merged
Merged
Conversation
# Conflicts: # skills/leaf/assets/runtime/composing/input.js
leaf-agent
reviewed
Sep 5, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
Two findings, both in the same seam: the drawing layer has one draft slot and only the page path drives it explicitly.
The rest reads well. The parse_constant guard on _read_posted is the right call — minimum/maximum comparisons against NaN are both false, so a NaN coordinate would otherwise have passed the record schema; nice that the refusal is tested. The oneOf third branch (drawing without text) keeps text+token, token+drawing, and the three-way case all failing, and the dependentSchemas ban on quote/part matches what aimTargetAt can actually mint, so the browser can't produce an anchor the door refuses.
leaf-agent
approved these changes
Sep 5, 2026
# Conflicts: # skills/leaf/assets/registry.json # skills/leaf/references/internals/events.md
This was referenced Sep 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wdraw mode whose single freehand stroke can begin on content or page whitespace, cross element boundaries, and retain the nearest semantic target when one is alongside the starting pointVerification
uv run pre-commit run --all-filesuv run pytest tests(888 passed)uv run pytest tests/test_render_drawing.py -q(21 passed)