Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1d43967
feat(hooks): name the waiting step in a crew launch that names none
ancongui Nov 19, 2026
9f5dfd0
fix(bugs): post registry records anew instead of editing them
ancongui Nov 19, 2026
3582dc9
feat(progress): tell a member when its queued step goes to someone else
ancongui Nov 19, 2026
845a0d1
docs(crew): say a lane is told when its queued step is reassigned
ancongui Nov 19, 2026
91cc623
feat(lessons): count untraced lessons in one line of dev lesson review
ancongui Nov 20, 2026
1bd5df6
fix(audit): classify the --untraced flag of dev lesson review
ancongui Nov 20, 2026
aab11af
docs(crew): drop a weasel word from the launch naming sentence
ancongui Nov 20, 2026
cde4fdb
fix(ci): treat redirects and sudo tee writes as writes in dev ci --run
ancongui Nov 20, 2026
652ac0c
feat(dashboard): bring a project's tabs onto a phone's first screen
ancongui Nov 20, 2026
91475da
fix(peers): set aside unreadable boxes, remove lock files with boxes
ancongui Nov 20, 2026
2dd7622
docs: say what the code does in place of plan labels in comments
ancongui Nov 20, 2026
f44c6ff
fix(tests): refuse a detached dev sync from any test module
ancongui Nov 20, 2026
bf311e9
docs: drop plan labels from progress, hooks, cli and state comments
ancongui Nov 20, 2026
b354073
docs: drop plan labels from four devkit messages
ancongui Nov 20, 2026
37f4d23
fix(tests): keep a redirect's & out of the detached-sync check
ancongui Nov 20, 2026
65fe70b
docs: drop plan and review labels from comments in 29 modules
ancongui Nov 20, 2026
a332b75
fix(ci): block a check written as root or clobbering a dotfile
ancongui Nov 20, 2026
1ac682f
docs: say what the code does in gitx and shellparse comments
ancongui Nov 20, 2026
1278267
docs(ci): say a check written as root blocks the local evidence
ancongui Nov 20, 2026
207fd5d
docs(shellparse): drop a work item id from two comments
ancongui Nov 20, 2026
9e47f23
chore(release): 26.11.26
ancongui Nov 20, 2026
5092767
fix(tests): detach the process-group probe on Python 3.9 too
ancongui Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/bug-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ on:
release:
types: [published]
# Run by hand once after a release that changes how registry issues read: it rewrites every registry issue's title,
# text and record, folding nothing. Only accounts with write access can start it.
# text and record, and posts anew the edited records of bugs closed longer ago, folding nothing. Only accounts with
# write access can start it.
workflow_dispatch:

permissions: {}
Expand Down
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,46 @@
All notable changes to devkit. Versions follow CalVer `YY.MM.PATCH` (PATCH restarts at 0 each month); tags are
`vYY.MM.PATCH`. Sections follow [Keep a Changelog](https://keepachangelog.com/).

## [26.11.26] - 2026-11-19

### Added

- A Claude Code crew launch whose description names none of the member's steps no longer starts with no step: when
exactly one step waits for that member, the launch gets that step's name and binds to it, and the tech lead is
told. With two or more waiting, the tech lead gets the exact description that takes each.
- A member whose queued step is assigned to someone else is told: `dev progress assign` sends its lane a notice that
names the step, its new owner, and the step the lane goes on with.
- `dev lesson review` counts the lessons with no fix and no evidence, which nothing traces to a real event, in one
line; `dev lesson review --untraced` lists them, one per line, with how to retire one.

### Changed

- On a phone, the dashboard's project page shows its tabs on the first screen: the three most serious health
reasons with a Show all button for the rest, and one row of figures in place of the four chart tiles. At every
width, a tab chosen from the stuck tab bar starts the new panel right under the bar; the panel used to start out
of view, or the page jumped to its end.
- Code comments and four devkit messages say what the code does, in place of the labels of the plans and reviews
that produced it.

### Fixed

- The bug registry posts each record anew and deletes the old comment, instead of editing it in place, because
GitHub keeps every earlier body of an edited comment in a public edit history, which still showed the old shared
voter digests that linked one person's votes across reports. The manual workflow run also posts anew, once, the record of each
issue closed more than 90 days ago whose comment was ever edited or still uses the older digests, with the same
votes and counts; a run after that writes nothing.
- A peer box that is not a JSON object is set aside as `<name>.<time>.unreadable`, so delivery starts a new box and
the hourly sweep goes on cleaning up; a box a newer devkit wrote is kept as it is. The sweep removes the lock file
of each box and escalation it removes, and a waiter on a removed lock file no longer becomes a second holder.
- `dev ci --run` treats shell redirects (`>`, `>>`, `2>`, `&>`, `>|`) as writes: next to a check, one into a dotfile
or dot folder of the home folder blocks the evidence instead of overwriting the developer's settings
(`pytest > ~/.bashrc`). A check whose output is written as root (`sudo tee`, `sudo dd of=`) blocks the evidence
instead of being skipped as the runner's setup, so its tests no longer go unrun with evidence recorded; a root write
into a system folder fed only by a download or key unpacking (`curl`, `wget`, `gpg`) is still setup.
- The test guard refuses a detached `dev sync` from any test module, not only the hook tests, so no test leaves a
real sync running after the suite; it reads the `&` of a redirect such as `2>&1` as part of the redirect, not as a
background marker.

## [26.11.25] - 2026-11-18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.11.25
26.11.26
2 changes: 1 addition & 1 deletion desktop/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": "0.4",
"name": "devkit",
"display_name": "devkit",
"version": "26.11.25",
"version": "26.11.26",
"description": "Every repo in its place. Every agent on the same page. Your devkit portfolio, project status, tasks, CI and team, in Claude Desktop chat and Cowork.",
"long_description": "devkit connects Claude Desktop to **devkit** from Firefly Software Solutions Inc.: every repository in its place under ~/Development, one handoff repository that keeps each project's status, tasks, plans, lessons and session log, and the same rules for Claude Code, Codex and the team. Claude Code already uses devkit through its plugin; this extension brings it to Desktop chat and Cowork.\n\n**What you can ask**\n\n- **Where things stand:** the portfolio overview, one project's status, its tasks, a standup of the last days, and a status report for the team or management.\n- **Delivery:** live CI/CD runs with job progress and an ETA, and a project's delivery policy (versioning, test gate, release flow) with its gaps.\n- **Team and history:** who is working on what, devkit's crew of specialist agents and the decisions waiting for you, lessons learned, devkit's audit trail, its scheduled jobs, and a health check of the whole setup.\n- **Tasks:** add a task, or start, finish, block, unblock or release one. Changes go through the `dev` command, so devkit's audit trail applies exactly as it does in the terminal.\n\nWhen Claude reports a project's status, it starts with the devkit status block (**[Firefly> DevKit]**), the same one Claude Code and Codex use.\n\n**Setting it up.** devkit must be installed on this Mac: run `./install.sh` in the devkit repository, which runs `dev setup`. The extension finds devkit on its own; set the devkit folder only if devkit is not where `dev setup` put it. At startup, the extension selects the configured devkit folder or the installed `dev` link. Install or update devkit through its supported policy, then restart Claude Desktop or turn the extension off and on to load the new tools. A running server keeps the version it started with. It needs Python 3.9 or later, which comes with the macOS Command Line Tools.\n\n**Privacy.** Everything runs on your Mac through the `dev` command and reads your workspace and handoff repository. The project status, CI status and doctor tools ask GitHub or your CI provider through your existing sign-in (for example `gh auth login`); task changes are pushed to your own handoff repository. No token is stored by the extension.",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion docs/agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ works from the Desktop and ChatGPT apps, whose PATH is minimal.
| --- | --- | --- | --- |
| SessionStart | `startup\|resume\|clear\|compact`, 30 s | `startup\|resume\|clear\|compact`, 30 s | Records the session's starting commit and branch, refreshes the project's generated blocks, exports `DEVKIT_SESSION` (Claude), restores managed settings in the background, clones `node_modules` into a fresh worktree, queues a sync that pulls the claims of other machines, and prints the workspace context. Shows you the [welcome](concepts.md#the-session-start-welcome) as its `systemMessage`, on both agents (at most five lines: what needs you, what runs, what is next, and where you are), and tells the model which lines you saw; the notices about an older devkit copy and extensions become need lines in it, and a headless run, a crew member's session, or a scratch repository gets none. The context stays under both agents' limits on a hook's output (at most 9,000 bytes: past 10,000 characters Claude Code shows the model a 2,000-character preview, and Codex past about 2,500 tokens), with what matters most first, so a cut takes the end, the handoff note's excerpt, at whole lines. In a project, it carries an index of the kinds of work the agent declares by id, with the lesson anchors and where the rest is (`dev crew raci`, `dev crew rules`, and `config/skill-rules.json` for the skills); the three most relevant known pitfalls; and the handoff note's path, Now tasks, and current state. After a compaction or a resume, the continuity brief comes first, after the line about the welcome you saw: the run and its current step, the crew working now (not to relaunch), the decisions and messages waiting, your latest requests verbatim, the last status block and git, at most 4 KB. After `/clear`, a notice of the previous session's open run and `dev session carry` |
| UserPromptSubmit | 10 s | 10 s | Starts the turn clock, except for a message you type while the agent works, which Claude Code sends with the running turn's `prompt_id` and Codex with the running turn's `turn_id`: devkit keeps that turn and its request, and adds the message beside them once, even when the transcript or rollout reports it again at a later hook; gives the agent a short reminder of the presentation rules the final message of its last development turn missed (the status block, a role, the Progress line with the run's current counts, the reply language), recorded by Stop instead of sending that turn back, tells it to follow them when this turn is development work, and not to rewrite or repeat that reply. The reminder comes with your prompts only, never with a background notification or a message typed mid-turn, and again at each one until a turn that Stop classes as development work ends after it; adds real progress records and the branch's CI/CD pipelines when you ask for status; reminds the tech lead to declare the request's kinds of work by their ids from the catalog and route each by the RACI, the same reminder in every language and never a guess from the request's words (`crew.route_hint` turns it off); reminds the agent of the status block in a session that already missed it once, naming the failure mode (nothing comes before the block); registers a session that missed SessionStart and injects its context, catalog included. When decisions wait for you that you have not seen since your last prompt, tells the tech lead once per batch to ask them together in as few question calls as the rules allow (see [The crew › How the tech lead asks you](crew.md#how-the-tech-lead-asks-you)). It does not read your prompt for corrections or for skills. Background notifications (subagent results, system notices) and relayed comments are not treated as your request. Keeps your prompt, redacted and cut to 1,000 characters, as pending in the session's continuity checkpoint until Stop classes the turn, and gives the main session, once and first, what waits for it: the brief of a compaction only the transcript showed, or "Not in the summary." A prompt that wakes the session for a background event (a task notification, an agent message) also carries what waits for it: crew questions, decisions, ready steps, CI results, and notices |
| PreToolUse | `Bash\|Monitor\|Write\|Edit\|MultiEdit\|NotebookEdit\|Agent\|Task\|WebFetch\|mcp__.*`, 15 s | `^(Bash\|apply_patch\|spawn_agent)$`, 15 s | `dev hook pre-tool` (`dev hook guard`, its earlier name, still runs it for sessions started before the update). It never refuses a call or asks you about one: its output is nothing, context for the call, or a crew member's command rewritten to carry its lane. On Codex, which reads no PreToolUse context, a member gets the advice as a devkit notice at its next PostToolUse, and a rewrite carries `allow` only when Codex's approval policy is `never`, or for one plain `dev progress`, `dev crew`, `dev watch`, or `dev session` call with nothing the shell would expand; otherwise the call is not rewritten and the member is told. Starts the call's timer, and records each shell call with the agent that made it (the call ledger that tells devkit [who is calling](crew.md#who-is-calling)). On a Claude Code subagent launch (Agent, Task), records its description for its lane and appends the required skills, the known pitfalls, and the report format to the brief. Codex fires no PreToolUse for `spawn_agent`: a Codex launch is recorded at SubagentStart (see below the table). A Codex `exec_command` is read by its `cmd` in its `workdir`, like Bash's `command`. Inside a subagent (the input carries `agent_id`), routes a single `dev progress` or `dev crew` command to that subagent's lane. Adds one line of advice to the call's context for a write outside a member's file scope or by a read-only member, a launch past the crew's slots, an edit of a file a working member holds, a lane call it cannot route (which runs as the main session), and a commit that would take untracked unfinished work. Names the open [lessons](lessons.md) anchored on the command the call runs or the file it writes, each at most once an hour per agent, and adds the lesson of each matching [lesson rule](lessons.md#lesson-rules). Codex does not read a call's context, so there a rule's lesson is not counted as shown. When the hook itself fails, it logs the error and the call runs |
| PreToolUse | `Bash\|Monitor\|Write\|Edit\|MultiEdit\|NotebookEdit\|Agent\|Task\|WebFetch\|mcp__.*`, 15 s | `^(Bash\|apply_patch\|spawn_agent)$`, 15 s | `dev hook pre-tool` (`dev hook guard`, its earlier name, still runs it for sessions started before the update). It never refuses a call or asks you about one: its output is nothing, context for the call, or a crew member's command rewritten to carry its lane. On Codex, which reads no PreToolUse context, a member gets the advice as a devkit notice at its next PostToolUse, and a rewrite carries `allow` only when Codex's approval policy is `never`, or for one plain `dev progress`, `dev crew`, `dev watch`, or `dev session` call with nothing the shell would expand; otherwise the call is not rewritten and the member is told. Starts the call's timer, and records each shell call with the agent that made it (the call ledger that tells devkit [who is calling](crew.md#who-is-calling)). On a Claude Code subagent launch (Agent, Task), records its description for its lane and appends the required skills, the known pitfalls, and the report format to the brief. Before that, a crew member's launch whose description names none of the member's steps gets the name of the one step that waits for its launch, so the launch binds it, and the tech lead is told; with two or more waiting, or two or more named equally, the tech lead gets the exact description that takes each. Codex fires no PreToolUse for `spawn_agent`: a Codex launch is recorded at SubagentStart (see below the table). A Codex `exec_command` is read by its `cmd` in its `workdir`, like Bash's `command`. Inside a subagent (the input carries `agent_id`), routes a single `dev progress` or `dev crew` command to that subagent's lane. Adds one line of advice to the call's context for a write outside a member's file scope or by a read-only member, a launch past the crew's slots, an edit of a file a working member holds, a lane call it cannot route (which runs as the main session), and a commit that would take untracked unfinished work. Names the open [lessons](lessons.md) anchored on the command the call runs or the file it writes, each at most once an hour per agent, and adds the lesson of each matching [lesson rule](lessons.md#lesson-rules). Codex does not read a call's context, so there a rule's lesson is not counted as shown. When the hook itself fails, it logs the error and the call runs |
| PostToolUse | `Bash\|Agent\|Task\|TaskStop\|Monitor\|Write\|Edit\|MultiEdit\|WebFetch\|WebSearch\|AskUserQuestion\|SendMessage`, 10 s | `^(Bash\|apply_patch)$`, 10 s | Closes the shell call in the call ledger. Records every Write, Edit, and MultiEdit call with its file, its caller, and its time: a file that changed during a read-only member's shell call is credited only to the member whose own edit call touched it, and any other such file is held against the read-only member. Ends the lane of an agent TaskStop stopped (it fires no SubagentStop): its slot frees and its step waits for a new launch. Names the open lessons whose error signature the call's output shows, each at most once an hour per agent, and the lesson rules whose text it shows. Adds each call to the [bug registry's](bug-registry.md) session ledger, and, for a marker of devkit's own failure in the output, gives the known detour or tells the agent how to find one. Right after a call that usually ends the turn (a subagent launch, a monitor, a background command, or `dev progress done`, `dev handoff --log`, `dev sync`, `dev task done`, a push, a PR, or a release), shows the main session the status block its final message opens with, with the project and branch filled in, at most once per 2 minutes in a turn; records slow calls; delivers crew messages to their recipient (the main session, or the subagent that made the call); tells the main session about decisions waiting for you and members ready to launch; reminds the main session to update you after a long silence; after a `git commit`, `push`, `merge`, `tag`, `rebase`, `cherry-pick`, or `revert`, or a `gh pr create`, `gh pr merge`, or `gh release create`, queues a sync of the handoff repository (see [Teams and machines › Near-real-time sync](teams.md#near-real-time-sync)). Gives the main session, once and first, the brief of a compaction only the transcript showed or "Not in the summary"; gives a member, after its own compaction, a reminder of its role, step, scope, procedure, and report format. A SendMessage from the main session to a member answers the questions to the tech lead that its text names (`M3: …`): each is marked answered via SendMessage, the text is kept as its answer, and the audit trail records `crew.message-answered`; a SendMessage that names none answers none, and a notice lists the questions that still wait. In Claude Code's main session, reads the messages you typed while it worked from the transcript (Claude Code also runs UserPromptSubmit for each, with the running turn's `prompt_id`): each counts as your latest request for the crew slot kept for you and for continuity, never as an approval. The crew messages, decisions, ready steps, CI results, and notices it delivers are the ones a `dev watch --wait` takes too: each reaches the session once, whichever reads it first |
| PostToolUseFailure | `Agent\|Task\|Bash`, 10 s | — | A subagent launch that failed (an unknown agent type, an interrupt) started no agent, so its launch record goes at once: it never labels another agent or holds a crew slot. A failed or interrupted shell call leaves the call ledger, and its line goes to the [bug registry's](bug-registry.md) session ledger. When one agent's shell command fails twice in a row with the same error, it stops that agent once per command with the root-cause paragraph, the lessons the error matches, and the devkit bugs the registry knows (see [Lessons › Recall](lessons.md#recall)); a crew member's third identical failure sends the tech lead one notice. Names the open lessons and lesson rules whose error text the failure shows, and, for a marker of devkit's own failure, the known detour |
| SubagentStart · SubagentStop | 5 s · 10 s | 5 s · 10 s | Opens and closes the subagent's progress lane (its persona, its step, its active time); a lane binds to exactly one launch. At SubagentStop, for a member someone launched, sends it back once for each of these, in order: a report that does not start with its own status block (`**[Firefly> DevKit · Neo]**`); no `dev progress step` in its lane; and the [crew gates](crew.md#every-report-is-checked) (proofs, skills, unfinished work, tests that cannot fail, lessons). The gates get 6 s of the hook's 10: past that they do not judge the stop, the member goes through, no earlier pass of its gates approves anything, and the audit trail records `crew.gate` as let through. Then it closes the lane and its step, records no observed repeat for lessons shown without a later observed miss, without claiming success, and reads the member's transcript once more for a compaction no hook saw. The compaction summarizer's stop is skipped: it owes no report and binds nothing |
Expand Down
Loading
Loading