Skip to content

Review - #382

Merged
dimbleby merged 6 commits into
mainfrom
review
Nov 21, 2026
Merged

Review#382
dimbleby merged 6 commits into
mainfrom
review

Conversation

@dimbleby

Copy link
Copy Markdown
Owner

No description provided.

dimbleby and others added 6 commits November 21, 2026 12:42
The slot walk already supplies positional order, and the caller supplies
the sorted keys. Group leaves and sections directly instead of sorting a
second set of ranked records. Keep separate spacing queues for pure and
mixed keys so comments travel without changing their peer gaps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
A value is keyed, in an array, or detached. It never has both a table
parent and an array host. Bind decoded views directly and claim new
array elements only after conversion succeeds.

Keep the captured document separate: a user conversion or copy hook
can reattach the host before all children have been built.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
Arrays and inline tables differ in their payload, not in where a comma
or closing bracket puts the surrounding trivia. Keep key validation in
the table loop and use one rule for each outgoing gap. Let the document
parser diagnose stray carriage returns without a second trivia scanner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
Free inline values can move into a new location, but moving one beneath
itself creates a cycle. Carry the original receiver through input
wrappers so only the overlapping occurrence is copied. Use stored
children to check containment: an unpublished link is not ownership.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
The entry table already knows its header. Carry an unpublished header
in the prepared entry instead of wiring every owner token back to its
header. Cloning returns the header explicitly, and both synthesis and
mutation use the same constructor when a fresh header is needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
Cover deleting a dotted group whose entries are separated by unrelated
entries and whose order labels have gaps from an earlier deletion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: efb2ee59-f1b0-43b1-a8e2-135ec26f6482
@dimbleby
dimbleby merged commit dde816c into main Nov 21, 2026
11 checks passed
@dimbleby
dimbleby deleted the review branch November 21, 2026 14:40
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