Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
0082c39
test(crew): reproduce the crew coordination faults and hunt for more
ancongui Nov 20, 2026
61b5fd1
fix(progress): add coordination rules and stop false scope clashes
ancongui Nov 20, 2026
ec4d804
fix(gates): judge every member stop and send back once per lane life
ancongui Nov 20, 2026
1211d21
test(crew): give the Codex stops a faithful Codex 0.167 rollout
ancongui Nov 20, 2026
bb54650
fix(ci): take a local step's limit from its workflow, then its history
ancongui Nov 20, 2026
9a1c3e4
fix(ci): name why a job never started instead of a missing log
ancongui Nov 20, 2026
0b76d83
fix(ci): let history lift a matrix job's per-leg limit in dev ci --run
ancongui Nov 20, 2026
1e235d0
fix(progress): give queued steps to free lanes, scope by running steps
ancongui Nov 20, 2026
59e374e
test(progress): follow the claim rule and derived lane scope
ancongui Nov 20, 2026
e78b96e
fix(progress): tell the tech lead which verdicts a lane end drops
ancongui Nov 20, 2026
846d538
fix(ci): derive the CI watch limit and name a job no runner takes
ancongui Nov 20, 2026
a8ba558
fix(identity): name a dev command's caller by its call token
ancongui Nov 20, 2026
696a773
test(identity): compare rewritten commands without their call token
ancongui Nov 20, 2026
35510e4
fix(hooks): leave a follow-up launch of a done step unchanged
ancongui Nov 20, 2026
c574768
fix(hooks): tell the tech lead what the gates let a member through with
ancongui Nov 20, 2026
f6bd130
test(crew): check the Codex compound ack under both approval policies
ancongui Nov 20, 2026
cafb9d3
test(crew): drop client names and item ids from coordination tests
ancongui Nov 20, 2026
a3bdf70
fix(ci): stop naming cancelled jobs and failed tests as never started
ancongui Nov 20, 2026
2831a96
fix(ci): give a timed-out step a longer run and refuse a limit under 1
ancongui Nov 20, 2026
f422bbd
fix(ci): count GitHub's job default and reusable workflows in a watch
ancongui Nov 20, 2026
323a333
test(ci): keep the stopped-run cases in a class of their own
ancongui Nov 20, 2026
ec4ab26
fix(identity): list every coordination command that changes state
ancongui Nov 20, 2026
81b5db4
fix(progress): say why a message read was refused
ancongui Nov 20, 2026
404f6b0
test(progress): follow the claim rule in the Codex lifecycle tests
ancongui Nov 20, 2026
2496399
fix(progress): let the fix after a review that asked for changes start
ancongui Nov 20, 2026
ed93721
feat(progress): name the caller and its call in each step's history
ancongui Nov 20, 2026
03281bc
fix(identity): close the call token paths the red team broke
ancongui Nov 20, 2026
3309b78
test(progress): follow the claim rule in the plan dependency test
ancongui Nov 20, 2026
244cddd
fix(gates): read a Codex member's command without devkit's own stamps
ancongui Nov 20, 2026
194ed45
fix(progress): hand the tech lead's running step over on every route
ancongui Nov 20, 2026
d3689e6
test(progress): follow the claim rule in modes, roles, messaging
ancongui Nov 20, 2026
011f4a1
test(crew): give the model's clean stops a real execution receipt
ancongui Nov 20, 2026
4871034
test(crew): bring back the resumed Codex reviewer case on the real hooks
ancongui Nov 20, 2026
c209afb
docs(crew): document call tokens, lane claims, and CI step limits
ancongui Nov 20, 2026
318a108
fix(crew): list the coordination rules and keep a freed member working
ancongui Nov 20, 2026
6514ac1
fix(audit): register codex.thread-shared as a security notice
ancongui Nov 20, 2026
7ad667d
fix(ci): let a terminal dev ci watch take the derived limit
ancongui Nov 20, 2026
409e026
fix(identity): bind each call token to the process its call pins
ancongui Nov 20, 2026
0984d8c
docs(crew): say how the call token is pinned to its process
ancongui Nov 20, 2026
8a809aa
fix(identity): run project code without the token, audit unlisted uses
ancongui Nov 20, 2026
f5d4642
docs(audit): list the pin and unlisted-use records of the call token
ancongui Nov 20, 2026
4f73b10
test: use neutral organization and step names in the fixtures
ancongui Nov 20, 2026
198e199
fix(ci): let dev ci watch --timeout 0 take the derived limit
ancongui Nov 20, 2026
34d73e7
fix(crew): advise a lane that runs no step when it edits a file
ancongui Nov 20, 2026
19a12f6
fix(crew): take the waiting step a launch names beside a done one
ancongui Nov 20, 2026
07fbdc6
fix(hooks): keep a member's lane route when its call token fails
ancongui Nov 20, 2026
3c5b8a1
fix(crew): start a delegated step through the claim rule
ancongui Nov 20, 2026
39f4816
fix(crew): tell the tech lead once about a stop the gates let through
ancongui Nov 20, 2026
2aa2d2e
fix(crew): say what a launch that names two steps equally takes
ancongui Nov 20, 2026
b2e2b7b
fix(crew): name the member in a gates notice its run does not list
ancongui Nov 20, 2026
064e048
docs(crew): say what a launch naming done and waiting steps takes
ancongui Nov 20, 2026
132c715
chore(release): 26.11.27
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
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,57 @@
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.27] - 2026-11-20

### Added

- `dev ci --run` gives each step the time its workflow allows: the step's own `timeout-minutes`, else its job's,
else 1.5 times its longest local pass when that is over 30 minutes, else 30. A step past its limit ends with exit
124, says where the limit came from, and names the `--resume` command with twice the limit.
- `dev ci watch` without `--timeout` lasts as long as the workflows' longest chain of jobs that need each other, at
their `timeout-minutes`, plus 30 minutes for the queue (90 to 360 minutes).
- A CI job that never started is classed and named with its next action: `not_started` (its annotation), `budget`
(an account limit: check billing, do not push again) and `workflow_invalid` (GitHub could not start the run). A
job that has waited 30 minutes for a runner gets one line in the `--wait` stream.
- The audit trail records how devkit knew each caller (`caller.*`), each call's pin (`calls.pin-*`), and state
changes made through a call's token by commands its text does not run (`caller.token-unlisted-use`).

### Changed

- The crew's coordination rules live in one module whose invariants every change is checked against. A step given
to a member waits for that member's next free lane and is claimed oldest first, whatever happens to the lane it
was meant for. A blocked step frees its lane and comes back first once its decision is answered. A lane's files
are the union of its running steps' scopes, and a resumed member takes its step and can write.
- A member's `dev progress step` without `--step` closes its lane's only running step; with two or more running it
is refused, and with none it says so.
- A review recorded with ✗ lets the step after it start; the reviewed work stays unapproved.
- The crew gates judge every stop. A member is sent back once per lane life, its next clean report with Check ✓
passes, and a stop let through with findings approves nothing; the tech lead gets one notice with the findings.
- A launch that names one of the member's done steps and none of its waiting ones is left unchanged; one that names
a waiting step takes it. A lane that runs no step holds no file: an edit gets advice to ask for a step, and
`dev commit` refuses its files. `dev crew delegate` starts its step through the same claim rule.

### Fixed

- A crew member's review or approval no longer stays unverified when it reported ✓, on Claude Code and on Codex,
whose gates now read a member's commands without devkit's own stamps in front of them.
- A main-session `dev` command is no longer attributed to a crew member that has a long or waiting call open, and a
session started from another's shell (`codex exec`, `claude -p`) no longer acts as that session's tech lead.
- A literal filename no longer overlaps a glob it cannot match, so `docs/crew.md` and `docs/**/bug*.md` can go to two
members.
- `dev ci watch --timeout 0` takes the derived limit, as 0 meant the default before.

### Security

- Each shell call carries a token that names its caller, and the call's prefix pins it to the process it runs in, so
a copy of the token is useless to another process. A state change devkit cannot verify is refused, never made as
the tech lead's. Outside bypass mode only calls that visibly run `dev` carry it, so permission prompts do not grow.
- On Codex, `CODEX_THREAD_ID` decides no state change under the `never` approval policy; where Codex asks, a thread
names its caller only for the exact command of that caller's own open call.
- Project code devkit runs for you (the steps of `dev ci --run`, the tests of `dev test`, and git hooks that
devkit's git commands start) runs without the token. `SECURITY.md` lists what remains: code the tech lead starts
with a raw command acts with the developer's permissions, and its state changes are audited.

## [26.11.26] - 2026-11-19

### Added
Expand Down
41 changes: 41 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,43 @@ To limit what agents can do, use the controls that do enforce limits:
`DEVKIT_CONFIG` and `DEV_ROOT` included, and so change where devkit reads its configuration. Trust only
repositories whose code you would run.

### What the call token protects

devkit names who runs each `dev` command by a call token: the pre-tool hook puts `DEVKIT_CALL` in front of the call,
and the token holds only for the process whose id the call's prefix pins first (or the `dev` process of a single
plain call) and the processes below it, and only while the call is open (see [The crew › Who is calling](docs/crew.md#who-is-calling)). It protects against mistakes and makes misuse
visible:

- **Mix-ups between callers.** A crew member's command is never taken as the tech lead's, or as another member's:
not when their command texts look alike, not while the tech lead's call and a member's call are open at the same
time, and not when devkit cannot tell who calls, since it then refuses the change.
- **Commands outside their call.** A background or detached job, a nested agent such as `codex exec` or `claude -p`,
and a token copied from a log or a transcript name nobody once their call has closed, or outside the call's own
shell, so the state changes they try are refused.
- **Project code that devkit runs.** `dev ci --run`, `dev test`, and `dev test prove` start the project's workflow
steps and tests without the token or the lane marks, and so does every git command devkit runs, with the git hooks
that `dev commit` and `dev push` start. A `dev` command in a step, a test, or a hook that a crew member wrote names
nobody there, so devkit refuses its state change.
- **A record of each attempt.** Each failed check and each state change without a token writes a caller identity
record to the audit trail ([The audit trail › Caller identity records](docs/audit.md#caller-identity-records)).
devkit keeps only a hash of the token, and removes its value from every command text it records.

What it does not protect:

- **devkit's own state.** The call ledger, the session records, and the audit log are files your user owns. A crew
member that edits them can still act as another caller. The next tech-lead call shows the damage, but devkit does
not stop it, and such an attack is out of scope for reports (see [Scope](#scope)).
- **Crew code that the tech lead runs.** A crew member's code that the tech lead starts with an ordinary command,
such as `npm test`, `make`, or a git hook that a plain `git commit` starts, runs inside the tech lead's call. A
`dev` command in that code acts as the tech lead, with your full permissions. When the call ends, devkit records
each state change that the call's own text does not run (`caller.token-unlisted-use`), so the change shows in the
audit trail, but devkit does not stop it.
- **What an agent may run.** The token names who runs a `dev` command and limits nothing else. Against an agent set
on misuse, the controls that hold are the agent's permission mode and your Git host's branch protection.
- **The token while its call runs.** Any process of your user can read it from the process list then: holding only
for the call's own shell is what makes a copy useless elsewhere. Transcripts and Codex rollouts, which the agents
keep, can hold the token after its call closed, when it names nobody.

## Supported versions

| Version | Supported |
Expand Down Expand Up @@ -97,6 +134,8 @@ In scope:
- the `dev` CLI and everything under `lib/` and `bin/`;
- the hooks: a way to make a hook leak data, corrupt devkit's records, or run code devkit did not mean to run is a
vulnerability;
- the crew's caller identity: a way for one agent to act as the tech lead or another crew member through devkit's
commands without editing devkit's state files, or one that leaves a record that looks like a normal verified call;
- the installer (`install.sh`, `dev setup`, `dev install`) and the settings, hooks, and instructions it writes;
- the MCP server (`dev mcp`) and the Claude Desktop extension;
- the dashboard, a generated HTML file: data it shows without escaping is in scope;
Expand All @@ -111,6 +150,8 @@ Out of scope:
- issues in the agents themselves (Claude Code, Codex, Claude Desktop, the ChatGPT app): report those to their
vendors;
- attacks that need an already compromised machine or account;
- a crew member, or another process of your user, that edits devkit's state files (the call ledger, the session
records, the audit log) to act as another caller;
- what an agent runs with the permissions you gave it: devkit does not limit agents (see
[devkit is not a security boundary](#devkit-is-not-a-security-boundary)).

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.11.26
26.11.27
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.26",
"version": "26.11.27",
"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
Loading
Loading