Repository navigation
fix(e2e): diagnose Claude custody and Copilot Project refusals - #1141
Conversation
Port the isolated metadata diagnostics and three refusal controls from PR #1130 at 4c34ae4. Preserve the existing predicates, lazy observations, held-descriptor custody and I/O exceptions. The old main6a6 genuine preflight failed before the Marketing lifecycle without exporting its rejected metadata. This change makes that refusal actionable; it does not admit the rejected file or claim a native fix.
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Integrate accepted main #1141 without conflicts. Only the Copilot cold Project diagnostic and its regressions are new relative to the feature head; Claude custody diagnostics are already identical. The combined tree passed all 17 affected Python tests and independent source review. The preceding feature tree's actual test-core command also passed with identical Go contents; full final-source and actual-main E2E qualification remain required.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1141 +/- ##
=======================================
Coverage 64.43% 64.43%
=======================================
Files 2356 2356
Lines 143429 143429
=======================================
+ Hits 92421 92424 +3
+ Misses 37911 37910 -1
+ Partials 13097 13095 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Why
Two completed native jobs refused filesystem state without exporting enough bounded metadata to diagnose it:
6a6eddfailed the initial held-file metadata predicate during the second genuine retirement preflight, before the Marketing lifecycle started. The rejected type, link count, owner, mode and size were not exported. This is separate from the backup-retention failure addressed by fix(e2e): retain Claude initialize backup custody #1140.Change
Add bounded diagnostics to the existing refusals, preserving every admission predicate and the original iteration order.
4c34ae41; no enterprise feature code is included.The existing backup, receipt, temporary-file, foreign-state and descriptor-custody rules remain unchanged. These diagnostics make the failures actionable; the old rejected files are not declared safe.
Validation
The final composition passed 20 focused inert regressions, zero failures and zero skips: all 17 Copilot refusal controls plus the three newly added Claude metadata controls. The tests cover real filesystem preservation, private-target redaction, a FIFO that is never opened, an offending entry among 80 valid additions, lazy stat observations, and original exceptions on diagnostic failures.
The exact four-file tree is
96ae0b5e4c28f21c80d4452a7b304a8b3d238f00. Independent frozen-source reviews are clear. AST comparison confirms that removing the Copilot diagnostic helper and restoring the three original raises reproduces the original module; all 13 pre-existing Copilot test methods are unchanged.git diff --checkpassed.Ordinary source-triggered CI and merged-main native qualification remain pending. Existing failed jobs remain historical failures. No local native clients or product build campaign was run.
Tracks #1087, #1133 and #1140.
Summary by CodeRabbit
E2E follow-up status — 2026-11-28 04:39 UTC
ef1bab9d8f612516564168b99e989d73f9f4d016, ordinary squasha927a6030be2a775e2541aa14e849ce8e7b945bb, tree1829f58abb850416f46571176f39fade5b83e172. The one-test change accepts the three exact representations of the same rejected symlink. Independent source review is clear; local execution was unavailable, and normal CI execution is pending.21b5ea7full Required lanes passed: 176 unique Go packages, 1,231 Node passes with six explicit skips, and 133 conformance passes. The original full live matrix has 13 of 18 cells qualified; the remaining-target matrix has all nine cells qualified within their individual native, prepared, and refusal limits. Five full live cells remain pending.Queued, running, cancelled, skipped, metadata-only and prepared observations are not promoted to native passes. No CI reruns, dispatches, cancellations, runner changes or release publication were used.