feat: let bounded work prose carry paragraphs - #2
Merged
Conversation
A step could not explain its problem without cramming it onto one line: one predicate rejected every control character in every field, prose and structure alike. Split the boundary per field instead of weakening the predicate. `reject_structural_text` still rejects everything for `selected_action`, step `id` and each `blocked_by` id, which are printed inline inside composed lines. `reject_prose_text` exempts exactly one character, the line feed, for `user_problem`, `change`, each `acceptance` item and `why_next`. Both now also reject U+2028 and U+2029, which are not control characters and so passed before, and diagnostics name them as line and paragraph separators rather than as controls. The human `next` brief keeps a single-line value on its existing line and puts every continuation line behind a ` |` gutter, blank paragraph lines included. No top-level line of that output begins with a space, so prose reading `SELECTED ACTION`, `acceptance:`, `- forged` or `why next:` renders as the indented continuation it is. `--json` preserves the accepted strings exactly. Limits, determinism and status semantics are unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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
Verification
just cipassed with 429 unit tests and all integration tests.This pull request does not include the later review-surface or failure-cause investigations.