Repository navigation
chore(release): 26.11.9 - #12
Merged
Merged
Conversation
On a new Mac the setup showed only the dev install banner when Configure failed, Claude Code's sign-in crashed, and one Ctrl-C in Codex's sign-in ended the whole setup with nothing to continue from. Root cause: a failed step's detail was the last four output lines without the exit code, so a child that ended silently showed the banner it printed first; apply() caught Ctrl-C around all steps at once and kept no step state; and sign-ins inherited the wizard's stdin, /dev/tty, which macOS's kqueue refuses (EINVAL), the call Claude Code's runtime makes on its input. _exec reads stdout and stderr apart and returns the exit code with stderr's last lines, the signal and devkit's crash notice; a failed step shows how it ended, the part it was in, the error lines and the crash file, never the banner. dev children run with -u, since -I ignores PYTHONUNBUFFERED. Saving the choices and configuring devkit are required; any other step that fails, reaches its time limit or gets Ctrl-C is skipped with the command that finishes it, and the rest runs. setup-run.json (0600) keeps the answers and each step's state, and dev setup --resume runs what is not done. Sign-ins run on the terminal's own device with a time limit, and Codex offers codex login --device-auth when the browser flow does not finish. brew runs with HOMEBREW_NO_ASK=1. The line prompts follow the same rules. Verified: python3 -m unittest tests.test_wizard tests.test_install_wizard: 77 tests OK, also under Python 3.9; each new test failed before the change (rc 130 after Ctrl-C, '1 problem in 0 parts' after SIGKILL, kqueue EINVAL)
Run as gh api … | bash, the installer gave the setup wizard /dev/tty, on which Claude Code's sign-in crashed; Homebrew stopped to ask before it installed Python; and git warned that the release tag 'is not a commit'. Root cause: with_tty redirected from /dev/tty, the terminal's alias, which macOS's kqueue refuses with EINVAL; Homebrew asks before installing unless HOMEBREW_NO_ASK is set, the switch it documents; and git clone --branch of an annotated tag, which every release is, prints that warning. terminal_device finds the terminal's own device (tty on a terminal descriptor, else ps -o tty=) for every command that asks; every other command reads /dev/null, never the rest of the piped script; HOMEBREW_NO_ASK=1 is exported; the release is cloned without a checkout, then its tag's commit is checked out detached and the clone's default branch removed, so dev install still finds the tag on HEAD. A stopped wizard's summary names bin/dev setup --resume. Verified: python3 -m unittest tests.test_install: 22 tests OK with /bin/bash 3.2; shellcheck install.sh clean; dev docs check of the troubleshooting page clean; the new tests failed before (the warning, the brew prompt, kqueue 'Invalid argument', gh got the pipe)
When the second half of dev install, the pinned copy, died, the setup wizard received none of its lines and could show only the first half's banner, so the reason was lost. Root cause: bin/dev runs as python -I -S, and -I ignores PYTHONUNBUFFERED, so dev install's stdout into the wizard's pipe was block-buffered (8 KB); a process killed by a signal never writes what its buffer holds. run_install line-buffers stdout and stderr in both halves. A new end-to-end test commits this tree into a fixture with an annotated release tag, downloads it with the fixture's own install.sh, and runs bin/dev install in a macOS sandbox that refuses Homebrew's tools, the agents, launchctl, writes to the real home folder and the network. Verified: python3 -m unittest tests.test_fresh_install: 2 tests OK; the kill test failed before the change (the first header arrived only after the pin was recorded, the second after ~/.local/bin/dev was linked)
Plans and specs kept in a sub-folder of a project's plans folder (product/, rooms/, history/) never showed on the project's page, so four devkit plans, the product spec among them, were invisible in the dashboard. Root cause: read_plans tagged each plan with its folder as its scope, and the page kept only plans whose scope equals the project id, so plans/<project>/product/spec.md (scope <project>/product) matched no page. Each plan now carries home, the project or initiative whose plans folder holds it (the longest match on a folder boundary, so acme/widgets never lands on acme/widget), and group, the sub-folder below it. The page filters on home and lists the page's own plans first, then one titled panel per sub-folder. Only Markdown files are plans, and the payload stays list metadata; the explorer opens a body on demand. Verified: dev test run tests/test_dashboard.py tests/test_dashboard_now.py tests/test_dashserver.py tests/test_disk.py tests/test_plans.py (191 tests pass); devkit project page in Chrome: Plans 38 before, 42 after with history/, product/ and rooms/ groups
Closing items by number in a row closed the wrong ones: after dev task done 9 removed an item, dev task done 40 closed the item that had moved up to #40. A number has to mean the item that was at that place when the list was shown, or nothing. Root cause: work.find turned a number into a place in the open list as it was when the verb ran (ordered_open at call time), not in the list the person or agent had read. Every close, add, move or start renumbers the items after it, so a number taken from an earlier list silently pointed at another item. work.show records the list dev task shows for this viewer (the agent session, else the terminal) with its ids in order, a short fingerprint and the time, under the devkit state folder. work.find resolves a number only from that list, and refuses it, naming the id the number had and has now, when the open items changed since, when it is past the end, when no list was shown here, or when the list is more than 30 minutes old. A list printed after a write is numbered only while it is still the list shown, so it never rebinds numbers behind the caller. Ids always work. work.acted gives the line a write prints: the verb, the id and the title. Verified: python3 -m unittest tests.test_task_numbers tests.test_work (58 tests pass, also on Python 3.9 through uv); the new tests failed before the change (no list shown: ValueError not raised)
Now is meant to hold what is being worked on this week, but devkit had 24 items in Now and 1 being worked on, so Now no longer said what comes first. The developer chose a warning above 5 items per project, never a refusal. work.now_warning returns one line when a project's Now holds more than 5 open items, naming how many and how many are being worked on (doing), and how to move what waits to Next; closed items and other buckets do not count. It refuses nothing. It is the line dev task add --now, dev task move --to now and dev status print. Verified: python3 -m unittest tests.test_task_numbers tests.test_work (60 tests pass, also on Python 3.9 through uv); the two new tests failed before the change (no now_warning)
A task-lists record with ids that are not text (a hand edit, a damaged file) made dev task <verb> <n> stop with a TypeError instead of refusing the number cleanly. Root cause: work.by_number checked that the recorded ids were a list but not that each id was text, so building the refusal message used a list as a dictionary key. It now treats such a record as no list shown, which refuses the number and says to run dev task. Verified: python3 -m unittest tests.test_task_numbers tests.test_work (61 tests pass; on Python 3.9 through uv too); the new test failed before the fix with TypeError: cannot use 'list' as a dict key
On Codex CLI 0.167 every turn counted as not development work, so the status block canary and every Stop send-back (skills, stubs, test audit, handoff, CI wait) were off for Codex sessions. Root cause: scope.decide read the final message only through canary.last_assistant_text, which parsed Claude Code transcripts only. A Codex reply that opened with the status block was never seen, so the turn was not declared development work (hooks.log: "stop codex: not development work (no signal)"). scope.decide now reads the Stop payload's last_assistant_message first, as canary.check already does, and falls back to the transcript. canary.last_assistant_text also reads a Codex rollout: the assistant message records of the current turn, stopping at the event that opens the turn (task_started, or user_message in older versions). Verified: python3 -m unittest tests.test_canary tests.test_scope (18 tests OK, with the parity tests for decide and the rollout reader); scope.decide returns True on the six real 0.167 probe rollouts given their payload's final message
Codex CLI 0.167 runs every shell command and patch inside its code-mode exec tool, so devkit saw no commands in a Codex turn: command-based skill rules (push needs delivery, tests need testing) never applied and the Stop scope check had no command to go on.
Root cause: scope.turn_actions and skillguard.read read Codex function_call exec_command and a top-level apply_patch, the shape before code mode. In 0.167 the model calls one custom tool, exec, whose input is JavaScript that awaits tools.exec_command({cmd: ...}) and tools.apply_patch("..."). Each turn also opens with a task_started event instead of user_message, so a Codex turn had no start and every earlier turn counted.
scope.exec_calls reads the literal calls of an exec script (string literals with their escapes; a variable or a template built at run time is left out). turn_actions and skillguard.read both use it, and a task_started event now opens a Codex turn. The Codex case in tests/test_scope.py uses records from a real 0.167 rollout instead of the old shape, which stayed green while live sessions failed.
Verified: python3 -m unittest tests.test_scope tests.test_skillguard tests.test_canary tests.test_ciwatch tests.test_gates_skills (90 tests OK on the staged tree); turn_actions and skillguard.read list the right commands and edits on the six real 0.167 probe rollouts
Codex has no PostToolUseFailure event, so every failed Codex shell command counted as a success: the bug ledger marked it ok, the patch-loop stop never told the agent to find the root cause after the same failure twice, and lesson outcomes missed the failure. Root cause: post_tool always recorded the call as ok and never reached the failure path, which only the PostToolUseFailure event (Claude Code) runs. The Codex 0.167 hook schema leaves tool_response untyped; the exit code is in exec_command's own result. post_tool now reads the exit code of a Codex shell call (exit_code, exitCode, returncode, return_code, the result's JSON text, or the Exit code header older shells print) and sends a non-zero one through the failure path that PostToolUseFailure uses, answering under PostToolUse, the only event name Codex accepts there. A result with no exit code counts as a success and its shape is logged once in hooks.log, so a renamed field shows up. A captured Codex payload will confirm the field name. tests/test_codex_parity.py holds the reproductions of the Codex parity failures, with records from real 0.167 rollouts. Verified: python3 -m unittest tests.test_codex_parity tests.test_rca_hooks tests.test_bugs_detect tests.test_lessons_hooks (52 tests OK on the staged tree)
Read-only crew lanes were refused dev overview, standup, report, team, initiative ls and show, and plan ls, which change no record, and the requirements and architecture lanes could not run dev plan new and revise, which their own procedures require. Root cause: the read-only allowlist _RO_DEV named only dev plan show among these commands, and it had no notion of a write limited to one folder, so plan-producing members on review lanes had no way to record a plan. The reads now run in review and read lanes; dev report -o and --out stay refused, as do initiative new, add and rm and plan approve and supersede. They refresh only devkit's own pull request and provider caches, as dev status already does. dev plan new and revise run in a review lane whose member is Responsible for requirements, architecture, research, ux or docs by the team's RACI, and write only below plans/<the run's project>/ of the handoff repository: new from the project's checkout without -p or -i, revise of one Markdown file whose real path lies there (links and .. resolved). Any lookup failure refuses. Verified: python3 -m unittest tests.test_guard_readonly_lanes tests.test_guard: 28 OK on the staged snapshot; red-team suites 108 OK, no expected failures, before and after; dev sec scan clean
Codex's apply_patch could write hooks = false into a project's .codex/config.toml with no refusal, while the same content through Write was refused, so a Codex session could switch devkit's hooks off. Root cause: the apply_patch branch of _file_tool_verdict never called devkit_off, which only the Write and Edit branch ran; devkit_off also compared folder and file names by case, though macOS reads .Codex/Config.toml as .codex/config.toml, and its pattern knew only the bare key at a line start, missing dotted keys, quoted keys and inline tables. patch_devkit_off judges each Add, Update and Move of a patch by the file's text after the patch and by the lines it adds, at the path the patch names and at its real path; a move onto the config brings the source's text. devkit_off compares names without case, its pattern reads bare, quoted, dotted and inline-table keys, and a config.toml that parses as TOML is refused when any table sets hooks or codex_hooks to false. Verified: python3 -m unittest tests.test_guard_codex_patch tests.test_guard tests.test_guard_readonly_lanes tests.test_config_change tests.test_ext: 198 OK on the staged snapshot; red-team suites 108 OK, no expected failures; dev sec scan clean
With the Stop checks now running on Codex, a Codex main session that waited in the foreground with dev watch --wait inside its exec script was not seen as armed, so it would be sent back while crew members worked; a push inside the script was invisible to the CI-wait check too. Root cause: ciwatch._shell_calls, which the Stop CI-wait check and watch.armed read, took Codex shell calls only as function_call exec_command records, the shape before Codex 0.167 code mode, where every shell call is nested in the exec tool's JavaScript. _shell_calls now reads an exec script's shell calls through scope.exec_calls, which also keeps a literal workdir, so a push is resolved in the folder it ran in. Verified: python3 -m unittest tests.test_watch_stop tests.test_scope tests.test_ciwatch tests.test_skillguard tests.test_codex_parity (88 tests OK) and tests.test_watch* tests.test_threaded_turn_endings tests.test_gates_skills (63 OK); on the real 0.167 probe rollout the push and the foreground dev watch --wait are both seen
A Codex started from a Claude Code terminal or a crew member's shell inherited that session's variables, so its hooks audited refusals as the Claude session or the member's lane and sent its records to the wrong session. Root cause: audit.actor, work.actor and audit.context take the agent, session and lane from DEVKIT_AGENT, DEVKIT_SESSION and DEVKIT_FROM_AGENT, which only Claude Code sets for its own sessions. A hook process inherits them from whatever launched the agent. hooks.run now sets the agent from the hook's arguments and the session from its payload's session_id for the handler, drops an inherited DEVKIT_FROM_AGENT (a member's lane comes from the payload's agent_id, which Codex 0.167 sends for a subagent's calls beside the main session's id), and restores the variables afterwards. The parity tests also run the Stop hook's own classifier on a Codex payload end to end. Verified: python3 -m unittest tests.test_codex_parity tests.test_caller_identity tests.test_hooks_identity tests.test_audit tests.test_language_neutral_hooks (148 tests OK on HEAD plus these two files); both identity tests fail without the hooks.py change
Without the wiring, every dev task <verb> <n> on this branch was refused with 'no list was shown here': dev task never recorded the list its numbers point into, and the list after a write was numbered as if nothing changed. dev task records the list it shows (work.show), the list printed after a write keeps the earlier numbers or shows none once the list changed, every write prints the item's id and title (work.acted), adding or moving into Now warns when Now holds more than 5 items, and dev status carries that warning in its view and its Tasks row. Wiring by the Backend engineer, applied as written. Verified: python3 -m unittest tests.test_task_numbers tests.test_work tests.test_cli_wiring tests.test_cli_completion: 101 tests OK
dev test prove found four tests that passed without the guard changes they cover: refusal-only tests, where the old code refused everything, and an allow-only test, so none of them could show the change works. Root cause: a refusal test passes on code that refuses everything, and an allow test passes on code that allows everything; only a test that asserts both sides can fail for a missing change. Each refusal test now first asserts its allowed twin (a plan writer's own plan, dev report and initiative show), and the allow-only patch test is folded into the deny tests it mirrors. Verified: python3 -m unittest tests.test_guard_codex_patch tests.test_guard_readonly_lanes: 24 OK
The previous fix read the exit code from the PostToolUse tool_response, which a capture of Codex 0.167 shows is the command's output alone, so failed Codex commands still counted as successes; and it read an 'Exit code:' line in the output as a failure, so a command that printed one could be called failed. Root cause: Codex 0.167 sends no exit code in its hook payload. It writes one CommandExecution item per command to the rollout, whose id is the hook's tool_use_id, with exit_code and status. post_tool now joins the call to that item in the payload's transcript and sends a failed or declined command through the failure path. When the item is not on disk yet the call is unknown, never a success: its ledger line waits and the session's next PostToolUse or Stop settles it, counting a failure toward the patch-loop stop; one still missing after 10 minutes leaves with no line and a hooks.log entry. The tool_response reader and its text inference are removed. Verified: python3 -m unittest tests.test_codex_parity tests.test_rca_hooks tests.test_bugs_detect tests.test_bugs tests.test_bugs_record tests.test_lessons_hooks tests.test_hooks_wiring tests.test_language_neutral_hooks tests.test_canary_progress tests.test_watch_stop tests.test_threaded_turn_endings tests.test_hooks_identity tests.test_caller_identity tests.test_hook_capture (244 tests OK); the five rollout-join tests fail on the previous commit
A real first install showed the gaps: the recommended path never asked which agents, so Codex was installed for everyone; the install steps stopped three times for yes/no questions; a wrong Yes or No at a sign-in had no way back; a failure showed a banner instead of a reason; and Ctrl+C or a stopped setup said 'exit code 130' with a retry command that did not work.
Root cause: Codex sat in a package group every Mac gets, the sign-ins and the Docker start were yes/no prompts inside the install steps, the reason line came from the command's last stdout lines, and the summary mapped every non-zero code to failed.
dev setup now asks which agents on every first run (Claude Code and Codex, Claude Code only, Codex only, with the account each needs) and installs, sets up and signs in only those; Codex moves to its own Brewfile group and its own step. The review numbers its sections (1 to 7 reopen one) and shows changed rows with what they were and what turning an agent off removes. The install steps ask nothing: Docker's start is a question in the Docker section, and Ctrl+C on a step offers Skip it, Try it again or Stop the setup (no Skip for a required step); a step that fails or is skipped stops only the steps that need it ('waits for'). A failed step shows Reason (its error line, or the exception from devkit's crash file, never a banner), This means and Fix. Each agent not signed in gets a panel with named ways to sign in and Skip for now; Ctrl+C, an error or the time limit (a fake clock in tests) brings the panel back with the reason, Try again and the other way, and Esc goes back to the previous agent. A sign-in's stderr is a pseudo-terminal copied to the person's terminal, so its last error line can be the reason. The summary has one headline per outcome, Needs attention before Done when a required step failed, the command for each item left, and a What now? menu (sign in now, try again). Exit codes: 0 ready, 1 not ready or quit, 130 paused. dev setup and dev setup --resume open 'Pick up where you left off?' for an unfinished run, re-check finished steps (brew bundle check, the agents) and run the rest; with nothing left, --resume says so and exits 0. dev install removes devkit's rules, hooks, skill links, MCP servers and plugin from an agent turned off, keeping the agent and the person's own settings, and dev doctor stops expecting them. dev setup --preview [--width N] draws every screen with sample data and changes nothing.
A pin dev install refuses stays visible: test_setup_flow.SummaryTests.test_a_refused_pin_is_not_ready_and_says_why.
Verified: python3 -m unittest tests.test_setup_flow tests.test_wizard tests.test_install_wizard tests.test_tui tests.test_doctor tests.test_cli_completion tests.test_toolchain: 189 tests OK
On a real first install the installer changed the Mac before the person agreed, showed git's tag warning and Homebrew's proceed question on a step that worked, could not retry a GitHub sign-in that failed, told the person to rerun a curl URL a private repository refuses, and printed a second summary with 'exit code 130' after the wizard's. Root cause: git's and Homebrew's output went straight to the screen, the GitHub sign-in ran once under the ERR trap, the retry line was built from the URL, and the installer always printed its own summary after dev setup. In a terminal the installer lists its five steps, says nothing has changed yet, and waits for Enter (Ctrl+C there exits 1 with nothing changed); with --yes or without a terminal it starts at once. Steps read 'N of 5 <name>'. git's and Homebrew's output goes to ~/.local/state/devkit/logs/install.log (0600) and a failed step shows its error line, a fix and that path; HOMEBREW_NO_ENV_HINTS joins HOMEBREW_NO_ASK. The GitHub sign-in waits up to 10 minutes (a watchdog), and when it fails, is stopped or times out it says why and offers Enter to try again or q to quit (exit 2, no wizard). Every 'run it again' names the local install.sh once devkit is downloaded, never a URL. The wizard gets DEVKIT_INSTALLER, and after it the installer adds nothing and keeps its exit code; its own summary is left for --no-setup, no GitHub, and a wizard that could not start. The pinned-copy summary test now checks that nothing follows the wizard; a refused pin is covered by test_setup_flow.SummaryTests.test_a_refused_pin_is_not_ready_and_says_why. Verified: python3 -m unittest tests.test_install tests.test_fresh_install tests.test_pinned_install: 73 tests OK; bash -n install.sh and shellcheck install.sh clean
The guides described the old flow: no welcome, yes/no sign-ins inside the install steps, a run that stopped at any required failure, Codex in every install, and the installer's own summary. Getting started walks through the welcome, the agent question, the review numbers, the install steps that ask nothing, the sign-in panels and the summary; lists the exit codes, Ctrl+C at each stage, Pick up where you left off?, turning an agent off, the codex and claude package groups and dev setup --preview. Troubleshooting adds what a failed installer step, a GitHub sign-in that did not finish, a failed setup step and an agent sign-in that did not finish say, and what to do. The commands reference lists --resume, --preview and --width and the exit codes. Verified: dev docs check: markdownlint 0 issues, all links resolve, no Vale finding in the three pages
A Codex exec script can build a command's text at run time, which reading the script cannot see, so a push or a test run built that way escaped the skill rules, the Stop scope check and the CI-wait check. Root cause: the transcript readers took Codex commands only from the exec script's literal calls. Codex 0.167 also writes one CommandExecution record per command it ran, with the command as run and its folder. scope.item_command reads those records. turn_actions, skillguard.read and ciwatch._shell_calls add each recorded command the script's text did not already name, so every command counts once; reading the script stays the fallback, and it alone keeps a command the guard refused, which leaves no record, and every patch. Verified: python3 -m unittest tests.test_scope tests.test_skillguard tests.test_watch_stop tests.test_ciwatch tests.test_codex_parity tests.test_canary tests.test_gates_skills tests.test_watch tests.test_watch_gate_wiring tests.test_threaded_turn_endings (144 tests OK); on the eight real 0.167 rollouts each command is read once, and the scout's run-time command now shows
docs/agents.md said Codex has 10 hook events; Codex CLI 0.167 has 14, and the page did not say how a failed Codex command is detected or that Codex crew launches go unrecorded. The hooks section now lists the 4 events devkit leaves out with the reason for each, explains that the exit code of a Codex command comes from its CommandExecution record in the rollout and what happens while that record is missing, and says that crew slots, the depth limit and launch binding do not apply to Codex launches yet. Verified: dev docs check docs/agents.md (0 issues, links resolve, no prose findings in the changed lines); python3 -m unittest tests.test_consistency tests.test_docs_check OK
dev test prove found that the test of a passing Codex command with failure-looking output passed without the Codex fixes too, since every Codex call used to count as a success. Its case now sits in the failure test: one failed command and one passing command whose output prints an 'Exit code: 1' line must give the ledger a failure, then a success. It fails before the fixes and on the earlier tool_response reader, which read that line as a failure. Verified: python3 -m unittest tests.test_codex_parity (12 tests OK); dev test prove --since aabd32a tests/test_codex_parity.py: 10 of 10 changed tests fail without the change; the test fails on aabd32a ([True, True]) and on f0377fb ([True, False])
Two wizard tests kept passing on the old flow after their keys changed, so they did not prove that the recommended path now asks which agents. The recommended-setup test checks the agent question and the agents saved; the Esc test checks the question shows after going back to the welcome. Verified: python3 -m unittest tests.test_wizard.InteractiveTests: OK; dev test prove --since d7a9b75 tests/test_wizard.py: both fail without the change
Try <step> again and Sign in to <agent> now, chosen in the summary's What now? menu, failed at once with 'I/O operation on closed file' instead of running the step. Root cause: apply() closed the setup log before the summary, and every step the menu runs writes its command's output to that log first. The log now stays open until the summary and its menu are done. The tests' fake commands write to the log as the real runner does, and a new test chooses Try Start Docker again from the menu. Verified: python3 -m unittest tests.test_setup_flow tests.test_wizard tests.test_install_wizard: 135 tests OK; the new test failed before the fix (the step ran once, not twice)
dev status crashed with KeyError: 'id' when it described a folder whose record has no project id (tests.test_ext.DriftWiringTests.test_dev_status_of_another_project_reads_that_projects_plugins). Root cause: the Now-warning wiring read p['id'] for every project record; a folder resolved without a project id has none. With no project id there are no tasks, so the warning is empty. Verified: python3 -m unittest tests.test_ext tests.test_task_numbers tests.test_work tests.test_cli_wiring: 226 tests OK (the test_ext test failed before)
On a Plans tab with sub-folders, the page's own plans sat in a panel with no heading or label while each sub-folder had a titled section, so people who move by headings jumped straight to the first folder and missed the page's own list. Beside sub-folders, the page's own plans are now a titled panel like the folders: heading Plans with its count, labeled Plans in <page id> (the project id, or the initiative's id). A tab with no sub-folders keeps its single list, which the selected Plans tab already names. Verified: dev test run tests/test_dashboard.py tests/test_disk.py (139 tests pass); dev test prove --since HEAD tests/test_dashboard.py (2 changed tests pass 5 of 5 and fail without the change); devkit Plans tab in headless Chromium at 1440 and 390 px, light and dark: headings Plans, history/, product/, rooms/, Tab order unchanged, 0 console messages
Claude Code exports one DEVKIT_SESSION to every shell of a session, so the tech lead and every crew lane shared one record of the shown list: after one lane ran dev task, another lane's older number passed the check against that list and could close the wrong item. A Codex thread started from a Claude Code shell shared it too, and shells with no session fell back to one record named shell. The key of the record is now the Codex thread (CODEX_THREAD_ID, ahead of an inherited DEVKIT_SESSION), else the session progress.resolve_session finds plus the crew lane (DEVKIT_FROM_AGENT, else the member whose open call the ledger matches), else the parent process of a shell with no session of its own; a session guessed by recency does not count. While two open calls of the session name the same command, the ledger cannot tell whose it is, so the list prints without numbers and numbers are refused. A record name cut to fit keeps a hash of the whole key. Verified: python3 -m unittest tests.test_task_numbers (15 tests OK; the 5 new ones fail on the previous work.py); dev test run tests/test_task_numbers.py tests/test_work.py tests/test_cli_wiring.py tests/test_cli_completion.py tests/test_lessons.py tests/test_caller_identity.py (140 tests passed)
A refusal named only the hour and minute of the list it checked, so a list from before midnight read as today's. A list whose shown time lay ahead of the clock (the clock set back, or an edited record) never expired and kept numbering items. Each record also stored a fingerprint of its ids that nothing compared. Refusals give the date with the time when the list is from an earlier day. A list shown at a time the clock has not reached counts as expired in the number check, the reprint after a write and the cleanup of old lists, and its refusal says so. The fingerprint is no longer written; older records that carry one still read. Verified: python3 -m unittest tests.test_task_numbers (17 tests OK; the 2 new ones fail on the previous work.py); dev test run tests/test_task_numbers.py tests/test_work.py tests/test_cli_wiring.py tests/test_cli_completion.py tests/test_lessons.py tests/test_caller_identity.py (142 tests passed)
With Codex turned off, the ConfigChange repair still treated a missing ~/.codex/AGENTS.md as drift on every run, and the rules step only skipped the file instead of taking devkit's generated rules out, so a turned-off agent could keep devkit's rules. Root cause: policy.diff_instructions checked both agents' rules files whatever the agents, and write_agent_instructions skipped a turned-off agent rather than removing what devkit wrote. diff_instructions checks only the agents turned on; the rules step removes the rules file devkit generated (its mark on top) from a turned-off agent and keeps a hand-written one, through the same helper dev install's removal uses. The older-copy test now expects CLAUDE.md repaired and AGENTS.md left with the person's text and no devkit rules while Codex is off. Verified: python3 -m unittest tests.test_setup_flow.AgentOffTests tests.test_state_e2e tests.test_doctor tests.test_agent_settings: OK; both new tests failed before the change
A session in one project could write another project's plans, session log or note by moving the command first: cd /tmp or cd ~ before -p, cd into the other checkout, pushd, env -C, a subshell, sh -c, or a Codex workdir. The guard read the project from the folder the command ran in. check() records the session's folder; the cross-project rule and the handoff write rule take the project from it. The folder a dev command runs in still names the project dev writes when none is named, and a folder known only at run time is refused for writes. Codex's workdir is the folder the command runs in, so relative paths are read from it. Refusals now point to a session of that project (dev session tell) instead of its folder. Verified: python3 -m unittest per module, tests.test_guard* and tests.test_red_team* (23 modules OK after the quoting fix); tests.test_guard_projects and tests.test_guard OK on /usr/bin/python3
xargs, find -exec and parallel add words when they run, so echo other/project | xargs dev handoff --log x or find <other plans> -exec dev plan revise {} wrote another project's handoff files unjudged.
A dev write run by xargs, find -exec|-execdir|-ok|-okdir, parallel or sem is refused in a project session, as a plan path in a variable already is. A plan path with {} or a brace expansion is read as known only at run time.
Verified: python3 -m unittest per module, tests.test_guard* and tests.test_red_team* (23 modules OK); tests.test_guard_projects OK on /usr/bin/python3; dev test prove: the new test fails without the change
A <> redirect writes bytes over a file's first bytes while the guard modeled it in characters: two spaces over a two-byte letter, or a byte-order mark spelled as bytes, turned an agent settings file into valid JSON that switches devkit's hooks off. A <> write to an agent settings file is refused when the file or the text written holds anything but ASCII, where characters and bytes differ; ASCII overwrites are still judged by the text they leave. Verified: python3 -m unittest per module, tests.test_guard* and tests.test_red_team* in a copy of HEAD plus this change (23 modules OK after the quoting fix); tests.test_guard_codex_patch and tests.test_guard OK on python3 and /usr/bin/python3; dev test prove: the new test fails without the change
A session's own project named by its alias, its repository name or a folder (dev handoff widget --log x, dev handoff . --log x, dev plan new x -p widget) was refused as another project's. A -p value or dev handoff's project is matched as registry.match does: the id in any case, a folder of the checkout read from where the dev command runs, or a name or alias that matches the session's project alone among those in the handoff's registry and the session's own. A tie, an unknown name or a value the shell makes at run time is still refused. Verified: python3 -m unittest per module, tests.test_guard* and tests.test_red_team* in a copy of HEAD plus this change (23 modules OK); tests.test_guard_projects OK on /usr/bin/python3; dev test prove: the new test fails without the change
The tokenizer cut a command at an unquoted $(...), so rm $(true) -rf ~/Development, git push $(true) --force, dev $(true) install and dev handoff other $(true) --log x were judged as two harmless commands and ran. Each command, -c line, nested line and walker line with an unquoted command substitution, arithmetic, process substitution or a braced expansion holding one is also judged in two more readings: each substitution as one word, and each command substitution dropped, since an empty output leaves no word. Heredoc bodies stay data. As with backslash-newline readings, a reading can only add a refusal; the command as given still judges what the substitutions run. Verified: python3 and /usr/bin/python3 -m unittest per module, tests.test_guard* and tests.test_red_team* in a copy of HEAD plus this change (23 modules OK on each); dev test prove: both new tests fail without the change
A hit in a module import, setUpModule, setUpClass, tearDownClass or tearDownModule let a run of one module end OK, a devkit child started through a script, a shell line or env -i escaped the net check, and tokens named other than the known few reached tests. Each test now reports every hit since the last check, the run fails for hits no test was left to report, devkit_starts reads env launchers, shell lines and Python code, and the scrub drops any *_TOKEN, *_PAT, *_API_KEY or *_SECRET. Verified: python3 and /usr/bin/python3 -m unittest tests.test_test_safety tests.test_hermetic (50 OK); dev test prove: 6 new tests fail without the change; 82 devkit-child modules run
dev note set and dev initiative add|rm ignored whether they got the notes lock, so after a 30 s wait they read and wrote the note unlocked. They now stop with a message to run the command again. Verified: python3 and /usr/bin/python3 -m unittest tests.test_work tests.test_cli_wiring tests.test_store_locks: OK
The check called ast.get_source_segment per node, which on Python 3.9 splits the whole file again on every call, so tests.test_state took 621 s on /usr/bin/python3 as the modules grew. It now splits each file once and slices the node's text from those lines. Verified: /usr/bin/python3 -m unittest tests.test_state: OK in 58 s (was 621 s per the Code reviewer); python3: OK
A project session was refused `cd "$(git rev-parse --show-toplevel)" && dev task add ...` (the folder was unknown), `echo x > $(pwd)/out.txt` was asked about or refused as a write to /out.txt, a part of the own project name such as `wid` counted as the own project although dev matches it against a live scan, and a read-only lane was refused awk comparisons such as NR>=2050. cd and pushd work out git rev-parse --show-toplevel, --show-cdup and --git-common-dir by walking up to the .git folder, without running git; the folder stays unknown when the command or the hook environment steers git (GIT_*, PATH, CDPATH, a git function or alias) or the repository config moves the work tree. An unquoted toplevel or common-dir substitution in a cd is read as one word. cd and pushd options (-L, -P, -e, -@, --) are no longer read as the folder: `cd -P ../other && dev handoff --log x` wrote the other project. The reading that drops a substitution keeps $(pwd) as the stand-in, since pwd always prints a folder, unless the command redefines pwd. Only an exact id, alias, path or full name names the session project; the refusal for a part of a name says to use the id. awk programs in read-only lanes are lexed: a > is a redirection only at the top level of a print or printf statement; strings, regexes and comments are skipped, and an unreadable program fails closed. Verified: python3 and /usr/bin/python3 -m unittest, one module each: tests.test_guard* (19 modules) and tests.test_red_team* (4) all OK; dev test prove --since HEAD on the 3 test files: each of the 6 new or changed tests fails without the change; dev sec scan clean
Codex 0.167 fires no PreToolUse for spawn_agent, so a Codex crew launch had no launch record: crew slots, the depth limit, the binding to its plan step, the member's required skills and the report checks at SubagentStop did not apply, and a Codex tech lead's dev watch --wait ended at once while its members worked. codexlaunch reads the spawn at SubagentStart from the new agent's rollout (its session_meta names the thread_spawn: parent, depth, task_name) or the spawning thread's rollout (the spawn_agent call and the SubAgentActivity that joins it to the agent), judges it with progress.launch_verdict and records it with note_agent_launch and launch_result, so the lane binds the plan step its task_name names. Codex's own helpers (a review, a compaction) get no record. A launch over the crew's limits cannot be refused before it starts: its lane is marked over_limit, its step goes back to the tech lead with a notice, the member is told to stop and report, and the guard lets it read but not edit. The member's required skills, known pitfalls and report format reach it as SubagentStart additionalContext (skillguard.on_agent_brief now serves Codex). SubagentStop records a launch its start missed and asks an over-limit member for its status block only. dev crew brief prints the spawn_agent agent_type and the task_name that binds the step. Verified: python3 -m unittest tests.test_codex_launch tests.test_hooks_codex tests.test_crew tests.test_skills tests.test_closing_reminder tests.test_guard_lane_router (98 tests OK); /usr/bin/python3 3.9 on the same launch tests OK; dev test prove: every new test passes 5 of 5 runs and fails without the change; tests.test_session_coordination WaitCollision Codex case passes
The hook-side shell rules read only tool_input.command, so a Codex exec_command that carries its command as cmd passed the main session's irreversible-action gate, the crew lane verdict, the identity and hook-forgery checks and the stub commit gate unjudged, and the gate matched grants and repositories in the session folder instead of the folder the command runs in. Every hook rule now reads the shell commands the way guard.check does: guard.tool_commands (command, then cmd) for the guard's parsers, and the plain words of the same fields for the command_words rules, so a list form such as bash -lc stays readable. Codex's workdir is the folder the gate, the lane verdict, the stub gate, the bulk-rewrite note and the CI watch judge in; the session's project stays the record's. The lane router and the speaker stamp rewrite the field the command came in, and audit targets name cmd too. Verified: python3 -m unittest tests.test_hooks_codex tests.test_closing_reminder tests.test_guard_lane_router tests.test_hooks_identity tests.test_stubs tests.test_gate_tiers tests.test_codex_parity tests.test_guard_refusals tests.test_escape_hatches tests.test_ciwatch (232 tests OK); the hook rule suites on /usr/bin/python3 3.9 (379 and 113 tests OK); dev test prove: the 3 new tests pass 5 of 5 runs and fail without the change
In Codex, a typed grant <action> <target>, approve D<n> or settle E-...: <choice> line opened nothing: devkit confirmed the developer's lines only from Claude Code's transcript, so a Codex session could not break a claim, approve a decision, open an irreversible action or settle an escalation. harness_transcript finds a Codex thread's own rollout from its id alone (sessions/YYYY/MM/DD or archived_sessions), and only when it opens with that thread's session_meta, so a subagent's rollout, which copies its parent's history, never counts. confirmed() takes a Codex entry as the developer's when the turn's UserMessage record in that rollout (the turn id the prompt hook got, the thread's id) holds the line as a line of its own, written at or after the hook's time less five seconds. An agent message, a tool output, a message Codex or a hook injected, another session's rollout and a codex exec run confirm nothing, and a turn id counts once. An irreversible decision approved in Codex ends at a later approve line in the rollout, as in Claude Code, and dev audit verify re-reads Codex evidence from the turn's typed prompt instead of the audit's redacted detail. A Codex settle line now waits like a Claude Code one and settles at the session's next hook once the rollout shows it; the prompt hook no longer sends the developer to a Claude Code session. Tests: tests/test_codex_grants.py is new, the Codex settle and claim-break tests follow the new rule, and the Codex wait-collision test loses its expectedFailure marker, since recording Codex launches fixed it. Verified: python3 (3.15) and /usr/bin/python3 (3.9) -m unittest tests.test_codex_grants tests.test_peers_security tests.test_hooks_peers (35 OK each) and tests.test_session_coordination Escalations and ClaimBreak (7 OK each), the Codex wait-collision case OK on both; dev test prove --since HEAD on those three files: 18 of 18 pass 5 of 5 runs, 17 fail without the change (the 18th is the existing race test, whose mock only takes _typed's new arguments); 509 related tests OK on 3.9
devkit now confirms a grant or a settle line typed in Codex from the thread's own rollout (4c60326), so the pages no longer say Codex cannot break a claim or settle. Verified: dev docs check docs/teams.md docs/surfaces.md: 0 issues, links resolve
Five forms passed the guard: a cdup cd with an absolute path at the top folder, a zsh git replacement before a git-folder cd, a pwd path after a cd into the handoff or home folder, a quoted pwd path to .. or ~/Development, and an awk print continued past a newline to a file redirect in a read-only lane. At the top folder git rev-parse --show-cdup prints nothing, so the guard now builds that word as the shell does: empty at the top, the way up with a slash below it, then the suffix. A git rev-parse folder is worked out only for the cd that starts the command, or starts the one shell line a Codex shell call runs. Anything before it may replace git, so a later one stays unknown and a write is refused. A pwd substitution (also backticks and pwd -P, quoted or not) followed by a slash, a space or the end of its word reads as the current folder in both substitution readings, so it gets the verdict of its plain twin. A glued form, a command that may replace pwd (zsh quoted function, functions[pwd], function, alias) and a pwd after anything but cds keep the masked reading. The awk lexer keeps a print or printf statement open across a newline after a comma, &&, || or a backslash, as awk does. Verified: python3 and /usr/bin/python3 -m unittest, one per module, for all 23 tests.test_guard* and tests.test_red_team* modules: 46 of 46 OK; dev test prove --since HEAD: 5 of 6 new or changed tests fail without the change; dev sec scan clean
devkit now records a Codex launch at SubagentStart and binds it by task_name (c3d8b97), and the hook rules read Codex cmd and workdir (fe8b925); the agents, crew pages and the crew skill still said Codex launches were not recorded. Verified: dev docs check docs/agents.md docs/crew.md plugin/skills/crew/SKILL.md: 0 issues, links resolve; the 6 prose warnings are on lines this change does not touch
Codex parity landed in this release (c3d8b97, fe8b925, 4c60326): the release notes still said Codex launches were not recorded and a Codex grant could not break a claim. Verified: dev docs check CHANGELOG.md: 0 issues, links resolve; the one prose warning on a changed line is a two-item list, not a series
A quoted $(pwd) after a command other than cd, or after a pwd redefinition, kept its text, so rm -rf of the parent folder passed while the unquoted form was refused. A cd that fails before ; or a newline left the guard reading the cd's folder, and a blank line after a continuing comma ended an awk print, so a write to a file passed in a read-only lane. A quoted pwd that does not print the tracked folder is masked like an unquoted one; the folder context accepts a cd only before &&; the words function and alias redefine pwd only where a command starts; awk keeps the previous character across blank lines inside a print. Verified: unittest test_guard_substitutions, test_guard_parser, test_guard, test_guard_projects, test_red_team, test_red_team_2 on python3 and /usr/bin/python3: all OK; dev test prove: 3 of 3 fail without the change
A Codex launch over the crew's limits gives its step back to the tech lead, but its lane stays running, so the next reconcile handed the step back to that member as a lost step it works on again. reconcile now gives an over-limit lane no lost steps. Verified: python3 and /usr/bin/python3 -m unittest tests.test_approvals tests.test_codex_launch: OK; QA's tests.test_codex_parity over-limit test reproduced the defect at HEAD and passes with this change
The checked-in zsh and bash completions predated the dev session commands, dev watch --standby and the peer kind of --only, so tests.test_cli_completion and the consistency check D13 failed; the --only help also left out peer. Verified: python3 and /usr/bin/python3 -m unittest tests.test_cli_completion tests.test_consistency: OK
Bump the version for the 26.11.9 hotfix: the installer, Codex parity, session coordination and the shared-state fixes; the CHANGELOG section is already written. Verified: python3 -m unittest tests.test_consistency tests.test_codex_plugin: OK (31 tests); dev calver: next 26.11.9
Write detection held other members' and the tech lead's shell writes against review-only lanes. The call ledger forgot a shell call when it closed and ignored the main session's calls, so a builder's heredoc or the tech lead's sed -i that closed before the reviewer's call ended counted as the reviewer's own write, and both certain and possible writes marked every review report unverified. Codex exec_command never entered the ledger (it sends cmd), so a Codex reviewer had no write detection and a Codex builder never counted as another writer; apply_patch edits were never credited. The ledger now keeps each shell call that ran for 20 minutes after it closes; a call refused at PreToolUse is not kept. A file that changed during a reviewer's call is possible when the tech lead or a build lane had a shell call overlapping that call, open or already closed (for a file in a working build lane's scope, that lane); with no such writer it is certain, since a scope alone is no alibi. Only a certain write makes the review unverified. The notice is shorter and names the possible writers for each group of files. call_opened reads Codex's cmd, and the edit record takes the files an apply_patch names, relative ones under the folder it ran in. Verified: python3 and /usr/bin/python3 -m unittest tests.test_readonly_attribution tests.test_progress.ScopeWriteTests tests.test_hooks_wiring.StepEndingTests (21 tests OK on both); dev test prove --since HEAD tests/test_readonly_attribution.py (8 of 8 pass 5 of 5 runs and fail without the change); dev test run --affected --since HEAD (4136 tests, 2 failed: the known completion drift in test_cli_completion and test_consistency)
Any shell call of the tech lead that overlapped a review lane's call made every file it changed possible, whatever the call ran. A Codex tech lead waits in the foreground with dev watch --wait --timeout 10 again and again, so a Codex review lane's write would never unverify its review. call_opened marks a call reads: true when each part of it is devkit's own record command (dev watch, progress, crew but not crew sync, status, session ls|inbox|claims|escalations) or a tool that only reads (git status|log|diff|show, ls, cat, head, tail, grep, rg, wc, find without -exec or -delete) as the guard's read-only verdict lets it run, with no redirect into a file, substitution or nested shell. Test runs, scripts, interpreters and builds stay writers. call_closed keeps the mark in .shells.json, and _shell_writers skips reader calls for the tech lead and the builders alike. Verified: python3 and /usr/bin/python3 -m unittest tests.test_progress tests.test_hooks_wiring tests.test_crew_gates tests.test_readonly_attribution (251 tests OK on each); dev test prove --since HEAD tests/test_readonly_attribution.py (the 3 new tests fail without the change)
Two Codex agents of one type that started before Codex recorded which spawn started each could both take the newest waiting spawn: the second took over the first's launch record, or each lane bound the other's step and scope. The rollouts are read first; the spawn call is then chosen, judged against the crew's slots, recorded and bound inside one hold of the session's lock, so a call another start just took counts as held. Of the waiting spawns of its type, an agent takes the one its own session_meta task names, or the only one; when two or more remain and nothing tells them apart it takes none, runs with no step as codex-<agent id>, and the tech lead is told which spawns it could not choose between. The session_meta read limit is progress's CODEX_META_MAX, and the over-limit notice says that devkit cannot refuse a Codex launch before its agent starts, with its reason ending in a period. Verified: python3 and /usr/bin/python3 -m unittest tests.test_codex_launch (17 tests OK); python3 -m unittest tests.test_hooks_codex tests.test_codex_parity tests.test_readonly_attribution (52 tests OK); dev test prove --since HEAD tests/test_codex_launch.py (3 new tests pass 5 of 5 runs and fail without the change)
Since 821a857, two spawns of one member at once, before Codex records which agent each started, take no step and the tech lead is told; the agents and crew pages did not say so. Verified: dev docs check docs/agents.md docs/crew.md: 0 issues, links resolve
The developer asked that everything this release adds works in both Claude Code and Codex; nothing ran the Codex crew launches, exec_command cmd and workdir, typed lines and session views as the same scenario on both agents. tests/test_codex_parity.py runs each scenario as a Claude Code session and a Codex session through the real hooks and dev commands, asserting the same outcome or the documented Codex difference (over-limit launches marked, not refused; the wait in the foreground). tests/test_red_team_5.py lands the red team's safe-behavior probes of typed-line confirmation. Verified: python3 and /usr/bin/python3 3.9 -m unittest tests.test_codex_parity tests.test_red_team_5 (45 OK each); dev test prove --since 43c8bbc^ tests/test_codex_parity.py: 17 of 17 pass, all fail without the change; dev test audit: 0 findings
A ps that failed or was blocked listed no process, and the peers store then marked every pid it asked about as dead: reading a claim cleared it for everyone and mail to live sessions was skipped. A pid ps does not list is now dead only when the system says so (kill 0 gives ProcessLookupError); otherwise devkit cannot tell and falls back to the existing check. Verified: python3 and /usr/bin/python3 -m unittest tests.test_peers tests.test_peerscli: OK; prove: the live-process test fails without the change
An unparseable mailbox or a full disk made dev session tell, ask, answer, escalate and claim crash with exit 70 and a devkit bug report; they now exit 2 with one plain line. The welcome also gives the other sessions' need lines their own error guard, so a store error hides only those lines, never the pending decisions. Verified: python3 and /usr/bin/python3 -m unittest tests.test_peerscli tests.test_hooks_welcome tests.test_status_sessions: OK
PR 12's first run was cancelled at the 30 minute job timeout on both Python jobs at test 2828 of 4226; no test failed. The run on main after the merge uses the same job, and the Signature copy is exported from this tree Verified: actionlint .github/workflows/ci.yml: ok; dev ci audit: low findings only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What and why
This hotfix makes the first install work for someone who has never used a terminal, gives Codex sessions the same
checks as Claude Code, and lets agent sessions on one Mac coordinate with each other. A fresh install by an employee
failed with no reason shown; Codex members ran without crew slots, skills context or report checks; and parallel
sessions could collide on waits, pushes, releases and shared records.
Changes
and installs only those; a failed or stopped step no longer ends the setup, and
dev setup --resumefinishes whatis left. Prompts read from the terminal device, so a piped installer no longer crashes the Claude sign-in.
task_namenames, with crew slots, depth limit, required skills and report checks. Agrant,approveorsettleline typed in Codex counts, confirmed from the thread's rollout. Hooks read Codex
cmd,workdir, exec scripts andfailed shell calls.
dev session ls|tell|ask|answer|inbox, claims on a release, a push or the handoff note(enforced by the guard), escalations settled with one typed
settle E-…: <choice>line, and peer events indev watch --wait. Status, the welcome and the dashboard show what waits for you.plan revisions that take turns, and handoff note conflicts set aside instead of lost.
substitution readings, zsh precommands and awk.
claude,codexorgh, or touches the real home folder; a tripwire hit failsits own test.
both Python jobs at test 2,828 of 4,226, with no failed test; the suite takes about 35 minutes on the runner.
The full list is in
CHANGELOG.mdunder 26.11.9.How to verify
dev ci --runon tree 642e365: 7 steps passed in 30m51s; unit tests on Python 3.15 (4,226 tests, 29m12s);gitleaks, semgrep, osv-scanner, trivy and zizmor clean.
/usr/bin/python3 -m unittest discover -s tests -t .on Python 3.9.6:Ran 4226 tests in 3518.557s,OK (skipped=2, expected failures=1).fixed in this branch.
dev ci --runon the branch, anddev agents test codexafterdev update.Risk and rollback
Medium: the change touches the installer, every hook and the guard. A regression would show as a refused command or
a hook message in a Claude Code or Codex session. Three checks need a live Codex app after install (a grant typed
there shows in
dev audit; a Codex member gets its skills context; Codex honors a SubagentStop send-back).Rollback:
dev updateto 26.11.8, which stays published.Links
2026-11-09-session-coordination.mdand the 26.11.9 installer and Codex plans in the handoff repository.