Skip to content

fix: preserve strict isolation and correct native E2E oracles - #1056

Closed
777genius wants to merge 14 commits into
mainfrom
fix/cli-deps-root-prefetch-context-lint
Closed

777genius wants to merge 14 commits into
mainfrom
fix/cli-deps-root-prefetch-context-lint

Conversation

@777genius

@777genius 777genius commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Problem and resulting behavior

Generic multi-client isolation must preserve native package ownership without a direct client-ID exception. Actual native E2E also exposed incorrect test oracles, loss of Copilot CLI-detection evidence at the installer boundary, and an obsolete source-build version in the live installer audit.

Unified candidate: c9ef383b536fd5a66c9532e434cc783fce31752f, tree d525b79e8f30fe7a0399e897ca5d108c6e0fd980. Diff against integrated current main cda28d64b9af512d52ce2fd11cc9c8b08e7a1393: 18 files, +291/-62.

The branch was advanced with an exact old-head guard and force=false. Normal merge commits preserve current main and #1078's history; no squash or history replacement. Current-main README, landing and website content is preserved exactly. #1078's one-file prerequisite is included here so all final checks can qualify one combined source before main is changed.

Changes

  1. Generic isolation and architecture: use the existing declarative native-package sibling relationship. Frozen VS Code remains non-splittable in User and Project scope; native owners and independent clients remain eligible. Restore the exact zero direct-client-ID budget and retain both strict architecture tests.
  2. Validation helpers: extract Grok optional-field validation and Devin/Windsurf completion-policy checks while preserving validation, cancellation, snapshot stability and errors.
  3. Five existing fix(ci): restore strict native client complexity gates on integrated main #1025 oracle corrections: preserve Copilot absent-vs-present journal custody with bounded owned nofollow reads and identity checks; require the actual resolver-only Windsurf no-op progress; scope Windows Gemini fault injection to the native held-descriptor boundary. These are the reviewed fix(ci): restore strict native client complexity gates on integrated main #1025 fixes carried forward as prerequisites. The earlier Context-first correction is already in main through test(cli): pass the context first to the mixed roots helper #1065.
  4. Copilot native readiness: carry selected host-observed ClientSurfaces through saved dependency preparation, the no-save facade, request cloning and reconstructed detected client. Each boundary owns its slice copy; json:"-" keeps the evidence operational-only. The existing native observer and Ready requirement are unchanged.
  5. Correct the new regression itself: inspect the actual decoded JSON key instead of searching the full string, which previously matched the test's own temporary directory name. Keep the evidence-sentinel, caller/result aliasing and JSON-injection refusals.
  6. Source-build eligibility: merge reviewed test(e2e): reconcile retained audit diagnostics with native custody contracts #1078 unchanged. Its two live-audit source-build lanes use the pinned released eligible 0.1.115 identity. The separate historical published npm 0.1.95 lane, signed Directory policy, native pins and acceptance handling are unchanged. No release or publication is performed.

Original executed failures

Current final-source checkpoint — 2026-11-21 15:40:10 UTC

OPEN and not merge-qualified. HEAD c9ef383b536fd5a66c9532e434cc783fce31752f; reviewed tree d525b79e8f30fe7a0399e897ca5d108c6e0fd980. Current main remains cda28d64b9af512d52ce2fd11cc9c8b08e7a1393. GitHub synthetic merge b6294c8f37572f5586524a1a03767d7ca89ef802 has those main/head parents and the same exact reviewed tree. No source or main change occurred during the two latest cancellation waves.

Genuine final-source results retained

  • Coverage 44914668922 is whole-workflow SUCCESS, original attempt 1, job 136877600781, completed by 15:16:13 UTC. Original log verified: Go coverage tests across root, CLI/management, integrationctl/agentplugins, plugininstall and SDK passed; Codecov upload completed. Coverage's existing repotest/version-probe exclusions remain unchanged; this does not substitute for Required/native.
  • CodeQL Go job 136877600330 genuinely SUCCESS, 15:06:23 UTC. The retained attempt-2 metadata uses 136887470936; no Go rerun is claimed. JavaScript/TypeScript remains unqualified.
  • Package-manager macOS Intel 136877601322 and ARM 136877601048 genuinely SUCCESS, at 14:47:23 / 14:48:27 UTC. Downloaded original Intel artifact 14711497647 and ARM artifact 14711441975. ZIP SHA-256 values match GitHub metadata: 94c3ef33c70c1d04075f6ceabaefb1c6c30ac1f0c8efd7521609c641454c66cb / 3b1dd5b6ea415aa3f8584af29f62da4d2eec0f8a057b65d13f2676fb2f82b1bd. Both reports bind clean unchanged synthetic merge/tree above, Go 1.26.11, full suite/pass, all 106 required catalog entries covered by 357 passed entries including subtests, no exclusions. All retained phase stream digests verified. Real cold scanner and CLI add/repeat/info/repair/remove assertions passed; receipts explicitly retain native_runtime_qualified=false. Attempt-2 copied success IDs 136887502659 / 136887541646 are retained original executions.
  • Full current-head CodeRabbit SUCCESS, check 136877667532, review run 6751c220-7c4b-4d89-a064-9cee872211c7, all five stages completed at 14:40:16 UTC. Zero annotations/inline findings and zero formal GitHub review objects. Independent exact-tree integration review also had no findings. No formal APPROVED is claimed.

Latest terminal gate state

Gate Run Current result
Required 44914669218 Attempt 2 CANCELLED. All nine mandatory replacement jobs cancelled with zero steps; original classifier success retained. Test/staged: 136887263889 / 136887263402.
Core fast 44914669298 Attempt 2 CANCELLED. All 15 jobs cancelled at 15:34:31 UTC, zero steps/no runner, including 3OS contracts and Windows custody.
CodeQL 44914668879 Attempt 2 CANCELLED. Go success retained; JS/TS 136887468692 cancelled without execution.
Dependency Review 44914669137 Attempt 2 CANCELLED, 136887487066, zero steps.
Govulncheck 44914669152 Attempt 2 startup_failure at 15:15:40 UTC, zero jobs created. See recovery blocker below.
Package manager 44914668884 Attempt 2 CANCELLED. Both macOS passes retained; Windows 136887501228 and Ubuntu 136887501425 cancelled at 15:34:31 UTC, zero steps/no runner.
Project Native Runtime 44914669173 Attempt 2 CANCELLED. Admission 136887219997 and matrix placeholder 136893463522: cancelled 15:34:30 UTC, zero steps/no runner. No current Copilot or strict Windsurf native proof.
Pinned Devin 44914669266 Attempt 2 CANCELLED. 136887240172: cancelled 15:34:30 UTC, zero steps/no runner. No current Devin receipt.
Live installer audit 44914669249 Attempt 2 CANCELLED. Skill/plugin pilots 136887255393 / 136887255556 and matrix/npm placeholders 136893462937 / 136893463142: cancelled 15:34:30 UTC, zero steps. No artifacts.
Kiro no-auth 44914668885 macOS lifecycle success retained; other prerequisites cancelled. Acceptance 136886435996 actually failed at 15:34:45–48 UTC because lifecycle/native prerequisites were cancelled. This is fail-closed missing qualification, not a native product assertion failure.

Cancellation and recovery evidence

The first unchanged-source wave occurred at 15:08:37–15:09:08 UTC. At 15:11–15:12 UTC, one official, terminal-state-guarded recovery was accepted for the nine necessary cancelled workflows above; successful jobs were retained and executing Coverage was left on attempt 1. Those recovered jobs were cancelled again at 15:34:30–41 UTC, before receiving runners. Independent #1084 Required run 44914788262, different source 952c6751c3b67b49eefe0b2f4d4c3f02cbeed219, was also cancelled in both windows, including attempt 2 at 15:34:30 UTC. Cancellation requester/mechanism remains unverified. Trigger actor is not cancellation attribution.

Govulncheck's failed-job recovery instead terminated startup_failure with an empty attempt-2 job list. Its workflow blob 304247e1b1cf07846e07eaaba063cdcb9d170c32 is unchanged from the historically qualified 81f0fc0a source. The attempted original root-job recovery was explicitly refused by GitHub with HTTP 403, Only jobs from the current attempt can be re-run; latest failed-workflow recovery was also refused with HTTP 403, This workflow run cannot be retried. Neither request created attempt 3. A fresh complete Govulncheck execution is required, using its existing manual entry point on the exact candidate branch once available; no source/no-op push or policy change was used to manufacture a new run.

Next-stage preparation

Unchanged remote #1025 e0f616a8ae21a2ada0f5580519a860c95f301928 remains OPEN. Local merge-tree with this candidate is identical and conflict-free: its original seven corrections are already included here. The reviewed manual Devin entry-point patch is one workflow-only change (+6/-5), blob 291992c6187cb399985184b3970ea5ffaa7e0211; preview tree against this candidate dd774c9d78ab9db526a502e40f485e26a8926818. Preserve exact PR/manual checkout binding and read-only permissions. Update #1025 remotely only after #1056 has actually qualified and normally merged.

No merge or postmerge-main E2E completion is claimed. #1056 → #1025 → final main remains the completion order. No #931, frozen VS Code, release/tag/npm publication, source-safety or lint-policy changes. Unknown Devin cache #1012 remains accepted=false.

Validation

Independent source reviews covered every constituent change and this exact final integrated tree; no actionable findings. These are source reviews, not formal GitHub APPROVED reviews or native execution claims.

Local verification passed: strict full-file and changed-line lint for the original changes; both passes for the final CLI/installer changes with a shrink-only baseline; both host-surface regressions; isolation and zero-budget regressions; the Copilot journal oracle; all 18 Windsurf proof contracts; 166 native-admission contracts and 17 dedicated Devin contracts. The final candidate's Go/Python/build-configuration bytes match the tested corrected source; the added workflow exactly matches independently reviewed #1078. YAML parsing, tree identity, merge conflicts and whitespace checks passed. Full local core/native execution remains limited by this workspace's process/socket environment and cannot substitute for hosted Windows/native evidence.

Historical evidence is retained separately:

None of those historical results qualifies this unified candidate. Required, complete Core fast/three-OS contracts/native Windows custody, security, four-OS package-manager, complete live installer audit and pinned native Skills/MCP cases must actually run successfully on the final source. Queued, skipped and cancelled cells are not passes.

Completion order and boundaries

Qualify and perform a SHA-guarded normal merge of #1056, then integrate current main into #1025 while preserving its history, add its reviewed manual Devin entry point, qualify and normal merge it, then verify genuine postmerge-main Required/security/native runs on the final main SHA. #1078 is preserved in this candidate's ancestry and must not be represented as separately qualified by old partial evidence.

No #931 changes, frozen VS Code implementation edits, release/tag/npm publication actions, security bypasses or widened lint allowances. Unknown Devin cache object #1012 remains accepted=false. The full OpenCode 0.1.115 negative classification is still unobserved; do not widen its allowlist before actual source-bound evidence.

Summary by CodeRabbit

  • Bug Fixes

    • Grouped installs now avoid partial retries when selected clients have different native package owners.
    • Repeating an already-completed Windsurf add reports package resolution without showing a transactional apply step.
  • Improvements

    • Installer planning now retains selected client surface information for host checks.

@coderabbitai

coderabbitai Bot commented Nov 20, 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

No actionable comments were generated in the recent review.

Walkthrough

The changes update native package sibling checks for group isolation, pass client surface metadata through installer requests, extract existing Skill checks, and revise live-install workflow and integration-test assertions.

Changes: Native package sibling isolation

Layer / File(s) Summary
Native ownership check and coverage
cli/internal/agentpluginscli/add_multi_isolation.go, cli/internal/agentpluginscli/add_multi_isolation_test.go
Group isolation now uses native package sibling ownership to determine whether partial retries remain enabled. Tests cover Copilot, Cursor, and VS Code selections across User and Project scopes.

Grok Skill field validation

Layer / File(s) Summary
Optional-field validation
install/integrationctl/agentplugins/clients/grok/project_skill_inspect.go
projectSkillEntry delegates optional-field checks to a helper. The existing validation rules remain unchanged.

Windsurf Skill policy recheck

Layer / File(s) Summary
Post-observation policy recheck
install/integrationctl/agentplugins/clients/windsurf/project_skill_completion.go
completeDevinSkills delegates its post-observation policy checks to a helper. The existing checks and policy-changed error remain in place.

Live install audit CLI version

Layer / File(s) Summary
PR-source build version and lane comments
.github/workflows/live-install-audit.yml
The native pilot and full native CLI matrix use version 0.1.115 for PR-source builds. Comments distinguish these builds from the unchanged npm 0.1.95 lane.

Installer client surfaces

Layer / File(s) Summary
Client surfaces through installer requests
install/integrationctl/agentplugins/installer/types.go, cli/internal/agentpluginscli/deps_sync.go, cli/internal/agentpluginscli/installer_facade.go, install/integrationctl/agentplugins/installer/prepare_package_plan.go, install/integrationctl/agentplugins/installer/package_lookup.go, cli/internal/agentpluginscli/project_host_version_test.go, install/integrationctl/agentplugins/installer/project_host_evidence_test.go
Installer requests now carry a copied ClientSurfaces slice excluded from JSON. Request cloning and client detection copy the surfaces. Tests check that the surfaces survive propagation without aliasing and cannot be injected through JSON.

Copilot raw Skills event snapshots

Layer / File(s) Summary
Guarded event snapshot comparison
repotests/agentplugins_copilot_project_native_raw_skills_test.go
The lifecycle test compares MCP event snapshots, including file identity. New tests cover missing files and parents, read failures, replacement during reads, and symlinked leaves.

Windsurf repeat-add progress proof

Layer / File(s) Summary
Repeat-add progress assertions
repotests/agentplugins_windsurf_cycle_proof_test.go, scripts/project_native_windsurf_cycle.py, scripts/test_project_native_windsurf_cycle.py
The expected repeat-add-a output omits the transactional-apply message. A test checks the command record and rejects that message when present.

Gemini Windows runtime audit tests

Layer / File(s) Summary
Checkpoint before injected failures
scripts/test_gemini_windows_runtime_audit.py
Two tests take the filesystem snapshot before injecting read or handle-transfer failures, then pass the snapshot and recorded interval to the observer checkpoint.

Client ID budget data

Layer / File(s) Summary
Remove CLI package entry
install/integrationctl/agentplugins/internal/archtest/testdata/client_id_budget.json
The packages object no longer lists the agent plugins CLI package.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Bug fix

Merge Risk: Minimal · up to c9ef3

This change preserves selected client surfaces through installer preparation, tightens native package isolation checks, and corrects several test oracles and the source-build CLI version. No concrete defect was found in the changed code. Before merging, confirm the full CI and native lifecycle workflows pass on the final commit, including the live install audit's published-CLI smoke.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix: preserve strict isolation and correct native E2E oracles" matches the PR objectives. The changeset includes the group isolation change that uses the native-package sibling relationship…
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.
Description check Passed The description follows the repository template's Summary and Verification sections. It explains what changed and why, lists the local checks that passed, and names the tests added. It does not tick t…
Full details: Title check

Explanation

The title "fix: preserve strict isolation and correct native E2E oracles" matches the PR objectives. The changeset includes the group isolation change that uses the native-package sibling relationship, the test oracle corrections for Copilot, Windsurf, and Gemini, and the client surface forwarding. The title is specific, but it does not name the surface-forwarding change, which is a substantial part of the diff. The title is concise and conventional.

Full details: Description check

Explanation

The description follows the repository template's Summary and Verification sections. It explains what changed and why, lists the local checks that passed, and names the tests added. It does not tick the template's checklist items for go test, make lint, make vet, or make generated-check. The Release Impact section is absent. The description is long and mixes in a checkpoint of CI run states. Those CI states are not part of the template. The core content is complete, so the check passes.

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between cc742c1 and c9ef383.

Files selected for processing: 13

  • .github/workflows/live-install-audit.yml
  • cli/internal/agentpluginscli/deps_sync.go
  • cli/internal/agentpluginscli/installer_facade.go
  • cli/internal/agentpluginscli/project_host_version_test.go
  • install/integrationctl/agentplugins/installer/package_lookup.go
  • install/integrationctl/agentplugins/installer/prepare_package_plan.go
  • install/integrationctl/agentplugins/installer/project_host_evidence_test.go
  • install/integrationctl/agentplugins/installer/types.go
  • repotests/agentplugins_copilot_project_native_raw_skills_test.go
  • repotests/agentplugins_windsurf_cycle_proof_test.go
  • scripts/project_native_windsurf_cycle.py
  • scripts/test_gemini_windows_runtime_audit.py
  • scripts/test_project_native_windsurf_cycle.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@777genius
777genius marked this pull request as ready for review November 20, 2026 17:28
@strix-security

Copy link
Copy Markdown

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 777genius changed the title test(cli): fix context-first lint in root prefetch fixture fix(ci): restore strict CLI lint and client-ID architecture gate Nov 20, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

One targeted independent review after the previously reported OSS review cooldown, for PR #1056 exact HEAD 40dcfe8da4736252ecd5dd56a013da8f1b3ab5a4. Please audit all three changed files against the latest integrated main: (1) resolveMixedRoots(ctx, t, …) and its nine call sites for strict revive/context-as-argument compliance and unchanged cancellation/serial semantics; (2) generic nativePackageSibling(clientID, scope) ownership policy in group isolation, especially User/Project scope, Copilot native owner versus VS Code prepared sibling and independent clients, avoiding frozen VS Code changes; and (3) the new scope regressions. Flag actual behavioral/security issues and any remaining architecture budget failures. No waived guards or historic/queued E2E as PASS; provide actionable review independently of pending Required/Core/Coverage/security.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 56 seconds.

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

Single retry on the unchanged exact HEAD 40dcfe8da4736252ecd5dd56a013da8f1b3ab5a4 after the bot's explicit 56-second free-review cooldown (previous invocation was refused). The precise 3-file review scope and strict acceptance gates are in my immediately preceding request: verify Context-first helper and nine callers, declarative Copilot/VS Code native-sibling isolation across User and Project scopes, and architecture/security invariants. No waiver or approval is implied.

Copy link
Copy Markdown
Owner Author

Exact final HEAD b6de418 — review completed, genuine CI still pending (20 Nov 2026 ~18:00 UTC)

Official GitHub Checks readback for current #1056 HEAD b6de41845a43ffc877a22c660f31fb525b22e94c confirms independent CodeRabbit full technical analysis SUCCESS at 18:00:06 UTC, run 781343ee-6479-47a7-8176-6a4aec3cbae0. Prepare, analysis, feedback, and publication completed. GitHub reviews/inline threads still 0: no published actionable inline findings and no formal APPROVED; do not ask for a duplicate review on this unchanged SHA.

Source review corrected the preceding 40dc Project subtlety: Project backend registries are deliberately independent; the frozen VS Code no-split rule must still apply conservatively through the existing User native owner regardless of Project scope. Regression test asserts both facts, plus native Copilot owner and independent client remain separable. The strict CLI Context-first fix and architecture budget remain unchanged. PR diff remains exactly three paths; two non-force commits pushed beyond the initial test-only fix.

Actual head-source Required 44787968815, Core fast 44787968767, Coverage 44787968927, CodeQL 44787968764 and the rest of 24 workflows were still PENDING at the last API readback. None is E2E PASS; earlier 40dc source checks are historical only. Current main has one intervening unrelated #1055 source acquisition/prefetch change since 4f5f0bf. Need completed final combined-source CI, then guarded normal merge, then #1025 latest-main genuine native E2E and postmerge main checks. No CI policy, frozen VS Code implementation, security custody, cache waiver, tag, or release changed.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 49 minutes.

Copy link
Copy Markdown
Owner Author

Genuine exact-HEAD CI interruption and narrow recovery — 20 Nov 2026, ~18:xx UTC

Current PR HEAD b6de41845a43ffc877a22c660f31fb525b22e94c, 3 changed paths, remains OPEN/Ready and mergeable, NOT merged. Independent CodeRabbit full analysis of this exact SHA completed SUCCESS (check-run run 781343ee-6479-47a7-8176-6a4aec3cbae0; zero published inline findings and no formal review APPROVED).

GitHub abruptly marked the entire natural Ready wave 24/24 workflow runs CANCELLED around 18:05 UTC without a source change. The actual Required test/staged-hermetic, Core fast lint / cli, and Coverage architectural test had zero recorded execution steps; no actual results on current final source. This is an execution/cancellation problem, not evidence that the fixes passed or failed. Important adjacent main commits since branch integration base 4f5f0bf1: source-acquisition/prefetch #1055, landing test #1058 and install-failure #1057; no changed-path overlap, but combined-source validation is required before merge.

Only two narrowly targeted official post-cancellation retries were requested, for final-source failed-boundary jobs lint / cli 136467776968 and coverage 136467772887. GitHub acknowledged both; do not count queued/rerun as PASS. Once these produce actual results, fix any real failures and run the rest of the required current-source tests, security and independent review. Merge via normal expected-head guard only when qualified, then proceed to #1025 final main integration + genuine Copilot 1.0.103 / Windsurf source-custody E2E and postmerge main checks. No CI/architecture-budget relaxation, frozen VS Code change, cache acceptance or release.

…t helper

Preserve all existing main changes, the three scoped CI fixes, and update the
new deps_connect_retry_test.go call after the strict revive helper signature
changed. Keep the client-ID budget unchanged and frozen VS Code fail-closed.
@777genius 777genius changed the title fix(ci): restore strict CLI lint and client-ID architecture gate fix(ci): restore CLI lint and architecture guard on latest main Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Exact integrated-source checkpoint — 20 Nov 2026, ~18:47 UTC

PR #1056 OPEN/Ready at unchanged exact HEAD 44bc09632d2384eaf01d78cef83ddf96fae35531 (four changed paths). Parent1 b6de41845a43ffc877a22c660f31fb525b22e94c, parent2 integrated main 2ab0596dd6b146d6b033479e4f9da938cd1069a6; new deps_connect_retry_test.go call changed to Context-first after main #1055, preserving the other three scoped fixes. Current main advanced to d0c02e7a9d9897da52aef601be7cef7ed89e0bbf by two #1060 commits that change only project_version_preflight.go and its two tests (dry-run version probing revert); no path overlap with four PR files. These adjacent CLI changes still require final combined-source E2E.

A real hosted job on this exact HEAD completed: Package Manager E2E #44793123253, macos-15-intel job 136485665311 SUCCESS (actual checkout and all 18 successful executed steps; the Windows-only held-descriptor step is conditional SKIPPED on macOS). Its verified stages include exact source/custody refusals, full portable catalog, Git/Unicode behavior, project lock isolation and typed foreign Skill refusal, crash/recovery and immutable EOL bytes. One successful job is not a whole E2E workflow pass.

The other three Package Manager OS legs remain queued. All 24 exact-head workflow objects currently report QUEUED, including Required 44793123284, Core fast 44793123229, Coverage 44793122913, CodeQL 44793122885. No current source Required/Core/Coverage/security complete PASS/FAIL; no normal merge. CodeRabbit check on exact 44bc is NEUTRAL / rate-limited; prior independent full review SUCCESS concerned old b6de4184 only, not this merged source. Latest bot quota indicated availability after ~18:55 UTC; do not repeat before then or duplicate an active review. No formal GitHub APPROVED.

#1025 remains OPEN/Ready on older seven-file 8b11217d, awaiting final #1056 verification+merge, then fresh source integration, strict native installed Copilot 1.0.103 + pinned Devin/Windsurf evidence with #1012 cache still accepted=false, Required/security, independent technical review and postmerge main verification. No workflow policy changes, no broad reruns, no pass-condition relaxation.

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

One exact-final-integrated-source independent review for Ready PR #1056 HEAD 44bc09632d2384eaf01d78cef83ddf96fae35531, after the bot's previously reported cooldown at ~18:55 UTC. Please review the complete four-file diff against latest main: the strict context-first resolveMixedRoots(ctx,t,...) test helper and its nine original usages; the new #1055 deps_connect_retry_test.go caller updated to that same signature; the generic nativePackageSibling(id, ScopeUser) policy replacing the direct ClientVSCode branch without relaxing the architecture ClientID budget; and frozen VS Code / Copilot independent Project and shared User backend safety regressions. This SHA is an ordinary two-parent merge of PR's prior reviewed b6de4184 and current-base main 2ab0596d, preserving source acquisition and version-probe adjacent changes. Check build/test integration compatibility and report concrete findings or explicit no findings. This is review only: queued/cancelled Required/Core/Coverage/native/security are NOT PASS; do not treat this review as merge approval or weaken guardrails. No further duplicate request needed for this SHA.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

Copy link
Copy Markdown
Owner Author

Verified immutable macOS Intel package-manager evidence on the current integrated candidate (20 Nov 2026)

This is a real completed OS-specific E2E, NOT a whole-workflow or native-agent PASS.

  • Package Manager E2E run 44793123253, job 136485665311 executed 18 successful steps, completed GitHub Actions job SUCCESS 18:44:14 UTC on macos-15-intel. The parent workflow later became CANCELLED because other OS legs were cancelled or queued; the one successful job remains a verified partial result.
  • Original GitHub-hosted artifact ID 14659345096 (package-manager-e2e-macos-15-intel-2bb2caf0ea92e8dcc08cc96ed2cc237473c9449d) was downloaded and its ZIP/report parsed independently. ZIP SHA-256 37262b29df757114a6f8cc235721f55e7041445996f339c6c88418953ab53457; report.json SHA-256 762e4906085b571e0903aa7b7f7ff4396f6e94b1103ac6ddb123e1828ebb17ca.
  • Report (schema_version=2) states suite=full, status=pass, full_qualification=true, 106 required test names, zero exclusions, 16 actual phase entries all pass, source.dirty=false, source_unchanged_during_run=true. The real command-backed local plugin install/repeat/info/repair/remove and package/source custody stages succeeded.
  • The workflow checkout was synthetic merge commit 2bb2caf0ea92e8dcc08cc96ed2cc237473c9449d with parents main 2ab0596dd6b146d6b033479e4f9da938cd1069a6 and current PR HEAD 44bc09632d2384eaf01d78cef83ddf96fae35531; original Git object confirms that synthetic merge and HEAD share the identical source tree 8a41db4130505629b455614cd4ddc82ff70f1513. This is genuine source-bound evidence, not a substituted older PR or mock.
  • The artifact itself explicitly states the scope boundary: native agent sessions, authentication, MCP tool execution and model calls are NOT qualified. The binary's synthetic local plugin installation is pass, while native_runtime_qualified=false; this test cannot settle true pinned Copilot/Devin runtime goals.
  • Still NOT done: current exact final-source Required, strict full CLI lint, Coverage TestClientIDBudgetDoesNotGrow, Core fast Linux/Windows/macOS, CodeQL/security and independent technical review, then guarded normal merge fix: preserve strict isolation and correct native E2E oracles #1056. #1025 still awaits real native Project/Skills/MCP and postmerge tests. No waiver of cancelled/skipped tests or unknown Devin cache accepted=false.

Current-run independent CodeRabbit review was requested once on exact HEAD 44bc0963 after quota reset; bot acknowledged Full review triggered at 18:56:29 UTC (request). Its result is pending at this checkpoint.

Copy link
Copy Markdown
Owner Author

Targeted exact-current-source recovery after terminal mass cancellation (2026-11-20 ~19:08 UTC)

Current OPEN/Ready #1056 is unchanged at 44bc09632d2384eaf01d78cef83ddf96fae35531 (four scoped files, previously merged base 2ab0596dd6b146d6b033479e4f9da938cd1069a6). The original 24-workflow exact-HEAD wave is terminal 23 CANCELLED / 1 Kiro QUEUED; full Required/Core/Coverage/security have not passed, and cancellation has no proven code-failure attribution. One original real package-manager (macos-15-intel) job succeeded with source-bound report (see previous report), and independent CodeRabbit full review succeeded for this exact HEAD on 19:00:46 UTC (GitHub check). Zero GitHub formal APPROVED reviews.

To test the two specific originally observed failures addressed in this scoped PR (strict full-file revive/context-as-argument and architectural TestClientIDBudgetDoesNotGrow), after all original jobs were terminal, I submitted one official job-level retry for each on the exact current SHA — NOT a mass workflow rerun and NOT a no-op source push:

  • Core fast run 44793123229 original cancelled lint / cli job 136485672594 → attempt 2, new job 136506588983 QUEUED at ~19:07:32 UTC.
  • Coverage run 44793122913 original cancelled coverage job 136485668224 → attempt 2, new job 136506607261 QUEUED at ~19:07:34 UTC.

Both API retries acknowledged success, but neither job has executed or produced a PASS/FAIL. Preserve the existing queue; do not duplicate retries on unchanged SHA. Whole Required 44793123284, other Core fast jobs, Linux/Windows/macOS package legs, security and final combined-main E2E still require genuine qualification. Latest main d0c02e7a9d9897da52aef601be7cef7ed89e0bbf changed adjacent CLI dry-run preflight (revert #1060), with no direct overlap in these four paths; compare once at final integration. No merge, release, CI waiver or native cache trust change performed.

777genius added a commit that referenced this pull request Nov 20, 2026
… order (#931)

Apply exact four reviewed file blobs from separate PR #1056 (44bc096)
to qualify this existing PR on the already-integrated main source.
Remove the generic domain.ClientVSCode branch that violates archtest's
shrink-only ClientID budget; keep the frozen VS Code whole-group retry
behavior via nativePackageSibling and cover User/Project owner/sibling
semantics. Restore context-first resolveMixedRoots calls, including the
new merged source acquisition retry test.

No CI policy, ownership/trust gate, VS Code implementation, release or
unrelated PR is changed. Exact E2E and independent approval remain required.
Main #1061 temporarily raised cli/internal/agentpluginscli's ClientID
reference allowance to one for the exact VS Code direct branch. The
scoped #1056 generic native-ownership replacement removes that branch;
restore the pre-exception empty budget baseline in the combined tree.
Preserve all newer main version-preflight changes and the four existing
CLI source/test fixes without bypassing architecture or CI gates.
@777genius 777genius changed the title fix(ci): restore CLI lint and architecture guard on latest main fix(ci): restore strict CLI lint and zero ClientID budget on latest main Nov 20, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

One final exact-source independent technical review for OPEN/Ready PR #1056 HEAD b6f5deed3ecca11149ec180d08c0275e59272b47 (base main 69207759176385259900d27094d11163b64c6c44), after the earlier CodeRabbit rate-limit cooldown. Prior successful review was on the older four-file 44bc0963 and does not cover this current five-file integrated candidate. Please analyze the complete five-file diff, including: (1) resolveMixedRoots(ctx,t,...) Context-first call sites in deps_root_prefetch_test.go and newly merged deps_connect_retry_test.go; (2) the declarative nativePackageSibling(id, ScopeUser) replacement of direct ClientVSCode branching, preserving frozen VS Code no-split in both User and Project despite independent Project registries, and Copilot owner / Cursor independence; (3) strict ClientID architectural budget restoration to {"packages":{}} after integrating main #1061 with both budget tests unchanged. Check adjacent latest main integration and report actionable findings or explicit no-findings. Review only: none of Required/Core/Coverage/CodeQL/native/security has full exact-HEAD PASS, and the unknown Devin 674560-byte cache record remains fail-closed accepted=false (#1012). No waiver, bypass, approval claim, release, merge, broad CI rerun, or repeated review request.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

Copy link
Copy Markdown
Owner Author

Exact five-file HEAD independent review completed; CI still unqualified (20 Nov 2026 ~20:06 UTC)

PR #1056 is OPEN/Ready on unchanged HEAD b6f5deed3ecca11149ec180d08c0275e59272b47 against main 69207759176385259900d27094d11163b64c6c44.

CodeRabbit current-HEAD full analysis: SUCCESS at 2026-11-20T20:05:44Z, check-run 136535413731 / review run b9b7f34c-f938-4c4c-b892-c1df9de7df76. Its prepare, workspace, analysis, feedback and publish steps actually completed (~4m22s). Official GitHub PR API shows zero submitted review objects and zero review threads, with no published actionable inline findings; this is a completed independent automated source review, not a formal APPROVED.

CI remains unqualified: original exact-head 25-workflow wave has 24 terminal CANCELLED and one Kiro queued; no aggregate Required/Core/Coverage/security/native PASS. Exactly two current-SHA, one-job official diagnostic recoveries were accepted and are still QUEUED: Core strict lint / cli 136532326632 in run 44803019719, and Coverage budget 136536167207 in run 44803019697. Neither is evidence of pass; all other Core jobs remain cancelled. Repository-wide readback was 87 queued, 4 pending, 0 in progress (~20:04 UTC), no verified cancellation actor. Source unchanged; no blanket reruns, release, merge or architectural/security waiver. Full incident details: #1029. Prerequisite merge remains contingent on real required complete CI and native E2E qualification; #1025/postmerge main still follow.

Copy link
Copy Markdown
Owner Author

Exact-source qualification checkpoint — 2026-11-21 ~07:58 UTC

PR #1056 remains OPEN/Ready at head 81f0fc0a8fb8af9351901ed998b1aabcbb0288fd; most recently read main 4858d973afcf6cf31b49bba98bdf06482dce6226 (separately evolving, so these passes do not qualify a final combined-main tree).

NEW WHOLE-WORKFLOW PASS: CodeQL run 44841558775 attempt 4 COMPLETED SUCCESS (2026-11-21 06:56:28 UTC): Go job 136765522027 SUCCESS with checkout, Go setup/build, CodeQL init/analyze all SUCCESS; JS/TS job 136765523391 SUCCESS with checkout, CodeQL init/analyze SUCCESS. Go setup/build conditionally skipped within JS/TS is language-inapplicable; the independent Go job really executed.

Already verified whole-workflow PASS on this immutable SHA: Required run 44841559047 attempt 5 SUCCESS (10/10 jobs, 06:48:36 UTC), including test, staged-hermetic, all lint, Management SDK 3OS; Coverage run 44841559117 attempt 3 SUCCESS (05:57:50 UTC), including Go coverage and upload. Core fast run 44841559662 attempt 4 is CANCELLED, despite genuine individual test-core/lint/vet PASS; cross-OS/cross-build jobs are NOT qualified.

After exact PR-head and old cancelled run/job verification, ONE official targeted rerun_workflow_job for Dependency Review original cancelled job 136677986188 was accepted. Original run 44841558988 attempt 3 QUEUED; new job 136781185221 QUEUED / 0 steps at 07:58:31 UTC. DO NOT duplicate/cancel or count as PASS.

Still missing: whole Core matrix, Govulncheck six modules, Dependency Review verdict, package-manager 4OS, genuine installed pinned native Plugin/Skills/MCP lifecycle (Copilot 1.0.103 and Devin/Windsurf 3000.12.57, affected Grok/Kiro), independent formal review, newest-main combined-source qualification, PR #1025 and postmerge main. Current CodeRabbit NEUTRAL/rate-limited is NOT approval. Cache issue #1012 stays accepted=false; cancellation actor #1029 unknown. No source commit, waiver, release, tag, or merge.

Original GitHub runs: https://github.com/777genius/universal-agent-plugins/actions/runs/44841558775 ; https://github.com/777genius/universal-agent-plugins/actions/runs/44841559047 ; https://github.com/777genius/universal-agent-plugins/actions/runs/44841559117 ; https://github.com/777genius/universal-agent-plugins/actions/runs/44841558988 .

Copy link
Copy Markdown
Owner Author

2026-11-21 ~08:57 UTC — exact-head Dependency Review genuine SUCCESS; one bounded Govulncheck recovery

Authenticated LIVE read immediately before this note: #1056 remains OPEN/Ready on unchanged HEAD 81f0fc0a8fb8af9351901ed998b1aabcbb0288fd; current main is 4858d973afcf6cf31b49bba98bdf06482dce6226 (not incorporated into the PR source tree). The seven-file PR diff and original Git tree 01a166524f49bca66044fd30eb98f91f4aca2fb7 remain unchanged. The historical GitHub test-merge tree matches the branch tree but is based on old 7b4d9082..., not a qualification of latest combined main.

New whole-workflow PASS: Dependency Review run 44841558988, attempt 3 finished completed/success 08:32:16 UTC on this exact HEAD. Its actual hosted job 136781185221 completed SUCCESS: checkout and actions/dependency-review-action@v4 executed, with original log reporting no vulnerable packages of moderate-or-higher severity and no denied packages. An inapplicable push-comparison-base guard step was SKIPPED; this was not represented as executed. Previously completed exact-SHA whole workflows remain Required attempt 5 SUCCESS 10/10 jobs, Coverage attempt 3 SUCCESS, CodeQL attempt 4 SUCCESS (both Go and JS/TS).

One new action only: after verifying no active Govulncheck run and previous six-module run 44841558857 attempt 2 terminal CANCELLED, performed one official targeted rerun_workflow_job of previously zero-step CANCELLED govulncheck (root) job 136671299712. GitHub accepted. Original run is now attempt 3 QUEUED on exact HEAD, with selected new job 136794990997 QUEUED, zero steps/no runner. Other five attempt-3 module entries retain terminal CANCELLED and are NOT PASS. Do not duplicate this active run; inspect its actual logs/result before any further bounded recovery.

Fail-closed remainder: Core fast parent CANCELLED despite real test-core/strict lint/vet successful individual jobs; no full current-head 3OS/crossbuild coverage. Govulncheck six modules, pinned Project Native/Devin/Copilot Plugin+raw Skills+MCP real vendor lifecycle, package-manager 4OS including macOS Intel, related native/Windows checks, and independent exact-head formal review remain unqualified. Current CodeRabbit is NEUTRAL/rate-limited, not APPROVED. #1025 remains untouched pending genuine #1056 qualification, guarded normal merge, latest-main integration preserving its five unique test/oracle files and complete new final-source E2E. No PR merge, source edit, waiver, no-op commit, publication, or alteration of #931. Unknown synchronized cancellation actor is still tracked separately in #1029.

777genius commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner Author

Copilot #997 → #1056 → #1025 — single current checkpoint (21 Nov 2026, UTC)

Order is unchanged: #997 is merged; #1056 is OPEN/Ready and not merge-qualified; #1025 remains OPEN/Ready and untouched until a qualified normal merge of #1056. No release/tag/npm/foreign branch/frozen VS Code changes.

Final integrated candidate being checked: #1056 HEAD dca5ecb4f04cb2de511910dc7c7e42d7dc02f83b, tree 3ac593bcadd670ce2e94f4643f0e33c5b723a86f, normal two-parent commit from previous #1056 81f0fc0a8fb8af9351901ed998b1aabcbb0288fd plus main 4858d973afcf6cf31b49bba98bdf06482dce6226. GitHub test-merge 62ab306955dca3a310174377943f6c10c9753c21 has parents [main, new HEAD] and identical tree; main still 4858d973 at readback. Diff versus integrated main: 10 paths (+222/-51). No direct generic CLI ClientID budget or lint-baseline growth. All five unique #1025 test/oracle paths were independently re-read by blob SHA and are byte-identical in both PR heads; #1025 remains e0f616a8ae21a2ada0f5580519a860c95f301928.

New exact-source hosted results (not inherited from old HEAD): six entire workflows at dca5ecb4 report genuine completed/SUCCESS, with original job readback: Grok Project MCP without model 44898847325, Skills install live API 44898847519 (actual Skills API job success; two publication-conditioned jobs skipped and are not evidence), Pi Global and Project Native Runtime 44898847626 (Linux/macOS/Windows jobs success), Source transports 44898847337 (native SSH job success), Cline Current Source Read-Only Project Gate 44898847506 (actual Cline 3.0.73 config metadata), and Grok native MCP call without vendor auth 44898847515 (genuine installed stdio tools call, no vendor/model login). Original hosted logs show checkout of this HEAD or synthetic test-merge tree; these are source-bound but do not qualify the full goal.

Current workflow execution: 30 auto-triggered current-source workflows were observed; at the latest read 6 whole SUCCESS, 2 IN_PROGRESS, 22 QUEUED. Core fast 44898847521 had actual lint / cli and lint / install/integrationctl job successes, but its remaining matrix and whole workflow are not SUCCESS. Required 44898847565 has only classifier success so far. Package manager 44898847488 is executing macOS ARM; Linux/Windows/macOS Intel unqualified. Project Native Runtime 44898847589 and pinned Devin 44898847581 are queued; no fake success claimed. Five whole-workflow successes of old 81f0fc0a (Required/Coverage/CodeQL/Dependency/Govulncheck) remain historical and cannot qualify dca5ecb4.

Independent review boundary: read-only diff review checked generic native ownership guard, Grok optional fields, Devin policy/cancellation, Copilot held raw-event snapshot identity/negative controls, Windsurf exact resolver-only repeat, Windows Gemini fault windows. No confirmed actionable defect in reviewed changes; this is not a submitted independent GitHub APPROVED. PR review list and threads currently empty. CodeRabbit exact-current-SHA check is NEUTRAL, not approval. Do not request the repeatedly rate-limited full review again without eligibility.

Still required before merge: final-source full Required/Core fast 3OS + crossbuild, Coverage, CodeQL Go+JS, Govulncheck all six, Dependency Review, all applicable genuine pinned native / Skills / MCP / Windows / package-manager 4OS (incl. macOS Intel) / Landing gates, documented independent review and formal APPROVED if required. Resolve actual terminal failures from original logs without mass reruns. Preserve cache unknown SHA256 6f6657773d0f81d0897f3804ed91c6c641b8aa28b164067b7d883354ce22c0ad with accepted=false (#1012); unknown cancellation actor remains #1029. Then guarded normal non-squash merge #1056, only then integrate/test/merge #1025, verify real main-push CI and dispatched native Project Runtime on final main.

Next action: inspect already executing current-HEAD jobs for actual completion/failure; no duplicate rerun or no-op push. Automation remains active.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Tip

For best results, initiate chat on the files or code changes.

@777genius Thanks for the checkpoint. Your report distinguishes the five successful workflows on 81f0fc0a from the still-unqualified Core matrix and native E2E. It also notes that those results do not qualify the latest combined-main tree.

Before merging #1056, verify the final combined tree, the outstanding checks, and the independent review. Then proceed with #1025 and postmerge checks in the stated order. I have not independently checked the current job or approval status.

I will not trigger a review, rerun jobs, or change the PR in response to this update.


Learnings added

Learnt from: 777genius
URL: https://github.com/777genius/universal-agent-plugins/pull/1056

Timestamp: 2026-11-21T10:58:45.602Z
Learning: Within repository "777genius/universal-agent-plugins", only for files matching one of ["cli/internal/agentpluginscli/add_multi_isolation.go"]: In cli/internal/agentpluginscli/add_multi_isolation.go, Project backend registries are independent, but the frozen VS Code no-split rule must still apply for both User and Project selections through the existing User-scope native owner. Do not infer that VS Code is splittable in Project scope solely because that scope has no backend sibling. The Copilot native owner and independent clients remain splittable.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


Learnings used

Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: CONTRIBUTING.md:0-0
Timestamp: 2026-11-11T23:54:21.607Z
Learning: Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Source excerpt:
# Contributing

## Pull Requests

- add or update tests with the behavior change
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: CONTRIBUTING.md:0-0
Timestamp: 2026-11-11T23:54:21.607Z
Learning: Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Source excerpt:
# Contributing

## Golden Files and the Architecture Ratchet

`internal/archtest` counts how often each core package names a client identity
and fails when a package grows. Regenerate the baseline only when the numbers
went down:

```bash
cd install/integrationctl/agentplugins && go run ./internal/archtest -update
```
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: CONTRIBUTING.md:0-0
Timestamp: 2026-11-12T00:02:37.226Z
Learning: Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Limits for new code:

| Limit | Value | Linter |
|-------|-------|--------|
| lines of code per file | 500 (comments and blanks not counted) | `revive` `file-length-limit` |
| lines per function | 60 | `funlen` |
| statements per function | 40 | `funlen` |
| cyclomatic complexity | 20 | `gocyclo` |
| cognitive complexity | 25 | `gocognit` |
| duplicated tokens | 120 | `dupl` |

Test files are exempt from the size and complexity limits.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: docs/ARCHITECTURE.md:0-0
Timestamp: 2026-11-20T10:33:48.239Z
Learning: Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Source excerpt:
# Architecture Notes

## Agent Plugins Core: Layering, Import Rules, Size Limits

### Size limits

New code is held to 500 lines per file, 60 lines and 40 statements per function,
cyclomatic complexity 20, cognitive complexity 25. Files that already exceeded
these limits are listed in the shrink-only legacy baseline in `.golangci.yml`.
See [CONTRIBUTING.md](../CONTRIBUTING.md#lint-gate-and-size-limits) for the
commands and the baseline policy.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-11T23:54:17.563Z
Learning: Source excerpt:
# Agent instructions

## Engineering architecture and agent review rules

- **Scope:** no default feature flags; do not change frozen VS Code code,
  generated files by hand, or unrelated native clients. Preserve legacy
  capabilities unless their retirement is explicitly approved.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-04T23:29:36.104Z
Learning: Source excerpt:
# Agent instructions

## Architecture and contribution guardrails

- **Safety:** preserve source/path containment, foreign-file ownership,
  immutable package identity, locking, receipts, rollback and recovery, public
  JSON and exit statuses. Never weaken a refusal just to make tests pass.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-11T23:54:17.563Z
Learning: Source excerpt:
# Agent instructions

## Engineering architecture and agent review rules

- **Safety:** never weaken path containment, user/foreign-file ownership,
  symlink checks, lock ordering, durable receipts, rollback or recovery.
  Preserve public commands, JSON, exit codes, schema and compatible data unless
  separately authorized. Fail closed on uncertain ownership.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-04T23:29:36.104Z
Learning: Source excerpt:
# Agent instructions

## Architecture and contribution guardrails

- **Domain:** business rules and invariants, no external I/O. Reuse the
  existing Go domain types instead of creating another source of truth.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-11T23:54:17.563Z
Learning: Source excerpt:
# Agent instructions

## Engineering architecture and agent review rules

- **Domain:** preserve the stdlib-only rule, immutable identities, state
  invariants, and typed refusals. **Use cases:** orchestrate through existing
  ports, not concrete adapters or client-specific branches.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-11-17T12:51:24.941Z
Learning: Applies to **/*.go : Source excerpt:
# Agent instructions

## Architecture and contribution guardrails

- **Verification:** new Go files are limited to 500 effective lines by `revive`;
  complexity, duplication and import rules are enforced by `golangci-lint`.
  Run `make lint` and `make test-core` for relevant Go changes. For lifecycle
  changes also run the affected native, rollback and cross-platform E2E.
  Verify actual cases on the final commit: queued, cancelled, skipped or
  evidence-only workflows are not proof that the product passed.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: docs/ARCHITECTURE.md:0-0
Timestamp: 2026-11-11T23:58:21.445Z
Learning: Applies to cli/internal/agentpluginscli/** : Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Source excerpt:
# Architecture Notes

## Agent Plugins Core: Layering, Import Rules, Size Limits

`cli-no-core-internals` keeps `agentpluginscli` off `providers` and
`pathpolicy`. The CLI may still import the thin public planner facade
(`Capabilities`, `ApplyInstallIntent`, and the rest) because those names are a
stable API for authoring, not a second composition root.
Learnt from: CR
Repo: 777genius/universal-agent-plugins PR: 0
File: docs/ARCHITECTURE.md:0-0
Timestamp: 2026-11-11T23:58:21.445Z
Learning: Applies to cli/internal/agentpluginscli/** : Applicability reference:
AGENTS.md: # Agent instructions
## Architecture and contribution guardrails
Before implementation changes, read [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)
for the applicable package boundaries and [CONTRIBUTING.md](CONTRIBUTING.md)
for actual lint and test commands. Check current `main` and overlapping PRs
before touching a package. Preserve all owner decisions below.

AGENTS.md: # Agent instructions
## Engineering architecture and agent review rules
The canonical dependency direction, accepted exceptions, and Go size limits live
in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Follow the actual checks in
[CONTRIBUTING.md](CONTRIBUTING.md); do not duplicate or relax those contracts.
Before a change, inspect the current `main`, open overlapping PRs, and the
existing owners of the affected behavior.

Source excerpt:
# Architecture Notes

## Agent Plugins Core: Layering, Import Rules, Size Limits

| Layer | Package | May import | Enforced today |
|-------|---------|------------|----------------|
| CLI | `agentpluginscli` | the public facades of the layers above, never providers or pathpolicy | yes, `cli-no-core-internals` |

You are interacting with an AI system.

Preserve current main and the strict generic isolation/lint fixes in #1056.
Bring forward the five reviewed test-only fixes from #1025 so the prerequisite can pass genuine Copilot, Windsurf and Windows validation before that PR is merged.

Keep absence, file identity, ownership, nofollow, exact no-op progress and native handle custody assertions strict. No workflow or runtime security policy changes.

Integrated main: 4858d97
Oracle source: e0f616a
@777genius 777genius changed the title fix(ci): restore strict CLI lint and zero ClientID budget on latest main fix: preserve strict isolation and correct native E2E oracles Nov 21, 2026

Copy link
Copy Markdown
Owner Author

2026-11-21 current-source pilot failure isolated; separate correction PR #1078

On the current integrated #1056 HEAD dca5ecb4f04cb2de511910dc7c7e42d7dc02f83b, the actual Live installer audit run 44898847501 finished FAILURE: source-built Codex plugin pilot passed 1/2 (context7 native add/repeat/remove), but atlassian was refused by real signed Directory with minimum installer version is 0.1.108. The uploaded JSON artifact 14706675452 shows the workflow forced source binary agentplugins 0.1.95, so the refusal is a correctly enforced minimum-version gate, not a reason to waive it.

Created one independent, narrow PR #1078, based on current main, changing only .github/workflows/live-install-audit.yml: the source-built probe uses the current actually published stable 0.1.115 version in both built-source lanes. Historical published npm 0.1.95 parity lane is unchanged; no status oracle or signed Registry policy was weakened. The PR is Ready and requires its own real pilot/full native workflow PASS + review before merge. Please avoid duplicating the same version correction or changing #1056's head while its ongoing native and Core/Required runs are being observed.

#1056 remains OPEN and NOT merge-qualified. #1025 and postmerge main still require their own exact-final-source E2E. The independent correction is not an E2E pass and should only be integrated after verification.

Copy link
Copy Markdown
Owner Author

2026-11-21 ~12:34 UTC — cancellation wave / bounded official recoveries; no PASS claimed

After the synchronized cross-PR GitHub Actions cancellation documented in #1029, OPEN/Ready #1056 remains at exact integrated HEAD dca5ecb4f04cb2de511910dc7c7e42d7dc02f83b. 18 whole workflows SUCCESS on this HEAD; Core fast, Required, selected Project Native and other queued/partially running workflows were terminated CANCELLED around 12:33 UTC. The original Core test-core hosted job 136830209297 Run install core tests = SUCCESS, coverage report step interrupted; Core whole workflow remains CANCELLED. Required's genuine management-SDK jobs passed on all three OS; test and staged-hermetic had no runner. Real pinned Devin Project Skills/MCP is whole SUCCESS. No new current-head code assertion failures observed.

One official job-targeted recovery of only original terminal zero-step cancelled Required/test job 136830209880 was accepted: Required run 44898847565, attempt 2, newly selected job 136847359116 QUEUED / no runner / 0 steps. Do not rerun it while pending; not a PASS. Other missing current-head jobs still require independent real execution.

Separately, the independent Ready CI repair PR #1078 remains OPEN at 032e4b218aec3e132f7629eea20e5fe5167f0b2e. Its first exact-source Codex plugin pilot was CANCELLED with 0 steps, not an assertion failure. After checking original terminal status and no active attempt, one official targeted retry of only that job 136845784185 was accepted: audit run 44904059023 attempt 2 newly selected 136847299513 QUEUED / zero steps. Historical/npm lane remains unchanged. Do not duplicate while queued or project either queued run onto #1056.

Strict order is #1078 evidence and safe CI repair integration → #1056 exact final-source Required/Core/native/security/independent review and normal guarded merge → #1025 qualified merge → genuine postmerge main. No bulk reruns, waiver, false native pass, forced push, tag, release or publication.

777genius commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner Author

#1056 exact-HEAD qualification checkpoint · 21 Nov 2026, after 15:40 UTC

Identity: OPEN/Ready head c9ef383, tree d525b79e8f30fe7a0399e897ca5d108c6e0fd980, main cda28d6. GitHub synthetic merge b6294c8 has exact same tree, parents [main, head]. Branch history already contains #1078 exact prerequisite source patch via normal two-parent merge, although #1078 itself is still OPEN.

Real PASS on final tree (original runner and artifact evidence, not workflow title inference):

  • Whole Coverage SUCCESS: 44914668922, Go job 136877600781, 7 module coverage reports and Codecov uploader succeeded 15:16 UTC.
  • CodeQL Go analyzer SUCCESS job 136877600330, but parent CodeQL 44914668879 is CANCELLED: JS/TS analyzer never passed.
  • Package Manager 4OS matrix partially qualified: macOS ARM job 136877601048, artifact 14711441975, and macOS Intel job 136877601322, artifact 14711497647, each complete SUCCESS, status=pass, full_qualification=true, 106 required cases and 16/16 phases, zero skipped/excluded cases in source-bound JSON. Linux job 136887501425 and Windows job 136887501228 remained CANCELLED without executed E2E; matrix as a whole is CANCELLED, not PASS.
  • CodeRabbit automatic final-HEAD analysis check 136877667532 SUCCESS; no formal GitHub APPROVED review or inline review threads.

15:34 UTC synchronized cancellation wave following earlier 15:08 wave: Required 44914669218 attempt2 CANCELLED with only classifier SUCCESS, nine test/lint/hermetic/3OS-SDK jobs cancelled; Core fast 44914669298 attempt2 CANCELLED with all 15 jobs unfinished; Project Native Runtime 44914669173 attempt2 CANCELLED before native Copilot 1.0.103 / Windsurf validation; pinned genuine Devin E2E 44914669266 attempt2 CANCELLED; Package Manager and CodeQL partial statuses above. #1056's original Govulncheck 44914669152 attempt2 terminated startup_failure (ZERO jobs; not a vulnerability scan), and the only official attempted failed-job retry returned GitHub 403 cannot be retried; no workaround. Whole live installer audit 44914669249 also CANCELLED. No current-HEAD Copilot raw Skills readiness=ready native E2E PASS, though production fix preserves observed selected surfaces and fail-closed readiness; retesting remains mandatory.

Independent cross-PR evidence: #1078 original full 30-case audit 44904059023 attempt6 cancelled 15:34 UTC; two real Codex plugin/skill 2/2 native pilots SUCCESS, OpenCode 30-plugin job 136890382307 and other source/npm matrix jobs CANCELLED. Another branch HEAD 1fb02dc had >20 unrelated workflows cancelled within the same seconds. Cancellation requester UNKNOWN; see #1029 investigation and 15:34 evidence with original run IDs. No one should claim queued/cancelled/startup_failure passed, blindly retry entire matrices or change concurrency/security to clear checks.

Dependency: #1078 OPEN Ready 032e4b2, separate formal review and strict 30-case completion still required. #1025 OPEN Ready e0f616a untouched; its seven shared test/refactor files byte-identical on this tree. Once #1056 is qualified and merged, add only the reviewed Devin postmerge workflow_dispatch within existing #1025, retaining exact source SHA and pinned native vendor, then validate and normal merge, and execute actual postmerge main-push/native/security E2E.

Independent main issue: current main Landing 44914016508 FAILURE in README Hermes path-count test after merged site PR #1079; site-owner finding. This baseline landing bug is not #1056 installer defect and must not inflate its scope; final main CI must resolve it through appropriate owner.

No new code changes, duplicative runs, force pushes, merges, releases or security waivers in this checkpoint.

The selected-surface regression's own temporary directory contains ClientSurfaces. Searching the complete JSON string therefore falsely reports a leak through the public path fields.

Decode the JSON object and assert the exact private key is absent. Preserve the evidence sentinel, caller/result copy checks and JSON injection refusal.

Both host-surface regressions pass. Strict full-file and changed-line lint passes for CLI and agentplugins with the shrink-only baseline unchanged.
Preserve all current README, landing and website work from main alongside the reviewed isolation, native oracle, selected-surface forwarding and structural JSON-test corrections.

No conflict resolution or additional implementation change was required.
Preserve #1078 history and its reviewed eligible source-build version correction. Keep immutable published npm parity, native pins, signed Directory policy and exact acceptance controls unchanged.

This source also includes current main cda28d6, the selected-client surface repair and the structural JSON regression fix, so Required, native runtime and full installer audit can qualify one combined candidate before the normal #1056 merge.
777genius added a commit that referenced this pull request Nov 21, 2026
777genius added a commit that referenced this pull request Nov 21, 2026
777genius added a commit that referenced this pull request Nov 22, 2026
Keep the README logo check aligned with the unified footer while preserving the image and support-matrix checks.

Refs #1056
777genius added a commit that referenced this pull request Nov 22, 2026
777genius added a commit that referenced this pull request Nov 22, 2026
Keep the README logo check aligned with the unified footer while preserving the image and support-matrix checks.

Refs #1056
777genius added a commit that referenced this pull request Nov 22, 2026
777genius added a commit that referenced this pull request Nov 22, 2026

Copy link
Copy Markdown
Owner Author

Prerequisite status / accidental keyword closure — 2026-11-23

Live #1056 is CLOSED, unmerged on HEAD c9ef383b536fd5a66c9532e434cc783fce31752f. Its close event was issued by GitHub at 09:57:13 UTC, immediately after #1086 merged at 09:57:10 UTC. #1086's own body says “Main lint prerequisite fixes #1056/#1025 remain OPEN”, which GitHub interpreted as an issue-closing keyword even though the prose says the opposite. The code of #1056 has not been merged by that closure.

The downstream chain remains #1078 final-source E2E first → controlled reopening of the same existing #1056 → exact new combined-source E2E → ordinary expected-HEAD merge → #1025. Reopening immediately would trigger redundant new PR workflows while #1078's already-running 37-workflow wave remains incomplete, so no PR state change was made. Its three currently necessary distinct strict-architecture blobs are the two-scope VS Code native-owner isolation, its regression, and client_id_budget.json requiring zero direct ClientID exceptions; a detached compatible source preview is available under 0f924de9ca610eaa4552004b86050f5862eb6175. This is not a PASS or merged commit; all true current-head CI and review gates remain mandatory.

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