fix(extensions): clear stale release-check mirror allowlists + drop gutted pi-agent-core from matrix#2384
Merged
alexey-pelykh merged 1 commit intomainfrom Apr 17, 2026
Conversation
…utted pi-agent-core from matrix Closes #2383. Fixes the publish-next CI job failure on main after the v2026.3.11 sync (run 24567594577). The `scripts/release-check.ts` bundled-extension dependency-mirror validator reported drift on 6 extensions. Two distinct classes of drift: 1. Stale allowlist entries (5 extensions): googlechat, msteams, nostr, tlon, zalouser each listed deps in `rootDependencyMirrorAllowlist` that were subsequently added to the root package.json. The allowlist's invariant is "exactly the extension deps missing from root" — once mirrored, they must leave the allowlist. Emptied each allowlist. 2. Gutted-package leak (matrix): `@mariozechner/pi-agent-core` reappeared in `extensions/matrix/package.json` as a direct dependency after the v2026.3.11 sync lifted upstream's extension `package.json` verbatim. pi-agent-core is gutted in the RemoteClaw fork (Middleware Boundary Principle). Verified zero source-level consumers in extensions/matrix/. Same class of fix as e07d5d3 (post-v2026.3.7 cleanup). Removed from dependencies and emptied the allowlist. Verification: - `pnpm install --lockfile-only` removed pi-agent-core transitive closure (1,125 lines deleted from pnpm-lock.yaml) - `pnpm check` (format + tsgo + lint) passes - Direct invocation of `collectBundledExtensionRootDependencyGapErrors` returns 0 errors - `grep -rn "pi-agent-core" extensions/matrix/` returns only package.json (zero source references) Systemic follow-up (out of scope): each sync re-introduces pi-agent-core in matrix's package.json (v2026.3.7, v2026.3.11). Consider classifying `extensions/matrix/package.json` as EXTRACT in the disposition registry so future syncs hunk-review the dep list. Tracked separately.
This was referenced Apr 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2383.
Summary
Fixes the
publish-nextCI job failure on main after the v2026.3.11 sync (run 24567594577). Thescripts/release-check.tsbundled-extension dependency-mirror validator reported drift on 6 extensions; root cause split into two classes:googlechat,msteams,nostr,tlon,zalouserhad entries inrootDependencyMirrorAllowlistthat were subsequently added to the rootpackage.json. Allowlist must match "missing in root" exactly; emptied each.@mariozechner/pi-agent-corereappeared inextensions/matrix/package.jsonafter the v2026.3.11 sync lifted upstream's extension manifest verbatim. pi-agent-core is gutted in the fork (Middleware Boundary Principle). Zero source-level consumers inextensions/matrix/. Removed fromdependenciesand emptied allowlist. Same class of fix as e07d5d3 (post-v2026.3.7 cleanup).Verification
pnpm install --lockfile-onlyremoved the pi-agent-core transitive closure:pnpm-lock.yamldrops 1,125 linespnpm check(format + tsgo + lint) passes cleanlycollectBundledExtensionRootDependencyGapErrorsreturns0errorsgrep -rn "pi-agent-core" extensions/matrix/returns onlypackage.json(zero source references)package.jsonTest plan
publish-nextjob passes (was the failing job on main)build,test,lint,rebrand-gate,stub-debt-gate,obsolescence-audit-gate,zombie-import-gateall passdocsworkflow passesSystemic follow-up (not in scope)
Each upstream sync re-introduces
pi-agent-corein matrix'spackage.json(v2026.3.7, v2026.3.11). Consider classifyingextensions/matrix/package.jsonas EXTRACT in the disposition registry so future syncs hunk-review the dep list instead of wholesale-applying upstream's manifest. Tracked separately.🤖 Generated with Claude Code