Repository navigation
Herd 0.17.0
Limits the designer adds to a valid input now have a place in task.toml, and every one shows in the report under "Limits the design adds", with its quote when it has one (issue #216).
- Added: a top-level
narrowingslist in task.toml. Each entry is a table withlimitand an optionalquote, which must be a literal substring of the stored request.narrowings = []says there are none. A quote that is not in the request, a missing key, a bad shape or an unknown key failsherd check, which names the entry. The quick route needs no list, but a present one is checked. - Added:
herd verifyrecords the same problems as warnings, and every narrowing asassumptions: the limit, then its quote, marked as in the request or as not in your request.evidence.mdand the PR description show a "Limits the design adds" section above the results when there are any, listing every narrowing, quoted or not. - Changed: the designer brief and the criteria skill ask for the
narrowingslist. - Added:
evidence.mdand the PR description show a "Hand-solved cases" section right after the limits: every case's name, input and expected output in code blocks, each cut to its first 40 lines with a line saying how many were left out. In a benchmark run the frozen case had one line per pick while the request asks for a step-by-step simulation, and nothing showed it to the human. - Changed: that section replaces the single "Hand case" (20 lines) near the end of both texts; the list of case names and hashes stays.
- Known limits: Herd cannot tell whether the list is complete: a designer can still leave a limit out.
herd donedoes not refuse a missing key; onlyherd checkfails, andherd verifywarns. A quote must match the request byte for byte. The quote check only proves the quote text is in the request, not that it allows the limit, so the human judges every limit in the section. Long single lines are not cut, and many large cases could exceed GitHub's PR body limit.