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 — fix(server): accept CR-framed ACP MCP events by kiiwee · Pull Request #14431 · pingdotgg/t3code

Conversation

@kiiwee

@kiiwee kiiwee commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

The ACP stdio bridge rejects legal SSE responses that use CR-only line endings. A complete response can remain buffered instead of reaching the MCP caller, particularly on a stream that stays open.

Parse SSE lines using CR, LF, and CRLF terminators. Consume a CR immediately and ignore its following LF, including across chunk boundaries; preserve multiline data, comments, and incomplete-EOF behavior.

Validation: focused AcpMcpStdioBridge.test.ts suite (14 passing tests), changed-file lint/typecheck, formatting, and diff check. Coverage includes CR-only dispatch while the body remains open, split CRLF, mixed framing, comments, multiline data, and incomplete EOF events. No wire contract or client-specific behavior changes.

Targets the Orchestrator V2 branch, not main.

Implementation: Grok 4.6 Build via Grok CLI, with Codex-supervised fixture refinement. Mechanical test-helper refinement, scoped verification, and publication ops: GPT-6.1 Sol (xhigh) via Codex. Independent review: Claude Opus 5.5 (high) via Claude Code (claude -c).

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:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Sep 30, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 30, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Sep 30, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 79d6adb

Macroscope's review found this PR approvable — This is a localized server-side protocol parsing bug fix that broadens SSE line-ending compatibility without changing APIs, defaults, deployment behavior, or unrelated request processing. Focused tests cover CR, LF, CRLF, mixed framing, streaming dispatch, comments, multiline data, and incomplete EOF cases.

Notes:

  • Diff unchanged. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Oct 1, 2026 — with ChatGPT Codex Connector
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 1, 2026 15:55

Dismissing prior approval to re-evaluate 57075d2

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 1, 2026
View reviewed changes
@juliusmarminge
juliusmarminge deleted the branch pingdotgg:main October 2, 2026 19:23
@juliusmarminge juliusmarminge closed this Oct 2, 2026
@juliusmarminge juliusmarminge added the triage:keep-open Keeps this PR open despite not necessarily passing the contribution guide fully label Oct 2, 2026
@juliusmarminge juliusmarminge reopened this Oct 2, 2026
@juliusmarminge
juliusmarminge changed the base branch from t3code/codex-turn-mapping to main October 2, 2026 20:38
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 2, 2026 20:39

Dismissing prior approval to re-evaluate 57075d2

kiiwee added 2 commits October 2, 2026 13:43
@kiiwee @juliusmarminge
fix(server): accept CR-framed ACP MCP events
928fddb
@kiiwee @juliusmarminge
test(server): scope SSE framing helpers to their suite
79d6adb
@macroscopeapp

macroscopeapp Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting).

This review would cost an estimated $15.94, which exceeds your per-review limit of $15.00.

The top 3 files driving up this estimate:

File Diff Size Estimate
packages/contracts/src/orchestrationV2.ts 127.11KB $2.17
apps/server/src/mcp/OrchestratorMcpService.ts 75.70KB $1.29
apps/server/src/orchestration-v2/EventSink.ts 33.91KB $0.58

Tip

To get this pull request reviewed, you can:

  1. Comment @macroscope-app on this PR to request a manual review (monthly spend limits still apply).
  2. Exclude the file(s) above from review by adding a pattern to your .macroscope/ignore.md — note that creating this file replaces Macroscope's built-in default ignores rather than extending them.
  3. Raise your cost limit in your workspace billing settings.

Turn off this reminder going forward

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge
juliusmarminge force-pushed the fix/v2-acp-mcp-sse-framing-20260928 branch from 57075d2 to 79d6adb Compare October 2, 2026 21:00
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 41 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 1e1dcde7-c221-4ce5-b9ad-99b167234750

📥 Commits

Reviewing files that changed from the base of the PR and between cc1e634 and 79d6adb.

📒 Files selected for processing (2)
  • apps/server/src/mcp/AcpMcpStdioBridge.test.ts
  • apps/server/src/mcp/AcpMcpStdioBridge.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

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

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 2, 2026
View reviewed changes
@maria-rcks

maria-rcks commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by claude-opus-5-5 on behalf of Maria

Hi! We are cleaning up open PRs, and this one appears to have been created with an older model (grok 4.6). If this change is really important, we recommend rebuilding the PR with a newer model if possible.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks maria-rcks closed this Oct 11, 2026
@Lucenx9 Lucenx9 mentioned this pull request Oct 14, 2026
fix(mcp): read event streams with mixed-case content types #19387
Closed
@romil-bijarnia romil-bijarnia mentioned this pull request Nov 2, 2026
fix(mcp): accept CR and mixed line endings in response streams #29727
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:M 30-99 changed lines (additions + deletions). triage:keep-open Keeps this PR open despite not necessarily passing the contribution guide fully vouch:unvouched Author is not yet trusted in 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.

3 participants

@kiiwee @maria-rcks @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.