@mmerterden/multi-agent-pipeline 20.25.0 → 20.26.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +6 -7
  3. package/README.tr.md +6 -7
  4. package/docs/architecture.md +3 -3
  5. package/docs/ecosystem.md +5 -5
  6. package/docs/facts.json +4 -5
  7. package/install/catalog-history.json +1 -1
  8. package/manifest.json +36 -37
  9. package/package.json +1 -1
  10. package/pipeline/commands/multi-agent/channels/SKILL.md +4 -2
  11. package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
  12. package/pipeline/lib/_jira-auth.sh +3 -1
  13. package/pipeline/lib/jira-family-write.sh +339 -0
  14. package/pipeline/lib/jira-publish.sh +28 -1
  15. package/pipeline/multi-agent-refs/channels/jira.md +2 -0
  16. package/pipeline/multi-agent-refs/cross-cli-contract.md +4 -4
  17. package/pipeline/multi-agent-refs/features/jira-family.md +175 -0
  18. package/pipeline/multi-agent-refs/help/en.md +0 -1
  19. package/pipeline/multi-agent-refs/help/tr.md +0 -1
  20. package/pipeline/multi-agent-refs/phases/phase-0-init.md +3 -1
  21. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +0 -2
  22. package/pipeline/schemas/agent-state.schema.json +36 -5
  23. package/pipeline/schemas/phases.json +0 -4
  24. package/pipeline/schemas/prefs.schema.json +23 -23
  25. package/pipeline/scripts/jira-family.mjs +947 -0
  26. package/pipeline/scripts/jira-wiki-escape.mjs +3 -3
  27. package/pipeline/skills/.skill-manifest.json +5 -9
  28. package/pipeline/skills/.skills-index.json +1 -12
  29. package/pipeline/skills/shared/README.md +3 -4
  30. package/pipeline/skills/shared/core/multi-agent/SKILL.md +5 -0
  31. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +7 -0
  32. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
  33. package/pipeline/skills/skills-index.md +1 -2
  34. package/pipeline/commands/multi-agent/deps/SKILL.md +0 -61
  35. package/pipeline/multi-agent-refs/features/dep-bump.md +0 -176
  36. package/pipeline/scripts/dep-bump.mjs +0 -1556
  37. package/pipeline/skills/shared/core/multi-agent-deps/SKILL.md +0 -60
@@ -1,60 +0,0 @@
1
- ---
2
- name: multi-agent-deps
3
- description: "Bump one dependency, fix only what the bump broke, review, open a PR; rolls back past the fix round cap. SwiftPM, Gradle, npm, pip. Use when a library needs updating."
4
- user-invocable: true
5
- argument-hint: "[package[@version]] [--major] - no package opens a picker over the outdated candidates; --major allows a breaking bump"
6
- metadata:
7
- language: en
8
- ---
9
-
10
- # multi-agent deps - bump one dependency and fix what it broke
11
-
12
- > **Pickers follow** `$HOME/.claude/multi-agent-refs/picker-contract.md`: never a one-option call, and branch on the option selected, not on its text.
13
-
14
- **Input**: $ARGUMENTS
15
-
16
- > **Language (read FIRST)**: read `prefs.global.outputLanguage` and render every conversational line in it. `AskUserQuestion` renders `question`, option `label`s and `description`s in `outputLanguage`; only `header` stays English (<=12-char chip). Commit messages and branch names stay English. Full contract: `$HOME/.claude/multi-agent-refs/rules.md` "Language Application".
17
-
18
- The normal pipeline with a fixed task. Read `$HOME/.claude/multi-agent-refs/features/dep-bump.md` first: it is the contract for every step below (run shape, scope rule, rollback). `dep-bump.mjs` does every deterministic step; never edit a version string or a lockfile by hand.
19
-
20
- ## Steps
21
-
22
- 1. **Repo and settings.** Resolve the repo as `/multi-agent` does for a free-text task (`_account-picker.md`, `_repo-picker.md`). Then:
23
- ```bash
24
- node "$HOME/.claude/scripts/dep-bump.mjs" config # depBump.maxFixRounds, depBump.queryRegistry
25
- node "$HOME/.claude/scripts/dep-bump.mjs" detect --dir "$REPO"
26
- ```
27
- No ecosystem detected: say so and stop.
28
-
29
- 2. **Candidates.**
30
- ```bash
31
- node "$HOME/.claude/scripts/dep-bump.mjs" list --dir "$REPO" [--registry] # --registry when queryRegistry is true
32
- ```
33
- Show `registry.note` and every per-package `note`: an offline listing is reported as offline, never as "nothing outdated".
34
- - `package@version` given: use it. `package` alone: its `latestInMajor`, else `latest`. Not in the list: stop with the manifests that were read.
35
- - No package: a single-select picker over the candidates with a newer version, non-breaking first, each option `name current -> target (risk)`. Two or more options per the picker contract; one candidate is confirmed with a yes/no, none means report "nothing newer found" with the registry note.
36
-
37
- 3. **Major gate.** Risk `major` or `unknown`, or a prerelease target (`prerelease: true`), needs `--major` in the input or an explicit confirmation naming the versions (`Bump anyway` / `Take {latestInMajor} instead` when one exists / `Cancel`). An autopilot run without `--major` takes `latestInMajor` or stops.
38
-
39
- 4. **Run the pipeline** with `state.mode = "deps"`, `state.taskType = "chore"`, the free-text task `chore(deps): bump {name} from {current} to {target}` and the branch `chore/deps-{name}-{target}` (kebab rules from Phase 0 Step 4). Phase 0 intake, worktree and tracker run as in `/multi-agent`. Then:
40
- - **Phase 1**: the fixed plan from the feature doc, with the changelog excerpt as evidence:
41
- ```bash
42
- node "$HOME/.claude/scripts/dep-bump.mjs" notes --dir "$WORKTREE" --ecosystem E --name N --from A --to B
43
- ```
44
- - **Phase 2**: apply first, then the exit gate as written:
45
- ```bash
46
- node "$HOME/.claude/scripts/dep-bump.mjs" apply --dir "$WORKTREE" --ecosystem E --name N --to B [--allow-major]
47
- ```
48
- Exit 1: report `error` and `lock.output` (or `dirty`: the worktree had uncommitted changes), stop with nothing to commit. Persist the output to `state.depBump`. Green: no dev agent, on to Phase 3. Red: fix rounds, at most `depBump.maxFixRounds`, each dispatched with the failing log tail, `surface` output, the changelog excerpt and the scope rule (feature doc section 4); after each round:
49
- ```bash
50
- node "$HOME/.claude/scripts/dep-bump.mjs" scope --dir "$WORKTREE" --log "$GATE_LOG" # the round's build/test log
51
- ```
52
- Only the surface recorded by `apply` is in scope. A file listed in `newImporters` with `cited: null` started importing the dependency without an error line behind it: revert it before the next round.
53
- - **Cap reached and still red** (or still out of scope): `dep-bump.mjs rollback --dir "$WORKTREE"` (restores the manifest, lockfile and fix files; anything under `kept` is reported, not discarded), set `state.depBump.rolledBack = true`, and end with the report from feature doc section 5. No commit, no push, no PR.
54
- - **Phase 3**: standard review. Each `outOfScope` file without a cited error line, and each `newImporters` entry with `cited: null`, is a blocking finding.
55
- - **Phase 4**: commit with `commitMessage` from `apply` (plus ` [{jiraId}]` when present). PR body per the feature doc; `Ref:` or `Related:`, never `Closes`, `Fixes` or `Resolves`, and never close an issue.
56
- - **Phase 5**: channels as in every mode.
57
-
58
- ## Report
59
-
60
- In `outputLanguage`, at most 10 lines: the dependency, from and to, risk, lockfile command and result, rounds taken against the cap, files changed (in scope / justified), review verdict, and the PR URL or the rollback reason.