@mmerterden/multi-agent-pipeline 20.16.0 → 20.17.1

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 (60) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +6 -5
  3. package/README.tr.md +6 -5
  4. package/docs/architecture.md +3 -3
  5. package/docs/ecosystem.md +5 -5
  6. package/docs/facts.json +14 -12
  7. package/docs/features.md +10 -2
  8. package/install/catalog-history.json +1 -1
  9. package/install/claude.mjs +41 -6
  10. package/install/codex.mjs +3 -3
  11. package/manifest.json +62 -49
  12. package/package.json +1 -1
  13. package/pipeline/commands/multi-agent/bug-bash/SKILL.md +154 -0
  14. package/pipeline/commands/multi-agent/review/SKILL.md +13 -9
  15. package/pipeline/commands/multi-agent/setup/SKILL.md +8 -6
  16. package/pipeline/commands/multi-agent/sync/SKILL.md +4 -3
  17. package/pipeline/commands/multi-agent/update/SKILL.md +5 -1
  18. package/pipeline/commands/sim-test.md +71 -6
  19. package/pipeline/lib/plugin-skill-roots.mjs +80 -0
  20. package/pipeline/lib/usage-lifecycle.mjs +83 -0
  21. package/pipeline/multi-agent-refs/cross-cli-contract.md +20 -4
  22. package/pipeline/multi-agent-refs/features/assertion-judge.md +76 -0
  23. package/pipeline/multi-agent-refs/features/exploratory-testing.md +140 -0
  24. package/pipeline/multi-agent-refs/features/skill-conformance.md +1 -1
  25. package/pipeline/multi-agent-refs/features/usage-reporting.md +129 -36
  26. package/pipeline/multi-agent-refs/features/valven.md +30 -3
  27. package/pipeline/multi-agent-refs/help/en.md +2 -0
  28. package/pipeline/multi-agent-refs/help/tr.md +2 -0
  29. package/pipeline/multi-agent-refs/phases/phase-0-init.md +1 -1
  30. package/pipeline/multi-agent-refs/phases/phase-4-commit.md +2 -2
  31. package/pipeline/schemas/bug-bash-verification.schema.json +41 -0
  32. package/pipeline/schemas/explore-run.schema.json +108 -0
  33. package/pipeline/schemas/prefs.schema.json +24 -3
  34. package/pipeline/scripts/_stack-routing.mjs +2 -0
  35. package/pipeline/scripts/bug-bash.mjs +379 -0
  36. package/pipeline/scripts/explore-findings.mjs +410 -0
  37. package/pipeline/scripts/gen-skills-index.mjs +1 -2
  38. package/pipeline/scripts/pr-timeline.mjs +135 -0
  39. package/pipeline/scripts/pre-commit-check.sh +4 -2
  40. package/pipeline/scripts/skill-conformance.mjs +17 -71
  41. package/pipeline/scripts/smoke-cross-cli-behavior.sh +1 -1
  42. package/pipeline/scripts/uninstall.mjs +29 -8
  43. package/pipeline/scripts/usage-identity.mjs +311 -26
  44. package/pipeline/scripts/usage-register.mjs +268 -62
  45. package/pipeline/scripts/usage-report.mjs +59 -7
  46. package/pipeline/scripts/valven-gate.mjs +292 -11
  47. package/pipeline/skills/.skill-manifest.json +18 -10
  48. package/pipeline/skills/.skills-index.json +28 -6
  49. package/pipeline/skills/shared/README.md +6 -4
  50. package/pipeline/skills/shared/core/multi-agent-bug-bash/SKILL.md +150 -0
  51. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +1 -1
  52. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +5 -1
  53. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +4 -3
  54. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +4 -1
  55. package/pipeline/skills/shared/external/e2e-testing/SKILL.md +124 -0
  56. package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +65 -0
  57. package/pipeline/skills/shared/external/valven-rules/SKILL.md +93 -0
  58. package/pipeline/skills/shared/{core → external}/valven-rules/references/rules.yml +52 -6
  59. package/pipeline/skills/skills-index.md +4 -2
  60. package/pipeline/skills/shared/core/valven-rules/SKILL.md +0 -62
@@ -1,62 +0,0 @@
1
- ---
2
- name: valven-rules
3
- description: "Delivery-flow rules from the metrics Valven reports: PR size, one concern per PR, tests with source, issue keys, no WIP commits, rework, PR body, small hotfixes. Use when developing, committing or reviewing a change held to these rules, or splitting a branch into stacked PRs."
4
- user-invocable: false
5
- metadata:
6
- language: en
7
- standards-registry: references/rules.yml
8
- ---
9
-
10
- # valven-rules
11
-
12
- The registry is `references/rules.yml`. It holds two blocks:
13
-
14
- | Block | Who checks it | Read by |
15
- |---|---|---|
16
- | `gate_rules` | `scripts/valven-gate.mjs`, from the diff, the commit subjects, the branch name and the PR body | the gate only |
17
- | `rules` | the reviewers, as judgement | `skill-conformance.mjs`, which puts them in `${CRITERIA}` |
18
-
19
- Measured rules stay out of `rules` on purpose: a reviewer asked for a verdict on a line count
20
- either recounts it or guesses, and both are worse than the number the script already has.
21
-
22
- ## Where it runs
23
-
24
- | Point | Command | A violation |
25
- |---|---|---|
26
- | Phase 1 Step 6 | plan estimates lines per task against `VLV-SIZE-01` | the plan proposes stacked slices before any code exists |
27
- | Phase 2 exit, Gate 6 | `valven-gate.mjs --mode dev` | blocks the handoff to Review; size findings set `state.valven.splitRequired` |
28
- | Phase 4, before push | `valven-gate.mjs --mode commit`, then `valven-split.mjs` when a split is required | the branch ships as stacked pull requests, one per slice |
29
- | Phase 3 Step 3.0 and `/multi-agent:review` | `valven-gate.mjs --mode review` | findings merge into triage with `tag: valven`; an accepted one sets NEEDS WORK |
30
-
31
- ## Build on one branch, ship as small pull requests
32
-
33
- Work happens on one branch. When the gate reports `VLV-SIZE-01`, `VLV-SIZE-02` or
34
- `VLV-SCOPE-01`, `valven-split.mjs` plans slices of at most the size budget:
35
-
36
- 1. Pure renames and moves go first, as their own slice.
37
- 2. Each test file travels with the source file it pairs with.
38
- 3. Slices follow layer order: models and services, then view models and use cases, then views,
39
- then everything else.
40
- 4. A single file larger than the budget becomes its own slice and is reported, never cut.
41
-
42
- `--apply` materialises the plan as stacked branches `<branch>-p1` .. `<branch>-pN`: `-p1` from the
43
- base, each next one from the previous. The top of the stack has the same tree as the original
44
- branch, which the script verifies before it reports success. Each slice is built before its
45
- pull request opens; a slice that does not build is merged into its neighbour and the plan is
46
- re-run.
47
-
48
- ## Old work moves, it is not rebased
49
-
50
- `VLV-AGE-01`, `VLV-BEHIND-01` and `VLV-TRACE-03` mean the branch carries old or foreign work.
51
- `valven-port.mjs --apply` cuts `<branch>-v2` from the current base tip and applies the net change
52
- with `git apply --3way` as one commit; a conflict rolls back and names the paths. Port first, then
53
- split. Contract: `multi-agent-refs/features/valven.md`, "Old work".
54
-
55
- ## Thresholds
56
-
57
- Defaults live in `gate_rules`. `prefs.global.valven.thresholds` overrides them per rule ID, for
58
- example `{"VLV-SIZE-01": {"important_over": 300}}`. `prefs.global.valven.enabled: false` turns the
59
- gate off; the run then logs `valven: disabled by prefs` so a skipped check never reads as a pass.
60
-
61
- A rule the gate cannot measure (no checkout for the rework blame, no PR body in branch mode) is
62
- reported as `not-measured` with the reason.