buddy-agent-harness 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +1 -1
  4. package/CHANGELOG.md +44 -0
  5. package/dist/cli.mjs +2166 -702
  6. package/dist/index.d.mts +10 -3
  7. package/dist/index.d.mts.map +1 -1
  8. package/dist/index.mjs +597 -431
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/skill-scripts/doctor.mjs +74 -67
  11. package/dist/skill-scripts/init.mjs +74 -67
  12. package/dist/skill-scripts/mcp.mjs +74 -67
  13. package/llms.txt +8 -6
  14. package/package.json +5 -4
  15. package/plugin.json +1 -1
  16. package/skills/doctor-buddy-agent-harness/README.md +1 -1
  17. package/skills/doctor-buddy-agent-harness/SKILL.md +9 -2
  18. package/skills/doctor-buddy-agent-harness/references/worktrees.md +17 -0
  19. package/skills/doctor-buddy-agent-harness/scripts/doctor.mjs +74 -67
  20. package/skills/enhance/SKILL.md +18 -10
  21. package/skills/enhance/references/agent-worktrees.md +59 -0
  22. package/skills/enhance/references/list-identifiers.history.md +9 -1
  23. package/skills/enhance/references/list-identifiers.md +6 -9
  24. package/skills/enhance/references/references-as-links.history.md +9 -0
  25. package/skills/enhance/references/references-as-links.md +76 -0
  26. package/skills/enhance/scripts/doctor.mjs +74 -67
  27. package/skills/init-buddy-agent-harness/SKILL.md +8 -5
  28. package/skills/init-buddy-agent-harness/references/agent-worktrees.md +59 -0
  29. package/skills/init-buddy-agent-harness/scripts/doctor.mjs +74 -67
  30. package/skills/init-buddy-agent-harness/scripts/init.mjs +74 -67
  31. package/skills/repair/README.md +2 -2
  32. package/skills/repair/SKILL.md +3 -3
  33. package/skills/repair/scripts/doctor.mjs +74 -67
  34. package/skills/repair/scripts/mcp.mjs +74 -67
  35. package/src/cli.ts +13 -3
  36. package/src/command-output/command-output.ts +28 -5
  37. package/src/dep-plugins/dep-plugins.command.ts +4 -0
  38. package/src/diagnose-bridges/doctor-guidance.ts +66 -1
  39. package/src/diagnose-bridges/doctor.command.ts +69 -49
  40. package/src/diagnose-bridges/git-bridge-state.ts +5 -0
  41. package/src/diagnose-worktrees/diagnose-worktrees.ts +69 -0
  42. package/src/governance-overrides/governance.command.ts +13 -8
  43. package/src/index.ts +1 -0
  44. package/src/initialize-harnesses/init.command.ts +9 -3
  45. package/src/project-mcp/mcp.command.ts +15 -9
  46. package/src/reconcile-mcp/reconcile.command.ts +17 -11
  47. package/src/references/references.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buddy-agent-harness",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "Initialize standards-based agent configuration across agent harnesses",
5
5
  "author": {
6
6
  "name": "repobuddy"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buddy-agent-harness",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "Initialize standards-based agent configuration across agent harnesses",
5
5
  "author": {
6
6
  "name": "repobuddy"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buddy-agent-harness",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "Initialize standards-based agent configuration across agent harnesses",
5
5
  "author": {
6
6
  "name": "repobuddy"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # buddy-agent-harness
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3d86bc2: Account for the git worktrees Claude Code creates under `.claude/worktrees/`, inside the repository.
8
+
9
+ The `init-buddy-agent-harness` and `enhance` skills now offer two settings, each on its own and written only on approval: ignoring `.claude/worktrees/` in `.gitignore` and in each tree-scanning tool's config the repository has (Biome, ESLint, Prettier, knip, tsconfig), and setting `worktree.baseRef` to `"head"` in `.claude/settings.json`, with the trade-off explained first. Each worktree is a whole checkout, so Biome in the main checkout stops on its nested root configuration, and without `"head"` an agent asked to build on a feature branch starts from the default branch.
10
+
11
+ `doctor` reports what is missing in a repository with a `.claude/` directory: `worktrees-untracked` for the `.gitignore` rule, `worktrees-scanned` for a `biome.json` that does not exclude the directory, and `worktree-base-unset` for a `.claude/settings.json` that leaves `worktree.baseRef` unset. An explicit `"fresh"` is the owner's choice and is not reported.
12
+ - 8373121: The `enhance` skill now offers a fourth addition, `## References as links`. It tells the agent to write each issue, pull request, or commit it mentions as a Markdown link to its page rather than a bare `#222`, which is a link only on GitHub itself and names the wrong repository when the agent works across several.
13
+
14
+ It is gated like the other three. The skill offers it only where the merged instructions do not already cover the subject, recommends the owner's global instruction file over the repository's `AGENTS.md`, and writes nothing without approval. Its history file starts empty, so a section already in a file is compared against the current text, and no harness scores this wording yet, so where the skill cannot tell whose a section is, it offers two answers rather than three.
15
+
16
+ ### Patch Changes
17
+
18
+ - ce2b780: The `doctor-buddy-agent-harness` skill now lists the outcomes it is done when, so its evals can check them.
19
+ - 8588ad8: The shipped skill descriptions (`doctor-buddy-agent-harness`, `enhance`, `init-buddy-agent-harness`, `repair`) now open by saying what the skill does instead of "Use this skill when". Every trigger phrase is kept.
20
+ - 4c76524: The `repair` skill no longer says that only the instruction, configuration, non-standard, and agent-worktree families name a skill in `help`. Four MCP findings name `repair` too: `mcp-unprojected`, `mcp-undeclared`, `mcp-diverged-target`, and `mcp-diverged-golden`. Its README now lists the MCP drift it corrects.
21
+
22
+ ## 1.1.0
23
+
24
+ ### Minor Changes
25
+
26
+ - 211a1f6: Upgrade to clibuilder 12.2 and follow its AXI conventions.
27
+
28
+ - A failure is a coded error on stdout, in the format asked for, with a `help` line, instead of `error:` prose on stderr: `command-failed` (exit 1, any unexpected failure), `golden-set-unreadable`, `accept-rejected` (with the refusal `reasons`), `governance-not-found` and `unsupported-harness` (exit 2, a usage error). The governance deprecation warning stays on stderr.
29
+ - `mcp project` and `mcp reconcile` with no golden set answer with `empty: 0 servers — no golden set at …` and a `help` line, instead of a report of placeholder rows.
30
+ - A bare `buddy-agent-harness` answers with the `doctor` report under a `bin:` and `description:` header, instead of a usage error.
31
+ - Every command has `examples` in its `--help`.
32
+
33
+ Migration: a script that read the failure message from stderr should read `error` and `code` on stdout, or use the exit code.
34
+ - 16de22d: Upgrade to clibuilder 12.3 and cyber-agentkit 2.2.
35
+
36
+ - Every `reference` subcommand now carries `examples` in its `--help`, each starting with `buddy-agent-harness reference`.
37
+ - `governance show`'s `governance-not-found` help is checked against the command tree, and names the command line the group is reached by: `buddy-agent-harness reference list` standalone, `repobuddy agent-harness reference list` when mounted under `repobuddy`. It no longer ends with a period.
38
+ - From cyber-agentkit 2.2, `reference search` shows the best 10 matches unless `--full` is given, and `reference customize` and `reference implementations` accept a `<prefix>.*` family. `reference migrate` is documented on the `reference` page.
39
+
40
+ ### Patch Changes
41
+
42
+ - 30d912b: The `enhance` skill's `## List identifiers` section is now two sentences. It labels each option, question, finding, or proposal put to the user with a kind letter and a number, and it leaves the points of a plain explanation unlabelled, which the previous wording labelled. Labels still hold through a revision.
43
+
44
+ A repository holding the previous wording is offered the new one as a replacement.
45
+ - 05ff513: `mcp project` and `mcp reconcile` now give their next-step command through clibuilder's `ref()`, so the command line is checked against the CLI's command tree. With no golden set, `mcp project` answers two `help` lines: what to create, then ``Run `buddy-agent-harness mcp project` to preview the projection``. A rejected `mcp reconcile --accept` says ``Run `buddy-agent-harness mcp reconcile` to list the fields that can be approved``.
46
+
3
47
  ## 1.0.1
4
48
 
5
49
  ### Patch Changes