@codyswann/lisa 4.22.6 → 4.22.8
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/all/copy-overwrite/scripts/check-release-package-identity.mjs +319 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +6 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +28 -14
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/sync/lifecycle-defaults.d.ts +21 -0
- package/dist/sync/lifecycle-defaults.d.ts.map +1 -1
- package/dist/sync/lifecycle-defaults.js +21 -1
- package/dist/sync/lifecycle-defaults.js.map +1 -1
- package/dist/sync/registry.d.ts.map +1 -1
- package/dist/sync/registry.js +7 -1
- package/dist/sync/registry.js.map +1 -1
- package/package.json +3 -2
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/plugins/lisa/rules/reference/config-resolution.md +30 -3
- package/plugins/lisa/scripts/resolve-lifecycle-role.mjs +340 -0
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/lisa/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/lisa/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/lisa/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/lisa/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/lisa/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/lisa/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/resolve-lifecycle-role.mjs +340 -0
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/lisa-agy/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-agy/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/lisa-agy/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/lisa-agy/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-agy/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/lisa-agy/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +30 -3
- package/plugins/lisa-copilot/scripts/resolve-lifecycle-role.mjs +340 -0
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/lisa-copilot/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-copilot/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/lisa-copilot/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/lisa-copilot/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-copilot/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/lisa-copilot/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +30 -3
- package/plugins/lisa-cursor/scripts/resolve-lifecycle-role.mjs +340 -0
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/lisa-cursor/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-cursor/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/lisa-cursor/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/lisa-cursor/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/lisa-cursor/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/lisa-cursor/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/rules/reference/config-resolution.md +30 -3
- package/plugins/src/base/scripts/resolve-lifecycle-role.mjs +340 -0
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +6 -5
- package/plugins/src/base/skills/lisa-github-prd-intake/SKILL.md +6 -5
- package/plugins/src/base/skills/lisa-github-sync/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-github-write-prd/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +6 -5
- package/plugins/src/base/skills/lisa-jira-sync/SKILL.md +3 -1
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +6 -5
- package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +12 -11
- package/plugins/src/base/skills/lisa-linear-prd-intake/SKILL.md +6 -5
- package/plugins/src/base/skills/lisa-linear-sync/SKILL.md +36 -20
- package/plugins/src/base/skills/lisa-tracker-sync/SKILL.md +22 -2
- package/scripts/check-release-package-identity.mjs +319 -0
- package/scripts/two-channel-couplings.json +17 -4
- package/typescript/copy-overwrite/.prettierignore +1 -0
|
@@ -21,7 +21,27 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
21
21
|
- Anything else → stop and report `"Unknown tracker '<value>' in .lisa.config.json. Expected 'jira', 'github', or 'linear'."`
|
|
22
22
|
3. Pass through the output.
|
|
23
23
|
|
|
24
|
-
`$ARGUMENTS` is forwarded verbatim, including the optional `--rollup` flag (see "Parent status rollup" below),
|
|
24
|
+
`$ARGUMENTS` is forwarded verbatim, including the optional `--rollup` flag (see "Parent status rollup" below), `pr_url=<url>`, and `merge_sha=<sha>`. The shim never interprets these — the vendor skill does.
|
|
25
|
+
|
|
26
|
+
> **There is no per-milestone lane-write flag on any vendor.** This paragraph previously documented `--update-label` on GitHub and `--update-state` on Linear. `--update-label` was never implemented — `lisa-github-sync` says flatly *"This skill never relabels"* — so a caller passing it got a silent no-op on GitHub and a real write on Linear for the equivalent flag. Both are gone. `--rollup` is the only write path a sync skill has.
|
|
27
|
+
|
|
28
|
+
## Tracker status vocabulary — binding on all three arms
|
|
29
|
+
|
|
30
|
+
Every suggested or performed transition names **only a role the project configured**, never a status, state or label discovered from the tracker's live workflow (transition lists, board columns, `type`-derived matches, other tickets). This binds a lead performing tracker writes exactly as it binds a subagent.
|
|
31
|
+
|
|
32
|
+
Two consequences the vendor arms must not restate differently:
|
|
33
|
+
|
|
34
|
+
- **A milestone whose role is unset gets a comment, not a transition.** `review` and the `qa.*` roles are optional and carry **no default** — omitting one means the project does not run that step, and the lifecycle skips it. "Unset" must never resolve to a built-in name; that is the difference between "not customized" and "we deliberately don't do this".
|
|
35
|
+
- **A fallback may inform a read; it may never supply a write target.** Where a vendor exposes one (Linear resolves states by `type`), it selects by board position rather than intent — so on a board carrying more than one plausible state it returns whichever sits earliest, which is exactly the human-only lane a project left out of its config on purpose.
|
|
36
|
+
|
|
37
|
+
Resolve roles through the shared resolver rather than an inlined helper:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-lifecycle-role.mjs" \
|
|
41
|
+
--role <role> --vendor <jira|linear|github> --intent <read|write> [--env <env>]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Exit `0` with a value means configured; exit `0` with **empty** output means an optional role is unset — skip the transition; exit `2` means a required role is unset or a write was refused a fallback value.
|
|
25
45
|
|
|
26
46
|
If `$ARGUMENTS` is empty, all vendor skills auto-detect a ticket reference from the active plan file (most recently modified `.md` in `plans/`).
|
|
27
47
|
|
|
@@ -65,6 +85,6 @@ This is the reverse half of `lisa-git-submit-pr`'s PR body linkage. A PR that me
|
|
|
65
85
|
## Rules
|
|
66
86
|
|
|
67
87
|
- Idempotent updates — running sync at the same milestone twice should not produce duplicate comments. Vendor skills enforce this.
|
|
68
|
-
- Never
|
|
88
|
+
- Never transition a leaf's lane from a sync milestone on any vendor. The canonical signal differs — the `status:*` label on GitHub, the workflow status on JIRA, the native workflow state on Linear — but the owner is the same everywhere: build-intake / the vendor agent. Every arm only suggests. `--rollup` (parent derivation) is the sole exception, and it derives the parent from its children rather than advancing a leaf.
|
|
69
89
|
- Parent rollup derives state from children per the `leaf-only-lifecycle` rule; it never sets a parent to `ready` and never resolves a dev/staging `done` in this single-environment repo.
|
|
70
90
|
- Pull request backlinks are mandatory when `pr_url=<url>` is present: native first, managed-comment fallback, never silently dropped.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.8",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.8",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.8",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.8",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.8",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -352,7 +352,7 @@ When `github.projects.v2` is present, later setup/doctor and writer preflight va
|
|
|
352
352
|
|-------|---------------|-------|
|
|
353
353
|
| `linear.workspace` | `tracker = "linear"`, `source = "linear"`, or any `linear-*` skill is invoked | Linear workspace slug (e.g. `acme`). |
|
|
354
354
|
| `linear.teamKey` | `tracker = "linear"` | Linear team key (e.g. `ENG`). The team owns the destination Issues. For source mode, projects are workspace-scoped or team-scoped per the URL passed. |
|
|
355
|
-
| `linear.workflow` | `tracker = "linear"` | Workflow **state** name per build lifecycle role — the Linear analogue of `jira.workflow`, not of `github.labels`. Defaults `{ ready: "Ready", claimed: "In Progress",
|
|
355
|
+
| `linear.workflow` | `tracker = "linear"` | Workflow **state** name per build lifecycle role — the Linear analogue of `jira.workflow`, not of `github.labels`. Defaults `{ ready: "Ready", claimed: "In Progress", blocked: "Blocked", done: { dev: "On Dev", staging: "On Stg", production: "Done" } }` — **no `review` key**, because it is optional and a default would be materialized into the project's config by `lisa sync`. **`ready` is a dedicated state, never the team's default** — see below. Resolve and verify with `/lisa:setup:linear`. |
|
|
356
356
|
| `linear.labels` | `tracker = "linear"` or `source = "linear"` | **Markers and the PRD lane only.** `build.human_needed` (default `human-needed`) and the `prd.*` map. The build lifecycle does **not** live here — see `linear.workflow`. |
|
|
357
357
|
|
|
358
358
|
##### Why Linear uses states, not labels
|
|
@@ -439,13 +439,40 @@ Every lifecycle skill operates on a fixed set of **roles** (`ready`, `claimed`,
|
|
|
439
439
|
|---|---|---|---|---|
|
|
440
440
|
| `ready` | Human signal "this is buildable; agent may claim" | `Ready` (status) | `Ready` (state) | `status:ready` (label) |
|
|
441
441
|
| `claimed` | Agent has picked the item up | `In Progress` (status) | `In Progress` (state) | `status:in-progress` (label) |
|
|
442
|
-
| `review` | Optional post-build review hold, when a tracker/project still uses one |
|
|
442
|
+
| `review` | Optional post-build review hold, when a tracker/project still uses one | **no default** | **no default** | **no default** |
|
|
443
443
|
| `blocked` | Agent stopped on triage ambiguities or external blocker | `Blocked` (status) | `Blocked` (state) | `status:blocked` (label) |
|
|
444
444
|
| `done` | Terminal state for this work, **env-keyed** | map of env → status | map of env → state | map of env → label |
|
|
445
445
|
|
|
446
446
|
**JIRA and Linear resolve roles to native workflow statuses/states** (`jira.workflow`, `linear.workflow`); **GitHub resolves them to labels** (`github.labels.build`) because GitHub Issues has no workflow-state field at all. A role transition is therefore a *state move* on JIRA and Linear, and a *label swap* on GitHub. Skills operate on roles and never hardcode either form.
|
|
447
447
|
|
|
448
|
-
|
|
448
|
+
### R1 — an absent OPTIONAL role means SKIP, never a default
|
|
449
|
+
|
|
450
|
+
`ready`, `claimed`, `blocked` and `done` are **required**; omitting one is a setup defect and a skill must say so. `review`, the `qa.*` roles and `human_needed` are **optional and carry no built-in default on any vendor**. Omitting one means the project does not run that step, and every lifecycle skill skips the transition — the item simply stays in its current role.
|
|
451
|
+
|
|
452
|
+
A default on an optional role breaks this twice over. Vendor default maps are `defaultValue`s in `sync/registry`, so `lisa sync` **materializes** them into a project's `.lisa.config.json` — a project that deliberately omitted `review` finds it written back in. And as a resolution fallback, a default makes "unset" indistinguishable from "not customized", so no project can express *"we have no agent review step."*
|
|
453
|
+
|
|
454
|
+
Measured downstream: a project bound no `review` role — its policy was that a PR-open ticket stays in `claimed` until it reaches an environment — and agents moved two issues into a human-only review state regardless, because every layer that could have honoured the omission supplied a default instead.
|
|
455
|
+
|
|
456
|
+
GitHub has always been correct here (`BUILD_LABEL_DEFAULTS` seeds no `review`), and `lisa-jira-evidence/scripts/post-evidence.sh` has always implemented it correctly (`REVIEW=""`, explicit skip branch). The default maps for JIRA and Linear now agree with them.
|
|
457
|
+
|
|
458
|
+
### R2 — a fallback may inform a READ, never supply a WRITE target
|
|
459
|
+
|
|
460
|
+
Where a vendor exposes a fallback for a missing role — Linear resolves states by `type`, since Linear states carry one — it may be used to *read*. It must **never** supply a value to write.
|
|
461
|
+
|
|
462
|
+
Such a fallback selects by **board position**, not intent. On a board carrying more than one plausible state it returns whichever sits earliest, and the states that surface that way are precisely the human-only lanes a project kept out of its config on purpose. Measured on one board: with `blocked` and `claimed` already bound, the lowest-position unbound `started` state was a human-only review lane, and that is exactly where two issues landed.
|
|
463
|
+
|
|
464
|
+
`ready` has no fallback at all, in either direction — see below.
|
|
465
|
+
|
|
466
|
+
### The single resolver
|
|
467
|
+
|
|
468
|
+
Every skill resolves roles through `${CLAUDE_PLUGIN_ROOT}/scripts/resolve-lifecycle-role.mjs`, never an inlined `read_role()` helper. Twelve skills previously inlined one and produced **eleven distinct implementations**; that copy-paste is what let the vendors drift apart on R1.
|
|
469
|
+
|
|
470
|
+
```bash
|
|
471
|
+
node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-lifecycle-role.mjs" \
|
|
472
|
+
--role <role> --vendor <jira|linear|github> --intent <read|write> [--env <env>]
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
Exit `0` with a value → configured. Exit `0` with **empty** output → an optional role is unset; skip the transition. Exit `2` → a required role is unset, or a write was refused a fallback value.
|
|
449
476
|
|
|
450
477
|
**`ready` must never resolve to the team's DEFAULT state.** `Todo` is where Linear puts a brand-new issue, so using it for `ready` inverts the gate: the lane stops meaning "a human flipped this to build-ready" and starts meaning "nobody has touched this". Measured on the first team migrated: 20 issues in the lane, only 8 ever explicitly marked ready. JIRA avoids this because `jira.workflow.ready` is a dedicated `Ready` status while a fresh ticket lands in the project default.
|
|
451
478
|
|