Repository navigation
fix(binary): carry the runtime refusal's repair instruction in remediation - #14123
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The reviewed changes appear safe to merge; no new blocking issue was established. SummaryAdds owner-published
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A["Provider refusal"] --> B["SessionRuntimeAvailability.observe"]
B --> C["Operation and provider failures"]
C --> D["entries: reason + optional remediation"]
D --> E["BinarySessionStatus"]
E --> F["CapabilityInventory prefers remediation"]
Reviews (2) · Last reviewed commit: "fix(runtime): retain provider-owned refu..." · Reviewed by Greptile |
10cdd6e to
eaa8946
Compare
|
Thanks. The four inline findings are answered inline. The sibling update now keeps the active failure's own repair, a refusal whose userMessage embeds the repair no longer duplicates it into reason, the provider-wide path reads the repair through publishedRemediation so it is not limited to capability refusals, and the missing recording regression now exists as SessionRuntimeAvailability.test.ts with three observe-level cases (head eaa8946). |
c27d7b7 to
fd52340
Compare
…ation CapabilityAvailability documents reason as the refusal and remediation as the recovery instruction from the owner that made the operation unavailable. The runtime overlay folded the recovery sentence into reason and stripped any declared remediation, so a capability refused at runtime reported no repair path while a statically refused one did. Keep the observed reason and the owner's remediation as separate facts through the runtime availability projection and the status overlay.
fd52340 to
b263c23
Compare
|
@DeryFerd thanks for the PR — there are 4 open review threads here:
Could you address or reply to these? Once they're resolved and CI is green we can take another look. |
|
@morluto all four threads on this PR are resolved. The sibling update now keeps the active failure's own repair instead of replacing it with the incoming report's; a refusal whose userMessage embeds the repair no longer duplicates it into reason; the provider-wide path reads the repair through publishedRemediation, so it is no longer limited to capability refusals; and the missing recording coverage now exists as SessionRuntimeAvailability.test.ts, which drives observe directly with three cases, including a refusal whose userMessage already contains the repair. CI is green at b263c23 with 9 checks passing. |
* commit '31cec30f51fb59b28a1849a67d09ab79b1c40094': (803 commits) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) fix(nro): exclude ASET header bytes from asset ranges (morluto#15185) fix(bflt): reject relocation tables overlapping image segments (morluto#15188) docs(artifacts): document Kubernetes audit log inventory (morluto#15187) fix(dtbo): keep coverage unknown beyond the declared image (morluto#15182) perf(n64): stream ROM byte-order normalization (morluto#15179) fix(oci)!: keep unobserved directory identity unknown (morluto#15164) fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) ...
|
thanks! merged with the owner-remediation and sibling-failure fixes. all 53 selected tests and current-head CI passed. |
* commit '7f7d34ad7c30a5fe015b642118dd40e8e9ac093d': (167 commits) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) fix(nro): exclude ASET header bytes from asset ranges (morluto#15185) ...
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (173 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (34 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
Summary
Runtime-refused capabilities in
binary_sessionstatus now carry the refusing owner's repair instruction inremediation, separately from the failurereason. Previously the overlay folded recovery text into the reason and discarded the structured remediation field.Behavior and scope
ownPresentation()orremediationAction, for direct failures and provider-wide sibling observations.Validation
bae26d790c8d33472a0dd50195e1518af1b50c12. All current checks passed, including the Linux package baseline. All 53 selected tests passed in both source and built-runtime runs.Author readiness
See CONTRIBUTING.md#pull-request-ownership-and-readiness.
Human owner: @DeryFerd
Before merge
type(scope): outcome.