Improve prompt roles and correction repair context

This commit is contained in:
2026-11-11 17:42:30 +00:00
parent cf1fbe5748
commit f42573f8b0
23 changed files with 256 additions and 40 deletions

View File

@@ -68,6 +68,13 @@ Each actionable rejection can be revised or withdrawn within its original
section. A revision retains the original proposal identity and must pass the
full validator chain before application.
Before each repair attempt, the runner derives the current proposal's full
before/after text with the same domain preview used by validation. It refreshes
the view after revisions, including changes of target segment. A failed preview
retains available original text and findings without supplying a resulting
segment. This context supplements the original exchange and does not mutate the
transcript. The model-facing fields are described in the [prompt guide](prompts.md).
Module construction failures are fatal. Recoverable proposal model failures
record an unsuccessful operation and yield no candidates for that section;
other sections and module instances continue. Fatal adapter or application