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 — feat(server): initialize native task threads by tomcorke · Pull Request #11 · tomcorke/t3code

Conversation

@tomcorke

@tomcorke tomcorke commented Oct 30, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Owner

Problem

Task documents cannot yet be associated with native threads or initialized before substantive work starts. A lost launch reply or failed context read must not silently start the user's queued work.

Closes #4.

Change

Persist optional task membership and frozen initialization provenance through native contracts, commands, projections and replay. Launch a reference-only context starter through the existing receipt path, and gate work on an explicit ready report plus successful bootstrap completion.

launch -> persist membership + pending attempt -> context starter
  ready + completed -> release queued work
  failed / unreported / stopped -> keep work gated; explicit retry

Recovery, fork, detach and conditional RPC/MCP permissions follow native lifecycle and destination-environment authorization. Antigravity task launch is rejected where its current external-file route cannot support it; selected permission modes remain intact. Absent membership serializes as null in MCP details and native shells, keeping ordinary thread reads and network snapshots valid.

Scope and approval

Fork-only implementation of the owner's accepted task-mode plan and explicit full-send instruction for #4. Shared editor/new-thread UI remains #5; the broader surface/provider audit remains #8. No upstream submission, live installation/vault writes or billing changes.

Independent Codex GPT-6.1 Sol reviews (high/default) APPROVED the complete frozen feature diff and the grouped three-line CI repair. No blocker or should-level finding remains. The rare overlapping-retry nit is tracked in #10; reviewed source hashes remain unchanged.

Verification

  • Before: create-to-starter work reached starting instead of queued; frozen replay exceeded the caller's mode limit; readiness cleared five Stop holds.
    After: all 51 launch tests pass, covering admission modes, replay/retry, Stop holds, projects/scratch, lifecycle and failed-worktree detach.
  • CI repair: first CI exposed invalid undefined MCP JSON fields (Server 2/4) and a shell/network equality timeout (Server 8). Normalizing three absent task IDs to null fixes those paths: 64 focused MCP tests and the transfer test pass. Two toolkit integration cases plus transfer pass in a diagnostic copy with a Windows fixture-path adaptation kept outside this PR. Repaired-head Linux CI now passes both paths without diagnostic test changes.
  • Runtime: fresh isolated server state and synthetic files, Codex Luna subscription, two samples each of ready, unreadable task and workspace mismatch. Recorded outputs show task, parent, update-discipline and repository reads before ready; failures leave work queued and replay creates one starter. The post-repair raw grade was 5/6 because the grader discarded successful read outputs from a batch whose optional missing-file probes failed. A separately preserved, independently reviewed correction grades those actual returned contents before readiness: 6/6, with all behavioral checks retained, missing-file verification strengthened and no model rerun.
  • The owner explicitly authorized fresh graded native runs as an exception to the unavailable API-replay eval route. Native proof covers Windows/full-access/default Codex; broader provider/mode compatibility remains unproven on this final diff.
  • vp run check:changed: format, lint, knip, GraphQL and 32 package typechecks pass; 645/648 tests pass. The three failures reproduce identically on merged base acc3a7ece73474dc8c0b9124a9006e5030018439 in a separate archive/install and isolated home: Windows question-upload path escaping, fleet SESSION_NOT_FOUND and OWN-01 DEVICE_IN_USE.
  • The owner explicitly approved the intentional +1,145-byte MCP tool-list increase; the repository's agent-context-increase label is applied. Both gates passed on reviewed head 81ec12d9cb6981b5cfefc83d7fa373ebbe0ef190: CI 41091876402, including the Linux changed-file check and all three repaired shards; the context-budget acceptance check also passed.

Merge Danger

Door: Two-way; additive optional event fields, no migration or canonical task-file rewrite.

Blast Radius: Orchestration. Ordinary launch and queue behavior share these paths; focused checks and current-head CI cover regressions.

Implemented with Claude Opus 5.5 / Claude Code and GPT-6.1 Sol / Codex. Independently reviewed with GPT-6.1 Sol / Codex (high/default).

Sorry, something went wrong.

Uh oh!

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

All reactions
@tomcorke
feat(server): initialize native task threads
7040805
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL labels Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.6 KiB 21.6 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.1 KiB +6 B (+0.1%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.3 KiB 1.3 KiB +6 B (+0.5%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 2 2 0 (0.0%) 8 ✅

Baseline: acc3a7e · PR result: 81ec12d · 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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tomcorke tomcorke added the agent-context-increase Maintainer-approved intentional increase in agent context size. label Oct 30, 2026
@tomcorke
fix(server): serialize absent task membership as null
81ec12d
@tomcorke
tomcorke merged commit 3712da5 into main Oct 30, 2026
27 of 28 checks passed

Uh oh!

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

@tomcorke
tomcorke deleted the feat/task-mode-4-thread-launch branch October 30, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

agent-context-increase Maintainer-approved intentional increase in agent context size. size:XL vouch:trusted PR 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.

[task-mode] Persist task membership and initialize native task threads

Uh oh!

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

1 participant

@tomcorke
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.