Repository navigation
feat(grok): complete automatic installation with native E2E - #995
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 23 minutes. View limit details
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. |
|
@coderabbitai review Please review Grok-only changes against #962's selected base, focusing on native CLI fail-closed behavior, Unicode/case-folded registry collisions, Prepared vs Ready trust boundaries, and tests. No other client scope. Current head: |
Action not completed
|
|
@coderabbitai review Review Grok Build only, current head |
Action not completed
|
|
@coderabbitai review Grok-only final-source review at ab78975. Focus on native User signed-directory add/unchanged-repeat/remove, Project trusted/foreign Skills attribution, Unicode registry name collisions, uncertain process cleanup, and existing installer architecture. Previous free OSS quota elapsed; please report only newly actionable findings. |
Action not completed
|
… of process cleanup
Grok E2E source-bound verification checkpoint (2026-11-19 Europe/Chisinau; 2026-11-18 UTC)Verified original Actions artifact ZIP contents for current HEAD
Project Native Runtime selected Grok job is queued, NOT PASS. Base #962 Current shared-parent gate update (2026-11-18 23:40 UTC): #957 HEAD Upstream Grok #962 qualified (same SHA, 2026-11-18 23:47 UTC): its selected Project Native Runtime Grok job 135077270016 completed SUCCESS, with original frontend/native artifacts 14483795067 / 14483625237, exact Integration status update (same HEAD): Upstream #962's whole Project Native Runtime 44365082519 completed FAILURE solely because the unrelated Windsurf runtime-attempt job 135077270067 failed to acquire its binary ( Fourth exact-source Grok E2E confirmed (2026-11-19 00:39 UTC): selected Project Native Runtime Grok job 135148314203 COMPLETED SUCCESS at this exact PR HEAD Result: #995 now has 4/4 targeted source-bound Grok E2E PASS, independently of other-client matrix jobs. The full Project Native Runtime run is still in progress/queued on unrelated selected clients; not a whole-workflow success. Parent #957 Required/Core/native checks remain incomplete with separate failed npm/Firebase workflows; #962 aggregate has unrelated Windsurf failures. Do not mark Draft ready or merge before the dependent stack is qualified and safely integrated. Final matrix aggregate distinction (original Windsurf evidence): Project Native Runtime 44395155907 finished FAILURE with 9/10 actual jobs SUCCESS including selected native Grok job 135148314203 SUCCESS. Only failed job: Windsurf runtime-attempt 135148312853, original frontend evidence artifact 14486968756 inspected (outer ZIP → frontend.zip → research.json): |
Preserve eight Grok-only changes, all upstream sources and ordered ancestry for fresh exact-head verification.
|
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. |
777genius
left a comment
There was a problem hiding this comment.
Grok-only source audit, 3 passes on exact HEAD 5e838bd9afcc85010976dcc8e0b05dfd59672f48 (comment-only review; not an approval, Strix review or CI PASS).
- Architecture/scope: eight Grok-only changed files; changes stay in Grok lifecycle/registry/collision/Skill inspection plus focused tests and one existing workflow. Source-sync preserved every old Grok blob, upstream #962 and merged main; no changes to Firebase, npm release or other clients.
- Safety/ownership: case-folded aliases/duplicate names reject admission; native install/uninstall/list unclosed or uncertain effects fail closed; replacement requires verified prior absence; artifact deletion follows positive native removal/absence, not foreign registration. Manual attestation remains read-only and cannot rescue a new mutation. Project Skill origins and digest are checked; unrelated native sources cannot forge owned Skill proof.
- Behavior/tests: focused regressions cover failed readback, stale attestation, foreign aliases, safe repeat and removal. Historical previous HEAD had all four genuine pinned Grok native E2E PASS (including independent tools/call), but the new containing HEAD requires its own runs 44441550206/44441550166/44441549888/44441687869 and required integration gates once based on main.
No newly established Grok-specific blocking code defect in this source review. GitHub Strix bot reported that its security review was not run due trial/billing; don't mistake it for evidence or for a completed external review. The PR reverted to Draft after Ready event. Remaining queued/cancelled/skipped checks and unrelated Windsurf aggregate failure are not PASS. Keep Draft until actual code/CI qualification and appropriate review; preserve #990.
|
Source-bound E2E evidence update (2026-11-19 UTC; not merge approval): on #995 HEAD Additional original ZIP verification on the SAME
|
|
New exact-HEAD Grok E2E qualification (2026-11-19 UTC; verification, not merge approval). Current #995 HEAD
Qualification is 4/4 targeted Grok jobs, NOT full CI green. The overall Project Native Runtime workflow is FAILURE because a separate Windsurf job failed |
Exact-HEAD Grok 1.0.70 E2E qualification — 2026-11-19 UTC (not merge approval)Verified original GitHub Actions ZIP artifacts for #995 HEAD
Scope of claim: four Grok-specific jobs PASS on this exact PR HEAD, but the whole Project Native Runtime workflow is FAILURE due to the independent Kimi-call job; it is not a whole-workflow PASS. #995 remains Draft, stacked on #962, with no final main-base required/core qualification. #962 must merge normally first after its own current-head gates, then #995 must be qualified against the actual merged |
|
Postmerge source-bound Grok audit (2026-11-19 UTC; not final E2E completion):
No code, release, Firebase, Windsurf, npm, required checks or workflow policies were changed in this audit. Do not declare full postmerge E2E completion until latest-main gates and actual native runtime are independently qualified. |
Postmerge source-bound Grok verification update — 2026-11-19 UTC (NOT GOAL_COMPLETE)Rechecked GitHub PRs and exact commit objects: #962 MERGED at Original postmerge artifact ZIPs were downloaded, inspected and independently SHA256-matched to GitHub artifact metadata:
New concrete issue: postmerge Required run 44539437213 completed FAILURE, not pending/pass. The agentplugins lint job 135613495817 found three actual Grok architecture limits at Still missing: new successful postmerge |
Preserve the strict catalog/readback behavior introduced by 777genius#995. Use the canonical CI-rendered outputs for its three provider golden cases and finish the remaining gofmt alignment. Production code and all other client expectations are unchanged.
Current main-based Grok integration — 19 November 2026 UTC
PR #995 HEAD
e24c743f7ed3b6443e9fe83f1482c21bd522f398, tree710f411df55fb239d74211b9f4a2a75c33395c28; ordinary pushed two-parent non-force merge of former #995 HEAD8aa6a527e875ef97b05a96845a5c541b079c0241and the actual GitHub #962 merge commit37cb7004c077d75de2ad95a65163b1b62333321c. GitHub confirmed #962 merged, with normal main merge parents46194d6a36a1c4fc011d3fa6083208115419d89fandf48fd670cd8b3ab625c1ed56f871b30b712ed411. #995's base is now main, and its GitHub three-dot diff contains exactly eight Grok-owned files.Strict full-tree source check: 8/8 PR #995 owner blob SHA/modes remain byte-identical to former HEAD
8aa6a527; every other blob/mode in the composed tree matches the actual #962 mergedmaintree. 8,144 blobs compared in the composed tree. No npm/Firebase/Windsurf/Copilot/release changes were authored in this integration. Independent Firebase #990 was merged by its own owner and was not modified here.Qualification: four Grok-specific native E2E jobs on previous #995 HEAD
8aa6a527were verified from original ZIPs — lifecycle, Project MCP/doctor, genuine native tools/call, selected Project Runtime (the last one SUCCESS even though the full workflow FAILED on an independent Kimi job). Those are historical for the new containing-source HEAD. Fresh source-bound workflow runs (Required44524330517, Core fast44524330531, lifecycle44524330504, Project MCP44524330534, genuine tools/call44524330539, Project Runtime44524330508) started automatically on the new HEAD and must complete; queued/skipped/cancelled are not PASS. This PR remains Draft while qualification is pending. No checks waived, no duplicate dispatch or reruns.Only after full current-head gate/review and normal GitHub
merge_method=mergewithexpected_head_shamay #995 enter main. Verify its two-parent merge/tree and fresh final postmerge main native Grok E2E before completion. No production publish/deployment.Stacked merge ancestry (19 Nov 2026)
The repository permits normal merge commits and automatically deletes merged PR branches. Parent #957 currently has two open dependents, Grok #962 and the separately owned Firebase #990; this PR #995 depends on #962. The #957 owner recommends normal GitHub merge (not squash/rebase) after verified current-head E2E and required gates, so original ancestor
7e966559remains reachable frommain. GitHub's automatic base retargeting on branch deletion does not by itself preserve the intended three-dot diffs if the ancestry is squashed away. After #957 and after #962 merge, check each open dependent PR's actual base, three-dot file diff, source SHA, and required current-head E2E before any further merge. Do not edit or silently close #990. This is a source-preserving topology correction, not a bypass of CI.Current-source genuine Grok proof — 2026-11-18 21:44 UTC
PR HEAD
645cf655b8bb0db9d3596646bdb1b6f37b029592, tree52642c62cc012acfd491589e4cab7fbffb1db425:source_commitandsource_treematch exactly,passed:true,grok_native_tools_call_qualified:true, project B, foreign user files and persistent data unchanged; removed native negative and untrusted refusal qualified. Real Grok Build with scripted localhost MCP provider; no model or vendor authentication.grok-runtime-build.json.source_headandsource_treematching this exact HEAD, genuinegrok 1.0.70,evidence.json.passed:true,public_native_saved_lifecycle_passed:true,fixture_unchanged:true; Go adapter regressions passed in original job.source_commit/source_treeexact match,passed:true,direct_installed_config_tools_call_qualified:true,native_doctor_initialize_and_list_qualified:true, Project B/foreign data preserved, native removal/negative and untrusted refusal covered; no model or vendor authentication. This controlled project evidence reportsgrok_tools_call_qualified:falseby design, while the separate genuine Grok native tools-call above is true.grok / runtime-attempt / installed public CLIjob135148314203queued. Admission preparation step passed but does not substitute for its native proof. Other queued/skipped prerequisites are NOT PASS.537351d9374d9f99fed231b37eeaa14ff4444c59(maind933508885e57d5dcdd0c4e5c17ff76d4cf52a76, new Gemini native-audit-only fixes; no Grok file overlap; latest current-head Required/Core/native runs queued) based on maind933508885e57d5dcdd0c4e5c17ff76d4cf52a76(Codex audit and integrated Hermes changes); its new Required/Core/native workflows are pending. Exact compare from old parent7e966559found zero overlapping paths with fix(grok): complete observed skills and recheck saved installations #962's 23 or feat(grok): complete automatic installation with native E2E #995's eight Grok paths. Preserve owner changes and wait for qualified base merge.40766d1has a separate Windsurf acquisition FAIL in Research run 44365081941, while itsgrok / observejob passed. This failure must not be counted as Grok E2E or silently bypassed. Current fix(grok): complete observed skills and recheck saved installations #962 and feat(grok): complete automatic installation with native E2E #995 Grok Project Native Runtime selected jobs remain queued.delete_branch_on_merge:true; official GitHub docs confirm that deleting a merged PR's head branch automatically retargets same-repository open PRs based on it to the merged PR's base branch. Do not retarget fix(grok): complete observed skills and recheck saved installations #962 early while CI is running. After the qualified fix(installer): finish observed Skill setup and bound Codex queries #957 merge, verify GitHub's actual base/branch transition for fix(grok): complete observed skills and recheck saved installations #962 (retarget manually only if it did not happen), reconcile its exact Grok-only source tree and current native E2E; repeat after fix(grok): complete observed skills and recheck saved installations #962 merge for feat(grok): complete automatic installation with native E2E #995. No automatic behavior substitutes for exact source verification.Regression review correction — 2026-11-18
HEAD:
645cf655b8bb0db9d3596646bdb1b6f37b029592(Grok-only test fix pushed). Two closed post-mutation readback tests now return an explicitCleanupComplete:trueand require!IsUnclosedClientProbe(err). This proves that after a successful native unregister, ordinary closed readback failures preserveNativeEffectUncertainfor both replacement and removal, not only the previously tested unclosed-process path. Production unchanged from previous HEAD. The existing focused Go regression is executed by the Grok readonly workflow on the exact source head; awaiting that CI and real native E2E, no PASS claimed for this revision.Current source-bound E2E and merge status — 2026-11-18 20:51 UTC
645cf655b8bb0db9d3596646bdb1b6f37b029592, Draft withci:full: compared with fix(grok): complete observed skills and recheck saved installations #962, eight Grok-only files. The final closed-process readback regression correction is test-only; native readonly, Project Runtime, Project MCP and native tools-call E2E for this exact HEAD are queued/pending. Not qualified, not merged.40766d12cd858393e502d140ea679643e6b9ae84: genuine pinned Grok 1.0.70 native User/Project lifecycle PASS run 44365081773, artifact 14467213407; controlled Project MCP/doctor PASS run 44365081846, artifact 14465342398; genuine Grok native MCP tools/call PASS run 44365081936, artifact 14467956754 (grok_native_tools_call_qualified:true, matching source tree, local scripted provider, no vendor auth). Project Native Runtime still queued. The earlier controlled MCP artifact'sgrok_tools_call_qualified:falseremains a distinct unqualified observation and is not used as proof.63e469db4cbebb83217211ca4a61aeb1494adc2cintegrates current main and independent timeout diagnostics. Its Grok Project MCP and Grok native tools/call both completed SUCCESS on that head, while Required/Core/native runtime CI is still pending. Its separate published npm audit run 44389138780 and published-stable macOS ARM gate failed before execution during release resolution: GitHub latest stable is v0.1.111 but npmuniversal-agent-plugins@0.1.111was missing. The Windows Firebase/Claude published probe separately reportsfailed-install-residue,repeat_verified:false,removal_verified:false, with foreign sentinels preserved. These are independently unresolved, not Grok pass or native release proof. Do not bypass this gate or conflate it with Grok E2E.7e966559; zero overlap with fix(grok): complete observed skills and recheck saved installations #962's 23 or feat(grok): complete automatic installation with native E2E #995's eight Grok paths. Preserve owner changes and original source; after fix(installer): finish observed Skill setup and bound Codex queries #957's qualified merge into main, integrate the exact Grok delta (with merge ancestry preserved) before final current-head E2E and merge fix(grok): complete observed skills and recheck saved installations #962 → feat(grok): complete automatic installation with native E2E #995. Never count queued/skipped or old-head success as proof of new source.Goal and scope
Finish Grok Build only automatic signed User registration and Project Skills/MCP lifecycle through the existing UAP planner, native client adapter, owned transactions and receipts. No Copilot, unrelated agents or duplicate installation framework. Explicit Grok Project trust is never silently granted.
Source and merge order — 2026-11-18
63e469db4cbebb83217211ca4a61aeb1494adc2c; fix(grok): complete observed skills and recheck saved installations #962 still contains earlier parent7e966559; its owner maintains cross-agent Core and CI.40766d12cd858393e502d140ea679643e6b9ae84; two-parent merge includes historical fix(installer): finish observed Skill setup and bound Codex queries #9577e966559; a later safe source sync is required after fix(installer): finish observed Skill setup and bound Codex queries #957 merge. Compared with fix(installer): finish observed Skill setup and bound Codex queries #957: 23 Grok-related paths only.645cf655b8bb0db9d3596646bdb1b6f37b029592, based on fix(grok): complete observed skills and recheck saved installations #962 with a pushed two-parent integration commit. Compared with fix(grok): complete observed skills and recheck saved installations #962: eight Grok-only paths; no unrelated changes. Existingci:fullremains requested.Both sync commits used lease-checked GitHub ref updates, preserving original Grok blobs plus exactly 35 new disjoint upstream dependency/Devin files; no overlapping edits. Avoid further base churn unless the parent advances or an actual failure requires it. Merge after qualified checks in #957 → #962 → #995 order.
New Grok safety correction — 2026-11-18
Previous safety correction:
e14f8cfb837ec8fd99ef3491e8e9b886d3c6a74f(safetyf312084, gofmt6b504ed, valid inventory fixturee0f5dc1, failed-mutation handling8ab0d04, manual-attestation guard14c0e45, regressionfab56bc).After a successful native unregister, any failed readback (not only malformed JSON) retains
NativeEffectUncertain; replacement cannot proceed or reuse a stale manual attestation.After a successful install, known negative native evidence also retains uncertainty rather than implying no external effect.
After a successful removal command, failed native verification keeps uncertain effect and denies deletion of the managed artifact.
Three focused Grok User regression cases cover the post-mutation readbacks. Existing failed-command tests now also assert uncertain native effects for both closed failures and unclosed processes. No non-Grok production paths changed.
An unknown-list error carried by a failed native mutation can no longer invoke the manual-attestation fallback. A focused mutation-error regression proves the distinction, while the read-only manual-attestation test remains unchanged.
Latest-head native E2E and required CI remain pending. Older successful and queued runs linked below cover previous SHAs and must not be substituted for
645cf655. Required merge order remains #957 → #962 → #995.Automatic preflight attestation safety — prior fix
61bfcf6New Grok-only fix: an unrecognized pre-install native listing can no longer reuse an earlier manual
ActivationCompleteflag to claim an automatic installation succeeded. Manual attestation remains available only in explicit read-onlyVerifyOnlyverification, while failed/uncertain native mutations remain non-attestable. Added the focused automatic-preflight negative regression; follow-up assertion fixes are on61bfcf6; the closed-process fixture correction one14f8cfmakes the regression causal instead of merely exercising unclosed-process refusal. Exact-source CI/native E2E still pending.Corrected native empty-list fixtures — prior fix
c8fe00eDuring the current-source source review, fixed two positive-control test fixtures that serialized a nil Go slice as JSON
nullinstead of the real valid empty native listing[]: ordinary confirmed-absent uninstall and explicit external-uninstalled native-confirmed-absent. Commitc8fe00echanges onlygrok_user_native_safety_test.go; the production JSON decoder still rejectsnull. Current-head E2E results are pending and are not counted from prior commits.#995 changes
--external-uninstalledcannot authorize filesystem cleanup while a runnable Grok CLI still reports the registration, returns unreadable inventory, or leaves process closure uncertain. A fresh native-absence readback is mandatory with CLI access; retain the explicit manual path when Grok is unavailable. Four focused cases committed infa6acbd(format follow-up81eb42d).--dry-run --external-uninstallednever invokes the native CLI before confirmation (regression371533a), avoiding diagnostic log writes during a preview.ArtifactRemovalAllowedon a failed native listing or foreign same-name source. Only verified absence or successful owned unregister permits artifact cleanup; four focused regression paths test both refusal and successful cases (e4bb90e+ gofmt2cb4afdc).81eb42d); two regression fixtures forDEMOandDOCS.Verified native E2E — source-bound
b3c2c3e: Grok Enablement Native Lifecycle run 44334668155, native evidence artifact 14446690494. Native Grok 1.0.70 version observed, originalevidence.jsonhaspassed:true, signed User add/unchanged-repeat/remove and explicit Project enabled lifecycle both PASS. This proves the earlier source, not the current SHA.ab789759: Project MCP without model and native stdio MCP tools/call through a scripted local provider. No real vendor login was used.40766d1: Grok native readonly and Project Native Runtime: newly queued; need exact-source PASS and artifact inspection.371533a: Grok native readonly, Project Native Runtime, Project MCP, native stdio tools/call. New current-head jobs queued; not PASS.Review: three scoped source-review passes completed; requested independent CodeRabbit review was rate-limited and is not represented as a completed review. Any new substantive failure requires its original logs and a scoped fix with immediate commit/push.
Implementation / E2E plan.