devkit works in six places, called surfaces. This page says what each surface is for, what devkit does on it, and which tutorial to follow. Install devkit first (Getting started): every surface below reads the configuration that the installer writes.
| You want to | Use | Tutorial |
|---|---|---|
| Build or change code in a terminal window | Claude Code in Terminal, or in VS Code or a JetBrains IDE | Claude Code |
| Build or change code in an app with buttons and menus | The Code tab of Claude Desktop | Claude Desktop's Code tab |
| Build or change code with OpenAI's agent, in a terminal | Codex CLI | Codex CLI |
| Build or change code with OpenAI's agent, in an app | Codex in the ChatGPT desktop app | Codex in the ChatGPT app |
| Ask where things stand, plan, or write a report, without changing code | Claude Desktop's chat or Cowork | Claude Desktop chat and Cowork |
In Claude Desktop, development happens in the Code tab. That is where devkit's hooks and crew run. Chat and Cowork read devkit's data through the devkit extension, so they can report and plan, and they send code changes to the Code tab.
| Claude Code in Terminal and IDEs | Claude Desktop's Code tab | Codex CLI | Codex in the ChatGPT app | Claude Desktop chat and Cowork | |
|---|---|---|---|---|---|
| Reads its setup from | ~/.claude |
~/.claude (Local sessions only) |
~/.codex, ~/.agents/skills |
~/.codex |
The devkit extension |
| Hooks | All fourteen events | All fourteen events | Ten events, after Codex trusts them | The same ten events | None |
| Runs devkit from | The pinned copy that dev install made |
The pinned copy | The pinned copy | The pinned copy | The pinned copy, through the extension's launcher |
| Pre-tool hook | Records each call, routes crew calls, and adds advice; refuses nothing | The same | The same, for shell commands and apply_patch |
The same | No pre-tool hook; its two task tools run dev task, which checks and audits each change as in a terminal |
| Crew | Launches members as devkit:<id> agents; advises when a launch is past the limits |
The same | Records role launches at SubagentStart, binds steps, and counts slots. An over-limit launch is marked after it starts; the host supplies no pre-launch hook | The same; registration and step binding observed live | Shows the crew, who works now, and decisions waiting (devkit_crew); launches no one |
| Session-start welcome (what needs you, what runs, what is next, where you are) | Yes, shown as the hook's message when the session opens | Sent the same way; how the app shows it is not verified yet | Sent at your first prompt, just before the first reply (Codex runs SessionStart at the first turn); how the terminal UI shows it is not verified yet | Sent the same way; how the app shows it is not verified yet | No |
| Routing reminder (declare each request's kinds of work) | Yes, the same reminder in every language | Yes | Yes | Yes | No; devkit_rules returns the routing rules on request |
| Required skills and known pitfalls in crew briefs | Yes, added to every brief | Yes | dev crew brief names them; SubagentStart also returns required skills, known pitfalls, and the report format |
The same; required-skill context observed in this app investigation | Not applicable |
| Crew gates when a member stops | Yes: status block, dev progress step, then proofs, skills, unfinished work, tests, and lessons |
Yes | Implemented at SubagentStop for recorded launches; covered by hook contract tests | Live SubagentStop sent a member back for missing dev progress step; other gates have contract coverage |
Not applicable |
| After the context is compacted | PreCompact keeps a checkpoint and tells the summarizer what to keep; SessionStart gives the continuity brief (the run, the crew working now, what waits, your latest requests) before the workspace context; the next hook names what the summary left out | The same | The checkpoint and the brief (compact source); Codex sends no summary to check. Verified on the payloads Codex CLI 0.167 sends |
As in the CLI | devkit_resume gives the same brief, with your request text only when the chat is the session's own provider |
| Sessions on one Mac: see the others, talk, claim, escalate (Teams and machines) | Every dev session command; a background dev watch --wait wakes the session for other sessions' messages |
The same | Every dev session command; use a bounded foreground wait and resume its process if the host yields |
The same; --timeout is in minutes, so --timeout 0.1 waits up to six seconds |
No |
| Status block checked and scored | Implemented at Stop for development turns | The same | Implemented; contract tests cover scoring and send-backs | Projectless app sessions exposed a scoring gap; see the evidence matrix below | Asked for, not checked |
| Writes code | Yes | Yes | Yes | Yes | No |
| Verified in real sessions | Terminal: yes. IDEs: none recorded yet | Yes | Partly, with Codex CLI 0.167.0 (see below) | Partly, on November 10, 2026; gaps and evidence below | The tools have tests; dev desktop status checks the install |
The fourteen hook events of Claude Code are SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PostToolUseFailure, PermissionDenied, SubagentStart, SubagentStop, Stop, SessionEnd, ConfigChange, InstructionsLoaded, PreCompact, and PostCompact. Codex has no PostToolUseFailure, PermissionDenied, ConfigChange, or InstructionsLoaded event. Agents › Hooks says what each one does.
devkit was checked with Codex CLI 0.167.0 on November 9, 2026: in live codex exec sessions, through the hook
payloads and rollout records captured from them, and by devkit's acceptance tests, which run those payloads through
the real hook entry. The live sessions found failures (the Stop checks skipped every Codex turn, commands inside
Codex's exec tool went unseen, a patch could switch hooks off, and failed commands counted as successes); this
release fixes them, and the acceptance tests confirm the fixes on the same payloads.
| Result | What |
|---|---|
| Works | The workspace context at session start; the routing reminder at each prompt; the pre-tool hook on shell commands and apply_patch writes; the status block check at Stop and every Stop send-back; skills (all visible, a skill load seen, the rules on changed files and on commands); a member's start and stop; the patch-loop stop and the bug registry's ledger for failed commands; Codex calls audited under Codex and its own session; PreCompact and PostCompact |
| Known gaps | Codex supplies no hook before collaboration.spawn_agent, so an over-limit launch can only be marked after it starts. devkit does not register Codex's Interrupt and PermissionRequest events. Projectless app sessions exposed the context and scoring gaps described below |
| Not run yet | The welcome as the terminal UI shows it (codex exec shows none); the global instructions (~/.codex/AGENTS.md) in a session of this release; lesson recall on matching commands; dev watch --wait in the foreground past the 30 seconds after which Codex's exec tool hands control back |
The app investigation on November 10, 2026 used devkit 26.11.10 in a chat started outside a repository, with
repository commands sent through functions.exec to tools.exec_command and agents launched through
collaboration.spawn_agent. Rollout metadata identified bundled Codex 0.167.0-alpha.3.2. Raw hook capture was
off: rollout and audit records corroborate normalized Bash calls and a patch inside tools.apply_patch, not the
app's original hook envelopes. An audit row's crew tool identifier can identify the launch, so it is not by itself
the patch call identifier. The existing 0.167 contract shapes are replay evidence, not newly captured raw app events. These
observations do not prove that every app version emits the same events.
Live means observed in a running session. Contract means an isolated test of a handler or recorded event shape; it is not a live host test. Code means implementation inspection. Unverified means no end-to-end observation was recorded for that claim. The Claude column describes the reference behavior, not a new Claude session run during this app investigation.
| Area | Claude reference behavior | Codex evidence and limits |
|---|---|---|
| Instructions and skills | Global instructions and skill rules reach the main session and crew | Live: global instructions and the skills catalog reached this app chat; a member received required-skill context. Code: launch context supplies skills at SubagentStart. Loading instructions alone does not prove compliance |
| Project and working directory | Session context identifies the repository and branch | Live gap in 26.11.10: a projectless chat kept an empty project and branch. Contract: projectless tests bind the registered root to its managed checkout after an executed call or a progress run, including short tasks, executed failures, and deferred results; the original host directory stays intact. Rejected, child, or foreign calls cannot replace the binding |
| Session routing | Commands and crew messages belong to their calling session | Contract: session routing tests preserve the root identity through nested and background commands, even when roots share a process. Ambiguous, contradictory, or foreign identity is refused. Real-command acceptance tests execute hook output for concurrent waits and check that ambiguous unstamped commands explain the refusal without registering a wait or a crash. Paired tests retain Claude's existing selection behavior |
| Pre-tool hook | Records commands and file writes before they run, and routes crew calls | Live (26.11.10, when the hook still refused calls): a member's lead-only command was denied, with a guard.deny record; from 26.11.19 the hook adds advice instead. The Codex shell payload contracts cover exec_command and its workdir. This does not prove every tool exposed by the app has a pre-tool hook |
| Canary and Stop | Checks the final development reply and records its score | Live gap in 26.11.10: projectless chats had no scored rows. Contract: projectless tests exercise the real Stop handler using the session's own registered repository, excluding unrelated sessions and non-development turns. An empty report is not a pass |
| Crew registration and limits | Checks launch limits before an Agent call; binds the returned member | Live: crew.start and crew.bind recorded the app launch and its step. Contract: launch tests cover binding; projectless tests cover valid readmission after a refusal. Admission tests characterize matching readiness and admission under the same state; they did not reproduce a new defect. Codex restricts an over-limit member after launch; it cannot prevent that launch |
| Scratch and file scope | Each member uses its own scratch folder and assigned repository files | Contract: app scratch tests register each member's host-assigned scratch folder and keep foreign sessions, members, and linked paths out of it. A write outside it gets advice. Repositories inside scratch retain project scope |
| Concurrent edits | The write ledger distinguishes certain and possible authorship | Contract: attribution tests register accepted patches before execution, give failed patches no exact credit, and limit possible authorship to the reader's call window and canonical repository. Patch scope tests cover literal patch headers, spaces, and move destinations. Historical attribution flags are not silently erased |
| Crew closure, tests, and approvals | Member reports owe status, progress evidence, procedure checks, and accountable review | Live: the SubagentStop hook sent the Technical writer (Ghost) back for a missing dev progress step command despite a formatted report. Contract: member-stop tests and parity tests exercise other report checks and workflow rules. A full live app cycle through every gate remains unverified |
| Messages and waits | Crew and peer messages share devkit's wait; Claude supports background command notifications | Live: hooks delivered questions and answers, but a wait consumed a truncated reply. Contract: watch tests retain complete sanitized stored messages, acknowledge each only after output, and keep audit events for moot questions. Documented timeout or empty-watch outcomes are control flow; argument errors and real CI failures stay failures. Native notifications do not drain devkit's queue. Timeout units are minutes |
| Continuity and compaction | Keeps the run, crew, decisions, and requests through compaction | Live: run and crew survived compaction, but the installed version omitted mid-turn Codex requests. Contract: steering tests read human UserMessage records from the root's validated interactive rollout, including failed and deferred tools. Such a record keeps the request. Read-only replay recovered the actual root's requests; this is not an installed host test or a test of the app's summarizer |
| Audit | Records launch, binding, refusals, gates, and completion under the session | Live: the app wrote crew.start, crew.bind, and guard.deny. Searching only crew.launch misses the actual lifecycle names. Contract: audit identity tests and shared-state acceptance associate native Codex commands with their own actor and run, preserve registered Claude ancestry and explicit hook payloads, and require ownership before retaining a child's parent. Audit metadata grants no permissions. crew.gate is a findings event; its absence alone does not prove that a successful gate ran |
| Permissions | The agent's own permission settings decide what it may run | Code: from 26.11.19 devkit reads no grant or approval lines and refuses no tool call. Settlement contracts cover escalations you settle at the prompt |
| Extensions and installation | Managed changes go through dev install and dev ext |
Live: extension drift and acceptance notices appeared. No extension acceptance, permission change, or global installation was performed. A checkout fix does not change the pinned hooks of a running session |
A fresh audit on November 10 used the installed 26.11.12 hooks and native collaboration tools. The checkout already included 26.11.13; changing that checkout did not update the installed hooks.
| Check | Observed result |
|---|---|
| Project binding | Starting a new progress run bound the project and branch. Earlier completed repository commands had left them empty; that command-completion path still needs live verification |
| Native crew launch and scratch | The assigned QA step bound to its real child. Creating and reading a file in the host-assigned member scratch folder worked |
| Scratch shell redirection | Redirecting a member's command output into that same scratch folder was denied by the hook of that release. From 26.11.19 the hook refuses no call |
| Questions and answers | A real question and its answer reached the correct agents through hooks while the root turn was active |
| Native interruption | Codex reported the child interrupted, but devkit still counted its running lane and occupied slot |
| Native continuation and completion | A follow-up resumed the same child. Normal completion released its lane and slot; this did not prove admission after an interruption because the slot had never been released |
| Skills and lessons | Required skill context and matching lesson reminders arrived. Successful skill reads alone did not prove every gate recognized them |
| Canary | The installed CLI showed only headings, but the actual log contained 87 successful crew reports at the recheck. Main-session scoring remained unverified. The source correction displays Codex crew counts separately |
| Mid-turn requests and compaction | Actual human requests were retained as pending records and appeared in the compaction context. The own-session CLI brief filtered those records out; the source correction has a regression test |
| Other surfaces and events | No new CLI session, genuine approval, or welcome-display acceptance was performed |
An expired foreground wait is not a persistent wake source. While the root turn remains active, continue through the host's wait and continuation tools and handle delivered questions. If the turn ends, state when you check the work again; do not promise that a completed shell wait can reactivate it. A desktop notification to the developer also does not prove that the host schedules an idle agent turn.
The source regressions cover native interruption and continuation,
questions attached to unfinished work, and
expired wait records. Those tests are contract evidence, not a successful installed
retest. dev crew inbox delivers unseen messages; a question already delivered can still require an answer.
New Codex questions retain their originating steps across reassignment. Historical questions without that
provenance use the remaining ownership record; the patch cannot reconstruct an origin that was never recorded.
Replies to a stopped Codex child retain that child's identity. Another active task with the same crew role does
not receive the answer; resuming the original child keeps its pending reply available.
The continuity recheck distinguishes capture from display: the pending human requests were on disk, but
dev session brief hid them when it supplied the caller's provider. The source fix includes pending requests
only for the same Codex session. It does not expose another session's pending requests.
The source gate checks also recognize completed native Codex file changes from the member's own thread after its fork boundary. Added lines feed the unfinished-code and test audits; inherited history, another thread's events and incomplete changes do not. A diagnostic Python file outside every repository does not require a mutation proof. Delivered repository changes, including repositories nested in scratch and links into them, still require one. These corrections leave Claude's existing checks unchanged.
Codex test-run logs use a separate codex/ folder beneath the existing project and worktree log directory.
Each running command holds a file lock; pruning skips active writers and retains ten completed logs per runner.
An allocation lock and unique filenames protect concurrent starts. Completed logs remain subject to retention;
they are not permanent archives. Claude keeps its existing log folder and retention policy.
After installing a verified correction through the supported developer workflow, start a new session and check project identity, a recorded development-turn score, crew binding, and gate evidence again. Until then, keep source test results separate from live verification of the installed version. See Trying a change in your own sessions.
The app's artifact and worktree views are separate from devkit's crew records. In this investigation, the artifact
list was empty and the app refused to attach a worktree created by dev wt because its own registry did not manage
it. Native agent listings and devkit's launch records still identified real members. No registry was changed to
make the worktree appear. Treat host attachment and display behavior as a separate, unverified integration boundary.
If an older version recorded a concurrent reader as a certain writer, retain the original evidence and reconcile the flag through the supported work-state workflow or a fresh review. The attribution fix does not prove that every historical flag was wrong.
Claude Code was checked in real sessions in the terminal and in Claude Desktop's Code tab: each session's status
block results are recorded per surface (dev canary). The VS Code extension and JetBrains IDEs run the same Claude
Code on the same ~/.claude settings and hooks, but no session from them was recorded yet.
The 26.11.19 source candidate adds canonical message references, bounded body pages, explicit acknowledgments,
and the read-only devkit_message_read MCP tool. Claude and Codex receive previews plus recovery references;
Desktop reads use the authenticated session or lane and cannot select another run with --latest.
All affected hosts must restart after installation before relying on v2 sends. Older runtime projections cannot
acknowledge or answer canonical messages.
Source and fixture checks do not establish installed host behavior. Live acceptance still needs to verify message recovery in each host and actual macOS display and permission persistence for the branded DevKit app.
- Cloud and SSH sessions of Claude Desktop's Code tab, and Codex cloud tasks, run on another computer. They do not load the configuration on your Mac, so devkit's hooks and crew are not there. Choose a Local session for devkit.
- Claude on the web and the mobile apps do not run Claude Code on your Mac.
On development surfaces, the agent's final reply should start with the status block: a bold
[Firefly> DevKit] line followed by the Done, Check, and Next bullets. This is a visible instruction
check. It does not prove that hooks or gates ran. A missing block can mean a loading problem or an agent that did not follow
loaded instructions. Compare dev doctor, dev canary, the session record, and relevant audit events. See
Concepts › The status block.
See also Agents, The crew, and the security policy.