GeezerVison is showing github.com — Merge upstream v0.1.9 into t4 (AI-94) by Supermaxman · Pull Request #13 · AI-Escape/t3code
Conversation
Supermaxman
commented
Nov 13, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Upgrades the T3 fork from upstream v0.1.7 to the v0.1.9 release tag (708 upstream commits), the AI-60 way: take upstream's code and keep only t4's difference. 14 conflicts, all at the fork's hooks.
How each one was resolved:
- Secret cards: upstream's sign-in
url, answering with a secret-provider reference, and pasted value (written straight to a file, no card) are taken. t4's card still stays open until the user answers, and the file or secretRef reaches the agent as a message. Asking again with the same key returns upstream's note for an unsaved card.
- Scheduled tasks: upstream's
freshSession sits beside t4's threadId (wake another thread).
- PR detail reads: t4's fallback to Actions jobs, for tokens refused check runs, now runs on top of upstream's remembered reviewer refusals and its first-page check contexts.
- Restart recovery: upstream (fix(server): retry unstarted runs after recovery pingdotgg/t3code#30560) re-queues unstarted runs whose message the user typed. AI-88 re-sends the other unstarted runs (wakes, handoffs, notices), except a run whose own question is still open.
- Smaller ones: t4's issue-id worktree naming, the cancel of open commands after a runtime restart,
T4_ALWAYS_LOAD beside upstream's tool spans, and the instruction text. agentContextBudget.json is set to the measured size (+1.2 KB: upstream's sudo/PIN secret guidance and new tool parameters).
Upstream's stricter Effect diagnostics flagged some t4 code, fixed here: process.env reads, Effect.undefined, and test stubs missing the new Claude session methods.
Verification
- Server typecheck is clean.
- Targeted tests pass for contracts, provider-core, source-control-github, and the server areas that changed: MCP, secrets, restart recovery, ProjectionStore, RunExecution, scheduled tasks, git worktrees,
t4/, and the Claude adapter. The only failures are the known ones in the test container: the spawn-broker layer test run from a worktree, and two sparse-checkpoint cases under git 2.39.
- Dry run of image
t4-workspace:ai94-candidate (from 763fabe) on a read-only usa-rs snapshot (5.2 GiB, --network none, no repos):
t3 doctor took 1 s, then migrations 80 and 81 ran.
- The server was ready in about 2 s.
- All 2,131 threads were kept.
- The scheduled tasks were unchanged, except the one that came due during the run, which ran.
- Claude Code 2.1.325, a real Haiku run under the client managed settings:
- No approval prompts for an
rm after cd into another folder, or an rm by absolute path outside the project.
- Read-only git in another repo works.
- The wait-guard hook still blocks.
Linear: AI-94. Merged and ported by Claude Opus 5.5 in Claude Code (T3 Code / t4).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
… has one digit (pingdotgg#29851)
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
T3 Code v0.1.7 -> v0.1.9 (708 upstream commits), 14 conflicts, all at the
fork's hooks. Upstream's version is kept and only t4's difference stays:
- Secret cards: upstream's sign-in `url`, answers by secret-provider
reference and pasted `value` (straight to a file, no card) are taken.
t4's card still stays open until the user answers and sends the agent the
file or secretRef as a message; asking again with the same key reports
how the card ended (upstream's unsaved notes). A replaced card keeps its url.
- Scheduled tasks: upstream's `freshSession` sits beside t4's `threadId`
(wake another thread); a task bound to another thread continues in it.
- PR detail reads: t4's Actions-jobs fallback for tokens refused check runs
rides on upstream's remembered reviewer refusal and first-page check
contexts; toPullRequestCheckContextsPage also reads a core result whose
commits were left out.
- Restart recovery: upstream re-queues unstarted runs whose message the user
typed (pingdotgg#30560); AI-88 re-sends the remaining unstarted runs (wakes,
handoffs, notices, a preparing run).
- Worktree names: t4's issueId naming, else upstream's new hashed names.
- RunExecutionService: t4's open-command cancel on a runtime restart moved
into upstream's re-indented ingestion-failure path.
- Instructions: t4's thread-launch text; upstream's sudo/PIN guidance folded
into t4's request_secret line. agentContextBudget.json at the measured size.
- McpHttpServer keeps T4_ALWAYS_LOAD beside upstream's tool spans.
Also: upstream's stricter Effect diagnostics flagged t4 code
(process.env reads in T4Config/T4Stalls and t4 tests, Effect.undefined in
spawnBroker); Claude session stubs in t4 tests gained the new MCP methods.
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 |
— |
5.0 KiB |
— |
6.8 KiB |
✅ |
| Codex |
Thread snapshot wire |
— |
3.8 KiB |
— |
4.9 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
— |
1.2 KiB |
— |
2.0 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
— |
21.5 KiB |
— |
24.4 KiB |
✅ |
| Codex |
Live turn messages |
— |
1 |
— |
8 |
✅ |
| Claude |
Total thread wire |
— |
5.0 KiB |
— |
6.8 KiB |
✅ |
| Claude |
Thread snapshot wire |
— |
3.8 KiB |
— |
4.9 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
— |
1.2 KiB |
— |
2.0 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
— |
21.9 KiB |
— |
24.4 KiB |
✅ |
| Claude |
Live turn messages |
— |
1 |
— |
8 |
✅ |
Baseline: unavailable · PR result: 2dc95f2 · 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: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|