GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(contracts): keep RPC implementation exports private by juliusmarminge · Pull Request #10168 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Sep 5, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Individual WebSocket RPC definitions are consumed through the assembled RPC group, not as separate package exports.

Keep those RPC implementation values and the runtime tool-lifecycle constant private. Preserve all Effect schemas, schema aliases, and exported types. This PR no longer rewrites schema aliases or their consumers.

Verification: contracts and consumer typechecks pass, existing contracts tests pass, and the integrated Knip gate passes. No existing tests were changed or removed.

Follows #10167.

Note

Keep RPC implementation exports private in contracts

Converts all exported RPC definition constants in rpc.ts and the TOOL_LIFECYCLE_ITEM_TYPES constant in providerRuntime.ts to module-private. Schema fields and behavior are unchanged; several Rpc.make calls were reformatted to a compact layout.

  • Risk: external consumers importing these constants by name will fail to compile. In-tree references must rely on the public RPC contract surface rather than the implementation constants.

Macroscope summarized e36f20d.

Model: gpt-6 astra. Harness: Codex in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). labels Sep 5, 2026
@github-actions

github-actions Bot commented Sep 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 13.5 KiB — 15.1 KiB ✅
Codex Thread snapshot wire — 7.0 KiB — 7.3 KiB ✅
Codex Live turn WebSocket wire — 6.5 KiB — 7.8 KiB ✅
Codex Live turn WebSocket decoded — 57.0 KiB — 66.4 KiB ✅
Codex Live turn messages — 8 — 21 ✅
Claude Total thread wire — 13.5 KiB — 15.1 KiB ✅
Claude Thread snapshot wire — 7.0 KiB — 7.3 KiB ✅
Claude Live turn WebSocket wire — 6.5 KiB — 7.8 KiB ✅
Claude Live turn WebSocket decoded — 57.8 KiB — 66.4 KiB ✅
Claude Live turn messages — 9 — 21 ✅

Baseline: unavailable · PR result: e36f20d · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 113.8 KiB
  • Claude decoded thread snapshot: 114.5 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 5, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Sep 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

A prior Macroscope approval was dismissed. Re-evaluating 38c1d41…

No code changes detected at e36f20d. Prior analysis still applies.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge mentioned this pull request Sep 5, 2026
refactor(contracts): trim unused client API runtime exports #10169
Merged
@juliusmarminge
juliusmarminge force-pushed the cleanup-packages/contracts-internals branch 2 times, most recently from 1427661 to cebd3fb Compare September 5, 2026 17:01
@juliusmarminge
juliusmarminge force-pushed the cleanup-packages/contracts-internals branch from cebd3fb to 5ae3d22 Compare September 5, 2026 17:04
@cursor

cursor Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the cleanup-packages/contracts-internals branch from 5ae3d22 to 5dd4e97 Compare September 5, 2026 17:18
@juliusmarminge
juliusmarminge force-pushed the cleanup-packages/contracts-internals branch from 5dd4e97 to 38c1d41 Compare September 5, 2026 18:24
@macroscopeapp
macroscopeapp Bot dismissed their stale review September 5, 2026 18:24

Dismissing prior approval to re-evaluate 38c1d41

@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:XL 500-999 changed lines (additions + deletions). labels Sep 5, 2026
@juliusmarminge juliusmarminge changed the title refactor(contracts): keep runtime and RPC schemas private refactor(contracts): keep RPC implementation exports private Sep 5, 2026
juliusmarminge added 2 commits September 5, 2026 11:28
@juliusmarminge
refactor(contracts): keep runtime and RPC schemas private
aa2afc0
@juliusmarminge
refactor(contracts): preserve runtime schemas and type exports
e36f20d
@juliusmarminge
juliusmarminge force-pushed the cleanup-packages/contracts-internals branch from 38c1d41 to e36f20d Compare September 5, 2026 18:29
@cursor

cursor Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge merged commit 5716dec into main Sep 5, 2026
33 of 45 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the cleanup-packages/contracts-internals branch September 5, 2026 22:55
Francois3d added a commit to Francois3d/t3code that referenced this pull request Sep 7, 2026
@Francois3d
Merge remote-tracking branch 'upstream/main' into local
c263079
Five conflicts, resolved as follows:

- contracts/rpc.ts: adopted upstream's pingdotgg#10168 convention (RPC implementation
  exports private) for the two fork subscription RPCs; they are only used by
  the aggregation group in this file.
- client-runtime/state/runtime.ts: upstream rewrote the query body inline with
  Atom.swr/makeRefreshOnSignal, so only one construction path could survive.
  Took upstream's body and bridged the fork's `invalidate` stream onto it via
  createStreamRevisionAtom, so both option shapes drive one trigger path and
  projectCommands.ts is unchanged.
- server/WorkspaceFileSystem.ts: git interleaved both refactors of the same
  readFile body into an incoherent splice, so the file was rebuilt from
  upstream's version with the fork's realPathWithinRoot helper and watchFile
  re-applied. Reads follow upstream pingdotgg#9140 and may target absolute host paths;
  watches stay contained to the real workspace root.
- web/ChatComposer.tsx: kept the required footerCompact prop, took upstream's
  resting-composer compact expression and its contextWindowMeterEnabled gate.
- web/ContextWindowMeter.logic.test.ts: took upstream's rename to
  hasAvailableCompactionProvider; the old fork name was imported but unused.

Verified: typecheck clean on contracts, client-runtime, t3, web; tests green
for client-runtime/state (415), server/workspace (79), web/components/chat (665).
@Nurozen Nurozen mentioned this pull request Oct 8, 2026
fix: integrate upstream checkpoint d0f855bfa91b Nurozen/lecturn#115
Merged
henrik092 pushed a commit to henrik092/t3code that referenced this pull request Nov 2, 2026
@juliusmarminge
refactor(contracts): keep RPC implementation exports private (pingdot…
a17fa8b
…gg#10168)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.