mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 11:13:21 +00:00
feat(errors): type refusals at the producer with a total recovery (#10577)
* feat(errors): type refusals at the producer with a total recovery A resource refusal without authored text fell back to resource-kind advice: a fixed parser ceiling reported as memory told the caller to add host memory, an upstream IDA reply ceiling pointed at REA's MCP transport, and a fixed Kuna text ceiling reported as capacity was marked retryable. An ambiguous selector was reported as invalid input that pointed at the schema. Add AnalysisRefusal with three variants built from facts producers already own: fixed_ceiling (FixedAllowance, now with limit, unit and narrowing), adjustable_budget (AnalysisSettingLimit) and ambiguous_selector (new AnalysisInputError option). Each variant is attributed to the error's operation and projected under details.refusal. Presentation is a total switch over the variants, and authored text still takes precedence. Migrate the first producers. GraphQL nesting, Playwright trace input, the Kuna function text and the IDA upstream reply become fixed ceilings. jadx overloads and Kuna ambiguous names become ambiguous selectors, replacing the two Kuna-specific ambiguity texts. Seven occupied admissions declare measuredExhaustion. The rea/typed-resource-refusal lint rule rejects new untyped resource constraints, and the remaining 24 are counted in a baseline that can only shrink. * fix(errors): honor refusal recovery ownership
This commit is contained in:
1 parent
a0d9025202
commit
e83e3fa8a0
31 files changed
+896
-57
No files matched your search
@@ -231,7 +231,7 @@ export const inspectNtfsJournalEvidence = async (
|
||||
"capacity",
|
||||
"One NTFS inspection is already active in this scope; retry after it completes.",
|
||||
{ maximum_concurrent_inspections: 1 },
|
||||
{ retryable: true },
|
||||
{ retryable: true, measuredExhaustion: true },
|
||||
),
|
||||
);
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user