@hmharness/evolution 0.14.5 → 0.14.7

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/dist/evolve.js +12 -8
  2. package/package.json +1 -1
package/dist/evolve.js CHANGED
@@ -167,14 +167,18 @@ export async function runEvolution(opts) {
167
167
  }
168
168
  else {
169
169
  proposals = await proposeSkills(provider, signals, say, ancestor ?? undefined, mergeWith ?? undefined);
170
- if (proposals.length === 0) {
171
- try {
172
- const { workflowProposals } = await import("./workflows.js");
173
- proposals = await workflowProposals(provider, home, say);
174
- }
175
- catch (err) {
176
- say(` awm skipped: ${String(err).slice(0, 80)}`);
177
- }
170
+ // AWM is ADDITIVE, not fallback-only (design intent: "higher abstraction
171
+ // than per-mistake reflection"). With batch-produced task archetypes
172
+ // repeating 100+ times/day, the workflow path must get its turn even
173
+ // when the meta-model also proposes - the -workflow naming + gate still
174
+ // decides promotion. Guard: only append when clusters are real (>=5).
175
+ try {
176
+ const { workflowProposals } = await import("./workflows.js");
177
+ const wf = await workflowProposals(provider, home, say);
178
+ proposals = [...proposals, ...wf];
179
+ }
180
+ catch (err) {
181
+ say(` awm skipped: ${String(err).slice(0, 80)}`);
178
182
  }
179
183
  }
180
184
  report.proposals = proposals;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/evolution",
3
- "version": "0.14.5",
3
+ "version": "0.14.7",
4
4
  "description": "hmharness evolution subsystem: persistent memory, insight capture, skill library, and the bench that gives evolution its fitness signal. First-class kernel citizen, not a plugin.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",