@yemi33/minions 0.1.2074 → 0.1.2075

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/engine/shared.js +29 -6
  2. package/package.json +1 -1
package/engine/shared.js CHANGED
@@ -1814,12 +1814,35 @@ function parseStreamJsonOutput(raw, runtimeName, opts) {
1814
1814
  const KB_CATEGORIES = ['architecture', 'conventions', 'project-notes', 'build-reports', 'reviews'];
1815
1815
 
1816
1816
  // P-bfa2b-kb-path-traversal — read-side whitelist for /api/knowledge/:category/:file.
1817
- // Superset of KB_CATEGORIES: adds 'agents' because per-agent personal memory is
1818
- // served from knowledge/agents/<id>.md (see engine/consolidation.js +
1819
- // engine/playbook.js) but is NOT a destination for inbox classification, so
1820
- // KB_CATEGORIES intentionally excludes it. Frozen so handlers can rely on the
1821
- // list being immutable across the process lifetime.
1822
- const KB_READABLE_CATEGORIES = Object.freeze([...KB_CATEGORIES, 'agents']);
1817
+ // Superset of KB_CATEGORIES: adds categories the consolidation pipeline + agent
1818
+ // authoring populate but that aren't destinations for inbox classification:
1819
+ //
1820
+ // agents — per-agent personal memory (knowledge/agents/<id>.md),
1821
+ // loaded by engine/consolidation.js + engine/playbook.js.
1822
+ // consolidated /
1823
+ // consolidation /
1824
+ // consolidations — three historical names the consolidation pipeline has
1825
+ // written to over time; all preserved on read so legacy
1826
+ // consolidation files stay accessible.
1827
+ // team-memory — shared cross-agent memory written by the broadcast
1828
+ // consolidation path.
1829
+ // general — fallback bucket for inbox entries the classifier can't
1830
+ // route into a named category.
1831
+ // patterns — agent-authored generalizable patterns (heuristics +
1832
+ // code-shape templates) consolidated from inbox.
1833
+ //
1834
+ // Archive-only directories (`inbox-archive`, `_swept`, anything `_*`) are
1835
+ // intentionally NOT readable via /api/knowledge — they're sweep artifacts,
1836
+ // not user-facing KB.
1837
+ //
1838
+ // Frozen so handlers can rely on the list being immutable across the process
1839
+ // lifetime.
1840
+ const KB_READABLE_CATEGORIES = Object.freeze([
1841
+ ...KB_CATEGORIES,
1842
+ 'agents',
1843
+ 'consolidated', 'consolidation', 'consolidations',
1844
+ 'team-memory', 'general', 'patterns',
1845
+ ]);
1823
1846
 
1824
1847
  /**
1825
1848
  * Classify an inbox item into a knowledge base category.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2074",
3
+ "version": "0.1.2075",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"