@snarkipus/opencode-beads 1.1.0-beta.1 → 1.1.0-beta.2

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/README.md CHANGED
@@ -7,21 +7,21 @@
7
7
 
8
8
  [Beads](https://github.com/gastownhall/beads) issue tracker integration for [OpenCode](https://opencode.ai).
9
9
 
10
- `@snarkipus/opencode-beads` is a maintained OpenCode adapter that gives OpenCode 2 the integration `bd setup claude` gives Claude Code: `bd prime` workflow context on every request, refreshed after compaction and when a session resumes, plus a bounded task agent. Published 1.0.2 completes one Bead per invocation; the beta/next candidate below follows the authorized scope. It does not replace Beads: the installed `bd` CLI remains authoritative for issues, project initialization, skills, migrations, backups, and Dolt synchronization.
10
+ `@snarkipus/opencode-beads` is a maintained OpenCode adapter that gives OpenCode 2 the integration `bd setup claude` gives Claude Code: `bd prime` workflow context on every request, refreshed after compaction and when a session resumes, plus a bounded task agent. Published 1.0.2 completes one Bead per invocation; the published beta/next release follows the authorized scope. It does not replace Beads: the installed `bd` CLI remains authoritative for issues, project initialization, skills, migrations, backups, and Dolt synchronization.
11
11
 
12
12
  This is an independent project maintained by Matt Jackson under the MIT license. It began as a fork of [Josh Thomas's `opencode-beads`](https://github.com/joshuadavidthomas/opencode-beads), and the original work remains credited to its author. 1.0 rebuilt the plugin for OpenCode 2, and development now continues here independently. It vendors nothing from upstream Beads; instead, every Beads release is checked against the `bd` behavior the plugin relies on (see [Tracking upstream Beads](#tracking-upstream-beads)).
13
13
 
14
- This branch prepares **1.1.0-beta.1**, an opt-in beta for npm dist-tag `next`; publication remains pending owner approval. The beta's normal public entrypoint enables the eleven qualified operations in the native `beads` code-mode namespace on supported hosts: find, get, edges, memories, recall, claim, note, selected-field update, close, create and remember. No wrapper, internal dependency injection, manual skill copy or activation setting is needed. The opt-in is selecting the beta artifact. The published stable 1.0.2 package is unchanged.
14
+ This release is **1.1.0-beta.2**, an opt-in beta targeting npm dist-tag `next`; its integration diagnostic command is `oc-beads:diagnostics`. Beta.1 used `oc-beads:status`; the rename is documented below. The beta's normal public entrypoint enables the eleven qualified operations in the native `beads` code-mode namespace on supported hosts: find, get, edges, memories, recall, claim, note, selected-field update, close, create and remember. No wrapper, internal dependency injection, manual skill copy or activation setting is needed. The opt-in is selecting the beta artifact. The published stable 1.0.2 package is unchanged.
15
15
 
16
- The beta registers 29 `oc-beads:<stem>` workflows plus `oc-beads:status` through ordinary native command registration and owns its packaged `oc-beads` skill at the installed path, with all 15 corpus resources plus CODE_MODE and ADR (17 links). User configuration/file commands retain native precedence on load and rebuild; removing an override restores the package definition. Other plugin conflicts follow native ordering. Status reports observed registration and name/description mismatches; identical-description overrides and public owner identity remain unobservable.
16
+ Beta.2 registers 29 `oc-beads:<stem>` workflows plus `oc-beads:diagnostics` through ordinary native command registration and owns its packaged `oc-beads` skill at the installed path, with all 15 corpus resources plus CODE_MODE and ADR (17 links). User configuration/file commands retain native precedence on load and rebuild; removing an override restores the package definition. Other plugin conflicts follow native ordering. Diagnostics reports observed registration and name/description mismatches; identical-description overrides and public owner identity remain unobservable.
17
17
 
18
- Typed registration requires the host tool, permission and session interfaces. Status reports unavailable interfaces honestly; actual request capabilities, catalog discovery and per-operation permissions determine which operations can run. Native shell remains direct-only and cannot be called inside execute. Structured results preserve partial, failed and uncertain outcomes, and writes retain the actual session-and-agent Beads actor. Read [CODE_MODE.md](assets/oc-beads/resources/CODE_MODE.md) for composition and recovery.
18
+ Typed registration requires the host tool, permission and session interfaces. The integration diagnostic command reports unavailable interfaces honestly; actual request capabilities, catalog discovery and per-operation permissions determine which operations can run. Native shell remains direct-only and cannot be called inside execute. Structured results preserve partial, failed and uncertain outcomes, and writes retain the actual session-and-agent Beads actor. Read [CODE_MODE.md](assets/oc-beads/resources/CODE_MODE.md) for composition and recovery.
19
19
 
20
- All 16 implementation tasks have parent acceptance on exact OpenCode 2.1.1 / Beads 1.3.1. The [final acceptance record](docs/code-mode-final-acceptance-vuy9.md) and [bounded installed/model evaluation](docs/opencode-installed-model-continuation-vuy9.md) retain their historical candidates and probes; this beta adds the public entrypoint and release-channel wiring. **Known limitation:** plain decline of a nested permission request does not stop the entire composition; a later independent operation can ask again. Use explicit Stop/Cancel to stop the composition. No token-saving, cross-provider checkpoint portability or multi-hour reliability claim is made.
20
+ All 16 implementation tasks have parent acceptance on exact OpenCode 2.1.1 / Beads 1.3.1. The [final acceptance record](docs/code-mode-final-acceptance-vuy9.md) and [bounded installed/model evaluation](docs/opencode-installed-model-continuation-vuy9.md) retain their historical candidates and probes; the published beta adds the public entrypoint and release-channel wiring. **Known limitation:** plain decline of a nested permission request does not stop the entire composition; a later independent operation can ask again. Use explicit Stop/Cancel to stop the composition. No token-saving, cross-provider checkpoint portability or multi-hour reliability claim is made.
21
21
 
22
22
  ## Design
23
23
 
24
- The beta/next candidate uses scope-bounded task execution:
24
+ The published beta/next release uses scope-bounded task execution:
25
25
 
26
26
  - The primary OpenCode thread retains planning context, decisions, and control.
27
27
  - An exact assignment or explicit one-bead mode stops with that item; read-only graph requests never authorize claims or writes.
@@ -41,19 +41,19 @@ The beta requires OpenCode `>=2.1.1 <2.2` and `bd` 1.3.1 or later. Exact OpenCod
41
41
 
42
42
  `bd init` owns project initialization and creates the canonical shared Beads skill at `.agents/skills/beads`, which OpenCode discovers. It also writes a minimal Beads section to `AGENTS.md` that points to `bd prime`, the same pointer Beads gives Claude Code in `CLAUDE.md`. The published stable package relies on that shared skill. The beta additionally owns its packaged `oc-beads` skill; it does not write startup files or change `.agents/skills/beads/SKILL.md`.
43
43
 
44
- 2. After beta publication, add the version-pinned plugin to `~/.config/opencode/opencode.json` for every project, or to a project's `.opencode/opencode.json`:
44
+ 2. Add the published, version-pinned plugin to `~/.config/opencode/opencode.json` for every project, or to a project's `.opencode/opencode.json`:
45
45
 
46
46
  ```json
47
47
  {
48
- "plugins": ["@snarkipus/opencode-beads@1.1.0-beta.1"]
48
+ "plugins": ["@snarkipus/opencode-beads@1.1.0-beta.2"]
49
49
  }
50
50
  ```
51
51
 
52
- To follow the beta channel after publication, use `"plugins": ["@snarkipus/opencode-beads@next"]` instead. To stay on stable, use `"plugins": ["@snarkipus/opencode-beads@latest"]` (currently 1.0.2); do not select the beta. Stable promotion requires separate approval.
52
+ To follow the published beta channel, use `"plugins": ["@snarkipus/opencode-beads@next"]` instead. To stay on stable, use `"plugins": ["@snarkipus/opencode-beads@latest"]` (currently 1.0.2); do not select the beta. Stable promotion requires separate approval.
53
53
 
54
54
  OpenCode loads configuration changes automatically. Update the pin explicitly when upgrading; an unpinned package entry is less reproducible. OpenCode 1.x plugins are not supported; use 0.10.x or earlier there.
55
55
 
56
- 3. Check the install: `opencode debug agents` lists `beads-task-agent`; `/oc-beads:status` reports native registration and observed capabilities. Discover `beads` through execute on a host/agent with the required permissions.
56
+ 3. Check the beta.2 install: `opencode debug agents` lists `beads-task-agent`; `/oc-beads:diagnostics` reports native registration and observed capabilities. Discover `beads` through execute on a host/agent with the required permissions. An installation still pinned to beta.1 continues to use `/oc-beads:status` until explicitly upgraded.
57
57
 
58
58
  ### Plugin options
59
59
 
@@ -63,7 +63,7 @@ Plugin options use the object form:
63
63
  {
64
64
  "plugins": [
65
65
  {
66
- "package": "@snarkipus/opencode-beads@1.1.0-beta.1",
66
+ "package": "@snarkipus/opencode-beads@1.1.0-beta.2",
67
67
  "options": { "luna": true, "autoMigrate": false }
68
68
  }
69
69
  ]
@@ -119,7 +119,13 @@ Before running prime, the plugin checks `bd version` and the configuration-only
119
119
 
120
120
  Published stable 1.0.2 registers no slash commands; `bd setup claude` installs none either. Ask the agent to work with Beads, have it load the canonical `beads` skill that `bd init` installs at `.agents/skills/beads` (OpenCode lists it and loads it with its `skill` tool), or use the `bd` CLI and the generated [Beads CLI reference](https://beads.gascity.com/cli-reference/index) directly. Versions before 1.0.0 shipped `/beads:*` commands adapted from upstream's Claude Code plugin; they duplicated `bd prime` and the skill.
121
121
 
122
- ## Removal and customization in the source candidate
122
+ The commands are workflow prompts, not exact CLI aliases. In particular, init guides human onboarding, prime reuses context or requests a guarded refresh, version reports installed versions and qualification limits, decision records rationale, template discovers formulas, and workflow guides authorized work and recovery. These purposes do not imply native `bd decision`, `bd template` or `bd workflow` commands.
123
+
124
+ Starting with beta.2, the package-owned `oc-beads:status` is removed without an alias. Use `oc-beads:diagnostics` for integration health and `oc-beads:stats` for the issue-database overview via `bd status` (alias `bd stats`). User-defined old status overrides are untouched and are not migrated; the package does not edit configuration.
125
+
126
+ `oc-beads:compact` guides semantic issue compaction with `bd admin compact`; `bd compact` squashes Dolt history and is a different operation. Neither is conversation compaction. A bare invocation explains the workflow; action requires explicit operation and authority. See the packaged [compact guidance](assets/oc-beads/resources/TROUBLESHOOTING.md) for mode/actor boundaries and upstream help uncertainty. `oc-beads:restore` retrieves pre-compaction issue content, displaying it by default; `--apply` requires explicit authority to write it back and does not mean database backup recovery. Quickstart uses installed help and authorized context; sync guides Dolt-remote synchronization, distinct from `bd federation sync`.
127
+
128
+ ## Removal and customization
123
129
 
124
130
  Remove the plugin's `plugins` entry to unload it. Cleanup aborts owned context/process work and its event observer, then awaits the scoped agent, skill, tool and hook disposers. It is idempotent and reports disposal failures. It never promises a final checkpoint after interruption. Reload starts with fresh session/location state. Package updates/removal belong to OpenCode's package lifecycle; this plugin has no installer or recursive asset watcher.
125
131
 
@@ -31,6 +31,25 @@ When typed composition is available, discover current signatures through native
31
31
  Follow [code-mode composition](resources/CODE_MODE.md) for bounded reads,
32
32
  projection, ordered writes, completeness, uncertainty and decline/Stop semantics.
33
33
 
34
+ ## Command purposes
35
+
36
+ The package's commands are workflow prompts, not exact CLI aliases. Use
37
+ `oc-beads:diagnostics` for integration discovery, compatibility and context health
38
+ without opening a store; use `oc-beads:stats` for the issue-database overview via
39
+ `bd status` (alias `bd stats`). The old package status name has no alias; user-owned
40
+ old-name overrides remain untouched without migration.
41
+
42
+ Broader workflows retain their purposes: init guides human onboarding, prime uses
43
+ current context or a guarded refresh, version reports installed versions and
44
+ qualification limits, decision records rationale, template discovers formulas,
45
+ and workflow guides authorized work/recovery. They do not invent absent native
46
+ commands. Quickstart uses installed `bd quickstart` help and authorized context.
47
+ Compact targets semantic `bd admin compact`, not Dolt-history `bd compact` or
48
+ conversation compaction; restore retrieves pre-compaction issue content, displaying
49
+ it by default and requiring explicit write authority for `--apply`. Sync means
50
+ Dolt-remote synchronization, distinct from `bd federation sync`. Follow the linked
51
+ CLI reference, troubleshooting, resumability and worktree guidance before action.
52
+
34
53
  ## Work within the assigned scope
35
54
 
36
55
  - Read the relevant issue and its dependencies before changing tracked state.
@@ -18,3 +18,25 @@ If a command or flag in an old example is absent from current help, do not guess
18
18
  its spelling or use a hidden interface. State the limitation and use a supported
19
19
  equivalent only when it preserves the requested outcome and authority. A static
20
20
  resource cannot prove installed host behavior or package delivery.
21
+
22
+ ## Package workflows and native operations
23
+
24
+ Package commands are workflow prompts, not exact CLI aliases. `oc-beads:diagnostics`
25
+ reports integration health without opening a store; `oc-beads:stats` guides the
26
+ issue-database overview using `bd status` (alias `bd stats`). The package's old
27
+ status command is removed without an alias; user-owned old-name overrides remain
28
+ untouched and are not migrated.
29
+
30
+ Init guides human onboarding; prime uses supplied context or a guarded refresh;
31
+ version reports installed versions and qualification limits; decision records
32
+ rationale; template discovers formulas; workflow guides authorized work/recovery.
33
+ Do not manufacture native decision, template or workflow commands. Quickstart
34
+ uses installed `bd quickstart` help and authorized context, without implicit setup.
35
+
36
+ Compact guides semantic `bd admin compact`, not `bd compact` Dolt-history
37
+ squashing or conversation compaction; consult TROUBLESHOOTING.md for authority,
38
+ modes, explicit actor and inconsistent upstream help. Restore retrieves
39
+ pre-compaction issue content, display-only by default; `--apply` needs explicit
40
+ write authority and is not database backup recovery (see RESUMABILITY.md). Sync
41
+ uses Dolt-remote synchronization, distinct from `bd federation sync` and removed
42
+ JSONL sync (see WORKTREES.md). Inspect installed help and preserve authority.
@@ -81,3 +81,12 @@ manual fallback. If a write timed out, read the issue before retrying; the first
81
81
  write may have landed. Preserve uncertainty explicitly until it is resolved.
82
82
 
83
83
  Use the current CLI syntax from `bd prime` and command help when authorized.
84
+
85
+ ## Restore pre-compaction issue content
86
+
87
+ `oc-beads:restore` guides `bd restore` retrieval of pre-compaction issue content,
88
+ display-only by default. `--apply` requires explicit authority to write that
89
+ content back to the issue. This is not database backup recovery, Git history
90
+ restoration or general store repair. Inspect installed help and report missing
91
+ content or uncertainty honestly; conflicting compact/restore help does not
92
+ establish guaranteed recovery or reversibility.
@@ -19,6 +19,28 @@ limitation and use a documented replacement only when it preserves the needed
19
19
  semantics. The specialized `bd agent` and `bd slot` commands are absent from the
20
20
  inspected CLI; see [AGENTS.md](AGENTS.md).
21
21
 
22
+ ## Compact operation and authority
23
+
24
+ `oc-beads:compact` guides semantic issue compaction with `bd admin compact`.
25
+ `bd compact` squashes Dolt history and is a different operation; neither means
26
+ conversation compaction. A bare invocation explains the workflow, not authority
27
+ to act. Clarify the operation and scope when a request is ambiguous, and inspect
28
+ applicable installed help before any explicitly authorized action.
29
+
30
+ Prefer the agent-driven analyze/apply path. `--auto` sends issue content to an
31
+ external AI provider; `--dolt` performs storage garbage collection rather than
32
+ semantic summarization. These modes each require separate explicit authority;
33
+ ordinary compact approval selects neither. Always supply explicit `--actor`
34
+ for admin compact, which has its own local default of `agent`; do not inherit
35
+ that default or the human Git identity.
36
+
37
+ In the inspected Beads 1.3.1 help, admin compact's Usage/flags identify the semantic
38
+ operation but its examples still say `bd compact`. Its discard wording also
39
+ conflicts with restore's snapshot description. Do not copy those stale examples
40
+ or promise reversibility from that conflicting help. Report the uncertainty and
41
+ use applicable help and explicit authority for a future actual request. Do not
42
+ execute administration to validate this prose or repair upstream behavior.
43
+
22
44
  ## Store, migration, or routing problem
23
45
 
24
46
  If the CLI reports no store, an outdated schema, an unexpected location, or a
@@ -17,3 +17,8 @@ Use `bd worktree --help` and relevant subcommand help for current commands and
17
17
  safety checks. Inspect local changes before removal, preserve work that is not
18
18
  yours, and remove only a worktree whose cleanup is authorized. This resource
19
19
  does not create or clean up a worktree automatically.
20
+
21
+ `oc-beads:sync` guides `bd sync` Dolt-remote synchronization, distinct from
22
+ `bd federation sync` and removed JSONL sync. Inspect current help and synchronize
23
+ only with explicit authority. Report conflicts without forcing a side; the
24
+ installed Beads CLI owns synchronization and consistency semantics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snarkipus/opencode-beads",
3
- "version": "1.1.0-beta.1",
3
+ "version": "1.1.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "A maintained OpenCode V2 integration for the Beads issue tracker: bd prime context injection with a schema-migration guard, and a bounded task agent.",
6
6
  "author": "Matt Jackson",
package/src/host.ts CHANGED
@@ -254,7 +254,7 @@ export async function setupBeads(
254
254
  try { effectiveSkills = ctx.skill ? (await ctx.skill.list()).data.map((entry) => String(entry.id)) : "unavailable"; }
255
255
  catch { effectiveSkills = "unavailable: registry lookup failed"; }
256
256
  return JSON.stringify({
257
- host: hostVersion, admission: SUPPORTED_OPENCODE_RANGE, liveQualification: "not measured by status; see release acceptance evidence",
257
+ host: hostVersion, admission: SUPPORTED_OPENCODE_RANGE, liveQualification: "not measured by diagnostics; see release acceptance evidence",
258
258
  commands: {
259
259
  registration: commandRegistration,
260
260
  lookup: effectiveCommands ? "available" : "failed",
package/src/workflows.ts CHANGED
@@ -16,7 +16,7 @@ export const WORKFLOWS = {
16
16
  blocked: ["Inspect blocked work; distinguish explicit blocked status from dependency blocking.", "DEPENDENCIES"],
17
17
  close: ["Close only the requested work with acceptance and validation evidence and closure authority.", "WORKFLOWS"],
18
18
  comments: ["Read discussion or append the requested comment/checkpoint without replacing prior notes.", "RESUMABILITY"],
19
- compact: ["Explain or perform explicitly authorized administrative issue compaction using current CLI help; this is separate from conversation compaction.", "TROUBLESHOOTING"],
19
+ compact: ["Guide semantic issue compaction with bd admin compact only when explicitly authorized; bd compact squashes Dolt history and is a different operation. This is not conversation compaction.", "TROUBLESHOOTING"],
20
20
  create: ["Create the requested issue with useful description, acceptance/design and discovered-from provenance when applicable; leave it unassigned unless assignment is intentional.", "ISSUE_CREATION"],
21
21
  decision: ["Record the requested decision, rationale and alternatives; reference intended behavior and detailed rationale in their project-owned homes.", "INTEGRATION_PATTERNS"],
22
22
  delete: ["Inspect the requested deletion and its effects; delete only with explicit scoped authority, never as a substitute for closure.", "TROUBLESHOOTING"],
@@ -28,15 +28,15 @@ export const WORKFLOWS = {
28
28
  label: ["Inspect or update only requested labels while preserving the project's taxonomy.", "CLI_REFERENCE"],
29
29
  list: ["Retrieve issues with the requested supported filters. Retrieval does not authorize claims or task execution.", "CLI_REFERENCE"],
30
30
  prime: ["Use supplied current context when available; request a guarded full-context refresh only when authorized and no hold is active.", "RESUMABILITY"],
31
- quickstart: ["Provide onboarding using current prime/help and packaged guidance; the deprecated bd quickstart command is not assumed available.", "BOUNDARIES"],
31
+ quickstart: ["Guide onboarding with installed bd quickstart help, current authorized context and packaged guidance; do not initialize a store or assume commands unavailable in the installed CLI.", "BOUNDARIES"],
32
32
  ready: ["Inspect actionable work. Honor an exact assignment; claim and execute only work already within the authorized scope.", "WORKFLOWS"],
33
33
  "rename-prefix": ["Explain the requested project identifier migration and reference impact using current CLI help; require explicit migration authority.", "TROUBLESHOOTING"],
34
34
  reopen: ["Inspect current state, then reopen only the requested issue with the supplied regression/correction reason.", "WORKFLOWS"],
35
- restore: ["Inspect supported historical retrieval/restoration in the installed Dolt-based CLI; do not assume legacy Git restore syntax or restore without authority.", "RESUMABILITY"],
35
+ restore: ["Retrieve pre-compaction issue content with bd restore; display-only by default. Use --apply only with explicit authority to write that content back; this is not database backup recovery.", "RESUMABILITY"],
36
36
  search: ["Search issues using supported filters; distinguish issue search from reusable memory search.", "CLI_REFERENCE"],
37
37
  show: ["Read requested issue details, prior notes, acceptance and dependencies without mutating them.", "RESUMABILITY"],
38
- stats: ["Report the requested issue overview without automatically claiming work.", "CLI_REFERENCE"],
39
- sync: ["Inspect current bd sync help: current federation synchronization differs from removed JSONL sync. Synchronize only with explicit authority; disclose conflicts without forcing a side.", "WORKTREES"],
38
+ stats: ["Report the issue-database overview using bd status (alias bd stats); use oc-beads:diagnostics for integration health. Do not claim work.", "CLI_REFERENCE"],
39
+ sync: ["Inspect current bd sync help for Dolt-remote synchronization, distinct from bd federation sync and removed JSONL sync. Synchronize only with explicit authority; disclose conflicts without forcing a side.", "WORKTREES"],
40
40
  template: ["Discover supported templates/formulas through installed help; replace obsolete static template syntax and do not execute a formula automatically.", "MOLECULES"],
41
41
  update: ["Apply only requested field changes; use an atomic claim for authorized execution and append-style progress notes. Replacement of notes is intentional, never routine.", "RESUMABILITY"],
42
42
  version: ["Report actual installed CLI, package and host versions and qualification limits; do not hardcode a latest version or install/upgrade anything.", "CLI_REFERENCE"],
@@ -90,11 +90,12 @@ export function applyBeadsSkill(editor: SkillEditor, skill: BeadsSkill, diagnose
90
90
  /** Build native prompt commands, never shell/template interpolation or synthetic continuation. */
91
91
  export function createBeadsCommands(
92
92
  session: Pick<Plugin.Context["session"], "prompt">,
93
- status: (sessionID: string) => Promise<string>,
93
+ diagnostics: (sessionID: string) => Promise<string>,
94
94
  skillPath = BEADS_SKILL_PATH,
95
95
  signal?: AbortSignal,
96
96
  ): CommandDefinition[] {
97
97
  const common = [
98
+ "Workflow commands guide permitted operations, not exact CLI aliases.",
98
99
  "Follow repository/user authority and the exact requested scope. Do not bypass a hold with manual prime or other store access.",
99
100
  "Use actual request capabilities: discover the native beads namespace and compose supported daily operations in code mode when present. Native shell is direct-only; advanced/admin workflows use permissioned direct shell and current CLI help. Do not call tools.shell inside execute. Advanced guidance does not enable automation.",
100
101
  "Every agent-authored write, claim and heartbeat needs the host-rendered actual executor's command-scoped BEADS_ACTOR or --actor. Preserve authorship; read created_by, owner and assignee separately.",
@@ -115,11 +116,11 @@ export function createBeadsCommands(
115
116
  },
116
117
  }));
117
118
  commands.push({
118
- name: "oc-beads:status",
119
- description: "Inspect native discovery, conflicts, compatibility and context/persistence status without opening a store.",
119
+ name: "oc-beads:diagnostics",
120
+ description: "Inspect OpenCode Beads integration discovery, conflicts, compatibility and context/persistence diagnostics without opening a store; use oc-beads:stats for the issue-database overview.",
120
121
  async execute(input) {
121
122
  if (signal?.aborted) throw new Error("Beads workflow unloaded");
122
- const report = await status(input.sessionID);
123
+ const report = await diagnostics(input.sessionID);
123
124
  if (signal?.aborted) throw new Error("Beads workflow unloaded");
124
125
  await session.prompt({
125
126
  ...input.prompt, sessionID: input.sessionID, delivery: input.delivery,