@srobroek/pi-speckit-beads 3.0.1 → 3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## speckit-beads [3.2.0](https://github.com/srobroek/harness-plugins/compare/speckit-beads--v3.1.0...speckit-beads--v3.2.0) (2026-12-05)
2
+
3
+ ### Features
4
+
5
+ * **beads:** hide the Beads tools and skill without a store ([#309](https://github.com/srobroek/harness-plugins/issues/309)) ([8375f31](https://github.com/srobroek/harness-plugins/commit/8375f314cea217da32c0a3c236d76d661bf83efc))
6
+
7
+ ## speckit-beads [3.1.0](https://github.com/srobroek/harness-plugins/compare/speckit-beads--v3.0.1...speckit-beads--v3.1.0) (2026-12-05)
8
+
9
+ ### Features
10
+
11
+ * **beads:** fold the beads skills into one beads-guide skill ([#306](https://github.com/srobroek/harness-plugins/issues/306)) ([dac13cb](https://github.com/srobroek/harness-plugins/commit/dac13cb58841044c37e63d22aa40a1b7cdc70f54))
12
+
13
+ ### Bug Fixes
14
+
15
+ * **agents:** stop pinning tool allowlists on shipped children ([#290](https://github.com/srobroek/harness-plugins/issues/290)) ([750e46a](https://github.com/srobroek/harness-plugins/commit/750e46af91b6e3a5588d602de119711231c5e0c9))
16
+
1
17
  ## speckit-beads [3.0.1](https://github.com/srobroek/harness-plugins/compare/speckit-beads--v3.0.0...speckit-beads--v3.0.1) (2026-12-04)
2
18
 
3
19
  ## speckit-beads [3.0.0](https://github.com/srobroek/harness-plugins/compare/speckit-beads--v2.3.1...speckit-beads--v3.0.0) (2026-12-04)
package/agents/spec.md CHANGED
@@ -1,7 +1,6 @@
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, contact_supervisor, speckit_setup, speckit_start, speckit_commit, mcp:context7
5
4
  allowedAgents: scout, researcher, architect, speckit-verify, speckit-sync
6
5
  subagentOnlyExtensions: npm:@srobroek/pi-speckit-beads
7
6
  inheritProjectContext: true
@@ -2,7 +2,6 @@
2
2
  name: speckit-sync
3
3
  description: "Audits SpecKit artifacts; spawn with scope drift, conflicts, or both."
4
4
  acceptanceRole: read-only
5
- tools: read, ls, grep, find, bash
6
5
  output: speckit-sync.md
7
6
  ---
8
7
 
@@ -20,7 +19,7 @@ Read "scope: ..." in the spawn prompt. Default: drift.
20
19
 
21
20
  ## Output file
22
21
 
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.
22
+ Do not edit, write or commit; you are read-only by instruction. 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 this instruction, 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
23
 
25
24
  ## Output
26
25
 
@@ -2,7 +2,6 @@
2
2
  name: speckit-verify
3
3
  description: "Verifies SpecKit implementations; spawn with mode requirements, tasks or review."
4
4
  acceptanceRole: read-only
5
- tools: read, ls, grep, find, bash
6
5
  output: speckit-verify.md
7
6
  ---
8
7
 
@@ -23,7 +22,7 @@ MUST Start your reply with the Output section's `VERDICT:` line -- first charact
23
22
 
24
23
  ## Output file
25
24
 
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.
25
+ Do not edit, write or commit; you are read-only by instruction. 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 this instruction, 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
26
 
28
27
  ## Output
29
28
 
@@ -2351,26 +2351,28 @@ function repositoryState(cwd) {
2351
2351
  current = parent;
2352
2352
  }
2353
2353
  }
2354
- function sessionPinFor(cwd) {
2354
+ function sessionPinCandidates(cwd) {
2355
2355
  const local = resolve5(cwd, ".beads");
2356
2356
  const common = repoIdentity(cwd);
2357
2357
  if (common === undefined)
2358
- return;
2358
+ return [];
2359
2359
  if (common !== cwd && common.endsWith("/.git")) {
2360
2360
  const primaryRoot = resolve5(common, "..");
2361
2361
  try {
2362
- if (realpathSync2(cwd) === primaryRoot && isDir(local))
2363
- return local;
2362
+ if (realpathSync2(cwd) === primaryRoot)
2363
+ return [local];
2364
2364
  } catch {
2365
- return;
2365
+ return [];
2366
2366
  }
2367
- const primary = resolve5(primaryRoot, ".beads");
2368
- if (isDir(primary))
2369
- return primary;
2367
+ return [resolve5(primaryRoot, ".beads"), local];
2370
2368
  }
2371
- if (isDir(local))
2372
- return local;
2373
- return;
2369
+ return [local];
2370
+ }
2371
+ function existingStore(candidates) {
2372
+ return candidates.find(isDir);
2373
+ }
2374
+ function sessionPinFor(cwd) {
2375
+ return existingStore(sessionPinCandidates(cwd));
2374
2376
  }
2375
2377
  function storeFromBeadsDb(value, cwd) {
2376
2378
  const path = resolve5(cwd, value);
@@ -3233,11 +3235,16 @@ function withoutInheritedPin(env) {
3233
3235
  delete rest.BEADS_DIR;
3234
3236
  return rest;
3235
3237
  }
3236
- function shellPin(cwd, env, pinFor = sessionPinFor) {
3238
+ function sessionStore(cwd, env, pinFor = sessionPinFor) {
3237
3239
  const own = withoutInheritedPin(env);
3238
3240
  if (own.BEADS_DIR !== undefined && own.BEADS_DIR !== "")
3239
- return;
3240
- return ambientStore(cwd, { ...own, BEADS_DIR: undefined }, pinFor);
3241
+ return { store: own.BEADS_DIR, chosenBy: "user" };
3242
+ const pin = ambientStore(cwd, { ...own, BEADS_DIR: undefined }, pinFor);
3243
+ return pin === undefined ? undefined : { store: pin, chosenBy: "pin" };
3244
+ }
3245
+ function shellPin(cwd, env, pinFor = sessionPinFor) {
3246
+ const chosen = sessionStore(cwd, env, pinFor);
3247
+ return chosen?.chosenBy === "pin" ? chosen.store : undefined;
3241
3248
  }
3242
3249
  function selectStore(cwd, base, pinFor = sessionPinFor) {
3243
3250
  const own = withoutInheritedPin(base);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srobroek/pi-speckit-beads",
3
- "version": "3.0.1",
3
+ "version": "3.2.0",
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"
@@ -121,7 +121,7 @@ already covers a story's design, close its design step with a note naming plan.m
121
121
  ## Release slices
122
122
 
123
123
  When `bd config get release.model` prints `rc`, the ledger plans each release as
124
- slices. Read the beads plugin's `beads-ledger` skill, `references/release-slices.md`,
124
+ slices. Read the beads plugin's `beads-guide` skill, `references/release-slices.md`,
125
125
  first. For a spec, that means:
126
126
 
127
127
  - Create the spec's feature epic and run root with `release:backlog` when no slice