Draft
Conversation
…s pipeline Fork T3 Code backend as the server layer, restructure into Bun workspaces monorepo (apps/desktop, apps/server, apps/web, packages/contracts, packages/shared), and integrate the game theory domain with T3's orchestration engine. Server integration: - Wire analysis CQRS aggregate (11 commands) into OrchestrationEngine - Start AnalysisReactor in server layers for entity graph side effects - Add SQLite write-through persistence for entities (survives restart) - Unstub MCP control tools (start_analysis, abort, rerun call orchestrator) - Add 11 typed analysis events to contracts OrchestrationEvent union - Strip code-editor features (terminal, git, checkpointing, file picker, diffs) - Strip editor RPCs from WebSocket server - Kill revision-diff-stub placeholder success (now throws) Frontend migration: - Replace SSE/HTTP transport with WebSocket (analysis-rpc.ts, ws-client.ts) - Wire editor-layout, chat-panel, entity-overlay to WebSocket transport - Remove legacy analysis-client imports (zero remaining) - Delete context-optimizer.ts (no manual token management) - Remove trimChatHistory, buildPriorContext, editQueue pattern Domain canonicalization: - Move entity/methodology/event types to packages/contracts - Both apps re-export from @t3tools/contracts (single source of truth) - Add prompt config system (manifest.yaml, instructions/, phase-prompts/) - Update architecture contract for CQRS tool-call model Build infrastructure: - Add packageManager field, turbo.json, tsconfig.base.json - Create script stubs for T3-specific build dependencies - Typecheck passes 5/5, build passes 4/4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix server test harness: remove checkpoint/git service refs, add AnalysisReactor - Wire initTransportLayer() in editor-layout useEffect for WS connection - Delete legacy SSE analysis-client.ts and its tests (zero SSE imports remain) - Rename product identity: T3 Code → Game Theory Analyzer in launcher + package - Fix turbo task refs: t3#build → @gta/server#build - Delete root server/ and src/ directories (superseded by apps/) - Add GTA_* env vars alongside T3CODE_* in turbo.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
EXPERIMENTAL — Do not merge. This is the T3 Code fork migration branch.
Status
Remaining work
🧪 This branch is experimental. It validates the T3 fork approach before committing to the full migration.
🤖 Generated with Claude Code