Repository navigation
Conversation
Size Report
Startup median (7 runs, lower is better):
Affected plugins
|
c69488e to
6bf3ff2
Compare
This comment has been minimized.
This comment has been minimized.
d55bd5a to
9ed0566
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on 9ed0566. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
4169368 to
2b4c512
Compare
2b4c512 to
6b7f79e
Compare
6b7f79e to
156eab1
Compare
2827834 to
4908c28
Compare
b44de1a to
f9d127a
Compare
|
The code at f9d127a needs changes before merge. The Maestro selector guard refuses common safe selectors, some transport docs are now false, and the points below on release behavior and remote capture paths need attention. selector-regex.ts:41 still refuses every unescaped selector-regex.ts:17 now runs the guard before the normalized equality check. An exact visible label such as security-trust.md:46 still says 0.21.x warns on stderr and 0.22 refuses. Line 48 says the override silences the warning, and remote-proxy.md:32 repeats the warning phase. At this head, 0.21.45-dev refuses and the warning code is gone, so an operator with a LAN A second independent pass found that credential-admission.ts:11 likely removes the agreed warning period on 0.21. On e11d593, an authenticated LAN HTTP endpoint connects after one warning. Now the CLI or SDK refuses before it sends the daemon token. The same change affects cloud device auth, stored-issuer exchange, the Metro bearer and the proxy's default upstream token. The command help and the proxy README already advertise immediate refusal. Please keep the warn-once helper, with matching help and proxy README, on the 0.21 line, and land the refusal and its docs on 0.22. Unsafe upload tickets should keep the existing legacy fallback on both lines. If a maintainer confirms refusal on 0.21 instead, only the docs fix above is needed. A second independent pass found that peer metadata likely still shapes the client path for unnamed trace and perf output. At daemon-artifacts.ts:752, the remote daemon can pick the stem and extension through A second independent pass found that a path named at capture start is likely lost at stop. After A second independent pass found that selector-regex.ts:41 likely classifies by punctuation instead of regex structure. A second independent pass found that selector-regex.ts:43 likely refuses safe patterns by counting quantifier characters. A second independent pass found that selector-regex.ts:16 likely rejects long exact selectors. An id of 257 ASCII letters matches the same identifier on base but now throws, and a new test asserts this. Exact literal comparison should stay available for long safe selectors, with any budget applied only to regex work. A second independent pass found that selector-regex.ts:18 likely reports long matching values as absent. With a label of Not blocking: these can be taken or left: run-maestro-flows.md:33 says values over 8192 characters fail with Could Two earlier threads no longer apply and can be resolved: this one because a label over 8192 characters now returns no match instead of failing every selector, and this one because escaped characters are now skipped and tests show that The non-passing checks look unrelated to this diff: Not verified here: tests were not run; the cost of Before merge, the Maestro guard should be narrowed to exponential shapes and backreferences with the literal fallback ahead of it, and the transport sentences in |
This comment has been minimized.
This comment has been minimized.
|
No code problems remain at ae98615. The multiline selector problem from the earlier review is fixed: selector-regex.ts now checks the whole value once before it applies the restart budget, so the 1,209-character This long-selector thread no longer applies and can stay resolved: long selectors are decided by exact equality across all candidates, and the per-node match defers the refusal. Not verified here: tests were not run locally, and the reported 33/33 pass comes from the author. The regression test was judged by tracing the 9a37623 code by hand. The cost of the single whole-value check on a 16,384-character multiline value was not timed; it was judged equivalent to the existing single-line path, which has no length cap. The only check that did not pass is a cancelled Before merge, merge the base PR #5245 first, take this PR out of draft, and get |
There was a problem hiding this comment.
All reported issues were addressed across 58 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
At dfd7fc9, the points raised in the inline threads are fixed, but the new foreign-capture guard can stop a caller from ending a capture. This is a follow-up to the earlier review, and three problems with that guard remain. capture-destination-record.ts:213 marks the record A second independent pass found that the foreign guard also blocks a stop with a caller-chosen destination. Client A starts a remote trace or native perf capture. Client B, with a separate state directory but the same remote session and lease, tries a start, receives A's live ID, and then runs A second independent pass found that a client can also mark its own unnamed capture as foreign. Run remote Not blocking: a malformed or unreadable record now also makes a remote No inline thread still applies, so these can be resolved: the upload-ticket sentence now names the client override; the approval rule and its scope are restored; the package check now reads bundled dev dependencies; pathless-stop tests now assert there is no capture ID; both trace result variants now include the client capture ID; three certainty states now exist (the first problem above is a new effect); only a missing file now counts as no record; lone CR and LF cases are tested; the saved-path rules are reworded; the proxy test now asserts the error code; the Maestro doc now names lookarounds; the package check header is updated; trace and native perf share one refusal builder; the docs now say when the live ID is named. The only check that did not pass is Not verified here: tests were not run locally. The first problem was traced by hand through the client record and daemon trace code, not reproduced. The exact error returned on a remote request timeout was not confirmed; the route only needs it to differ from a capture-already-active refusal. Before merge, the guard needs these fixes and the timeout-then-retry regression test. Then the base branch |
|
Fixed the three foreign-capture regressions at Current-head CI is pending. The 14 earlier inline threads remain resolved; #5245 must merge before this PR. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on efaf61b. The verdict and the full list are in the summary comment.
|
At |
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
Please ship the shared credential refusal at the five ADR 0041 points. Preserve the process override, the proxy’s custom-transport exemption and the unsent-ticket fallback to the admitted daemon. Target the announced 0.22 enforcement release unless the rollout is explicitly changed. Move Maestro matching and its packaging work to a replay PR. Move artifact destinations and capture identity to a client-artifact PR, with their regression tests. The transport tests can observe zero sends and ticket fallback directly. No remote trace, perf or device replay run is needed for the credential change. |
|
At 7f9c92c, the three problems from the earlier review are fixed, and no new code problems were found in the changes since then. A timed-out or pending own start now stays unknown, so a pathless stop still dispatches. The foreign refusal now allows a stop with an explicit path, and a successful one clears the unchanged foreign mark. A confirmed unnamed start now keeps its capture ID. Both open threads can be resolved. Stop hand-off keying does not apply, because the same request object reaches artifact materialization without a clone. Mismatch meaning wording does not apply, because both the error definition and the error reasons doc now start with the daemon refusal.
Not verified here: tests were not run locally, and each new regression test was judged by reading it against the dfd7fc9 code. The This commit was pushed before the re-scope request, so the Maestro and capture work is still here. Before merge, please keep only the shared credential refusal at the five ADR 0041 points in this PR, including the process override, the proxy custom-transport exemption and the unsent-ticket fallback. Move Maestro matching and its packaging to a replay PR, and capture destinations and identity to a client-artifact PR, each with its regression tests. Then update the title and description, get |
|
Superseded by three scoped PRs, all based on #5245:
The three slices were independently reviewed. This mixed-scope PR can close while the successor branches receive their own CI and review. |
Summary
Reject credentials before non-loopback cleartext HTTP requests. Keep remote artifacts in client-owned destinations. Bound Maestro selectors while preserving literal, multiline, and long exact matches. Bind trace and performance destinations to client-minted capture IDs. Prove bundled dependencies in the packed artifact.
This PR is stacked on #5245, which must merge first.
Before / after
Validation
At
7f9c92c2e8, the Maestro failure-suggestion test file passed 18/18; capture tests passed 33/33 at the preceding source commit. Independent review found no issues. Earlier closure 28/28, proxy 3/3, selector 33/33 passed. Current-head code checks passed; Runner Build fails before compilation in concurrentactions/cache/restoresetup. The capture certainty Fallow finding is fixed. No live remote trace or perf run was performed.