Repository navigation
chore(release): 26.11.21 - #45
Merged
Merged
Conversation
Follow-ups from 26.11.20 seen in daily use: dev pr ready left nothing to wait on while its CI ran (PR 43), one CI result reached the tech lead three times, a message reference in a shell loop was refused, a finished run's 25 unread messages took about 50 commands to clear, and an urgent handoff pull could take another command's work item into its own commit. A watch after pr ready counts the runs from when the call opened and is not ended by a skipped run in its first five minutes; an agent's wait on the commit uses the same start. A session gets each CI result once. A word with a shell expansion stands for one argument when the ledger matches a dev command, while the command and subcommand must be typed. A run's end closes its unacknowledged messages and dev progress done names them. A record a running command wrote stays out of a sync's commit until its writer commits it. A plan without --estimate is now calibrated from its steps. Root cause: the watch after pr ready saw the draft's skipped run on the same commit and ended before the ready run existed (ciwatch.watch read every run of the commit); each watch record of a session was told the same repeated result (ciwatch._settle); progress._names_args matched only literal words; progress._close_messages closed only open questions; cli._commit_handoff staged every change with git add -A; progress._allocate set the estimate from the steps without its calibrated copy Verified: unittest on Python 3.13: 722 tests in the watch, progress, crew and messaging modules and 281 in the sync and work modules pass after two fixture updates; dev test audit --changed: 0 high, 0 medium; dev docs check: 0 issues
Hardening from the backlog for 26.11.21. A record write that was interrupted leaves its temporary file in the handoff repository, which a handoff made before its template ignored such files committed, and nothing removed. A work item that an editor saved with a byte order mark or Windows line ends lost its frontmatter on reading, and its next write was refused as losing lines. A blank line inside a multi-line --why vanished from the item's history. The installer's acceptance test failed now and then when Ctrl+C reached the fake codex before it wrote its pid. The managed .gitignore block of the handoff now ignores *.tmp, dev gc removes such a file once it is an hour old, split_frontmatter reads past a byte order mark and CRLF, split_changelog keeps the blank lines render writes as two spaces, and the fake codex writes its pid before the line the test waits for. Root cause: ensure_handoff_ignore wrote only /registry.json, gc had no rule for write leftovers, split_frontmatter required the text to start with ---\n, split_changelog skipped an indented blank line, and the fake codex printed its prompt line before writing its pid Verified: unittest on Python 3.13: gc, registry, work, handoff push, setup handoff and lessons modules pass; the installer Ctrl+C test passes
The Code reviewer's review of the ready-PR watch found three gaps and four lows. A repository whose CI does not run on ready (GitHub's default pull_request types) had its real run hidden and reported none after five minutes; a watch of the draft's push that still ran lost the ready moment; the Stop gate ignored ready; the CI dedupe key held the watch's minutes; shell expansions let the tech lead's open loop vouch for decisions; and writer markers raced. A ready watch now leaves out only the runs CI skipped before the command, waits up to five minutes for a run that is not skipped, then reports it or the commit's earlier runs; a running watch reads the moment from the commit's records, and register merges it into an existing record; the Stop gate applies the same rule and counts only results saved after the ready; a session is told a result once by its commit, state and runs; expansions match only for crew and session read and ack; each writer keeps its own marker, written whole, and a sync unstages what was marked while it staged. Also: dev progress assign, add, begin, reopen, skip and confirm print the steps the change touched and one line of progress (--verbose: the whole plan), and dev progress done lists every unacknowledged message to the tech lead it closes. Root cause: watch() dropped every run that started before since; register skipped an existing record; _sent's ready flag was discarded in stop_gate; _tell keyed on message text, which carries the minutes; _runs_with_expansions applied to every command; one marker per file was written with write_text and checked only before git add; the done listing filtered on the unread reason, which questions do not carry Verified: unittest on Python 3.13: 649 tests in 16 touched modules pass (ciwatch, hooks wiring, messaging, caller identity, task numbers, progress, work, handoff push, watch, continuity, crew, state e2e, consistency); completions regenerated; dev docs check 0 issues
Most CI failures devkit's watch diagnosed came out as unknown, with only 'read the log' as the next action: on four real failed logs the first-error picker kept the job and step prefix when their names had spaces, took a notice ('claude CLI not found: skipped') for the error, read nothing past it, and had no class for a missing secret. The first error is now the first line that reads as an error and says what failed, the prefix and GitHub's byte order mark are stripped, the end of the failed log classifies a first error that says too little, and a new access class covers missing secrets and variables, bad credentials and token permissions. Separately, dev doctor gave a job that is off no row, so the nightly sleep job stayed off since 2026-11-08 unnoticed; it is now a warning row with what stops and the command that turns it on.
Verified: the four real failed logs now classify as test, test, test and access; unittest on Python 3.13: test_ciwatch, test_ciwatch_sessions, test_doctor and test_doctor_profiles pass; dev docs check 0 issues
Two daily frictions from the backlog: dev progress step 'ci-watch: …' was checked against the running step (review) and refused, so the step had to be named again with --step; and dev plan approve refused the plan id that dev plan ls shows. A description that starts with an open step's exact name and a colon now closes that step, and plan revise, approve and supersede find a plan by its id. Verified: unittest on Python 3.13: test_plans, test_progress, test_consistency and test_cli_completion pass; dev docs check 0 issues
The audit of skills, agent instructions and guides against this branch's changes found three places still describing the old behavior: the wait-and-wake skill and the global instructions said an unread message comes back every minute with no end (it now closes when its run ends), and the cicd skill's class table had no access class and did not say how a PR made ready is watched. Verified: dev docs check on the whole repository: 0 issues, all links resolve; unittest test_consistency and test_skills pass
The second review found the new access class first in the class list, so a FastAPI or Jest test that printed 'HTTP/1.1 403 Forbidden' was told no code change fixes it; a draft's result saved within the ready skew still satisfied the Stop gate and could close the ready's record; the *.tmp line in the managed .gitignore block would be rewritten back and forth while any Mac still runs 26.11.20; dev doctor warned about a job turned off on purpose; and the late unstage had no test. access now comes after test, lint and build and matches only git, gh and Actions wording; results count for a ready by their latest run's start, and _settle leaves a record whose ready came after the result's runs; .*.tmp goes to each Mac's .git/info/exclude; a job off in the configuration gets a passing row; dev gc no longer walks .git. Root cause: access was listed before test and matched any HTTP 401 or 403; _results compared the save time with the ready; the managed block is rewritten by every devkit version's ensure_handoff_ignore; the doctor row did not read the configuration; _write_leftovers globbed into .git Verified: unittest on Python 3.13: test_handoff_push, test_gc, test_ciwatch, test_ciwatch_sessions, test_registry, test_doctor_profiles, test_doctor, test_consistency: 210 tests pass; a pytest 403 and a Jest 401 failure classify as test, a git 403 as access
Release 26.11.21 needs every version file to name it, in the branch it ships from (lesson on the 26.11.20 bump). Verified: dev docs check CHANGELOG.md: 0 issues; the four version files change only their version line
The developer asked, before 26.11.21 ships, for the Chrome team's modern web guidance in frontend work and an audit of how devkit covers stacks, debugging, tests, root cause, architecture and planning. The audit found architecture work required only research and diagrams, incident and performance work required no incident or root-cause skill, the Performance analyst had no root-cause skill, and Go route code fell outside the api rule. modern-web-guidance (GoogleChrome, v1.0.1, Apache-2.0, pinned commit) joins the catalog and the ui rule, the Frontend engineer's Build phase and the UX designer; new rules require architecture and system-design for architecture work, incident-response and root-cause for incidents, and root-cause for performance; the Merovingian loads root-cause; the api rule reads Go routes. The skills guide, the global instructions and the generated agent files follow. Gaps that need research are tracked: Vue, Svelte and Next.js skills, .NET, Rust and Ruby backends, Playwright end-to-end tests, and mobile skills. Verified: unittest on Python 3.13: test_crew_roster, test_skills, test_consistency (rules table drift), test_gates_skills, test_skill_engine, test_raci, test_ext, test_crew pass; dev crew sync: 26 agent files match; dev docs check 0 issues
The source-characters check refuses a literal U+FEFF in Python sources; the new BOM record test held one. Verified: unittest test_source_characters and test_work pass
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
Release 26.11.21: the follow-ups of 26.11.20 seen in daily use, the hardening and small features the backlog held,
and the Chrome team's web platform guidance for frontend work. The version files and the CHANGELOG already say
26.11.21, so this one PR and its one CI run ship it.
Changes
dev pr readyfollows the run the ready starts, not the draft's skipped run; where CI does not runon ready, it reports the commit's earlier run. The Stop gate and an agent's
dev ci watch --waitfollow the samerule. A session hears each CI result once.
dev crew readanddev crew ackaccept a reference from a shell variable; commands that decide still need theirwords as typed. A finished run's unread messages close with the run, and
dev progress donenames them.writer); interrupted writes'
.tmpfiles are ignored per Mac and purged bydev gc; records with a BOM or CRLFkeep their frontmatter.
end as a fallback, and a new
accessclass for secrets, credentials and token permissions.dev doctorshows scheduled jobs that are off;dev progress assign/add/… print only what changed(
--verbosefor the plan);dev progress step "name: …"closes that step;dev plan approve P-…takes an id.modern-web-guidance(GoogleChrome, v1.0.1, pinned) joins the catalog and theuirule; architecture, incidentand performance work require their skills; Go route code requires
backend.How to verify
dev ci --run→ every step passed on HEAD (unit tests, security scans).fail without their change (
dev test prove).dev docs check→ 0 issues, all links resolve.Risk and rollback
Medium: the CI watch, message delivery and handoff sync paths change. Each change has tests that fail without it.
Rollback: switch back to the pinned copy of v26.11.20 (
dev install --version 26.11.20).Links
B-g05thtb6n1q, B-fzuv0qqwwra, B-g5nz6x7nuxw