Skip to content

Add questions, parts and solutions by source range - #57

Merged
peterbjohnson merged 6 commits into
devfrom
wb/t24
Sep 20, 2026
Merged

peterbjohnson merged 6 commits into
devfrom
wb/t24

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

Layer 3 of a draft: an author or agent says which lines of the source are which field, and the text is copied, never retyped. Add question add, part add and question solution, each taking a block id or a line range such as --text s1:14, plus --literal TEXT as the last resort, which flags the field as edited. Add mark ignore for blocks that belong to no field (a title, a rubric) and split block for a block the parser merged that is really two.

Done when the worked example in the agent spec (two questions, a separate solutions section, a solution line that the spec could not pair) can be completed with these commands, every field's provenance shows the range it came from, and a range that overlaps a field already filled is refused with both ids.


Workbench ticket t24.

@peterbjohnson
peterbjohnson merged commit c32de15 into dev Sep 20, 2026
2 of 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