diff --git a/CHANGELOG.md b/CHANGELOG.md index e84a8c8e..0444a1b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,36 @@ 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.18] - 2026-11-13 + +### Fixed + +- **Diagnostics.** The handoff size check counts authored text rather than complete generated auto and Tasks + blocks; malformed or incomplete blocks still count. Audit publication warnings now explain the existing size + hold and local verification without claiming that a released version provides daily segments. +- **Codex crew.** A child tool hook can recover a missed registration when the parent launch and child metadata + agree. Reopened work keeps its valid owner, while reassignment revokes obsolete write scope and old launches + cannot acquire a new run's assignments. Missing or conflicting evidence grants no ownership; recovery still + requires a genuine child lifecycle or tool hook from Codex. +- **Dashboard.** Keep month and current-day labels inside roadmap timelines at phone widths, + including month boundaries reached in a different timezone. +- **Approvals.** Decisions and typed grants can name another repository with `--repo owner/repository`. + The displayed approval and its verified evidence retain that scope; legacy approvals keep their original + repository. Scope mismatches explain both repositories and leave the approval unused. +- **Browser tools.** Opening a local tab with Claude in Chrome no longer requires an external-message grant. + The exact tool remains subject to write-lane controls; other external operations remain guarded. +- **Initial commits.** An empty GitHub origin no longer makes every current feature branch look like the + protected default. Devkit validates GitHub's declared default; unavailable or invalid metadata remains guarded. +- **Tests.** Continuity fixtures use recent request timestamps when their readers use the real clock, so the + seven-day retention policy no longer makes unrelated provider-isolation and hook tests expire. +- **Releases.** `dev release` excludes verified GitHub Dependabot update automation from release CI, so a failed + dependency update proposal does not block a commit whose CI passed. The API must confirm the exact run, + repositories, commit, event, path, and bot actor; uncertain details and repository workflows still count. + General CI status and watches continue to show the updater. +- **Releases.** `dev release` accepts Python versions with equivalent numeric components despite different zero + padding, such as `pyproject.toml` version `26.11.8` for `--version 26.11.08`. The tag keeps the requested spelling; + `VERSION` and `package.json` still require an exact match. + ## [26.11.17] - 2026-11-12 This release lets crew members combine their lane commands with other commands on Claude Code, keeps review lanes diff --git a/VERSION b/VERSION index 44dd515d..74b253d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -26.11.17 +26.11.18 diff --git a/agents/AGENTS.md b/agents/AGENTS.md index 1f263606..8b14f1d7 100644 --- a/agents/AGENTS.md +++ b/agents/AGENTS.md @@ -249,6 +249,10 @@ step, never the words of the request, so the developer's language does not matte pre-approved them. Only an open decision needs the developer: one whose asking member ended and that blocks no step is moot, and ending the run closes the rest. `dev crew withdraw --why "…"` closes a decision that no longer applies; it is never the developer's answer, so never use it to skip one that still matters. + Approval stays in the session's original repository unless the irreversible decision or typed grant names a + literal `--repo owner/repository`. Changing directories does not move it. Global GitHub API operations still + require their reported repository approval scope. Typed grants belong in ordinary chat, not an asynchronous + question widget; auto mode still checks the action, target, repository, expiration, and remaining uses. **The crew talks through devkit, never around it.** Every member records each finished step with `dev progress step "…" --check "…"` (its own lane), posts `dev progress note` while a long step runs, asks with `dev crew ask` (a @@ -435,6 +439,11 @@ Follow the devkit `backend` skill for the detailed checklists. Always: event, armed the right way for each agent). - **Code intelligence:** use the LSP tools (TypeScript, Python, Java, PHP) to find definitions, references, and type errors rather than grepping when they are available. +- **Native Codex registration:** a delivered child hook can recover a missed start only with matching native + launch evidence (`using-devkit` has the retry procedure). Missing or conflicting proof grants no step or scope. + If hooks remain absent or identity unresolved, stop and report it; never supply an identity override, edit lane + records, or have the parent stand in for a blocked member's completion or review. Normal shell routing is + unchanged; live recovery still needs verification after the developer installs the fix and restarts sessions. - **Design and architecture:** `domain-modeling`, `codebase-design`, `architecture`, `system-design`, `likec4-dsl` (C4 diagrams). `grill-with-docs` and `improve-codebase-architecture` are the developer's own slash commands (`/grill-with-docs`, `/improve-codebase-architecture`): a model cannot load them, so suggest them and never put diff --git a/desktop/manifest.json b/desktop/manifest.json index 1493c168..3f5ae458 100644 --- a/desktop/manifest.json +++ b/desktop/manifest.json @@ -2,7 +2,7 @@ "manifest_version": "0.4", "name": "devkit", "display_name": "devkit", - "version": "26.11.17", + "version": "26.11.18", "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 guard and audit trail apply exactly as they do 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. The tools come from your devkit checkout, so `dev update` updates them without reinstalling the extension. 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": { diff --git a/docs/agents.md b/docs/agents.md index f7320c86..0205978f 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -308,6 +308,35 @@ same checks as a Claude Code member's. Two spawns of one member at once, before started, take no step, and the tech lead is told. Codex's own helpers, such as a review or a compaction, get no launch record. +### Codex identity failures + +A genuine Codex SubagentStart hook can register a child, and a delivered child PreToolUse hook can recover a missed +start. Both require unique canonical parent and child rollouts: the parent's exact spawn call and started result +must agree with the child's metadata, task, and role. Missing, partial, or conflicting evidence leaves the child +unbound with no step, scope, or write authority; safe reads remain available. The lead receives a notice, and a +later genuine hook retries registration through the normal crew slot and depth checks. + +The native `task_name` selects the plan step, not the brief's message text. Recovery can repair an older pending +message-derived label only after the immutable call, parent, role, child, and run agree. It does not rewrite an +existing contradictory registration. + +Existing lanes are checked against the current run, role, and owner before admission. A prior run's launch cannot +take a new run's assignment. Reassignment uses recorded prior ownership and revokes the old member's write access +before a replacement starts, including scored or abbreviated labels and lanes without a restricted file scope. +Legacy lanes whose ownership cannot be recovered remain read-only until explicitly assigned. Legitimate same-role +reopenings, ad hoc work, and queued assignments remain supported. + +This recovery requires a delivered hook. It does not infer CLI caller identity from command text or change the +normal [routing rules](crew.md#who-is-calling), tool matchers, or shell wrapper syntax. If registration evidence is +still incomplete, wait for the native launch records and retry the child's tool call. If hooks remain absent or +identity remains unresolved, stop the affected operation and report the command, directory, installed devkit +version, and exact error. Do not edit session or lane records, run hooks manually, or have the parent submit a +member's completion or review as its own. + +Source checks do not prove that a particular live host delivers these hooks. The developer first installs the +fixed release from a normal terminal and restarts the affected sessions. Then verify child registration and lane +ownership in that host before calling the live issue resolved. + ### The session context At session start (or at the first prompt) the agent receives: diff --git a/docs/audit.md b/docs/audit.md index 28e78a96..e7891e3c 100644 --- a/docs/audit.md +++ b/docs/audit.md @@ -356,9 +356,11 @@ check it cannot run is no evidence of a change. Records written since the last publish are counted as _not yet published, so not yet anchored_. Every run is itself recorded as `audit.verify`, with `critical` severity when it fails. The daily job never publishes a local file over a published copy it no longer extends; it records `audit.publish` as blocked and critical instead. It never publishes a -month file over 45 MB either, because GitHub refuses files over 100 MB and then every handoff push: that month's copy +month file over 45 MiB either, because GitHub refuses files over 100 MB and then every handoff push: that month's copy stays as it was, the job records `audit.publish` as blocked with `warning` severity, and `dev audit stats` and -`dev doctor` say so until devkit publishes daily segments instead of whole months, which is planned. +`dev doctor` report the publication hold. The size hold does not delete local records: the local trail remains +available under the normal retention policy, and `dev audit verify` checks it. Publication remains paused for the +oversized month. Daily segments are planned, not implemented; no version update is promised to remove this hold. ## Query and export diff --git a/docs/commands.md b/docs/commands.md index fce085fc..10738dfa 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -421,6 +421,13 @@ devkit's specialist agents. See [The crew](crew.md). | `dev crew mode [guided\|auto] [--approve "push feat/*, release v26.11.4"]` · `dev crew decide ""` · `dev crew decisions [--pending] [--ask […] [--json]]` | The mode (`--approve` names each action with its target; publish and deploy never), the developer's answers (recorded by the tech lead (Morpheus) only, in the session whose run holds the decision: `dev crew decide` and `dev crew withdraw` take `D3` or your own run's `D3@`, and refuse another session's), and every decision with who took it. `--ask` prints the pending decisions (or the ones named) as question tool calls, at most 4 per call and an irreversible one alone in its call, the recommended option first, `--json` for the tool's input; the tech lead may reword a reversible one. Only an answer to a question with `D ·` up front (or the header `D`) that picks one of its options by letter or words, or a typed `approve [: