Skip to content

Accept several selectors per role and report double assignment - #74

Merged
peterbjohnson merged 2 commits into
devfrom
wb/t48
Sep 20, 2026
Merged

peterbjohnson merged 2 commits into
devfrom
wb/t48

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

Two spec-engine limits stopped three of four PDFs in a real folder (UCL_MechEng). (1) The model wrote ignore: as a YAML list of three selectors and the spec was refused: "A selector is a line of text, which [...] is not." A role should accept either one selector or a list of them, matched as a union; the docs and the agent's prompt then say so. (2) On a solutions-only document every block is a solution, so the layout assigns a second solution to the same target and record refuses with "q1.solution is already written", and the whole spec run is rejected. A spec run must not abort on that: when the layout's target is already filled, leave the block unassigned and let it appear in the coverage report and as an overlap-style finding naming both, so the fix loop or a person can act on it. Done when a spec with a list-valued role parses and matches the union, and a solutions-only fixture runs to a coverage report instead of a refusal.


Workbench ticket t48.

@peterbjohnson
peterbjohnson merged commit af595ff into dev Sep 20, 2026
3 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