Repository navigation
chore(release): 26.11.22 - #48
Merged
Merged
Conversation
playwright-cli was named only in the global instructions: no skill rule or crew procedure asked for it, so agents wrote and debugged Playwright specs without the skill that drives a real browser. A new e2e rule requires playwright-cli and testing for playwright.config files, spec and test files that import @playwright/test, and playwright test runs. The Frontend engineer's Browser check and the QA engineer's Hunt name it, and the crew's skill check knows the packages step installs it. Verified: python3 -m unittest tests.test_skillguard tests.test_crew_roster tests.test_crew tests.test_consistency: 136 OK; dev test prove: the new fixture test fails without the rule (e2e/checkout.spec.ts got only testing)
Chrome's modern-web-guidance skill and its guides run npx -y modern-web-guidance@latest on each search, so agents ran whatever npm published next, unreviewed. A source in config/skills.json can now name pin_npx, an exact version per package; the skills step rewrites each <package>@latest in the installed copy's text files to that version, records the pin in .devkit-source, and fails when the pin is not an exact version or no longer matches the skill. modern-web-guidance is pinned to 1.0.1, its npm latest. The docs drop the stale row that listed this skill as left out. Verified: python3 -m unittest tests.test_ext tests.test_consistency tests.test_skill_engine: 193 OK; dev test prove: the three new skills-step tests fail without the change; dev docs check on both pages: clean
GitHub prints 'Error: Input required and not supplied: token' when the secret behind an action's token input is not set. The CI watch named it a pipeline failure and said to fix the workflow file, while the fix is to set the secret.
Root cause: the pipeline pattern in ciwatch.CLASSES matched every 'Input required and not supplied' line and comes first, so the access pattern for token, github-token, password and api-key never ran
Verified: python3 -m unittest tests.test_ciwatch: 67 OK; the new test failed first on the four secret inputs ('pipeline' != 'access'); a missing path or token-file input stays pipeline
dev progress start with a plan step named ci-token=15m was refused as 'no open call of this session typed this command', although the tech lead typed it as a command of its own. Root cause: progress.call_opened keeps a call's text redacted, and redaction turned ci-token=15m into ci-token=…[redacted]; the hashes of the call's dev arguments were kept only for a cut call, so a redacted call was matched against the redacted text and never held the command's words Verified: python3 -m unittest of test_caller_identity, test_progress, test_identity, test_hooks_wiring, test_codex_audit_identity, test_codex_session_routing, test_messaging: 364 OK; the new test failed first with the exact refusal; a call that typed other words is still refused
A crew member's 'dev watch --wait --for me --timeout 9' ended after 2.5 minutes with 'nothing arrived', which members and the developer read as a broken timeout. Claude Code now ends a member's wait at 2.5 minutes and says why; the main session and Codex members keep the full timeout. Root cause: since Claude Code 2.1.318 a crew member's foreground command is moved to the background after 180 s whatever Bash timeout it asks (subagentCapApplied in 1,446 results on this Mac), while watch.FOREGROUND_MIN assumed a 10-minute shell limit, so a 9-minute member wait could never finish in the foreground and members started it with --timeout 2.5 Verified: dev test prove tests/test_watch_member.py: fails without the fix (540.0 not less than 180), 5 of 5 with it; 10 watch test files 100 OK; 27 files that use the wait 698 OK (Senior engineer's run)
The wait-and-wake skill told Claude Code members to set the Bash timeout to 600000 and said their wait ends at 9 minutes; Claude Code now moves a member's command to the background after 3 minutes, and devkit ends the member's wait at 2.5 with the command to arm it again. Verified: dev docs check on the three files: no issues, links resolve; the two Vale warnings are on untouched lines
Every dev command took about 2 s in a sandbox and 4.5 s on a Mac with 100 projects (dev task), and the hooks paid part of it on every tool call. Commands now find their project in the map the last dev sync cached and build it only when it no longer describes this Mac (missing, another Mac's or dev root's, no match or a tie, a folder gone, a remote that now gives another id); dev status re-inspects only the project it shows; dev builds only the parser of the command it runs, and hands help, unknown commands and parse errors to the full parser so messages and exit codes stay the same. The projects map's path is now built from core.STATE at each call (core.registry_cache), so a test or a HOME set after import reads its own state, and a leftover patch of the removed core.REGISTRY fails loudly. Verified: on this Mac: dev task 4.3-4.8 s to 0.15 s with the same output, dev status 4.5 s to 1.25 s with equal --json; python3 -m unittest of tests.test_startup and the 10 migrated test files: 362 OK; dev test prove tests/test_startup.py: all 7 tests fail without the change (DevEx engineer)
dev watch --help still said a crew member waits 9 minutes; on Claude Code a member's wait now stops at 2.5 minutes, before Claude Code moves the command to the background. Verified: bin/dev watch --help shows the new default line
The Frontend engineer's Browser check names playwright-cli as a phase skill, so its member skill list must name it too, or the crew test that every phase's skill is the member's fails; two phrases are shorter to keep the agent file under 8,000 characters. Root cause: the e2e change added playwright-cli to the Browser check phase's skills but not to the member's skills list in config/crew.json, which tests.test_raci requires to hold every phase skill Verified: python3 -m unittest tests.test_raci tests.test_crew tests.test_crew_roster tests.test_consistency: 133 OK; plugin/agents/trinity.md is 7,998 characters
The Code reviewer found that pin_npx rewrote @acme/modern-web-guidance@latest and old-modern-web-guidance@latest too, which also counted toward the check that the pin still matches, and that a bare npx call or @next stayed unpinned; a pin that matched nothing still installed the copy. The name now matches only as a whole package, every npx, pnpx, bunx, npm exec, pnpm dlx or yarn dlx call of a pinned package must name its pinned version, and a pin that cannot hold installs nothing of the skill, as an invalid pin already did. Root cause: setup.pin_npx used str.replace on '<package>@latest', which has no left boundary and sees only the @latest form, and _install_skills reported a pin that matched nothing but still linked the unpinned copy Verified: python3 -m unittest tests.test_ext tests.test_skill_engine tests.test_consistency: 194 OK; the new boundary test failed first on all four cases; on the real upstream copy 213 calls pinned, 0 unpinned, 0 @latest left
The Code reviewer found that after a handoff pull brought a teammate's project note, dev task add -p web wrote its item into acme/webapp, because the cached map held no acme/web and a prefix match answered; dev note, clone, ci, sec, delivery and lesson -p could do the same. The map now counts as complete only when it also holds every project a handoff note names and every managed worktree on disk; checking costs about 8 ms on 120 projects. Root cause: registry.cached(complete=True) judged the map complete by the checkouts on disk only, while portfolio projects come from handoff notes that a pull adds without rewriting the cache, so an exact name missing from the map fell through to a prefix match on another project Verified: python3 -m unittest tests.test_startup tests.test_registry tests.test_raci: 54 OK; the reviewer's probe now resolves to acme/web; dev test prove tests/test_startup.py: all 9 tests fail without the change (DevEx engineer); dev test: 4,800 of 4,801 passed, 1 skip
In a session started in ~ (Claude Desktop, a terminal opened at home), every crew proof typed as 'cd <repo> && dev test' read as outside this repository, so a member's step closed only on the tech lead's evidence; the DevEx engineer hit it three times on 2026-11-17. A proof now also counts when it ran in the checkout of the session run's project (lanescope.scope_base), while a proof run in another repository is still refused. Root cause: gates._same_repository compared each proof's folder with the stop payload's folder, which is the session's start folder ~, not a repository, so no proof inside the devkit checkout could match Verified: 15 gate test files: 469 OK; dev test prove: both new tests in tests/test_crew_gates.py fail without the fix (Senior engineer)
The developer was asked to approve a spec while work ran in auto mode, and the instructions, skills and docs described the modes in slightly different words, some of which let a decision or an approval reach the You bullet in auto. The rule now reads the same in AGENTS.md, seven skills, the crew procedures and fourteen docs pages: in auto, the default, the tech lead and the crew take the recommended option, record it and go on, and You holds only an action the developer alone can take on their machine or account; in guided, the developer's decisions wait for them. Verified: dev docs check on 23 files: 0 issues, 381 links OK (Technical writer); python3 -m unittest tests.test_consistency tests.test_crew_roster tests.test_raci: OK; dev crew sync changed only plugin/agents/hamann.md
docs/concepts.md still said the You bullet holds an open decision or an approval, which in auto mode the tech lead records instead of asking; the Technical writer found it outside its scope. Verified: dev docs check docs/concepts.md: no issues on the changed line
A review probe built on tests/test_crew's TempState overwrote the developer's real ~/.config/devkit/config.json on 2026-11-17, losing every key but one. TempState now points CONFIG_FILE in core, setup, wizard and every other devkit module that holds it at its temporary folder, sets DEVKIT_CONFIG for child processes, and test_progress and test_crew turn on the hermetic home when imported directly. tests/test_sandbox_config.py fails if a sandbox lets a config write reach the real path. A notification test that could not fail now clears DEVKIT_NO_NOTIFY. Root cause: TempState mocked core.config_snapshot but left core.CONFIG_FILE, which the config writers read at call time, pointing at the real file, and a direct import of test_crew got no hermetic home Verified: python3 -m unittest tests.test_sandbox_config tests.test_progress tests.test_crew tests.test_caller_identity: 268 OK, and the real config kept its mtime and size; the 3 sandbox tests fail 9 times in a copy of the previous head (QA engineer); 48 files that use the sandboxes: 1146 passed
In a session started in ~, crew_gates took its repository top from the stop's folder, which is no repository, so the stubs check, the checks of the member's changed tests and the check of files its shell wrote were skipped for every member: unfinished work passed. When the stop's folder is outside every repository, the gates now read the member's changes in the checkout of the session run's project. Root cause: crew_gates computed top with git rev-parse in the stop's folder only; outside a repository it was empty, and every check that needs the top was skipped instead of using the member's checkout Verified: python3 -m unittest of the gate test files: OK (417 of 417 in the Senior engineer's run); dev test prove --since 5cfe5f3~1: the two new tests fail without the change ([] != [('stubs', 'calc.py')], [] != [('tests', 'tests/test_calc.py')])
The crew coordination diagram and its alt text said the tech lead records 'supported recommendations' in auto mode, a different phrase from the one rule the docs now use; the Technical writer flagged it. Verified: dev diagram render and dev diagram check docs/diagrams/crew-coordination.json: ok; both SVGs re-rendered
On 2026-11-17 a probe overwrote ~/.config/devkit/config.json, every key but one was lost, and devkit had no copy: the tech lead rebuilt it by hand from the audit trail in about 5 minutes. Every write that changes the file now first copies the previous one to ~/.local/state/devkit/backups/devkit-config.json.<UTC time> (0600 in a 0700 folder, newest 20 kept); a failed copy still lets the write happen and says so once; an invalid configuration's error names the newest valid copy with the cp command that restores it. The name avoids the config.json.* copies of Docker's file that setup.backup rotates. Verified: python3 -m unittest tests.test_config_writers tests.test_config_schema tests.test_sandbox_config: OK, the real config and backups folder untouched; dev test prove tests/test_config_writers.py: the 5 new tests fail without the change (DevEx engineer); a broken file in a throwaway home restored in 18 ms
The Code reviewer's final review found that the sandboxes still sent each config write's copy to the real backups folder, where twenty test writes would push out the developer's own copies and the restore hint could name a test's config, and that importing setup and wizard through importlib with a variable name fails CI's semgrep step. TempState now moves core.STATE to its folder as well, imports the two modules directly, and a new test runs the real writer and checks every copy lands in the sandbox. A wiring test that set this Mac's identity in its own state folder keeps that folder inside the sandbox. Root cause: config_file_patchers redirected CONFIG_FILE only, while core._keep_config_copy writes under core.STATE/backups, and it imported modules with importlib.import_module(name), which semgrep reports as non-literal-import Verified: the new copy test fails with the previous harness (copy outside the sandbox) and passes with this one; 58 files that use the sandboxes: 1502 tests, the one failure fixed here; tests.test_cli_wiring, test_sandbox_config, test_modes, test_mode_engine: 61 OK; the real config kept its mtime and size
A config copy can hold an extension's credential; the writer chmods the backups folder to 0700, but no test caught a folder another user could list, as the Code reviewer noted in the final review. Verified: python3 -m unittest tests.test_config_writers.ConfigCopyTests: OK; with the writer's chmod skipped the new test fails (0o755 != 0o700)
The ext command tests redirected CONFIG_FILE but not core.STATE, so each write left a config copy in the run's shared state folder; a later test's invalid-configuration error then printed the restore hint with that temporary path, which reached the local test and CI runners' logs in the real state folder and failed test_zz_real_state_untouched in long runs (the DevEx engineer found it). Root cause: ChangeCommandTests.dev patched core.CONFIG_FILE only, while core._keep_config_copy writes under core.STATE/backups at call time Verified: python3 -m unittest tests.test_ext tests.test_framework_profiles: OK, and 0 restore-hint lines (10 before the change)
A review of both modes found that auto answered decisions that approve steps although an automatic answer never counts as an approval, so the approval stayed owed with nobody asked; dev progress start --replace dropped a mode set for the run; the continuity brief showed another mode than the code used; the session start told the tech lead to ask waiting decisions first even in auto and for other sessions' decisions; dev crew mode auto left waiting decisions pending; an invalid configuration raised instead of falling back to guided; notices could be marked told before a failing mode read and never delivered; and approval hints named a command that does not exist. Decisions that approve steps now always wait for the developer; switching to auto takes the other waiting decisions with their recommendation and records it; an invalid configuration reads as guided; the start-up context says the current mode, and asks first only when this session's own decisions wait for the developer; replies follow the developer's language while records stay in American English. Root cause: mode handling was spread over progress, continuity, welcome, hooks and dispatch with no single reader: crew_decision ignored approves in auto, continuity defaulted a missing mode to guided while the code defaults to auto, welcome's context line ignored the mode and the session, and set_mode changed the mode without settling decisions already waiting Verified: python3 -m unittest of test_mode_engine (22 new), test_modes (16, written by the QA engineer), test_crew, test_progress, test_caller_identity, test_continuity, test_hooks_welcome, test_approvals, test_consistency, test_sandbox_config: 419 OK; dev test prove: the 22 new tests fail without the change (Backend engineer); 40 suites 1214 passed
The mode fixes changed what the docs promised: an invalid configuration now reads as guided instead of refusing decisions, a decision that approves steps waits for the developer in both modes, and dev crew mode auto takes the waiting decisions it can. The You rule now reads the same in eight texts and the decision lifecycle diagram: only what the developer alone can do, each open decision in guided mode, and each decision that approves a step in both modes. The config copies page says a copy can keep an old credential and how to delete the copies. Verified: dev docs check on every changed file: 0 errors; dev diagram check docs/diagrams/decision-lifecycle.json: ok; python3 -m unittest tests.test_consistency tests.test_diagram: OK (Technical writer)
Release 26.11.22 needs every version file to name it, and its CHANGELOG section, in the branch it ships from. Verified: dev docs check CHANGELOG.md: no findings in the 26.11.22 section; the four version files change only their version line
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
Release 26.11.22: faster
devcommands, auto and guided modes that behave as documented, crew gates that work in ahome-folder session, a copy of the devkit configuration before every write, pinned npx calls for upstream skills, and
a Playwright skill rule.
Why
devcommand took 2 to 4.5 s, and the hooks paid part of it on each tool call.an automatic answer never counts as an approval, the session start told the tech lead to ask decisions first even
in auto mode, and an invalid configuration refused decisions instead of falling back to guided.
~/.config/devkit/config.json: the test sandbox did not redirect it,and devkit kept no copy to restore.
modern-web-guidanceskill rannpx …@latest, so each search ran whatever npm published next.Changes
dev synccached and build only their own parser(
dev task4.5 s → 0.15 s,dev status4.5 s → 1.25 s on a Mac with 100 projects). The map counts as complete onlywhen it holds every project a handoff note names and every managed worktree.
dev crew mode autotakes the otherwaiting decisions with their recommendation; an invalid
work.modereads as guided; the session start says themode and asks first only for this session's own decisions that wait for the developer. One rule for the modes and
the status block's You line in the global instructions, skills, crew procedures and docs.
~.~/.local/state/devkit/backups/devkit-config.json.<UTC time>(newest 20, owner-only), and an invalid configuration's error prints the
cpthat restores it; every testsandbox now redirects
CONFIG_FILEandcore.STATE.pin_npxinconfig/skills.jsonpinsmodern-web-guidanceto1.0.1and refuses a copy whose callsstay unpinned; a new
e2erule requiresplaywright-clifor Playwright specs, configs and runs.a missing token input in CI is class
access; the call ledger matches a tech-lead command whose words read as asecret.
Verification
dev ci --runonf689fc4: all 8 steps green in 27m02s (4,800+ unit tests, gitleaks, semgrep, osv-scanner, trivy,zizmor); evidence recorded for tree
2fd23d4.dev test prove, or a mutant run where prove cannot reach a shared helper).Follow-ups
Tracked as work items: B-giuan2fckl1 (a waiting decision when the saved mode changes to auto), B-gitomrdgp1s (restore
hint and copies of another config file), B-git5g03kfv1, B-git5l6wjhge, B-girutn92o9m, B-gimjyrfnedp, F-gisa0tv93sm.