fix(sync): bound global dry-run path failures#1996
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Pre-fix investigation and TDD evidenceSibling hunt. routes in directly to , bypassing . The report hard-coded and then classified every discovered unit independently. called the mutating , while resolution errors were caught per unit, which is the mechanism behind repeated failure output. This PR fixes only that report/discovery route and root JSON emission; it does not touch runners/adapters, alias/transaction, certificate/provenance, or rollout data. History. I reviewed (global sync foundation), (canonical proof boundaries), and (CWD-independent path alignment). The established convention is to anchor path resolution at the owning project/config root and preserve canonical activation as an explicit protected-policy gate. This PR follows that convention. Non-active canonical policy remains non-authoritative legacy reporting. Red commit: was pushed before the fix. Its focused test failed because stdout began with before the JSON payload, and the report returned for an absolute configured prompt root. The failure is recorded by . Fix evidence: makes the same test pass. The test asserts one parseable JSON document, two discovered configured-root units, and no project writes. |
Corrected Investigation and TDD EvidenceThe preceding comment was corrupted by shell interpolation; this is the authoritative evidence. Sibling hunt. History. Reviewed Red commit. Fix evidence. |
Verification Evidence
Credential-free clone E2E: cloned the branch into a disposable local repository, configured an external absolute prompt root containing two prompts, then ran |
Follow-up Read-only HardeningThe adversarial review trace exposed one additional report-path concern: the legacy Re-ran: |
Final E2E EvidenceRepeated the disposable credential-free clone E2E at final head |
f9d6395 to
5e12694
Compare
Codex xhigh adversarial review — PR #1996 @ 5e12694Verdict: DON'T MERGE P1 (blocking)
P2 (non-blocking)
Notes
|
Implementer response to Codex reviewP1 #1: Absolute configured prompt roots are traversed without any safety boundStatus: FIXING P2 #1: Missing fingerprints now mask path-resolution failuresStatus: FIXING |
|
To use Codex here, create an environment for this repo. |
Follow-up fix evidenceFixed Codex xhigh findings from #1996 (comment). Commits:
Verification:
|
7f0c74c to
93647b9
Compare
Codex xhigh adversarial re-review — PR #1996 @ 93647b9Verdict: DON'T MERGE P1 (blocking)
P2 (non-blocking)
Prior findings verified
Notes
|
Re-review follow-up evidenceFixed latest xhigh re-review findings from #1996 (comment). Commits:
Verification:
Branch pushed; no merge performed. |
951a511 to
37e976f
Compare
Codex xhigh adversarial re-review round 3 — PR #1996 @ 37e976fVerdict: DON'T MERGE P1 (blocking)
P2 (non-blocking)
Prior Findings Verified
Notes
|
Implementer response to Codex re-review round 3P2 #1: Missing-prompt repair still performs an unbounded whole-project traversalStatus: FIXING |
|
To use Codex here, create an environment for this repo. |
Round-3 follow-up evidenceFixed latest xhigh re-review finding from #1996 (comment). Commits:
Verification:
Branch pushed; no merge performed. |
e5cd646 to
ce27337
Compare
Codex xhigh adversarial re-review round 4 — PR #1996 @ ce27337Verdict: MERGE P1 (blocking)
P2 (non-blocking)
Prior Findings Verified
Read-only Probes
Notes
|
ce27337 to
366388d
Compare
Codex xhigh adversarial re-review round 5 — PR #1996 @ 366388dVerdict: DON'T MERGE P1 (blocking)
P2 (non-blocking)
Prior Findings Verified
Read-only Probes
Notes
|
366388d to
0544203
Compare
Codex xhigh adversarial re-review round 6 — PR #1996 @ 0544203Verdict: DON'T MERGE P1 (blocking)
P2 (non-blocking)
Prior Findings Verified
Read-only Probes
Notes
|
4feebc0 to
06aa903
Compare
Codex xhigh adversarial review round 7 — PR #1996 @ 06aa903Verdict: DON'T MERGE P1 (blocking)
P2 (meaningful robustness)
Prior review items verified from existing evidence
Existing verification
|
Implementer response to Codex xhigh review round 7P1 #1: Relative legacy include dependencies use mismatched validation and hash basesStatus: FIXING P1 #2: Symlinked metadata ancestors escape before fingerprint checksStatus: FIXING P2 #1: Malformed
|
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Round 7 implementation evidenceImplemented all four findings from #1996 (comment). Investigation
Strict TDD commits
Red evidence:
Green evidence:
Push was a normal fast-forward; no rebase or force push was used. New SHA: |
a1162b1 to
a2f9d5a
Compare
Codex adversarial review — PR #1996 @ a2f9d5aVerdict: DON'T MERGE P1 (blocking)
P2 (robustness / liveness)
Prior-Finding Closure Audit
Notes
|
Implementer response to Codex adversarial reviewP1 #1: An unresolved live include falls back to the unsafe ancestor resolverStatus: FIXING in this PR P1 #2: Report hashing breaks legacy v1 alias compatibilityStatus: FIXING in this PR P1 #3: Nested architecture reports certify different example/test paths than live syncStatus: FIXING in this PR P2 #1: Metadata enumeration still materializes a wide directory before enforcing the budgetStatus: FIXING in this PR P2 #2: Config ownership work remains multiplicative outside the traversal budgetStatus: FIXING in this PR Pre-fix sibling investigation
Prior-commit investigation
I will append one strict red |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Round 14 strict TDD red evidenceRed commit pushed before production changes: Exact command: Exact result: 5 failed, 40 deselected, 3 warnings in 0.78s.
The red commit is the live PR head. Production implementation starts only after this comment. |
Round 14 implementation evidenceImplemented and pushed at Strict append-only TDD
The red commit was pushed and its five-failure output posted at #1996 (comment) before any production edit. Focused green command: Resolved findings
Green verificationFull relevant suite, including subprocess CLI E2E: Static/compile/diff: Real CLI report E2E used a disposable project containing Result: exit 0; one Final state
|
Stacked on codex/issue-1932-verifiable-goal.\n\nTests: focused regression; report and maintenance suites; credential-free clone E2E with JSON parse and zero writes.