nubos-pilot 1.0.2 → 1.0.3
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/lib/researcher-swarm.cjs +21 -5
- package/package.json +1 -1
package/lib/researcher-swarm.cjs
CHANGED
|
@@ -11,12 +11,28 @@ const DEFAULT_K = 3;
|
|
|
11
11
|
const MIN_K = 1;
|
|
12
12
|
const MAX_K = 5;
|
|
13
13
|
|
|
14
|
+
// Perspectival nudges, NOT thematic preferences. Each entry varies HOW the
|
|
15
|
+
// spawn investigates the same `<task_query>`, never WHAT it should prefer in
|
|
16
|
+
// the answer. Thematic seed_deltas (e.g. "prefer native TypeScript types")
|
|
17
|
+
// silently turn the swarm into a topic-split — three spawns each ranking a
|
|
18
|
+
// different axis, intersection ≈ 0, consensus a fiction. ADR-0011 §Spawn
|
|
19
|
+
// Contract is explicit: identical task_query for every spawn, only the
|
|
20
|
+
// seed_delta varies, and the variation must not change WHICH question is
|
|
21
|
+
// answered or which solution dimension is favoured.
|
|
22
|
+
//
|
|
23
|
+
// Litmus test for adding a new entry: rephrase as "what does this researcher
|
|
24
|
+
// optimise FOR in their final answer?" — if the answer names a concrete
|
|
25
|
+
// solution attribute (TypeScript, smallest deps, latest version), it is
|
|
26
|
+
// thematic and belongs in the planner / architect, not the researcher swarm.
|
|
27
|
+
// Perspectival nudges answer "how does this researcher arrive at the
|
|
28
|
+
// answer?" — methodology, evidence weighting, contrarian stance, breadth vs.
|
|
29
|
+
// depth, gap surfacing.
|
|
14
30
|
const SEED_DELTAS = [
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
31
|
+
'Treat training-data recall as a hypothesis to verify against primary documentation; downgrade unverified claims to LOW confidence.',
|
|
32
|
+
'Survey breadth-first before narrowing — enumerate every viable option you find, even ones that look obviously inferior, before recommending.',
|
|
33
|
+
'Be contrarian: assume the obvious recommendation is wrong and justify whether it actually is. If it survives the challenge, your confidence is higher.',
|
|
34
|
+
'Surface unknowns explicitly: anything you cannot verify becomes an Open Question, not an [ASSUMED] filled with a plausible default.',
|
|
35
|
+
'Stress-test the leading recommendation: name the most plausible failure mode that would make it the wrong choice, then assess how likely that mode is in scope.',
|
|
20
36
|
];
|
|
21
37
|
|
|
22
38
|
// Invariant — SEED_DELTAS must cover the full clamp range. The previous
|