@ligeti/step-beads 2.3.0 → 2.3.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.
Files changed (2) hide show
  1. package/README.md +10 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -15,15 +15,16 @@ These words are binding on this package. The project-wide vocabulary is
15
15
  [`docs/glossary.md`](../../docs/glossary.md); a word that reaches no further than this package is
16
16
  defined here instead, per [ADR-0006](../../adr/0006-ubiquitous-language-is-an-enforced-artifact.md).
17
17
 
18
- | Term | Definition | It is NOT |
19
- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
- | **Bead** | One tracked issue, as this package returns it: bd's `--json` wire object normalised to camelCase and narrowed to the ~20 fields we curate (`src/types.ts`). | Not bd's raw wire object — that has ~50 snake_case fields, and `parseBead` drops the ones we do not model. Not a Ligeti **run**, **step** or **resource**. |
21
- | **Bead id** | A bd issue id (`tst-c7a` shape), validated by `BeadId` to be argv-safe. | Not an arbitrary string. A leading `-` is rejected because bd's flag parser, like git's, scans every argv position for option-shaped values. |
22
- | **Status** | A bead's lifecycle value. bd ships seven (`open`, `in_progress`, `blocked`, `deferred`, `closed`, `pinned`, `hooked`) but they are user-extensible via `bd config set status.custom`, so `Bead.status` is a plain string. | Not a closed enum. `BeadStatus` exists only for callers that want to validate against the built-in set, and must not be used to parse bd's output. Not a "state" — see the project glossary's banned words. |
23
- | **External ref** | An identifier linking a bead to an issue in another system, paired with `sourceSystem`. | Not the bead id. |
24
- | **Human list** | The subset of beads labelled `human` — those needing a person's input — retrieved by `bd human list`, not by a label filter on `bd list`. | Not a status. A bead can be `open` and not `human`, or `human` and `blocked`. |
25
- | **Key** | A caller-chosen string that names one bead for the purpose of retrying `beads.create`, stored on the bead as the label `ligeti-key:<key>`. Unique per parent. | Not the bead id, which bd assigns. Not an idempotency key bd knows about: bd has no such concept, so the label is the whole mechanism. |
26
- | **Repo path** | The directory holding the bd database, passed as every step's `repoPath` input and given to `bd -C`. | Not a git worktree, though it is often the same directory. This package never creates or removes it. |
18
+ | Term | Definition | It is NOT |
19
+ | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | **Bead** | One tracked issue, as this package returns it: bd's `--json` wire object normalised to camelCase and narrowed to the ~20 fields we curate (`src/types.ts`). | Not bd's raw wire object — that has ~50 snake_case fields, and `parseBead` drops the ones we do not model. Not a Ligeti **run**, **step** or **resource**. |
21
+ | **Bead id** | A bd issue id (`tst-c7a` shape), validated by `BeadId` to be argv-safe. | Not an arbitrary string. A leading `-` is rejected because bd's flag parser, like git's, scans every argv position for option-shaped values. |
22
+ | **Status** | A bead's lifecycle value. bd ships seven (`open`, `in_progress`, `blocked`, `deferred`, `closed`, `pinned`, `hooked`) but they are user-extensible via `bd config set status.custom`, so `Bead.status` is a plain string. | Not a closed enum. `BeadStatus` exists only for callers that want to validate against the built-in set, and must not be used to parse bd's output. Not a "state" — see the project glossary's banned words. |
23
+ | **External ref** | An identifier linking a bead to an issue in another system, paired with `sourceSystem`. | Not the bead id. |
24
+ | **Human list** | The subset of beads labelled `human` — those needing a person's input — retrieved by `bd human list`, not by a label filter on `bd list`. | Not a status. A bead can be `open` and not `human`, or `human` and `blocked`. |
25
+ | **Key** | A caller-chosen string that names one bead for the purpose of retrying `beads.create`, stored on the bead as the label `ligeti-key:<key>`. Unique per parent. | Not the bead id, which bd assigns. Not an idempotency key bd knows about: bd has no such concept, so the label is the whole mechanism. |
26
+ | **Actor** | The name `bd` records as the author of a bead, comment or close: set per call with `--actor` (`beads.close`'s `actor`), or for everything a spawned agent runs through `BEADS_ACTOR` (`agent.launch`/`opencode.launch`'s `beadsActor`). | Not the Agent — one agent process can write beads under a caller-chosen actor name distinct from any identifier of the agent process itself. Not a Ligeti user or account — Ligeti has neither. |
27
+ | **Repo path** | The directory holding the bd database, passed as every step's `repoPath` input and given to `bd -C`. | Not a git worktree, though it is often the same directory. This package never creates or removes it. |
27
28
 
28
29
  ### `bead` vs `issue`
29
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ligeti/step-beads",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Ligeti step package: reads and mutates issues in a bd (beads) issue-tracker database via the bd CLI.",
5
5
  "keywords": [
6
6
  "ligeti-step"
@@ -26,11 +26,11 @@
26
26
  "dist"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@ligeti/sdk": "^2.4.0"
29
+ "@ligeti/sdk": "^2.5.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@ligeti/sdk": "2.4.0",
33
- "@ligeti/testing": "2.0.7"
32
+ "@ligeti/sdk": "2.5.0",
33
+ "@ligeti/testing": "2.1.0"
34
34
  },
35
35
  "scripts": {}
36
36
  }