@srobroek/pi-speckit-beads 0.0.0 → 1.0.1

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ ## speckit-beads [1.0.1](https://github.com/srobroek/harness-plugins/compare/speckit-beads--v1.0.0...speckit-beads--v1.0.1) (2026-11-25)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **speckit-beads:** pin the spec agent's workspace check to the repository ([2acceca](https://github.com/srobroek/harness-plugins/commit/2acceca26fa4c4fb4f5b0a8b04c8e4e01313caff))
6
+
7
+ ## speckit-beads 1.0.0 (2026-11-25)
8
+
9
+ ### Features
10
+
11
+ * **speckit-beads:** add SpecKit on Beads for OpenCode, Claude Code and pi ([9e9442f](https://github.com/srobroek/harness-plugins/commit/9e9442f275be0c115f5b3b9a4f46661d0370917a))
12
+
13
+ ### Bug Fixes
14
+
15
+ * **speckit-beads:** give the spec agent plain edit access ([b570cf7](https://github.com/srobroek/harness-plugins/commit/b570cf713079a19f030244a08e988a22bcbcfe07))
16
+ * **speckit-beads:** meet the Pi agent contracts ([55ac4f2](https://github.com/srobroek/harness-plugins/commit/55ac4f27eeee938e1be272c8761aebf23f80bcef))
17
+ * **speckit-beads:** probe the workspace with bd -C before bd init ([6c40e2c](https://github.com/srobroek/harness-plugins/commit/6c40e2c02bc946647ece2ff20fe2c5942210ed63))
package/README.md CHANGED
@@ -18,7 +18,7 @@ installs the formulas, and nothing switches that off.
18
18
 
19
19
  | Tool | Needed for | Version |
20
20
  | --- | --- | --- |
21
- | `bd` | The beads workspace, the formulas and the task state. The tasks.md guard asks `bd where`. Required. | 1.3.0 or later |
21
+ | `bd` | The beads workspace, the formulas and the task state. Setup and the tasks.md guard ask `bd -C <repository> where`. Required. | 1.3.0 or later |
22
22
  | `specify` | `speckit_setup`'s `specify init` and extension installs | 1.4.0 or later |
23
23
 
24
24
  On pi, a session start reports a missing or too-old tool with its install hint
@@ -137,7 +137,7 @@ options in bounds.
137
137
 
138
138
  ## Guards and routes
139
139
 
140
- All of them apply only where `bd where` finds a beads workspace, and fail open when
140
+ All of them apply only where `bd -C <repository> where` finds a beads workspace, and fail open when
141
141
  it cannot run.
142
142
 
143
143
  | Surface | Behavior |
@@ -218,7 +218,7 @@ On pi it is a pi-subagents agent, from `common/agents/spec.pi.md`. Its own sessi
218
218
  this package's extension (`subagentOnlyExtensions`). It has the `speckit_*` tools, the
219
219
  guard and the workflow section even where the parent session does not load the package.
220
220
 
221
- - Tools: every pi file tool, edit and write included, plus bash, `subagent` and the three `speckit_*` tools.
221
+ - Tools: every pi file tool, edit and write included, plus bash, `subagent`, `contact_supervisor` and the three `speckit_*` tools.
222
222
  - Subagents: `scout`, `researcher` and `architect`, plus `speckit-verify` and `speckit-sync`.
223
223
  - Context: the repository's `AGENTS.md` and the skills catalog, so it can load `speckit-ledger`.
224
224
  - Questions go to the user through `contact_supervisor`. It ends with a report for its
@@ -241,8 +241,10 @@ from the subagent catalog, since the formulas and the workflow instructions spaw
241
241
  id, and neither gets Code Mode. `speckit-verify` may load the `quality-*` skills, and
242
242
  `speckit-sync` only `speckit-ledger`.
243
243
 
244
- On pi each has the file-reading tools and bash, from `common/agents/<id>.pi.md`.
245
- pi-subagents saves the report to `<id>.md` in the output directory of the run.
244
+ On pi each has the file-reading tools and bash, from `common/agents/<id>.pi.md`, and no
245
+ write tool. Both declare `acceptanceRole: read-only`, so pi-subagents asks them for no
246
+ writer's acceptance report. pi-subagents saves the reply to `<id>.md` in the output
247
+ directory of the run.
246
248
 
247
249
  `speckit-verify` is composed by `bun run build` from `agents.src/speckit-verify.md` and
248
250
  the evidence and report parts of the shared review core (`lib/src/review-core.md`);
package/agents/spec.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: spec
3
3
  description: "Drives a SpecKit feature from setup through specify, clarify, plan, tasks as beads and analyze; writes spec artifacts, never implements."
4
- tools: read, ls, grep, find, bash, edit, write, subagent, speckit_setup, speckit_start, speckit_commit
4
+ tools: read, ls, grep, find, bash, edit, write, subagent, contact_supervisor, speckit_setup, speckit_start, speckit_commit
5
5
  allowedAgents: scout, researcher, architect, speckit-verify, speckit-sync
6
6
  subagentOnlyExtensions: npm:@srobroek/pi-speckit-beads
7
7
  inheritProjectContext: true
@@ -28,7 +28,7 @@ When the user points at a decision record (`docs/adr/` or `docs/decisions/`), re
28
28
 
29
29
  ## Flow
30
30
 
31
- 1. **Setup.** Check that `.specify/` exists (here or at the repository root, which the tools then use), the SpecKit prompts exist (`.pi/prompts/speckit.*.md`, or `speckit-*` skills from another integration), and `bd where` finds a beads workspace. If any is missing, say what and offer `speckit_setup`; run it only after the user agrees. Report each phase it returns. Then run `bd prime` once for Beads' own workflow and command reference.
31
+ 1. **Setup.** Check that `.specify/` exists (here or at the repository root, which the tools then use), the SpecKit prompts exist (`.pi/prompts/speckit.*.md`, or `speckit-*` skills from another integration), and `bd -C <repository root> where` finds a beads workspace (a bare `bd where` can report another store, for example one an inherited `BEADS_DIR` names). If any is missing, say what and offer `speckit_setup`; run it only after the user agrees. Report each phase it returns. Then run `bd prime` once for Beads' own workflow and command reference.
32
32
  2. **Start.** Call `speckit_start` with the identity the entry path settled. Ask the question each status returns, then:
33
33
  - `CHOICE_REQUIRED`: call again with the answer as `approvals` (`yes` or `no`) and the user's words as `decision`.
34
34
  - `MIGRATION_REQUIRED`: the answer is consent to migrate, not an approvals answer. On yes, call again with the pending `approvals=no`, `migrate=true`, the returned `root` and the user's words as `decision`. On no, stop and report that the run keeps its approval gates.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: speckit-sync
3
3
  description: "Audits SpecKit artifacts; spawn with scope drift, conflicts, or both."
4
+ acceptanceRole: read-only
4
5
  tools: read, ls, grep, find, bash
5
6
  output: speckit-sync.md
6
7
  ---
@@ -17,6 +18,10 @@ You are a SpecKit sync agent operating in one of three scopes based on the spawn
17
18
 
18
19
  Read "scope: ..." in the spawn prompt. Default: drift.
19
20
 
21
+ ## Output file
22
+
23
+ You have no write tool. When the task names an output file, your final reply becomes that file: pi-subagents saves it there. Never try to write the file yourself, even when told to; do not mention that you cannot, and do not wrap the reply in a code fence. When the task asks for a file but names no output path, return the full content for the caller to save.
24
+
20
25
  ## Output
21
26
 
22
27
  Return the structured sync result as your final message. Include scope, verdict, findings (an empty list for a clean verdict), and evidence; never reprint source documents, code, diffs, or the caller's brief.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: speckit-verify
3
3
  description: "Verifies SpecKit implementations; spawn with mode requirements, tasks or review."
4
+ acceptanceRole: read-only
4
5
  tools: read, ls, grep, find, bash
5
6
  output: speckit-verify.md
6
7
  ---
@@ -20,6 +21,10 @@ MUST Never reprint code, diffs, file contents or the caller's brief.
20
21
  MUST Report to your caller, never question the user; name missing context as a gap.
21
22
  MUST Start your reply with the Output section's `VERDICT:` line -- first characters, no markdown or code fence before it -- and stay within its word cap.
22
23
 
24
+ ## Output file
25
+
26
+ You have no write tool. When the task names an output file, your final reply becomes that file: pi-subagents saves it there. Never try to write the file yourself, even when told to; do not mention that you cannot, and do not wrap the reply in a code fence. When the task asks for a file but names no output path, return the full content for the caller to save.
27
+
23
28
  ## Output
24
29
 
25
30
  First line: `VERDICT: PASS|GAPS -- mode, one sentence why`; then evidence rows and actionable gaps.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srobroek/pi-speckit-beads",
3
- "version": "0.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "SpecKit on Beads: a tasks.md guard, setup, ledger and bugfix skills, formulas, and the speckit-sync and speckit-verify subagents.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -12,6 +12,7 @@
12
12
  "directory": "plugins/speckit-beads/pi"
13
13
  },
14
14
  "files": [
15
+ "CHANGELOG.md",
15
16
  "LICENSE",
16
17
  "README.md",
17
18
  "_kit",