Skip to content

Fix MCP context budgeting, simplify subagent roles, and refresh My Space - #212

Merged
Luhaozhu merged 1 commit into
mainfrom
sync/ce-20261024-tool-context-myspace
Oct 24, 2026
Merged

Luhaozhu merged 1 commit into
mainfrom
sync/ce-20261024-tool-context-myspace

Conversation

@Luhaozhu

@Luhaozhu Luhaozhu commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Large MCP results could be counted several times through metadata, then disappear from the model context while their tool calls remained. This sync counts only model-facing tool-result fields, removes duplicated payload metadata, and preserves a clear placeholder when a result cannot fit its budget.

It also simplifies the built-in explorer/reviewer/worker roles. Built-ins inherit the parent's effective capabilities without adding grants. Role-specific read-only behavior now lives in role prompts rather than a separately narrowed tool surface.

My Space gains collapsible directory navigation, a narrow-screen drawer, synchronized ancestor expansion, clearer folder and permission styling, and streamlined file actions. Large streamed text patches skip per-grapheme animation to avoid blocking rendering.

Four additional OpenSandbox files differ only in formatting from public main.

This is the manifest-generated CE tree, compared against current public main; no private repository history is included.

Validation:

  • All CE exclusion, required-file, binary allowlist, branding, license, import/OpenAPI/ORM, release regression, and frontend build gates passed.
  • 60 targeted backend tests passed in both the source and iChain integration checkouts with external Redis disabled for test isolation.
  • Full frontend build and module-page/chat-width browser checks passed.
  • Full frontend lint still reports the existing 245 errors and 21 warnings.

@Luhaozhu
Luhaozhu merged commit 20c8493 into main Oct 24, 2026
5 checks passed
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