create-byan-agent 2.42.0 → 2.44.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 (62) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/install/bin/byan-kanban.js +1 -1
  3. package/install/bin/create-byan-agent-v2.js +111 -111
  4. package/install/lib/byan-leantime-integration.js +2 -2
  5. package/install/lib/byan-web-integration.js +5 -5
  6. package/install/lib/claude-native-setup.js +11 -11
  7. package/install/lib/codex-native-setup.js +3 -3
  8. package/install/lib/exchange/agent-packager.js +1 -1
  9. package/install/lib/mcp-extensions/gdrive.js +5 -5
  10. package/install/lib/mcp-extensions/index.js +5 -5
  11. package/install/lib/phase2-chat.js +21 -21
  12. package/install/lib/platforms/claude-code.js +2 -2
  13. package/install/lib/project-agents-generator.js +4 -4
  14. package/install/lib/staging-consent.js +1 -1
  15. package/install/lib/subagent-generator.js +2 -3
  16. package/install/lib/utils/logger.js +4 -4
  17. package/install/lib/utils/node-detector.js +1 -1
  18. package/install/lib/yanstaller/agent-launcher.js +1 -1
  19. package/install/lib/yanstaller/index.js +11 -116
  20. package/install/lib/yanstaller/platform-selector.js +11 -11
  21. package/install/src/byan-v2/dispatcher/task-router.js +1 -1
  22. package/install/src/index.js +1 -1
  23. package/install/src/webui/api.js +0 -13
  24. package/install/src/webui/chat/bridge.js +1 -1
  25. package/install/src/webui/chat/cli-detector.js +1 -1
  26. package/install/templates/.claude/rules/native-workflows.md +22 -14
  27. package/install/templates/_byan/COMPLETION-REPORT.md +0 -1
  28. package/install/templates/_byan/core/activation/soul-activation.md +3 -3
  29. package/install/templates/_byan/mcp/byan-mcp-server/bin/byan-lint-workflows.js +6 -3
  30. package/install/templates/_byan/mcp/byan-mcp-server/lib/native-tiers.js +35 -17
  31. package/install/templates/_byan/mcp/byan-mcp-server/lib/workflows-lint.js +38 -0
  32. package/install/templates/_byan/worker/workers.md +1 -1
  33. package/package.json +1 -1
  34. package/src/byan-v2/dispatcher/task-router.js +1 -1
  35. package/src/byan-v2/lib/layout-resolver.js +3 -6
  36. package/install/lib/yanstaller/installer.js +0 -138
  37. package/install/lib/yanstaller/interviewer.js +0 -88
  38. package/install/lib/yanstaller/recommender.js +0 -102
  39. package/install/lib/yanstaller/troubleshooter.js +0 -89
  40. package/install/lib/yanstaller/validator.js +0 -198
  41. package/install/lib/yanstaller/wizard.js +0 -109
  42. package/install/src/byan-v2/dispatcher/task-tool-interface-mock.js +0 -134
  43. package/install/src/byan-v2/dispatcher/task-tool-interface.js +0 -123
  44. package/install/templates/_bmad/bmb/agents/agent-builder.md +0 -59
  45. package/install/templates/_bmad/bmb/agents/byan-test.md +0 -116
  46. package/install/templates/_bmad/bmb/agents/byan.md +0 -215
  47. package/install/templates/_bmad/bmb/agents/marc.md +0 -303
  48. package/install/templates/_bmad/bmb/agents/module-builder.md +0 -60
  49. package/install/templates/_bmad/bmb/agents/patnote.md +0 -495
  50. package/install/templates/_bmad/bmb/agents/rachid.md +0 -184
  51. package/install/templates/_bmad/bmb/agents/workflow-builder.md +0 -61
  52. package/install/templates/_bmad/bmb/workflows/byan/data/mantras.yaml +0 -272
  53. package/install/templates/_bmad/bmb/workflows/byan/data/templates.yaml +0 -59
  54. package/install/templates/_bmad/bmb/workflows/byan/delete-agent-workflow.md +0 -657
  55. package/install/templates/_bmad/bmb/workflows/byan/edit-agent-workflow.md +0 -688
  56. package/install/templates/_bmad/bmb/workflows/byan/interview-workflow.md +0 -753
  57. package/install/templates/_bmad/bmb/workflows/byan/quick-create-workflow.md +0 -450
  58. package/install/templates/_bmad/bmb/workflows/byan/templates/base-agent-template.md +0 -79
  59. package/install/templates/_bmad/bmb/workflows/byan/validate-agent-workflow.md +0 -676
  60. package/install/templates/_bmad/core/agents/carmack.md +0 -238
  61. package/src/byan-v2/dispatcher/task-tool-interface-mock.js +0 -134
  62. package/src/byan-v2/dispatcher/task-tool-interface.js +0 -123
package/CHANGELOG.md CHANGED
@@ -9,6 +9,99 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [2.44.0] - 2026-07-15
13
+
14
+ ### Changed - Revived the Sonnet middle tier for native-workflow model routing
15
+
16
+ - Native-workflow ANALYSIS leaves (score/rank/assess/design/nfr/coverage/
17
+ recommend/synthesize) now auto-route to the balanced tier (`model: 'sonnet'`)
18
+ instead of `deep` (inherit the session model). Before this, the Sonnet rung was
19
+ reachable only through the explicit `mech-` opt-in, so on an Opus (or high-effort)
20
+ session every analysis/verification/implementation leaf ran on Opus — the Sonnet
21
+ tier was effectively dead (ledger: recent workflows logged all-`inherit`).
22
+ - This deliberately overrides the session model for analysis leaves; a genuinely
23
+ frontier analysis opts back to the session model with the `deep-` label prefix
24
+ (`deep-assess-architecture`), the mirror of the `mech-` opt-in. VERIFICATION and
25
+ IMPLEMENTATION are untouched — a wrong check or a code-write still inherits the
26
+ session model (no silent downgrade of the dangerous classes).
27
+ - Propagated through the enforcement stack: `modelRoutingViolations` accepts sonnet
28
+ on an analysis leaf (its tier) and still blocks haiku (`analysis-below-tier`) and
29
+ any downgrade on a protected leaf; added a non-blocking `untiered-analysis`
30
+ advisory (surfaces an analysis leaf running deep, suggests `model: 'sonnet'`).
31
+ Files: `native-tiers.js` (tierFor + `DEEP_PREFIX` + `synthes` keyword),
32
+ `workflows-lint.js`, `bin/byan-lint-workflows.js`, native-workflows.md.
33
+ - The 21 committed workflows still pass the contract; MCP 792 + jest 2606 green.
34
+
35
+ ## [2.43.0] - 2026-07-10
36
+
37
+ ### Removed - Purged the Gen1 `_bmad/` legacy layer
38
+
39
+ - Removed the Gen1 `_bmad/` fallback from the layout resolver
40
+ (`src/byan-v2/lib/layout-resolver.js`): `resolveAgent` / `agentDirs` now resolve
41
+ Gen3 (`_byan/agent/<name>/`) and Gen2 (`_byan/agents/`, `_byan/<module>/agents/`)
42
+ only. A pre-Gen3 project on the raw `_bmad/` layout is migrated with
43
+ `scripts/migrate-bmad-to-byan.js` (agents land under `_byan/`, resolved by the
44
+ Gen2 branches). Added a regression test locking Gen1 resolution to null.
45
+ - Deleted the frozen Gen1 content: `_bmad/` (677 files) and the dead shipped
46
+ template `install/templates/_bmad/` (17 files) that the installer does not copy
47
+ (it scaffolds `templates/_byan/`). Neither carried a live code path.
48
+ - Removed the dead `marc` agent residues (a GitHub Copilot CLI specialist for the
49
+ already-removed Copilot platform, present only under `_bmad/`): the
50
+ `subagent-generator` model-map key, an `agent-launcher` jsdoc example, and the
51
+ `marc.md` entry in the migrator's agent list.
52
+ - Migrated `_bmad` doc references to `_byan` (CLAUDE.md, QUICK-START,
53
+ GUIDE-UTILISATION, soul-activation, workers) and cleaned stale Gen1
54
+ comments / dead branches (agent-packager, bridge, cli-detector, index example).
55
+ - Kept the migration back-compat intact: the webui legacy-install detection, the
56
+ `migrate-bmad-to-byan` script, `stub-sync`, and the `_bmad-output` user-data scan.
57
+
58
+ ### Note - Known follow-up
59
+
60
+ - `install/install.sh` (a dormant legacy shell installer) still scaffolds a Gen1
61
+ `_bmad/` tree and promotes GitHub Copilot CLI. It ships but is not run by the
62
+ npx flow. It needs a dedicated rework to align with the Gen3-only, Copilot-free
63
+ product; deliberately left out of this purge to avoid touching an untested
64
+ installer path.
65
+
66
+ ## [2.42.1] - 2026-07-06
67
+
68
+ ### Changed - Excised the dead stub half of the yanstaller module
69
+
70
+ - Removed six pure-stub files under `install/lib/yanstaller/` that had no caller
71
+ (`installer.js`, `validator.js`, `recommender.js`, `interviewer.js`,
72
+ `troubleshooter.js`, `wizard.js`). `installer.js` faked a successful install
73
+ without touching the disk; `validator.js` returned `passed: true` for its ten
74
+ checks without inspecting anything. The real installer is
75
+ `install/bin/create-byan-agent-v2.js`.
76
+ - Dropped the half-implemented `install()`/`uninstall()` orchestrator from
77
+ `install/lib/yanstaller/index.js`. The live surface consumed by the CLI
78
+ (`update` / `rollback` / `backups` / `check`) and the web UI is untouched:
79
+ `update`, `rollback`, `listBackups`, plus the `detector` / `platformSelector`
80
+ / `updater` / `backuper` modules.
81
+ - Removed the dead `yanstaller.install()` call from the web UI install path
82
+ (`install/src/webui/api.js`); it already had its own directory/config
83
+ fallback and had logged that call as a stub.
84
+ - Added `install/__tests__/yanstaller/no-stub-guard.test.js`, a regression guard
85
+ that keeps the excised stubs from creeping back and locks the surviving public
86
+ surface. Net: -853 / +11 lines shipped to npm consumers.
87
+
88
+ ### Changed - Purged emoji from the installer CLI output (Mantra IA-23)
89
+
90
+ - Removed every emoji from the 16 live installer files under `install/lib/` and
91
+ `install/bin/` (201 occurrences). Status glyphs became bracket tags matching
92
+ the existing `[DEBUG]` idiom: `[OK]` / `[INFO]` / `[WARN]` / `[ERROR]` / `[x]`;
93
+ decorative glyphs were dropped and the arrow `->` de-symbolized. Message text,
94
+ colors, and control flow are unchanged (a `git diff -w` is emoji-only).
95
+ - Updated the two coupled tests in lockstep: `install/__tests__/utils/logger.test.js`
96
+ and `install/__tests__/integration/platform-integration.test.js`.
97
+
98
+ ### Removed - Dead Copilot-era task-tool-interface stub
99
+
100
+ - Deleted `task-tool-interface.js` + `-mock.js` from both `src/byan-v2/dispatcher/`
101
+ and `install/src/byan-v2/dispatcher/`, plus their test. The module had no caller
102
+ outside its own test. Scrubbed the five stale `TaskToolInterface` doc references
103
+ it left behind (`task-router` JSDoc + `COMPLETION-REPORT.md`).
104
+
12
105
  ## [2.42.0] - 2026-07-06
13
106
 
14
107
  ### Fixed - Shipped Claude Code hooks no longer spam MODULE_NOT_FOUND
@@ -86,7 +86,7 @@ function renderStandups(entries) {
86
86
  const blockers = e.blockers && e.blockers.length > 0
87
87
  ? FG(COLORS.blocked, ` blockers=${e.blockers.join('|')}`)
88
88
  : '';
89
- return `${e.timestamp} ${e.agent}: ${e.did || '-'}${blockers} ${e.next || '-'}`;
89
+ return `${e.timestamp} ${e.agent}: ${e.did || '-'}${blockers} -> ${e.next || '-'}`;
90
90
  })
91
91
  .join('\n');
92
92
  }