You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two overlapping managed-worktree protocol follow-ups, #100793 and #100804, both exported SessionWorktreeInfo and SessionsCreateResult from packages/gateway-protocol/src/index.ts. Their combined mainline state fails production types, lint, and plugin SDK declaration checks with duplicate identifiers.
Why This Change Was Made
Keep the canonical type-only exports in the existing export type block added by #100804 and remove the duplicate type entries from the schema/value export block added by #100793. Runtime schemas and the public TypeScript names remain exported.
User Impact
No runtime, config, or protocol behavior changes. Mainline CI and dependent PR validation can compile the gateway protocol barrel again.
native land guard: OPENCLAW_TESTBOX=1 scripts/pr prepare-run 100825 passed with exact local/remote head match
Before: the barrel exported SessionWorktreeInfo and SessionsCreateResult twice, breaking TypeScript and lint checks. After: each type has one canonical type-only export; runtime schemas and public type names remain available. No remaining proof gaps.
Superseded by the exact repair now on main: 8ce620f3e675.
That commit removes the same two duplicate type exports while preserving the canonical export type entries and runtime schemas. The focused Testbox proof and exact-head hosted gates for this patch were green; no additional behavior remains here. Closing the duplicate PR.
Maintainer verification complete at exact head 63a35f41a51ef4a18e83aef6c862f9f29d8a0566.
Best-fix review: remove only the duplicate type entries from the mixed schema/value barrel; retain the canonical explicit export type entries and both runtime schemas.
Hosted CI run 28785112157 passed at the exact head: QA Smoke, build, prod/test types, lint, protocol contracts, Node shards, and CodeQL.
Fresh branch autoreview: clean (0.86). No docs, changelog, runtime, config, or wire-protocol change required.
Native review artifacts validate with no findings; ready to merge.
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
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.
What Problem This Solves
The two overlapping managed-worktree protocol follow-ups, #100793 and #100804, both exported
SessionWorktreeInfoandSessionsCreateResultfrompackages/gateway-protocol/src/index.ts. Their combined mainline state fails production types, lint, and plugin SDK declaration checks with duplicate identifiers.Why This Change Was Made
Keep the canonical type-only exports in the existing
export typeblock added by #100804 and remove the duplicate type entries from the schema/value export block added by #100793. Runtime schemas and the public TypeScript names remain exported.User Impact
No runtime, config, or protocol behavior changes. Mainline CI and dependent PR validation can compile the gateway protocol barrel again.
Evidence
tidal-shrimp/tbx_01kwvc817e5sdgdcf6c46r79q5oxfmt --check packages/gateway-protocol/src/index.tsoxlint --threads=1 packages/gateway-protocol/src/index.tstsgoviascripts/run-tsgo.mjsgit diff --checkNo agent transcript attached; this is a two-line generated-barrel repair with the exact remote proof above.