GeezerVison is showing github.com — feat(delivery): file board tasks from a thread and pull a board into it by polymaniadeveloper-hub · Pull Request #201 · Tevin2119/t3code
Conversation
Board revamp slice 7, T3 half. The contract is spec section 6b of docs/context/delivery-system/BOARD-REVAMP-UI-SPEC.md in Operation-PaperClip, pinned at 67d898ff. The engine half is OPC #187 (t3/thread-task-intake-route, head f85acee6), which is not merged yet.
Problem
A person in a thread needs to file a board task from that thread and to see one board's cards there. The spec makes two things T3's job:
- the person confirms each filing;
- the origin is stamped from the calling thread, and the board pull is guarded against crossing boards.
How
- Filing (
delivery_file_task). The agent prepares a draft: board, title, body, and optional context. T3 records it as a pending board_task_request turn item, modelled on feedback_request.
- The person sees a File / Decline card on web, desktop and mobile. The card shows the raw body and context, exactly what will be filed.
- Only File sends. It sends exactly the card's fields, with origin
thread:<env>/<thread> taken from the caller's scope.
requestId is derived from the turn item, so a retry replays instead of filing twice.
- The call goes through
boardThreadAct with the board-thread key, the same path as the QA receipt. Engine refusals (400, 403, 404, 409, 410) are recorded on the card.
- Filing never sets a
boardThread link, a merge permission or a destination.
- Capability handshake. Before any card opens, T3 sends a write-free probe
POST /api/boards/<board>/tasks with only {origin, key}. On fix: harden board-owned threads after QA (shell trim, routing, seat view, project removal) #187 the route checks the key, then the board, then the fields, so this probe never reaches the store. The answers mean:
- 400
invalid-field: filing is supported.
- 404
not-found: the board doesn't exist, so no card opens.
- 404 with no code: an older engine. The tool returns
unsupported; nothing is shown or written.
- Pull (
delivery_read with cards: true and a board). Reads GET /api/lanes?set=<board> and returns up to 24 card summaries.
- Each summary carries
boardThread exactly as served, plus fromThisThread.
- Task bodies,
sets[] and teams[] are dropped. The four reserved ids are refused T3-side.
- Works across environments through PeerForwarding. Read-only.
- Limits. Body is capped at 20,000 characters and context at 8,000. The generic act relay refuses filing writes, including percent-encoded board ids. A pending card is cancelled on server restart, when the run ends, or when the root is replaced.
T3 pieces reused
- Confirmation: the
feedback_request turn item and its answer path (createEnvironmentRpcCommand, guarded AuthOrchestrationOperateScope, permissionAtom).
- Wait: the
requestSecret wait.
- Engine calls:
SeatHandoffs' keyed boardThreadAct path and its refusal mapping.
- Pull:
DeliveryService.discover and PeerForwarding.
- Cards: T3
Button on web and mobile, following FeedbackRequestCard and SecretRequestCard.
- Not used: a picker or dialog. The agent names the board and the card itself is the confirmation.
QA
Done by Claude Sonnet 5.5, independent of the builder (Codex gpt-6.2-sol) and the lead (Claude Opus 5.5). It was a code read only, because the hosts had no spare memory.
Round 1 (a72034e): no blockers, 5 important.
- The web card rendered the body as markdown while the raw text is filed.
- No tests for the run ending, or the root changing before File.
- Recovery of a pending card was untested.
- The Orchestrator
board_task_request.record guards were untested.
- The filed and failed status mapping was untested.
Nits:
- probe the real board;
settle lost the outcome when recording failed;
- no caps on body and context;
- a percent-encoded board id slipped past the relay regex;
cards:false was refused;
- the provider timeout question;
- the bounds added to
DeliveryBoardThread;
- docs;
- formatter churn.
Fix commit 69a0e36 also fixed CI:
- the lint and typecheck
node:crypto import;
Effect.succeed(undefined);
- the MCP tool-list budget, now 63948 after shortening the copy;
- a Test Server 4 Orchestrator no-op record.
Round 2 (69a0e36): all 10 round 1 items and the 3 CI fixes verified fixed. No blockers. Open nits:
The shorter delivery_file_task copy no longer says "only when the person asks". Fixed in cde22bf.
- A failed final card record leaves the card pending. The agent still gets the outcome.
- An empty
context is accepted.
- One malformed lanes row fails the whole cards read.
- A late record for a missing run is a silent no-op.
Verification
- CI on 523adfb (after merging master d0e0d2d / feat(server): board leads follow the engine's model pick and swap on a usage limit #199): all 20 checks pass. The merge resolved BoardTaskThreads.ts (master's
BoardThreadLink) and DeliveryService.ts (lead-pick route, board-link write lock, filing route). A follow-up commit reads BOARD_THREAD_KEY_VARIABLE from DeliveryService, where feat(server): board leads follow the engine's model pick and swap on a usage limit #199 moved it.
- Earlier, CI on 7c21f3d: all 20 checks passed (Build and Typecheck, Lint, Test Server 1–8, Test Web 1–2, Test, Agent context budget, Rust, Release Smoke, Native fingerprint diff, Changes).
- The earlier silent red Build and Typecheck ("42/43 successful", no error printed) was
t3#typecheck (apps/server). vp cut that task's long output off, hiding three type errors in BoardThreadTasks.test.ts, now fixed. Two temporary CI commits found them by running vp run --last-details and then the server's tsgo directly. Both are reverted: git diff origin/master -- .github/ is empty.
- Evals harness:
BoardThreadTasks.layerTest is provided next to SeatHandoffs.layerTest. The delivery_file_task copy again says "Only when the person asks", and the tool-list budget is 63954.
- No local tests: the Mac is short on memory. The AMD named-test run was stopped as memory-blocked; CI replaced it.
- Screenshots: see below.
- agent-context-increase:
mcpToolListJsonBytes goes from 63387 (master) to 63954 (+567 bytes) for delivery_file_task and the delivery_read cards parameter. The other two budgets are unchanged.
- Live filing needs OPC fix: harden board-owned threads after QA (shell trim, routing, seat view, project removal) #187 deployed on the engine.
- Evals were not run (no API spend). The case
delivery-files-with-thread-confirmation was added.
Screenshots
Desktop web at 1280x800, from an isolated dev server with Claude Haiku 5.5 driving the turns. OPC #187 is not merged, so no real engine serves the filing route. A stand-in engine on loopback answered the probe, the filing and GET /api/lanes?set=demo-board. Both runs used the same stand-in and settings. The cards and server paths are the real ones; the engine answers are fake.
Before (master d0e0d2d)
delivery_file_task does not exist: asked to file a task, the agent says it has no tool for that.
delivery_read has no cards: asked to pull the board, the agent gets board metadata only and no card list.
Pending File / Decline card. It shows the board, title, raw body and quoted context.
The same card at 414px wide:
After File. The engine returned task pingdotgg#1042 on demo-board.
After Decline. Nothing is sent to the engine.
Failed. The engine answered 409 conflict, and its message is shown on the card.
Board pull. delivery_read with cards: true and board: demo-board read GET /api/lanes?set=demo-board. pingdotgg#1042, filed from this thread, is marked as from this thread; pingdotgg#1040 carries a boardThread link.
Built by Codex gpt-6.2-sol in T3 Code; planned and led by Claude Opus 5.5 (Claude Code harness); QA by Claude Sonnet 5.5.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Keep the engine receipt available when recording the answer fails, and accept repeated filing records without events. Update the advertised tool budget. MCP tool-use evals are deferred to avoid API spend.
Co-Authored-By: GPT-6.2-Sol <[email protected]>
…on the person's ask
The evals typecheck failed silently because the MCP harness layers did not
provide BoardThreadTasks, as #196 found for SeatHandoffs. The tool copy says
again that it files only when the person asks; the tool list budget follows
(+6 bytes). Evals not run (no API spend).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ry CI details
Typecheck failed on BoardThreadTasks.test.ts: the probe default and the act
mock had untyped error channels, and the expected act input widened method to
string. The workflow returns to master's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolves BoardTaskThreads.ts (master moved the board-thread schema to
DeliveryService's BoardThreadLink; ours had moved it to contracts) and
DeliveryService.ts (master's lead-pick seat route and board-link write lock
next to the board filing route and the expected configuration).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r the master merge
#199 moved BOARD_THREAD_KEY_VARIABLE from BoardTaskThreads to DeliveryService.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolves the web locale files: master's QA receipt and seat hand-off keys
and this branch's board filing card keys were both appended at the end;
both kept.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 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.
|