Learn why a path is not a diff
Status: Ready
Article ID: 117
Truth label: Historical
Audience: Fleet engineer and reviewer
Reader outcome: Capture reviewable change text for remote worker results.
Related articles: 014, 040, 110
Target week: 47
Last verified: 2026-09-13
Technical reviewer: Codex incident evidence audit
Editorial reviewer: Codex editorial audit
Problem
A result reported files_changed as paths. A reviewer on another host could not
see what was added, removed, or rewritten, and might not have access to the
worker's checkout at all.
Misleading success signal
A plausible list of filenames looked like review evidence. It proved only that the worker named paths, not that the delivered change matched the request or that the path content was still the same.
Evidence
The changelog records the explicit lesson: a path is not a change, remote access cannot be assumed, and the diff needs to travel with the result.
Correction
Worker result egress captures reviewable change text and connects it with task, attempt, repository, source revision, logs, and outcome evidence. Sensitive diff content remains protected.
Mechanical prevention
Test add, edit, delete, rename, binary, empty, large, and no-change results. Ensure the API carries bounded diff or artifact references with hashes. Verify the reviewer can inspect them without accessing the worker filesystem.
Current status
Current run evidence includes the captured diff and, beyond it, retained deliverables: the worker records a bounded workspace baseline before the run, compares the final workspace by file hash and mode rather than by Git status alone, and Cortex can inspect, download, and derive text versions of the exact files an attempt produced. Remote review still needs the capture bounds, binary handling, authorization, and retention stated beside the manifest.
Current limits
A diff can omit untracked dependencies, generated files, external side effects, or the final committed state. Content-bearing diffs can expose secrets and client code.
Next lesson
Continue with Why retrieval scope needs one gateway.
Derivative map
- Weekly package: WEEK-47
- Long video: VIDEO-W47-LONG
- Shorts: SHORT-W47-PROBLEM, SHORT-W47-MECHANISM, SHORT-W47-WARNING
- Email: EMAIL-W47
- LinkedIn: LI-W47-A, LI-W47-B
- X: X-W47-A, X-W47-B
- Visual: VISUAL-W47
Review record
- Historical path-only result and current evidence design remain distinct.
- Remote reviewer constraint traces to recorded incident evidence.
- Change-shape tests and artifact hashes included.
- Untracked, external-effect, committed-state, and privacy limits remain explicit.
Review completed: 2026-08-27
Re-audited against the running product: 2026-09-13