Repository navigation
Description
From a 2026-11-16 review of the owner's T3 history (run from agentic-cse). Owner-approved as an architecture item for design; not a request to fork T3 into a CSE-only product.
Problem
The owner never invokes skills by hand ("i literally never invoke the skills myself. all skills should be automatically invoked given the agents are working in a cse activated repo and the orchestrator should also tell them to use cse skills given their task", 2026-11-12). Today skill use depends on each model choosing a skill from its description, and on orchestrators retyping skill names in briefs:
- Claude subagents in research projects loaded the matching CSE skill on 84% of review tasks but only 47% of deck tasks (
cse:beamer), 23% of fitting/analysis tasks (cse:analyze) and 17% of manuscript tasks (cse:write/cse:latex). A "Figure 3 redesign" thread loadedcse:buildbut notcse:plot. - Codex threads show no per-thread skill loads in T3's turn items. That may be a telemetry gap rather than non-use, but it cannot currently be verified.
- Orchestrator briefs in research projects name
cse:latexin about 40,cse:plotin 29 andcse:beamerin 22 briefs — routing that lives only in retyped prompts. - Many CSE skills map onto T3 roles (Designer ↔
cse:design, Implementor ↔cse:build, Reviewer/Checker ↔cse:review, Writer ↔cse:write), which the owner noted overlap.
agentic-cse #14 improves the skill descriptions so models pick them more often; this issue is the structural complement.
Proposal for design
- A project setting marks a project as CSE-enabled (or T3 detects the CSE protocol block in its AGENTS.md).
- In such projects, a delegated child's role maps to a default CSE skill that is loaded into its context at start (e.g. Designer →
cse:design, Implementor →cse:build, Reviewer →cse:review, Writer →cse:write), and the brief or issue can add task skills (cse:plot,cse:beamer,cse:analyze,cse:latex). - Works for both Claude and Codex children; record which skills were loaded per thread so skill use can be measured for both providers.
Done when
A design decides the mapping source (project setting vs. plugin-provided map), how it composes with orchestrator-named skills, provider differences, and per-thread skill-load telemetry; then it is implemented and a CSE project's children start with their role skill loaded on both providers.
Activity
tannerpolley commentedon Nov 16, 2026
Triage (repository orchestrator, 2026-11-16)
Accepted as a design item. It goes to a Designer before any worker.
Current code: T3 has no role-to-skill link today.
orchestrator_capabilitiesmodelRoles) carry a provider, model and options only.pluginSkills(packages/contracts/src/ForkSettings.ts:329), which offers Claude plugin skills in the composer menus.Design constraints from #416. The owner chose on 2026-11-16 to move the fork closer to upstream: fewer fork edits inside upstream files, and fork policy kept in small owned modules.
cse:design, and so on) then lives in the agentic-cse plugin or project config, not in T3 code.Order: after the upstream sync (#417 / PR #428) merges. It doesn't depend on #418/#419.
tannerpolley commentedon Nov 20, 2026
Designer plan for #430
Add optional, project-owned defaults keyed by the five T3 roles. At the child’s first provider submission, load the configured defaults and explicitly requested task skills from the destination provider’s installed catalogue. Record which skill bodies T3 handed to the provider. Land after #420 and use its consolidated role policy.
Findings
mainatd8fdc04789, Five roles with light and heavy levels instead of eight roles #494 already defines five canonical roles, two levels and the legacy name mapping. Local delegation stores the effective role before dispatching the child’s first message. The managed issue start path reaches the same child creation code, with an issue URL and a generated brief that omits the issue body.packages/contracts/src/threadRole.ts:5·apps/server/src/mcp/OrchestratorMcpService.ts:2874·apps/server/src/orchestration-v2/Orchestrator.ts:10063·apps/server/src/orchestration-v2/Orchestrator.ts:10174·apps/server/src/orchestration-v2/IssueWorkCommands.ts:336t3_thread_launchwith a project anddelegatedFrom, but the launch drops the selected role. The common provider-start service already has the destination thread, resolved working directory and provider input. Keep the startup hook there so it also covers issue starts and workspace preparation.apps/server/src/peer/RemoteDelegation.ts:356·apps/server/src/orchestration-v2/ThreadLaunchService.ts:1456·apps/server/src/orchestration-v2/ProviderTurnStartService.ts:744·apps/server/src/orchestration-v2/ProviderTurnStartService.ts:1975t3.jsonloader gives a project-scoped opt-in. CSE Setup emits exact protocol markers inAGENTS.mdand CSE already documents scientific routing, but a protocol block has no T3 role map and a globally installed plugin says nothing about which project should opt in.packages/contracts/src/t3ProjectFile.ts:78·apps/server/src/project/T3ProjectFileLoader.ts:51·plugin/scripts/workflow/setup_scientific_project.py:35·plugin/assets/workflow/protocol.md:14{type: "skill", name, path}input, while T3’s composer path currently sends normalized mention text and extracts text from echoed user items. The checked-in protocol does not expose a per-skill load acknowledgement. Claude discovers namespaced installed skills and projects tool results, including successful or failedSkillcalls. Its current slash dispatch only expands one skill in T3’s Agent SDK message. The SDK’s main-session skill list filters discoverability. The native custom-agent preload is a different launch mechanism with its own agent prompt.apps/server/src/provider/CodexProvider.ts:533·packages/effect-codex-app-server/src/_generated/schema.gen.ts:32411·apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts:3788·apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts:414·apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts:5864·apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts:11793·apps/server/src/provider/Drivers/ClaudeSkillDispatch.ts:22· Claude Code SDK slash expansionSmallest design
Project policy. Add an optional
roleSkillsmap to roott3.json, with canonical role keys and bounded arrays of fully qualified skill names. Presence opts the project in. The registered destination project owns the map, including for worktree children. Keep validation and selection in a fork-owned module beside the canonical role resolver that #420 leaves behind. Call it after that resolver has selected and normalized the child role. The map ignores model tier, provider and level. Load the skills using the actual provider instance and the child’s resolved working directory. Carry the normalized role through the existing remote launch metadata and persist it on the destination child. Missing role metadata from an older peer keeps today's behavior without a guessed skill. Retain one owner for role normalization and provider selection.cse:designcse:designcse:buildcse:buildcse:reviewcse:reviewcse:writecse:writeCSE has a skill for each of the four stages. An Orchestrator coordinates stages and can request a skill when it does stage work itself. Designer routine doing source research can request
cse:research. Keep all these names in project configuration and the CSE rollout example. Roll out by adding the map once to an existing CSE project’st3.json, preserving its other keys. Plugin installation on both providers is a prerequisite already met on the owner’s environment.Task skills. Recognize one explicit declaration format in the original brief and the linked issue body, for example
Skills: cse:plot, cse:latexon its own line outside code blocks. Accept exact IDs only. Start with role defaults, then append declared issue skills, then declared brief skills, deduplicating by canonical identity. The brief can narrow the task and a task skill supplies the method for that part of the work. Read the body through the existing issue service only on eligible starts with a verified link to the destination project’s issue scope. Comments, quoted examples, arbitrary URLs, bare prose and handoff history stay out of the selector. If issue detail fails, still use the default and brief and record the lookup failure. Ordinary composer skill invocations keep their existing provider paths.apps/server/src/issue/IssueService.ts:456First provider submission. Use one shared preload for plain instruction skills on both providers. Treat the project map and declarations as names only. Resolve each name through the selected instance’s enabled installed-plugin catalogue, honor provider policy and invocation restrictions, and read the bounded
SKILL.mdbody from the resolved installation. Skip missing, disabled, ambiguous, unreadable, policy-unknown or unsupported skills and report the reason. Accept plain Markdown instructions for this path. Skills that rely on native invocation features such as fork context, dynamic commands, argument expansion, hooks or tool grants stay with native invocation. Preserve the skill’s base directory for references. Never execute skill content or resolve a file path supplied by an issue or brief.turn/start. Structured skill inputs are a viable native option, but would leave T3 with submitted IDs and no comparable evidence of loaded bodies. Use one delivery path for the configured set to avoid duplicate loading.Apply at actual first-message delivery after workspace setup. Keep the stored task/message and parent history intact. A fresh provider attempt that sends the initial message gets the same selection; a continuation in an already-started provider turn and later messages do not reload it. Scope is T3-launched Codex and Claude children in shared checkouts, worktrees and linked environments. Provider-native subagents and mobile are outside this issue.
Per-thread evidence. Record an optional structured list on the child’s existing run-attempt projection, keyed by attempt and canonical skill name. Record provider, request source (role, issue or brief), and outcome (
loadedafter the provider starts with the body in its input,skippedwith a reason, ordelivery_unknownif acknowledgement is ambiguous). Reuse the attempt upsert and preserve the field across terminal updates. An accepted input measures context delivery, not whether the model followed it. The record survives restart and deduplicates replay. Keep bodies, paths and issue text out of the telemetry. Existing ClaudeSkilltool results can independently show later native uses when the matching result succeeds. Codex’s normal item stream gives no equivalent record for later ad hoc loads; never infer them from mentions, discovery or shell command text.packages/contracts/src/orchestrationV2.ts:850·apps/server/src/orchestration-v2/ProjectionStore.ts:2738·scripts/measure_skill_use.py:95What this deletes. Preloading removes the need to name the four default stage skills in every delegation brief for a configured project. Update any affected CSE delegation guidance at rollout to stop asking for those repeated names there. Keep explicit task-skill routing and the existing protocol for sessions outside T3. No runtime CSE detector, global CSE toggle, second role table, provider-session wrapper or new telemetry store is needed.
Owner decisions
t3.jsonmap. A plugin-owned map plus protocol detection saves one project edit but introduces plugin metadata discovery and turns a prose protocol marker into runtime policy.Skills:declarations in the brief and issue body. This makes a recorded choice distinguishable from a mention in an example, discussion or old handoff. Keep stage defaults the same at both levels and leave Orchestrator empty in the CSE template.Done when
Task split
Each task is one Codex Implementor assignment. Keep the rollout behind the optional project map.
This is a source-based design. The provider fixtures and live child-start proof are implementation acceptance work.
tannerpolley commentedon Nov 20, 2026
Owner decisions (2026-11-20)
The plan's three recommendations are approved:
t3.json.Skills:lines in the brief or the issue body.#420 has merged (62a31de), so build the plan's task split in order.
tannerpolley commentedon Nov 20, 2026
T3 Code status: Unavailable
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Updated: 2026-11-23T16:52:31.245Z
tannerpolley commentedon Nov 20, 2026
T3 Code closeout: done
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-20T23:56:42.112Z
Implemented #430 in local commit
dd942a1465. A project’sroleSkillsmap now loads the matching installed CSE skill into the first prompt sent to a delegated Codex or Claude child. ExplicitSkills:lines in the linked issue body or delegation brief add task skills, with duplicates removed. Each run attempt records whether delivery was acknowledged, skipped, or uncertain. CSE configuration exampleVerified both outbound provider payloads, all four CSE defaults against isolated installed catalogues, and persistence through SQLite replay. The changed-files run passed 1,203 tests. After the final Claude policy adjustment, 33 focused tests and the server typecheck passed.
Three mobile type errors reproduced on clean
mainstill block a fully greencheck:changed. Live model turns remain unverified. The worktree is clean, and the commit is local only.tannerpolley commentedon Nov 21, 2026
T3 Code closeout: done
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T00:00:36.972Z
PR #534 (draft), head dd942a1, checks none reported by GitHub.
tannerpolley commentedon Nov 21, 2026
T3 Code closeout: failed
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T00:39:02.206Z
The provider could not start this turn. Retry the turn; if it keeps failing, check the provider setup and server logs.
tannerpolley commentedon Nov 21, 2026
T3 Code closeout: failed
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T00:50:33.558Z
The provider could not start this turn. Retry the turn; if it keeps failing, check the provider setup and server logs.
tannerpolley commentedon Nov 21, 2026
T3 Code closeout: failed
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T02:12:47.994Z
Codex request 'thread/start' (108) timed out after 60000ms; closing the transport.
Last assistant message before the run failed:
The PR still points to
dd942a1465, and the recovered changes passed all 69 focused tests. I’ll now run the regression assertions against the original production code to verify that they catch each finding.tannerpolley commentedon Nov 21, 2026
T3 Code closeout: done
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T03:13:48.332Z
Resolved the conflict with
mainin PR #534, regenerated the agent-context budget from the merged code, and pushed9c486599f8. Git confirmed the updated branch merges cleanly withmain.All 2,757 tests passed on Node 26.13.1. The only
check:changedfailures were the three known mobile type errors.tannerpolley commentedon Nov 21, 2026
T3 Code closeout: done
Issue: #430 Auto-load the matching CSE skill for each child role in CSE-enabled projects
Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6433229195%3Afirst
Model: gpt-6.2-sol
Branch: issue-430-auto-load-the-matching-cse-skill-for
Completed: 2026-11-21T03:33:00.721Z
creates a subagent with its own skill selection and keeps the parent's workspace.records only the skills sent for steering restart in a new provider conversation.records only the skills sent for steering restart in the same conversation with delivery unknown.PR #534, head
d0a676b18afe778917584044b44d5f3eed53c932, checks: all three regressions reproduced on9c486599f8, and 1,367 tests passed after the fix.check:changedfailed only on the three known mobile type errors. GitHub reported no checks.feat(server): preload configured skills for delegated children (#534)