Skip to content

Commit 7bfd308

Browse files
release: 2.7.0 (#36)
Releases the doctor fix from #35. core, cli and agentfile move to 2.7.0; @agentfile/ui stays on its own beta track and the extension stays at 0.1.0. Minor rather than patch: doctor's output changes for every user, and a stock ~/.claude will show findings that were previously hidden.
1 parent eead8b0 commit 7bfd308

7 files changed

Lines changed: 54 additions & 14 deletions

File tree

.pre-commit-hooks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# or a .claude/ directory per package, and agentfile discovers all of them.
1313
#
1414
# The version is pinned to the tag that carries this file, so a consumer who
15-
# pins `rev: v2.6.0` gets 2.5.0 and not whatever `latest` becomes tomorrow.
15+
# pins `rev: v2.7.0` gets 2.5.0 and not whatever `latest` becomes tomorrow.
1616
# Bumping it is part of cutting a release.
1717

1818
- id: agentfile
1919
name: agentfile
2020
description: Structural and resolution checks on the agent configuration this repository already has.
21-
entry: npx --yes @agentfile/cli@2.6.0 check
21+
entry: npx --yes @agentfile/cli@2.7.0 check
2222
language: system
2323
pass_filenames: false
2424
files: >-
@@ -39,7 +39,7 @@
3939
- id: agentfile-audit
4040
name: agentfile audit
4141
description: Security analysis of permission rules, hooks and MCP servers.
42-
entry: npx --yes @agentfile/cli@2.6.0 audit
42+
entry: npx --yes @agentfile/cli@2.7.0 audit
4343
args: [--strict]
4444
language: system
4545
pass_filenames: false

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,46 @@ Versioning follows [Semantic Versioning](https://semver.org/).
99

1010
## [Unreleased]
1111

12+
## [2.7.0] — 2026-09-09
13+
14+
`doctor` tells the truth about what it found.
15+
16+
### Fixed
17+
18+
- `doctor` ran a hand-picked subset of the analysis, so on a repository with a
19+
broken skill reference and two wildcard permission rules it printed
20+
"No problems found" while `check`, `lint` and `audit` reported four findings
21+
between them. It is the command the README leads with and the one the
22+
empty-state message recommends, and the affirmative all-clear also
23+
contradicted this project's rule that a clean result says no pattern matched,
24+
never that the configuration is safe. It now runs every implemented layer.
25+
- Suppressions and configured severity now apply to `doctor`. Going through
26+
`runValidation` rather than calling analyses directly means an
27+
`agentfile-disable` directive and a configured severity are honoured here as
28+
they already were everywhere else. They were not before.
29+
30+
### Changed
31+
32+
- `doctor` is the full analysis and the narrower verbs are subsets of it:
33+
`check` for the fast structural pass, `lint` for quality, `audit` for
34+
security alone. This is the shape the comparable tools settled on. Biome,
35+
which this repository already uses, gives its security rules a default
36+
severity of error and runs them inside the default `biome check`, keeping
37+
`lint` and `format` beside it. The `audit` verb elsewhere means dependency
38+
CVE scanning, a different data source, and the `doctor` verb elsewhere means
39+
environment health.
40+
- A stock `~/.claude` will now show findings that were previously hidden,
41+
including unpinned MCP server packages in third-party plugins the user did
42+
not write. Those servers do load and they are unpinned, so the findings are
43+
accurate.
44+
45+
### Note
46+
47+
The layer split was justified by a pre-commit time budget. Measured on
48+
`~/.claude`, 2107 files, `check` and `audit` both run in 0.14s, because the
49+
filesystem walk dominates.
50+
51+
1252
## [2.6.0] — 2026-09-09
1353

1454
agentfile ships as a pre-commit hook. The repository has advertised

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ For the repositories that already run [pre-commit](https://pre-commit.com):
409409
```yaml
410410
repos:
411411
- repo: https://github.com/dennishavermans/agentfile
412-
rev: v2.6.0
412+
rev: v2.7.0
413413
hooks:
414414
- id: agentfile
415415
- id: agentfile-audit

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/agentfile/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentfile/agentfile",
3-
"version": "2.6.0",
3+
"version": "2.7.0",
44
"description": "Find what is wrong with the AI agent configuration your repository already has",
55
"type": "module",
66
"bin": {
@@ -42,7 +42,7 @@
4242
"access": "public"
4343
},
4444
"dependencies": {
45-
"@agentfile/cli": "^2.6.0"
45+
"@agentfile/cli": "^2.7.0"
4646
},
4747
"devDependencies": {
4848
"@types/node": "^22.19.0",

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentfile/cli",
3-
"version": "2.6.0",
3+
"version": "2.7.0",
44
"description": "Find what is wrong with the AI agent configuration your repository already has — doctor, check, lint, audit, adopt, compile, eval",
55
"type": "module",
66
"main": "./dist/bin.js",
@@ -45,7 +45,7 @@
4545
"access": "public"
4646
},
4747
"dependencies": {
48-
"@agentfile/core": "^2.6.0",
48+
"@agentfile/core": "^2.7.0",
4949
"chalk": "^6.0.0",
5050
"commander": "^14.0.3",
5151
"enquirer": "^2.4.1"

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentfile/core",
3-
"version": "2.6.0",
3+
"version": "2.7.0",
44
"description": "Read, analyse and compile AI agent configuration — discovery, a normalized IR, a resolver, diagnostics, and static security analysis",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)