Skip to content

feat(cursor): scoped automatic MCP tool approval after confirmed project add - #1071

Merged
777genius merged 83 commits into
mainfrom
feat/cursor-scoped-native-mcp-tools-20261121
Nov 26, 2026
Merged

777genius merged 83 commits into
mainfrom
feat/cursor-scoped-native-mcp-tools-20261121

Conversation

@777genius

@777genius 777genius commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Current PR #1071 checkpoint — 25 Nov 2026, 19:54 UTC. OPEN / Ready, HEAD 9c009d86b40c2d5984ca16c7a3c63509007b45df; parent 71b667867bc511c0faa1e87902ac64d9cb8846c5; actual main d3cfbb6a6eacdd37ec70312f2d8f9c386169ee70. Mergeable without conflicts. Synthetic merge 6ed4dd2cff9f3af98d2018c970c402a68bb8cafd has exactly the HEAD tree e36d623dfd7ffe8c770e30eb899feb8d20cd4195. Merge and postmerge remain outstanding. All candidate/status tables and execution history below this checkpoint are historical unless they explicitly name this HEAD/tree.

Confirmed integration defect corrected: commit 9c009d8 fixes the merged Marketing harness's double Codex A/B/C bootstrap that caused job 139298149538 to fail before any lifecycle stage. Each profile now uses one existing guarded CodexProfile/shared initializer after the exact isolated 0.153.4 version probe. Peer/HOME/project/data/SQLite/system-file controls remain; both final checkpoints and both layers' sticky failures are required. Guarded evidence is captured through ExitStack before temporary-root cleanup, then serialized. Three Python harness/test files changed; no production client implementation changed. Blobs and full tree were verified against staged local bytes before a non-force expected-HEAD fast-forward update.

Executed correction verification and review: 155 selected Marketing tests passed, plus the separately executed new live evidence-capture failure regression, and 12 profile contracts; diff whitespace check passed. Real main + orchestrator + wrapper + SQLite regressions cover A/B/C reuse, actual temporary-directory teardown, cleanup failure and capture failure; external native/version/public command seams are substituted only in these local tests. Independent review found the initial teardown ordering issue, verified its correction and accepted the resulting diff with no remaining source blocker. These contract tests are not genuine native E2E.

New-head natural CI: Required, Core fast, Cursor/Qoder native, Marketing published lifecycle, security and platform workflows have been created naturally. Queued/running/skipped/neutral/classification results are not native PASS. No duplicate dispatch, cancellation, release, tag or additional PR was used.

Verified current-tree CI: Core test-core 139369693155 passed all three mandatory make test-core commands: 77 successful packages and seven with no test files. The later informational coverage phase is separate. macOS Intel Package Manager 139369687271 passed all 106 required names, actual CLI lifecycle/isolation and both real process-crash recovery cases; all 32 original stdout/stderr hashes were verified from artifact 15045694028 (ZIP SHA256 7fc15c2c1fce2f8d9c21766f762bca60ebf50a91e9fbc3132fefef19e38c3415). Only the Windows-only held-reader step was conditionally excluded. Required staged-hermetic passed one actual 240-second execution; Govulncheck SDK and plugininstall and Dependency Review passed original-log review. All six jobs checked out synthetic 6ed4dd2c, tree-identical to current HEAD. Complete Required/Core/security/three-OS/native qualification remains pending.

Latest live state — 19:54 UTC: 79 unique successful checks, one in progress, 74 queued and six skipped; no failed/cancelled/neutral current-head checks. All 79 successful results have original-log/output or artifact review. HEAD and actual main remain unchanged. CodeQL comparison, Dependency Review and all six Govulncheck module scans have passed their distinct checks; no new changed-code CodeQL alerts and no vulnerabilities found by the module scans. Current-source Cursor/Qoder, corrected Marketing Codex and full Required test are qualified below. Required lint/SDK children, remaining Core/Linux contracts, macOS ARM Package Manager, actual Darwin Milestone A/DMG and selected native/audit matrices remain pending. Dependent runtime jobs and two Landing browser shards have now been instantiated. Merge/postmerge remain outstanding.

Additional verified current-source execution: macOS and Windows Core each explicitly ran 26 Cursor top-level tests / 64 RUN+PASS events with zero skips, including TestCursorPublisherToolApprovalFullCLI. Linux and Windows Package Manager each passed all 106 required names and actual CLI/crash-recovery cases; artifact 15052338432 and all 32 streams were independently hash-verified (ZIP SHA256 b656375e92b79b0909fbb21b0df190c90504166fce845d8aaebba3b68f1d1a62). Native SSH passed 11 named events with no skips; strict MCP receipt contracts passed 28 tests, with their mocked native-success banner explicitly excluded from native evidence. Docs passed 35+43 tests, nine locales/229 HTML files and Chromium UI smoke. Released-source harness passed 51 tests; two Polyglot platform suites and Cline portable contracts passed. Current-source Windows Remotion and the separate published npm 0.1.116 baseline both passed genuine pinned Codex short/default-long TEMP lifecycles; the separate immutable .101 negative control also executed and retained its required short-success/long-refusal pattern. Actual Grok readonly, doctor and native tools-call, Hermes Mac/Windows configuration lifecycles, Cline metadata/managed Windows, Pi on all three OSs, Kimi one-shot and all 30 Kimi Project Skills passed their distinct scopes. Grok tools-call proved six native sessions/18 protocol events with B/removal negatives; doctor retained separate native initialize/list and direct-client tools/call attribution. Pi/Kimi native calls use scripted localhost providers, not real models; Cline MCP calls use a direct installed-stdio test client, not native Cline-issued calls. Live Skills API sampled 1,365 distinct records and generated 1,364 valid commands but did not execute installs or verify the full catalog. Milestone A candidate packaging is preparation only; Darwin DMG cleanup still requires its downstream job. All claims remain bound to direct 9c009d8 or verified tree-equivalent 6ed4dd2.

Skip applicability reviewed: ready PR with no opt-in labels legitimately skips the manual SDK-only lane, draft-only preflight, two ci:live-skills opt-in lanes and manual-only public .116 lifecycle. CodeRabbit separately reports Review paused; it did not perform review and is not counted as a review PASS. Independent corrected-source review is recorded above. The main Required/Core/security/three-OS/native gates remain applicable, including all six Marketing targets and classifier-selected shared native/audit matrices.

Collection completeness resolved: the connected GitHub workflow page revealed existing Grok noauth native run 45660767012, omitted by the connector's run list. A direct read confirmed pull_request, exact current HEAD and queued state; it is included explicitly in monitoring. No duplicate run was dispatched. Local genuine Codex baseline could not start because this Debian container's required Bubblewrap namespace probe is denied; no host security setting was changed and no local native PASS is claimed. The unmodified local Cursor/Qoder preflight also refused this non-GitHub-hosted environment before build/download/lifecycle; hosted admission was not impersonated. The local environment was briefly unavailable, then restored with a clean exact HEAD/tree; all source changes remain published and CI monitoring continued throughout.

Primary native proof now PASS on current HEAD: Cursor/Qoder run 45660767245, job 139369678555 directly checked out 9c009d8 and completed the genuine native stage at 19:19:56 (Cursor) and 19:20:07 (Qoder), separately from the earlier mocked contract banner. One Go 1.26.11 source build/probe served isolated client workspaces. Both original receipts from artifact 15056040618 were independently inspected by root and reviewer; ZIP SHA256 eee49b60c78df964f4c75c294998ac5e6b215e3a7b495eb5b768d603aab799d0 matches uploaded bytes. Official pins are Cursor 2026.10.22-27dcf5f and Qoder 1.1.78. Cursor requires exactly the original Read(DOCS.md) allow plus Mcp(uap_cursor_call:inspect_runtime), unchanged deny rules, no wildcard MCP grant or mcpAllowlist, and the genuine uap_cursor_call: ready output; no native mcp enable is called. B/outside native inventories are negative before install, B configuration remains unchanged while A is installed, and A/B inventories are negative after removal. Foreign configuration/sentinel and vendor bytes are preserved. The exact tool permission remains after removal as explicitly specified by the reviewed plan. Qoder uses explicit disposable-root trust and a named server/tool fixture. Both receipts qualify native listing/install/removal and preservation, and explicitly leave native tools-call, real-model and vendor-authentication qualification false. Independent review found no blocker.

Codex correction now verified by genuine published-product lifecycle: Marketing Codex job 139369687533 completed at 19:29:46 UTC on current tree-equivalent synthetic 6ed4dd2. Published UAP 0.1.115 and pinned Codex 0.153.4 passed both Project and User scopes: all 16 base stages plus two genuine native HubSpot uninstalls, including two required corrupt-lock refusals. Original report has status passed and two_scope_lifecycle_qualified=true. A/B/C each initialized exactly once, then passed both final-qualification and final-lifecycle in the equal runtime/SQLite evidence layers, with failed_phase=null and runtime_semantics_unchanged=true. Observation counts are 140/105/46. Evidence custody capture occurred before temporary-profile teardown; successful exit substantiates that actual capture/cleanup path. Late/capture/cleanup failure truthfulness is separately covered by regressions, not fault injection in this happy-path native run. All six prerequisite suites (27/156/27/12/4/2) passed. Root and independent reviewer inspected artifact 15056172006, verified its 53,572 bytes and SHA256 ace287727c7cc08c10984e9afb3f7433779d3158558dfb97e83cd3451df0bfc5. This qualifies the current harness correction against the published product; it is separate from source-built Cursor/Qoder proof and does not claim real-model/authentication qualification.

Full Required test now PASS: job 139369689594, completed 19:30:04 UTC, actually ran all six make test-required Go commands with count=1/20m: 176 successful package results and 34 no-test packages; nonverbose output is not an individual-test count. npm reported 1,231 pass and six explicitly conditioned skips, zero fail/cancelled. Staged hermetic runs in its already-passed separate mandatory job; other opt-in skips are not native qualification. Current-source package dry run, Plugin Manifest Workflow tests, generated/version/removed-contract checks and vet across six modules passed. Pinned conformance corpus4d163c6 produced 133 PASS, zero fail/error/skip/warnings with strict reporting. Independent original-log and source review found no mandatory error suppression. The whole Required workflow still awaits its lint/SDK matrix.

Further current-tree evidence: published Marketing Cursor passed both scopes/16 stage assertions, while User Prepared/manual activation and extracted Editor metadata remain distinct from the primary Cursor ready oracle. Windows Hermes legacy run_agent.py with explicit official discovery prelude passed two genuine native tools calls via a scripted localhost provider; Linux Cline managed lifecycle passed with direct installed-stdio calls, not native Cline-issued calls. Windows terminal passed seven ConPTY plus seven PowerShell cases, 30 native-console reuse iterations, consent/overflow and resource checks with explicit platform skips. Skills Picker passed its real Go bridge/browser fixture (27 browser tests); the single genuine Codex/Claude browser scenario was explicitly not opted in. Remaining Research passed 549 inert contracts and selected nine downstream research cells; Live Audit has created two Codex pilot jobs, with its 18-cell full selection and historical smoke dependent on pilot success. No classifier, prepared state, opted-out native case or mocked native banner is counted as genuine native PASS. Both final combined-pages base configurations (/ and /universal-agent-plugins/) passed 171 Chromium tests each; those validate the current static site with the explicitly accepted historical authoring-tool pin, not deployed pages or current-CLI authoring. The broader two-shard browser matrix is still pending. Core vet-all ran all six module commands. Coverage uploaded seven exact-head Go profiles; both Codecov checks are informational and do not replace Required/native evidence. Linux and Windows bundled Hermes observations passed actual public lifecycle, initialize/list and held-original-process preservation/cleanup, while explicitly retaining production admission/tools-call/model/authentication false; both original artifacts and all149 retained files per platform were hash-verified. These successful diagnostic jobs do not promote unqualified production admission.

Parent-only evidence, not new-head qualification: genuine pinned Cursor/Qoder native on 71b6678 passed exact scoped grants, native ready, A/B/outside isolation, owned removal and foreign-state preservation without manual mcp enable. Both original receipts from artifact 15040906301 were inspected and ZIP SHA256 verified as 8ca0389bcd0f4f6aef3e5cf5ea8d7d962ec933567d0b723bdda6c67373f7ffab. Parent Required test, Core test-core/macOS contracts, Linux/macOS Intel/Windows package-manager, all six Govulncheck modules and CodeQL comparison passed; CodeQL reported no new changed-code alerts. Parent published Marketing Codex failed as above; actual Darwin Milestone A/DMG cleanup was still pending and is not claimed fixed.

Next: retain this corrected candidate while natural checks execute, investigate only confirmed failures, and qualify final Required/Core/security/three-OS project/native/applicable platform gates. Re-read HEAD/main and final merge-tree identity before an ordinary expected-HEAD merge. Then verify actual-main Required (reexecutes core tests/lint) and Cursor/Qoder native; Core fast itself is PR-only. Authenticated model tools/call and Editor workspace trust remain outside this no-auth qualification.

Problem and resulting behavior

Cursor Project packages need exact publisher-declared MCP tool permissions after explicit add confirmation, together with verified native MCP-server fingerprint trust for the pinned Cursor Agent. This PR reuses the existing Cursor Project Skills/MCP adapter and shared conditional writer: only exact server/tool allow rules are added; existing deny/ask decisions, foreign configuration, User/Project isolation, bounds and rollback authority remain intact. Genuine native qualification uses the UAP-written permission without a manual cursor-agent mcp enable.

The implementation plan and complete source/test changes remain in the PR diff. Necessary integration and audit corrections include guarded canonical temporary roots, explicit Prepared-installation cohorts, strict source/ownership/repeat/removal evidence, portable Windows executable fixtures, selected Cursor contracts on all three OSs, nonblocking Kiro reads with real-FIFO refusal tests, and removal of duplicate equivalent refusal branches without relaxing complexity thresholds.

Current candidate

Item Exact identity
HEAD 511fad2362b1ed7f508688d25f4eca1f14f6310f
Branch tree 4b79ff0baa0bf9eecee79dba44162f13b4626227
Parent 9cc11476fff9af66228fbb480b40fb76991eb202
Main already integrated in the branch 72f880c9293663ab75c3a7dd2c1bccc29d10d169
Verified CI integration 17b7be10c8c61a099b83971fef57ea99fb9e164d
CI integration tree 7b9d68beaac6d60f8a316ccb4d1891009f9cabb4
Ordered CI integration parents 9b5404c8b66b57561475c5ad6f28289ef90d744b, 511fad2362b1ed7f508688d25f4eca1f14f6310f
Latest observed main 1f39044c6f2f5a6817640a20c128754b420d3440 (advanced after CI integration)

Root verified all 8,290 leaves of the new branch tree and the clean three-way CI integration. The integration tree differs from the branch in exactly three upstream CI files: native-installer run retention, Dependency Review runner selection, and the main-supersession policy test. These trees are not identical. Each runtime result is bound to its actual checkout. PR is Ready and open; merge and postmerge have not happened.

Latest confirmed fix: commit 511fad2, published outside this root session, changes only scripts/test_package_manager_ci_policy.py. Its stale assertion required both PR and push cancellation; the new exact assertion permits only PR cancellation and rejects additional cancellation directives. All 15 test methods remain. Independent source review found no blocker. This fixes the diagnosed assertion in source; all 15 updated policy tests have now passed in the macOS Intel job described below; the other platform cells remain pending. It supersedes the previously prepared uncommitted variant, which will not be published.

Main's #1097 and #1098 are represented in the verified CI integration. Later #1099 adds a selected-runner override for staged hermetic checks in Required. #1100 adds an override only for the SDK and plugininstall vulnerability-scan matrix legs. Both preserve explicit hosted/fork routing, fallback and test commands, and neither is in the current CI integration. Root verified the full prospective 8,290-leaf merge with current main: no conflicts, and only these two workflow files differ from the already recorded CI integration. Independent source review agrees; this is not runtime qualification of the prospective merged commit. Keep the candidate stable while natural checks execute, then refresh actual Git refs and verify the final integration before merge. The PR API's base snapshot may lag the actual main ref.

Included correction 9cc1147: Windows fixture, bounded Docs preparation and main CI retention

Commit 9cc1147 carries two authored fixes and integration of main's PR #1096:

  • Windows same-byte replacement regression: the preceding source ran 28 prerequisite tests and failed exactly one fixture before published Remotion native execution. The strict production guard reported os-error where the test required name-identity-changed; the old assertion did not print the retained errno/winerror, so no specific Windows error code is inferred. The fixture now renames the genuinely held original to a fresh sibling and creates the same bytes at the vacated name, after the held-descriptor check. The test still requires the precise name-identity refusal, original syscall sequence and descriptor closure, and additionally verifies both real file bodies and distinct (device, inode) identities. It keeps all 28 tests and the actual share-delete open helper; no production guard, pin, skip or accepted failure is changed.
  • Docs preparation: a preceding run remained in Playwright's APT dependency setup without output for over an hour, never reaching the browser. The workflow now invokes the same pinned Playwright 1.62.0 dependency installer with bounded APT network attempts and a root process-group deadline, followed by ordinary-user Chromium installation and the unchanged UI smoke. The private shim forwards explicit HTTP/HTTPS timeouts, one retry and strict update failure to the real APT executable. Existing mirror-policy checks, the GitHub-hosted unchanged-mirror policy, vendor package authority and failure propagation remain intact. No global APT configuration, new mirror, copied package list or failure waiver is introduced.
  • Integrated main retention policy: adopt main's per-run push identity and PR-only supersession for Coverage, Landing, OpenCode SDK, package-manager E2E and Source transports, with its policy regression test. The one file changed on both sides, Source transports, retains both that policy and the preceding bounded OpenSSH preparation; all mandatory real Git/SSH and no-skip commands remain unchanged.

Root verified the complete 8,290-leaf three-way integration, exact eight-file delta and changed bytes. Independent reviewers inspected the immutable Windows fixture, Docs change and resolved Source transports file; no source-review blocker remains. This is technical source review, not formal GitHub approval or runtime PASS. A local execution environment became available later in this session; the additional exact-source Linux tests below are now executed evidence. Their scope does not replace the required Windows or native client runs.

The preceding correction 85a5d07 remains included: explicit Pi cohort routing, guarded published Remotion TEMP handoff, and bounded existing-read failure facts without extra reads, retries, unreadable-file exemptions or rebaselining. Generic Pi audits retain independent foreign project B and full custody; explicit foreign/Prepared uses project A; explicit clean/native does not invent a foreign B. Grok's signed cold runtime preparation has bounded step budgets while preserving the exact hashes, signatures, sandbox and native gate.

Current-source qualification

GitHub created 43 natural PR workflows for 511fad2. The latest verified read contained 103 checks: five completed SUCCESS jobs (Dependency Review, test-core, Package Manager macOS Intel, Windows Polyglot smoke and Windows source-acquisition smoke), 92 queued and six nonadmitted/paused SKIPPED checks. No job was running at that snapshot. Overall qualification remains pending. The old 9cc1147 runs were cancelled after the new source appeared; root did not issue that push or those cancellations. No historical success is transferred to this candidate.

Gate Current run
Required 45207918811
Core fast / three-OS Cursor contracts 45207918795
Genuine pinned Cursor/Qoder lifecycle 45207918597
Codex plugin/Skills pilots and Pi prerequisites 45207919513
Remaining client installation audits / Windsurf 45207918433
Published Remotion 0.1.102 45207918671
Source Remotion 45207918407
Kimi stable 30 Project Skills 45207918861
Native Client Runtime 45207918940
Terminal UI 45207918896
Grok Enablement 45207918829
Source transports 45207918623
CodeQL 45207918626
Dependency Review 45207918594
Docs 45207918872
Landing 45207918661
Package manager 45207918412
Native proof contracts 45207918878

Completed current-source execution

Dependency Review SUCCESS: job 137808574970. Root read the original completed log and verified checkout 17b7be10c8c61a099b83971fef57ea99fb9e164d. The configured dependency-change review detected neither moderate-or-higher vulnerable packages nor denied packages. It used the selected Linux runner introduced by main #1098. This result covers dependency changes under that policy, not a blanket statement about all repository dependencies.

Core / test-core SUCCESS: job 137808580397. Root and an independent reviewer read the original completed log and verified checkout 17b7be10c8c61a099b83971fef57ea99fb9e164d. Mandatory make test-core passed at 15:54 UTC, including pathpolicy, adapters, Cursor, installer and CLI/public-command suites. The separate informational coverage phase finished at 16:01 UTC. Other Core/platform/native jobs remain unqualified; this job does not establish aggregate Core or Required success.

Package Manager / macOS Intel SUCCESS: job 137808577052. Root read the original completed log and checked the exact workflow; actual checkout was 17b7be10c8c61a099b83971fef57ea99fb9e164d. All 13 evidence tests and all 15 corrected CI-policy tests passed. The job then passed the 17 critical policy/native-ownership tests, full portable catalog/installations/composition, five Unicode-admission cases, real Git policies, public-CLI project isolation and foreign Codex refusal, cold recovery, both actual OS process-crash/recovery cases and immutable Git EOL bytes. The mandatory scoped validators required real run/pass evidence without skips. Windows-only reader tests belong to the separate Windows cell and are not claimed here; Linux/macOS ARM/Windows package cells remain pending.

Polyglot / Windows SUCCESS: job 137808578224, completed at 17:43:51 UTC. Root inspected the original log and confirmed checkout 17b7be10c8c61a099b83971fef57ea99fb9e164d against the verified integration. All 14 configured Go-test commands returned ok, including the selected scaffold/launcher, runtime validation, bundle, npm/Python package and directory/discovery cache suites. The nonverbose Go output does not supply per-test execution/skip counts; this qualifies the configured Windows lane, not every platform or all native clients.

Source acquisition / Windows SUCCESS: job 137808578744, completed at 17:45:29 UTC. The original log confirms the same exact checkout and successful selected TestOSRunnerClassifiesRealGitTreeOverflowAsSoleLimit command (ok, 1.876 seconds). Root checked the current test source: it creates 1,024 manifests in a real Git repository and requires ls-tree output capped at 128 bytes to be classified solely as an output-limit failure. Its only availability skip is missing Git; the job records Git 2.56.1.windows.1 before and after the test. This is the bounded Git-discovery check, not aggregate Source transports or the two still-pending Linux Polyglot cells.

The next decisive executions are all 28 Windows Remotion prerequisite tests followed by actual published 0.1.102 short/default-long native cases; all 17 Pi cohort tests followed by the real Codex pilots; actual Windsurf post-remove role evidence under the strict observer; the remaining Package Manager platform cells; and bounded Docs preparation followed by its browser smoke. Remaining Required/Core/security/platform/native gates must also finish on final source.

Additional local tests on exact source

A newly attached Linux environment ran the following targeted tests with Python 3.12.14 and Node 24.22.3. Every materialized source file was checked against its actual Git blob SHA before and after execution. These are deliberately bounded source subsets, not full checkouts or hosted CI replacements.

Suite Exact source Executed result
Current Windsurf observer HEAD 511fad2; observer d0793dbc4129e8b72435c28747c0a897f3d8df5c, tests c29c13f844342270c796596e653c078cc4cc4466 24/24 PASS, zero skips; 2.544 seconds
Reviewed Windsurf proposal Same baseline dependencies; observer 25fa18da60a49a76b968536f2544c86bd3198882, tests 651e6877420dae55d5fd71354511a6be7a1f201f 34/34 PASS, zero skips; 3.987 seconds; proposal remains uncommitted
Pi Project cohort contracts Exact HEAD 511fad2, including the emitted Go-source trust hook 17/17 PASS; real inert hook executed by Node through the test's fake extension API
Remotion diagnostic contracts Exact HEAD 511fad2, including fixture ca8309377150279d3ec9cac0f3b24679b0ae81c2 28/28 PASS on Linux; existing Windows setup branches use the test's mocks

The combined Pi/Remotion command was python3 -B -m unittest -v test_pi_project_skill_audit test_remotion_published_windows_diagnostics from scripts/; all 45 tests passed without errors, failures or skips in 97.497 seconds, during 17:25:52–17:27:31 UTC on 2026-11-23. The 9,122-byte original verbose log has SHA256 57e5f187d9d47ce22c17b837deda951588c2d7d84054557b9d85daf9f2395286. All 32 source files remained byte-identical afterward. An independent reviewer checked the original result and its bounded scope. These tests establish Linux harness/observer behavior; they do not establish Windows execution, actual Pi startup, published Remotion 0.1.102 native lifecycle, or current-source Windsurf role facts.

The two-file Windsurf proposal has independent source review and local test evidence, but remains uncommitted pending actual current-source role evidence. The older artifact 14802711900 was now downloaded and its ZIP bytes inspected: its 25 positive rows retain only aggregate exception records, with no native object/frame/custody fields; the five negative rows cannot supply the missing positive role facts. ZIP SHA256: 117dbd07163810c1c57689ce2bd6cc9b2bc317186dc5b2a95c04b64a1d48c6e6. No benign residue is inferred or admitted from that artifact.

Executed evidence on preceding source 9cc1147

These are historical results, superseded by 511fad2:

  • Core test-core 137721191052 passed mandatory make test-core and later completed its separate informational coverage phase. Root inspected the original log and the exact tree-equal checkout ed3afa69105ef60c7d43053bf5daec208714d588. Other Core jobs did not execute before cancellation.
  • Package Manager macOS Intel 137721185484 passed all 13 evidence-rejection tests but failed one of 15 policy tests at the stale push-cancellation assertion. Native catalog/failure-boundary/recovery steps had not started; the missing-report upload error was secondary. The single source correction is now in 511fad2; no upload requirement or native gate was weakened.
  • The pending Windsurf, Remotion, Pi/Codex, Terminal and Native Client jobs did not reach their actual diagnostic/native scopes before supersession. They provide no new qualification.

Executed evidence on preceding source 85a5d07

Root inspected the original completed logs below. These results are bound to 85a5d07 or its independently verified tree-equal integration 404b0c6; they are historical evidence, not current-head PASS. Artifact metadata was checked where available. The separately identified older Windsurf ZIP has now been decoded as described above; no additional historical ZIP contents are claimed.

Gate Actual result and boundary
Cursor/Qoder137681095885 SUCCESS. The actual native step, separate from earlier unit/mock output, built UAP from source and verified pinned clients, before-install negatives, managed wrappers, exact UAP-written Cursor permission, native MCP listing, removal and unchanged pin/foreign state. It explicitly left model tools/call unqualified.
Kimi137681097548 SUCCESS: 24 audit tests, all 30 actual Project Skills including former failing case 17, and strict final qualification of public fresh/repeat Ready, native discovery, source/owned state, removal and sentinels.
Source Remotion137681095914 SUCCESS: 76 audit contracts and real pinned Codex 0.153.4 lifecycle in both short/default-long Windows TEMP.
Published Remotion137681095286 FAILED in the prerequisite suite: 27/28 passed; the real replacement fixture failed its precise diagnostic assertion. Published 0.1.102 installation/native steps were skipped. The separate 0.1.101 expected-negative diagnostic is not a 0.1.102 PASS.
Source transports137681103179 SUCCESS: actual Git hardening, real SSH host authentication, two-host credential isolation and saved CLI SSH-URL/SCP lifecycles, with no skips.
Core137681103443 Mandatory make test-core passed; later informational coverage was separate. Windows managed-stdio contracts also passed, with four explicitly platform-dependent symlink subtests skipped. Other unfinished Core cells were not qualified.
CodeQL, Dependency Review, MCP proof contracts Both analyses/upload and aggregate CodeQL passed with no new alerts in changed code; dependency review passed; all 28 proof contracts passed without skips. Contracts do not establish authenticated model calls.
Windows package manager137681095864 Full catalog/installations/composition, 17 policy/ownership checks, six Windows reader/publication checks, scope/foreign controls and both actual OS crash/recovery tests passed without skips in those mandatory scopes. The macOS Intel package cell also completed successfully.

Other source-bound successes included genuine Devin Project installation/discovery and raw Skills Ready, Cline managed native sessions on macOS/Windows, Grok no-auth native tools-call and stdio/doctor, Hermes native Windows Skills/MCP and Project inspection/cold restore, Linux legacy-driver inert User MCP calls through a scripted localhost provider, Windows published Firebase repeat/removal/sentinels, and Antigravity CLI lifecycle on three OSs. Antigravity remains Prepared evidence without IDE activation/live MCP execution. The Skills API check is a bounded live public sample, explicitly not full-catalog qualification.

Two older failures remain useful diagnostic context: published 0.1.102 on f6ba910 refused a short-TEMP unreadable HOME entry with held key SHA256 3917e14ad67aa4633cf09ee533a953f92b07b3c1a9fd5307c958ae0e9732a52e and the long-TEMP canonical directory guard. Current diagnostics retain bounded causal facts, but the remaining short-TEMP cause has not yet been observed with them because the subsequent prerequisite stopped execution. Windsurf's older strict post-remove image mismatch also awaits actual bounded role facts; no speculative residue exemption is integrated.

Qualification boundaries and acceptance

Prepared installation, native discovery and actual tools-call remain distinct scopes. Source/pin/state/scope/physical identity, ownership, stable repeat, removal and foreign-state requirements are retained. Cursor's no-auth lifecycle proves its exact UAP-written grant after explicit consent. Qoder uses explicit disposable trust and a harness-authored scoped permission fixture. Neither establishes vendor authentication, Editor workspace trust or authorized model execution. Release-only aggregates, nonadmitted manual/label-only checks and paused CodeRabbit checks are not counted as PASS.

A fresh review check on 2026-11-23 confirmed all six inline threads resolved. The two Cursor size/permission-bound fixes and four Marketing/Codex observer fixes remain in exact 511fad2; independent technical review found no source blocker. GitHub review submissions are COMMENTED rather than formal APPROVED. The current branch policy does not require a formal approval, and the original final-source CI and independent-review requirements remain in force.

  • Scoped Cursor implementation and adversarial tests.
  • Independent technical review of the candidate, with confirmed source findings corrected.
  • Required/Core/security, three-OS Cursor contracts, Docs/Landing, transports/proof and all applicable native gates pass on the final source.
  • Genuine pinned Cursor/Qoder lifecycle passes on current 511fad2 with original native-step evidence.
  • Current published Remotion, Pi/Codex pilots, Windsurf, Kimi and applicable raw-Skills Ready/repeat/cleanup gates finish under their strict authority checks.
  • Expected-HEAD ordinary merge, then successful actual-main Required/native and other configured push gates.

Core fast is PR-only. Actual-main core Go coverage comes from the full Required push lane; no separate postmerge Core fast is assumed. No release/tag, duplicate PR, wildcard permission, force or protection waiver is requested.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review
Walkthrough

The changes add an opt-in Cursor project MCP tool-approval extension and its activation checks. They also update landing install examples, release workflows, Codex lifecycle auditing, and validation tests.

Changes: Cursor project MCP tool approvals

Layer / File(s) Summary
Approval contract and projection
install/integrationctl/agentplugins/clients/cursor/mcp_tool_approval.go, install/integrationctl/agentplugins/clients/cursor/mcp_tool_projection.go, install/integrationctl/agentplugins/clients/cursor/plan.go, install/integrationctl/agentplugins/clients/cursor/project.go, install/integrationctl/agentplugins/clients/cursor/identity.go, install/integrationctl/agentplugins/clients/cursor/project_native.go, install/integrationctl/agentplugins/clients/cursor/mcp_tool_approval_test.go, install/integrationctl/agentplugins/planner/testdata/golden/plan_remote_mcp_and_app.json, docs/CURSOR_MCP_TOOL_APPROVALS.md, docs/plans/2026-11-21-cursor-scoped-mcp-trust.md
The adapter validates version 1 approval data, exact server and tool names, and project-scope selection. It projects and verifies approval data. Planning and project projection exclude the approval extension from native install components.
Guarded permission updates and lifecycle
install/integrationctl/agentplugins/clients/cursor/project_tool_trust.go, install/integrationctl/agentplugins/clients/cursor/project_lifecycle.go, install/integrationctl/agentplugins/clients/cursor/project_mcp_approval.go, install/integrationctl/agentplugins/clients/cursor/project_mcp_observation.go, install/integrationctl/agentplugins/clients/cursor/project_native.go, install/integrationctl/agentplugins/clients/cursor/mcp_tool_approval_test.go, docs/CURSOR_MCP_TOOL_APPROVALS.md
Project activation checks consent, project and package state, and permission policy before adding exact MCP tool rules. The update preserves existing policy and refuses conflicting rules. Tests cover refusal conditions, persistence, qualified versions, and write failures.
CLI installation and qualification checks
cli/internal/agentpluginscli/cursor_mcp_tool_approval_e2e_test.go, scripts/project_native_missing_call_runner.py, scripts/test_project_native_missing_call_runner.py, .github/workflows/cursor-qoder-mcp-preflight.yml
CLI tests check prepared installation state, exact permissions, repeat-add behavior, and permission persistence after removal. The native runner checks readiness and exact permissions without invoking mcp enable. The workflow runs the related tests.

Landing install examples

Layer / File(s) Summary
Eligible install command examples
landing/tests/browser/i18n-state.helpers.ts, landing/tests/browser/client-support-matrix.spec.ts, landing/tests/browser/migration-copy.spec.ts
The browser helper returns a latest install command when an eligible release and target exist. Otherwise, it validates a pinned-source example. Browser tests check pinned-source details only when the returned example has a selector.
Extensions-only Project package selection
landing/tests/project-catalog-source.test.ts
Tests cover extensions-only package selection for Cursor and automatic Project selection, and refusal for Codex.

Release and Marketing Kit audit updates

Layer / File(s) Summary
Workflow version and execution updates
.github/workflows/live-install-audit.yml, .github/workflows/live-install-remaining-clients.yml, .github/workflows/agentplugins-windows-firebase-capture-probe.yml, .github/workflows/marketing-kit-project-release-e2e.yml, scripts/marketing-kit-published-launcher-abort.js, scripts/test_live_install_audit_env.py, scripts/test_package_manager_ci_policy.py
Workflows and tests update CLI or package version references to 0.1.115. The Marketing Kit workflow prepares the Codex sandbox and retains its retry and version-mismatch checks.
Codex SQLite lifecycle audit
scripts/marketing-kit-project-release-e2e.py, scripts/test_live_install_audit_env.py
The Marketing Kit E2E prepares and audits Codex SQLite profiles A, B, and C. It routes lifecycle operations through audit checkpoints and includes profile evidence in the report. Tests cover protected state, runtime changes, and checkpoint ordering.

Validation and test adjustments

Layer / File(s) Summary
Skill and lifecycle validation
install/integrationctl/agentplugins/clients/grok/project_skill_inspect.go, install/integrationctl/agentplugins/clients/windsurf/project_skill_completion.go, scripts/e2e/hermes-native-lifecycle.py, scripts/test_gemini_windows_runtime_audit.py
Grok optional-field validation and Windsurf post-observation policy checks move into helper functions. Hermes configuration writes specify LF newlines. Gemini audit tests capture snapshots before patching reads and limit file swaps to reads on the tested descriptor.
Test and path validation
landing/tests/client-support-readme.test.ts, scripts/firebase_runtime_failure.py, scripts/test_firebase_runtime_failure.py, .github/workflows/terminal-ui.yml
README support-matrix tests use module-level markers and expect one Hermes icon. Firebase collection validates canonical path identity, and tests cover Windows short-path cases. The terminal UI contract test enables verbose output and uses a longer Windows timeout.

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Plan as RefinePlan
  participant Project as Cursor Project
  participant Lifecycle as activateProject
  participant Trust as completeCursorProjectToolTrust
  participant Policy as Cursor cli.json
  Plan->>Project: Supplies selected tool approvals
  Project->>Project: Projects and verifies approval data
  Lifecycle->>Trust: Completes tool trust after error-free activation
  Trust->>Policy: Merges approved exact MCP tool permissions
Loading
Merge Risk: Low · previous review 04d0b

This change adds scoped Cursor MCP tool approvals and updates release-audit tooling. The product code review found no blocking defects. The remaining issues are in the Marketing Kit Codex audit scripts and workflow: a Windows path-separator mismatch, a missing workflow trigger, a weak version check, and misleading evidence after a failed checkpoint. They are small to fix and should be addressed before relying on that audit.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description is detailed and substantive, but it does not follow the repository template. It has no '## Summary' section with 'what changed' and 'why it changed' in the template form, no '## Verifi… Restructure the description to follow the repository template: (1) a '## Summary' section with concise 'what changed' and 'why it changed' bullets; (2) a '## Verification' section that lists the template items (go test ./..., make lint, mak…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "feat(cursor): scoped automatic MCP tool approval after confirmed project add" names the primary change in the changeset. The raw summary shows a new Cursor MCP tool-approval extension, proj…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat(cursor): scoped automatic MCP tool approval after confirmed project add" names the primary change in the changeset. The raw summary shows a new Cursor MCP tool-approval extension, project-scope selection rules, and a tool-trust flow that writes reviewed exact tool permissions into the project's cli.json after explicit project-add consent. The title is specific, follows a conventional-commit style, and fits the Cursor-scoped changes. It does not cover the many supporting CI, landing, and Marketing Kit changes, which is expected for a title.

Full details: Description check

Explanation

The description is detailed and substantive, but it does not follow the repository template. It has no '## Summary' section with 'what changed' and 'why it changed' in the template form, no '## Verification' checklist (go test ./..., make lint, make vet, make generated-check, focused tests), and no '## Release Impact' checklist (public contract change, docs updated, release-sensitive paths reviewed). Much of the text is a status log of CI runs, commit SHAs, and historical checkpoints rather than a concise description of the change. The problem and resulting behavior are described, and the Cursor scope and qualification boundaries are explained, so the description is not off-topic. The key gap is that the template's verification and release-impact items are not addressed in the required form, and the verification claims rely on CI links and a local subset rather than the template's listed commands. The description also contains a stale HEAD: the top checkpoint names 9c009d8, while the 'Current candidate' table names 511fad2, which makes it unclear which head the claims apply to.

Resolution

Restructure the description to follow the repository template: (1) a '## Summary' section with concise 'what changed' and 'why it changed' bullets; (2) a '## Verification' section that lists the template items (go test ./..., make lint, make vet, make generated-check, focused tests added or updated) and marks each as done or not done, with the specific commands and results; (3) a '## Release Impact' section that marks no public contract change, docs updated (docs/CURSOR_MCP_TOOL_APPROVALS.md and the plan doc), and release-sensitive paths reviewed. Move the long CI-run history out of the main body or condense it. State a single HEAD SHA that all claims refer to, and remove or clearly separate the stale 9c009d8 and 511fad2 references. Note the public contract change: the new Cursor tool-approval extension and the version-pin change are user-visible and should be checked in Release Impact.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copy link
Copy Markdown
Owner Author

Three bounded self-review rounds — current HEAD 9768faf

R1 / SOLID + DRY (addressed). Cursor owns extension admission, managed approval projection and one dedicated trust step; native writes reuse the shared conditional exact-file kernel. The existing Skills/MCP projector, fingerprint-based MCP approval, other clients and the global registry are unchanged. Unsupported extension, unselected server and user-scope registration fail closed.

R2 / Security (addressed in 9f92857, c04b43c, 9768faf). Exact per-server/tool grammar, versioned manifest, bounded data, duplicate JSON-key and invalid-type rejection, selected project root, verified native owned objects, MCP disablement and foreign CLI deny/ask preservation. Broad wildcard permissions and ambiguous native policy are refused; no Editor trust-db writes or force/yolo flags. Foreign symlink, another project and changed native MCP configuration are regressions. Explicit confirmed add alone may create these named grants; repair/deps/read-only are non-granting.

R3 / Lifecycle + E2E (code/test in progress; NOT a PASS claim). Added focused adapter tests and existing pinned Cursor/Qoder no-auth native lifecycle workflow as a path-qualified gate; Linux/macOS/Windows Core fast build, vet and project-contract jobs, source authorization, and run receipts still must be checked for exact final HEAD. No-auth checks do NOT prove authenticated model tool calls, Cursor Editor activation or workspace trust. CodeRabbit currently reports an OSS review-quota limit (no independent review submitted).

New native discovery: Cursor staff confirmed October 29 2026 that project Git plugin registrations can be loaded from .cursor/settings.json; blindly enabling this on top of the already-managed project Skills/MCP would double-register servers. It is not in this bounded tool-trust change. A noninteractive User plugin install command is not available (per current Cursor forum/docs).

Merge gate: wait for successful runnable checks and real native evidence, address failures, then guarded merge at reviewed HEAD and postmerge evidence. Queued, pending, skipped, cancelled and neutral are not PASS.

Copy link
Copy Markdown
Owner Author

R4 correction checkpoint — exact HEAD f8a7aea242c3aac9d48032e31db0908642e0f1de

Further adversarial source review found and fixed two previously missed integration/security defects:

  1. Functional integration: generic shared.OnlyNativeComponents excludes extensions, so a selected Cursor approval extension made the existing automatic project installer return false. Cursor now filters only its own reviewed extension when reusing the existing native Skills/MCP admission predicate; no shared or other-client rule is changed. Regression: TestCursorScopedApprovalDoesNotDisableAutomaticProjectLifecycle.
  2. Trust source integrity: the new approval list was read from a mutable installed package file without independently binding it to the reviewed package receipt. Now selected rules come exclusively from a sealed ports.DirectorySnapshots capture, validated against Delivery.ArtifactDigest. The active package digest, existing native selected MCP receipts and disablement are rechecked before, during, and after the conditional native-file mutation. The tampered-list test rejects introducing an unreviewed second tool.

Additional: refactored new production and E2E helpers below strict repository funlen limits, preserved all other clients, added public agentplugins add / repeat / remove Project full-path tests and explicit symlink/foreign-project policy negatives. Commits were pushed immediately; this is still Draft, not merge-qualified. GitHub Actions for this exact HEAD include Core fast, Required, project contracts, Cursor Qoder no-auth Project MCP lifecycle E2E; latest observation: runners queued, zero current-head PASS claims. Cursor IDE workspace trust, User marketplace CLI installation and authenticated model-driven MCP call remain separate vendor-supported boundaries; don't interpret file-only approval as those native outcomes.

777genius commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner Author

Cursor #1071 E2E review — native lane coverage gap (21 Nov 2026)

Verified the official Cursor CLI contract: project .cursor/cli.json permits exact Mcp(server:tool) entries in permissions.allow (https://prod.cursor.com/docs/cli/reference/permissions). The scope split from Editor .cursor/permissions.json and workspace trust is correct.

Open evidence gap (do not count native green as this feature's full E2E): the pinned no-auth workflow .github/workflows/cursor-qoder-mcp-preflight.yml runs the genuine Cursor/Qoder CLI, but its source generator scripts/project_native_missing_call_runner.py emits a manifest without com.universal-agent-plugins.cursor-mcp-approval. Thus its Cursor run cannot demonstrate that UAP's explicit project add writes permissions.allow: [\"Mcp(uap_cursor_call:inspect_runtime)\"], preserves foreign deny/ask, or persists this preference through removal in the genuine pinned-client project. The additional Go adapter and CLI fixture tests cover the implementation (but the CLI fixture uses a fake activator), not this genuine native combination.

Recommend adding a tightly scoped Cursor-only no-auth proof at pinned version, asserting the real installed project's exact cli.json rule, isolation and post-remove semantics, without modifying Qoder behavior, requiring login, invoking a model, or claiming Editor/workspace consent. Respect the real ProjectTrustConsent path. Existing workflow baseline remains valuable, but not a substitute.

Follow-up implementation pushed (not yet PASS):

  • 1a625be: Cursor-only manifest extension in the genuine pinned no-auth runner; confirmed --yes project add; assert UAP wrote exact named CLI permission and preserved foreign deny/allow, including after removal; Qoder branch unchanged.
  • ba2aa6d: forbid the native runner from synthesizing Cursor's tool grant.
  • 50a0b91: regression tests reject synthetic/wildcard named-grant proof.
  • 1638c54: run strict native-runner unit contracts on PRs, not only postmerge.

Gate: CI on 1638c544960a58b390716f52d05cc316c9d9dcce is queued; none of the new proofs has yet succeeded. Keep Draft until final-HEAD Linux/macOS/Windows Go checks, pinned Cursor/Qoder workflow, independent review and guarded merge.

Copy link
Copy Markdown
Owner Author

R5 / strict zero-manual-step acceptance gap at HEAD 1638c544960a58b390716f52d05cc316c9d9dcce

The newly improved Cursor no-auth E2E correctly requires the Mcp(uap_cursor_call:inspect_runtime) permission to originate from the confirmed UAP add. However the same native fixture still runs cursor-agent mcp enable uap_cursor_call explicitly after installation. That is a manual native MCP-server enable/approval step simulated by the test, not evidence that UAP completes the entire Cursor server trust path without extra steps.

Existing production approveCursorMCP fingerprint writes are deliberately limited to the independently qualified Cursor Agent 2026.09.18-9a7762b. The E2E client is pinned to 2026.10.22-27dcf5f; do not silently expand this gate or call mcp enable from production, which can erase explicit disables, until real pinned-version native evidence proves safety. An exact CLI tool grant is separate from server fingerprint approval and Editor workspace trust.

Required before claiming the original full no-manual-steps goal: qualify a safe, exact, publisher-approved server activation on the pinned native version using observed effects + A/B foreign/deny preservation and no added cursor-enable-one test shortcut; keep login/model call evidence separately scoped. Also await actual Core/Required/native job execution. Current Draft is not fully qualified; do not merge on source-only or queued CI.

Copy link
Copy Markdown
Owner Author

R6 / native approval verification plan — 90e6c09

Identified real independently reviewed source for Cursor Agent 2026.10.22-27dcf5f server fingerprint compatibility: merged #521, exact source 3a1a12ab37787aeb6d414aa42749fd601a7ba838, genuine run 41046185239, Cursor job 124032227409 SUCCESS. The PR's independent raw-artifact audits verify 35 commands / 18 proof stages, three exact project-scoped approval fingerprints, native MCP initialize and tools/list across both projects and changes. No model tool-call/auth/Editor trust claim.

Production cursorQualifiedApprovalVersion now accepts only that exact independently qualified version plus the previously reviewed 2026.09.18-9a7762b, fails closed on unknown versions. The no-auth Cursor positive E2E now does not run cursor-agent mcp enable; instead requires a genuine post-UAP-add mcp list line <selected>: ready. Contract regression explicitly refuses reintroducing the synthetic native enable command. Tests also require UAP's own exact tool grant, keep selected foreign deny and removal persistence. Pushed commit 90e6c094.

Critical outstanding gate: actual current-head native Cursor+Qoder run must execute and pass this stronger oracle, not just be queued; Core fast / Required / security, reviewers, exact merge and postmerge remain unqualified. The observed 2026.10 native proof does not establish Editor workspace trust, User marketplace install, or model tools/call.

Emit the same sanitized held-only diagnostic to stdout and the failure artifact so CI evidence remains readable without a local ZIP decoder. Bound encoded output, preserve original failures, and cover sanitizer, encoding and stdout failures.

Native acceptance, pins and cleanup remain unchanged. Exact two-file patch independently reviewed; hosted execution is still required.
Integrate cb63059 from main because its Terminal UI change conflicts with the qualified Windows budget in this PR. Preserve main's 20-minute non-Windows aggregate budget, the existing 25-minute Windows budget, verbose output and all per-case deadlines under the unchanged 35-minute job cap.

Independent three-way review verified all 8289 leaf objects: every unconflicted blob and mode is preserved exactly, with only the Terminal UI hunk resolved. Final-source CI remains required.
Use nonblocking nofollow opens for the macOS Kiro custody audit so a FIFO cannot hang before the held regular-file checks. Preserve all source, identity, ownership and byte comparisons.

Add real FIFO regressions for state and projection reads, refusal before pread, and constructor descriptor cleanup. Independent source review completed; hosted POSIX validation remains required.
Route explicit Pi foreign/clean cohorts through their original project authority while retaining generic peer isolation. Reuse the guarded canonical TEMP handoff for published Remotion and retain bounded causes from existing failed reads. Reserve bounded cold-acquisition time for Grok and require OpenSSH with bounded conditional setup.
Integrate main's per-run retention policy without losing bounded native SSH setup.
Use a real held-file rename and same-byte recreation for the Windows pathname-identity regression, retaining the strict guard and descriptor assertions.
Bound Docs OS dependency acquisition through the pinned Playwright installer, then require the unchanged browser/UI smoke.
…cture after removal

Qualify exact initially absent empty managed config, owned lock or empty skills-parent directory across all six native snapshots without rebasing protected identity. Keep all public lifecycle, foreign state, rollback and negative-evidence refusals unchanged; add 10 adversarial real-filesystem regression tests.
Keep the genuine published npm shim and its signed binary verification while
routing its disposable bootstrap cache outside native HOME on Windows. Preserve
all native profile custody and same-opened inode checks. Add focused positive
and fail-closed cache authority tests.
Reuse the reviewed collector guard from #1078, preserving exact lock bytes,
metadata, authority, and repeat-remove full-frame equality. Rewritten locks
still require timestamps in the command window. Retain the existing stricter
progress tests and add the two no-op custody regression tests.

Evidence: #1078 runtime admission contracts job 138228330280 (170 tests),
native job 138254538470 (artifact 14899865090), and local lock-guard replay.
The old guard rejected the actual unchanged repeat-add-a lock; the new guard
admits the ten observed stages and rejects changed custody/stale records.
No production, workflow, version pin, or runtime qualification changes.
Full final-source qualification remains required on #1071.
Use the real public `agentplugins remove` receipt rather than a shortened alias, with negative command/schema/result controls. The archived npm 0.1.95 inert runtime fixture now reports the required pinned-native identity and unmodified semantics; production proof requirements remain unchanged. Fixes diagnosed current-source failures in jobs 138387828018 and 138387827610.
Merge verified main 3aa4206 (PR #1101) while preserving the current Cursor source and all upstream CI policy. Resolve only scripts/test_package_manager_ci_policy.py: retain the Firebase automatic source proof and PR-only concurrency cancellation with distinct main-push run grouping. Tree independently checked against 8,290 leaves. Contains the preceding narrow Copilot and historical Codex regression fixes.

Copy link
Copy Markdown
Owner Author

Read-only review / Copilot fixture follow-up on d7fb1d2 (24 Nov). I see the other writer's published b39ba6a + d7fb1d2; I am not modifying the branch. The production oracle and historical Codex fixture corrections are present, but b39ba6a adds only a helper-level negative test to test_live_install_audit_env.py. Two existing full lifecycle mocks still emit the old alias: receipt fixture L11818 and consistency fixture L11912. Both feed do_case, and the positive cases assert removal_verified=True / status=passed, so the newly strict agentplugins remove expectation conflicts with these mocks. Correct both JSON command values (not argv dispatch), add bare remove as an explicit rejected cleanup envelope in test_copilot_cleanup_requires_successful_remove_and_list_envelopes, and execute both full CopilotManagedSkill classes. This is source-confirmed inconsistency, not a completed test run.

Also #931 merged at 15:15:37 UTC, advancing main to 479e7beeaf467a3ff4b1eaf73f00f31891dd35ac; PR is again mergeable=false/dirty. Exact complete trees using common parent main 3aa4206c show 31 paths with differing changes on both sides (not necessarily 31 textual conflicts), including shared live-install harness and tests, package CI policy, Windsurf collector and tests, and installer source. Reconcile those with #931's stricter contracts, preserving the Cursor scope, before final qualification. New natural CI is already queued; no cancellation, duplicate dispatch, or competing branch write by me.

Two full Copilot Project Skill scenarios emitted command=remove despite the actual public CLI returning command=agentplugins remove. Align both positive mock replies to the audited real response. Explicitly reject the bare alias in negative cleanup envelope tests; preserve full add/repeat/remove and foreign-state verification.

777genius commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner Author

Current #1071 checkpoint — 26 Nov 2026, 22:23 local

Goal status: Cursor implementation and all functional/security E2E gates are complete on the merged source. The only unrepairable acceptance gap is that the historical merge request does not record an expected-HEAD/CAS precondition; do not claim it was used.

Git and ownership

  • PR #1071 is CLOSED/MERGED by the repository owner at 2026-11-26 14:22:07 UTC.
  • Final PR HEAD: 2fd2a1f49fcfca4dd53f89f34efb25925a2fae47.
  • Squash merge commit: c33f89570ef85ebaf4dbab73bde2d5a2ea79baec, parent 61542d3ee4fe8958150e4c9732496f4fd76e17ce. The previously verified Git tree of HEAD and merge commit is identical: ce44304b0b1bdd5f6f475f180dbe9b42aa0dcea8.
  • Current main: a19856c9b3236496427006a7091433d8dbc79a79, one commit after the merge via #1119. Exact comparison shows only four Marketing harness/test files changed; no Cursor production code changed.
  • Six of six PR review threads are resolved and outdated. Fourteen review submissions are COMMENTED, zero APPROVED. The last accessible branch-rules read (23 Nov) said formal approval was not required; current protection read returned 403, so its state at merge cannot be independently confirmed.

Current-main verification (exact SHA a19856c)

#1071 acceptance evidence

  • PR Required 10/10; postmerge Required 9/9; Core fast 15/15.
  • Genuine pinned Cursor Agent 2026.10.22-27dcf5f + Qoder native A/B E2E passed on PR HEAD and postmerge main. Exact publisher-declared MCP permissions, fingerprint trust, Project A/B isolation, foreign-state preservation, add/list/remove lifecycle and no manual cursor-agent mcp enable were verified.
  • Linux/macOS/Windows project contracts 3/3; source transports and proof contracts; Dependency Review; PR/postmerge CodeQL; PR/postmerge Govulncheck 6/6; Authoring Milestone A 3/3 all passed.
  • Cursor Project Skills: prepared installation/repeat/removal/sentinel checks 30/30. Native Editor activation/discovery 0/30 because Editor workspace trust remains authoritative; no bypass is attempted.
  • Authenticated vendor/model tools/call remains unqualified. No unsupported User marketplace install is claimed.

Remaining / next

  • Expected-HEAD merge guard is not proven: the resulting squash commit and exact tree are verified, but no preserved merge invocation/audit record shows the expected_head_sha precondition or a fresh pre-merge ownership/HEAD check. This cannot be retroactively repaired after merge. Do not represent it as PASS.
  • Current branch-protection state cannot be independently read (403); no evidence establishes that formal approval was required at merge.
  • Incident #1029 remains OPEN; cancellation actor/root cause remain unknown. No new cancellation was observed in the current-main Required/CodeQL/Govulncheck runs.
  • No source defect remains identified in feat(cursor): scoped automatic MCP tool approval after confirmed project add #1071. No source changes, reruns, cancellations, releases, tags or duplicate PRs are justified.

…guards

Resolve 32 overlapping files without dropping the latest upstream Codex, Devin, Kiro, Cline and Claude audits. Retain Cursor scoped MCP trust/permission proofs and both branches' applicable workflow checks. Preserve source and published-release refusal semantics for final-head CI qualification.
Preserve the original 900s cold Claude/Firebase bound across main integration, including sequential native probes. Keep warm repeats at 180s, unrelated clients at their original limits, and all timeout/ownership/readiness checks strict. Restore matching focused contract; do not change native acceptance.
… pin

Restore exact retained no-op lock evidence, checkpoint-before-capture ordering, bounded Grok workflow contracts and signed-policy reauthentication coverage. Keep strict Prepared routes authoritative instead of shadowing them with legacy summaries; exercise full envelopes for all Cursor/Grok routes and refuse reduced fixtures. Preserve the historical Remotion 0.1.102 failure; qualify immutable 0.1.116 with the same strict public Ready and native lifecycle oracle while retaining the 0.1.101 negative control.
Preserve both sides' audit changes; reconcile Kimi coordinator custody and Marketing Kit guarded initialization. Keep strict Cursor envelopes and exact no-op lock retention tests. No runtime or security gate bypass.
Reuse one guarded CodexProfile for each A/B/C lifecycle after the exact isolated version probe. Keep shared bootstrap, peer, SQLite and pinned-system-file protections while preserving both final checkpoints and sticky failures.

Capture live evidence through ExitStack before disposable profiles are removed, and serialize the recorded evidence afterward. Cover actual main orchestration, real SQLite, cleanup/capture failures and late checkpoint interruptions.

Validated 155 selected Marketing tests plus the new capture-failure regression, 12 profile contracts, and independent source review.
Bind Prepared Kiro observations to explicit intent and prevent rejected direct receipts from falling through generic admission. Give Windsurf's Global sentinel one owner and preserve historical Codex observation labels.

Add independent pinned Pi registration inventories before add, after add, after repeat and after remove. Keep public Prepared states and default native failures, retain connection errors, and qualify registration separately from authentication or model tools. Preserve signed-source lifecycle, foreign-state and removal checks.

Focused harness and public Cursor regressions pass locally; genuine representative Pi probes exercised separately. Full hosted catalog qualification remains a distinct execution step.
Preserve source and saved-state custody, Cursor Skill identities, Claude removal discovery, and the independent Windsurf native gate from main alongside Pi registration and retained-file identity checks.

Verified the combined shared harness: 398 passed, 12 platform skips; Prepared 21, Kiro 31, Windsurf 48, Pi registration 10, Windsurf cycle 26. CI path policy and affected Marketing Kit contracts passed; independent merge review found no lost gates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant