0xray 3.3.1 → 3.4.2

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 (70) hide show
  1. package/.opencode/enforcer-config.json +1 -4
  2. package/.xray/codex.json +598 -0
  3. package/.xray/config.json +25 -0
  4. package/.xray/features.json +146 -0
  5. package/.xray/features.schema.json +33 -0
  6. package/AGENTS-consumer.md +127 -10
  7. package/AGENTS.md +172 -56
  8. package/README.md +159 -82
  9. package/SKILLS.md +79 -53
  10. package/dist/AGENTS.md +172 -56
  11. package/dist/CHANGELOG.md +90 -51
  12. package/dist/README.md +159 -82
  13. package/dist/SKILLS.md +79 -53
  14. package/dist/analytics/routing-refiner.js +0 -2
  15. package/dist/core/boot-orchestrator.js +9 -1
  16. package/dist/core/features-config.js +5 -1
  17. package/dist/integrations/grok/grok-cli.js +47 -25
  18. package/dist/integrations/grok/hooks/grok-hook-activity.js +53 -0
  19. package/dist/integrations/grok/hooks/grok-hook-utils.js +261 -0
  20. package/dist/integrations/grok/hooks/pre-tool-use.js +85 -115
  21. package/dist/integrations/grok/hooks/session-start.js +52 -0
  22. package/dist/integrations/grok/plugin/0xray/hooks/hooks.json +20 -3
  23. package/dist/integrations/hermes-agent/bridge.mjs +11 -1
  24. package/dist/mcps/config/server-config-registry.js +4 -3
  25. package/dist/mcps/orchestrator/handlers/complexity-handler.js +33 -3
  26. package/dist/mcps/orchestrator/server.js +1 -1
  27. package/dist/mcps/registry.json +0 -1
  28. package/dist/mcps/researcher.server.js +3 -0
  29. package/dist/nucleus/autonomy-kernel.js +176 -0
  30. package/dist/nucleus/index.js +1 -0
  31. package/dist/orchestrator/universal-registry-bridge.js +1 -1
  32. package/dist/skills/boot-orchestrator/SKILL.md +1 -5
  33. package/dist/skills/orchestrator/SKILL.md +35 -12
  34. package/dist/skills/registry.json +0 -1
  35. package/dist/skills/researcher/SKILL.md +17 -4
  36. package/dist/skills/strategist/SKILL.md +12 -0
  37. package/dist/skills/testing-strategy/SKILL.md +13 -2
  38. package/package.json +23 -8
  39. package/scripts/node/consumer-install-smoke.mjs +163 -0
  40. package/scripts/node/enforce-agents-md.mjs +0 -26
  41. package/scripts/node/enforce-version-compliance.sh +0 -1
  42. package/scripts/node/enforce-version-compliance.ts +0 -10
  43. package/scripts/node/install-bridges.cjs +154 -39
  44. package/scripts/node/pre-publish-guard.js +108 -165
  45. package/scripts/node/reconcile-version.mjs +147 -0
  46. package/scripts/node/release-gate.mjs +66 -0
  47. package/scripts/node/release.js +5 -147
  48. package/scripts/node/release.mjs +106 -181
  49. package/scripts/node/setup.cjs +21 -26
  50. package/scripts/node/sync-versions.mjs +12 -134
  51. package/scripts/node/universal-version-manager.js +22 -4
  52. package/scripts/node/validate-release-docs.mjs +299 -0
  53. package/scripts/node/version-manager.mjs +225 -49
  54. package/src/integrations/grok/plugin/0xray/hooks/hooks.json +20 -3
  55. package/src/mcps/config/__tests__/server-config-registry.test.ts +9 -0
  56. package/src/mcps/config/server-config-registry.ts +5 -3
  57. package/src/mcps/orchestrator/handlers/complexity-handler.ts +54 -3
  58. package/src/mcps/orchestrator/server.ts +1 -1
  59. package/src/mcps/registry.json +0 -1
  60. package/src/mcps/researcher.server.ts +4 -0
  61. package/src/opencode/enforcer-config.json +1 -4
  62. package/src/skills/boot-orchestrator/SKILL.md +1 -5
  63. package/src/skills/orchestrator/SKILL.md +35 -12
  64. package/src/skills/registry.json +0 -1
  65. package/src/skills/researcher/SKILL.md +17 -4
  66. package/src/skills/strategist/SKILL.md +12 -0
  67. package/src/skills/testing-strategy/SKILL.md +13 -2
  68. package/xray/config.json +25 -0
  69. package/xray/features.json +146 -0
  70. package/xray/features.schema.json +33 -0
package/dist/AGENTS.md CHANGED
@@ -1,87 +1,203 @@
1
1
  # xray Agents
2
2
 
3
- Quick reference for xray AI orchestration framework (v16 MCPs-centric three-subsystem).
3
+ Quick reference for the xray AI orchestration framework (**v3.4.2**).
4
+
5
+ **42 agents** · **45 skills** · **7 consumer MCP servers** · **68 codex terms** · **3,226 tests**
4
6
 
5
7
  ## What is xray?
6
8
 
7
- xray provides intelligent multi-agent orchestration with automatic delegation and Codex compliance validation under the pure v2 three-subsystem model (Inference + External Governance via Dynamo + Autonomous Engine via thinDispatch 7-flow in MCP orchestrator). Agents operate via `.opencode/agents/*.yml` YML surfaces and 3 dedicated MCP skill servers — no manual setup needed.
9
+ xray provides intelligent multi-agent orchestration with automatic delegation and Codex compliance validation under the pure v2 three-subsystem model:
8
10
 
9
- ## v16 MCPs-Centric Architecture
11
+ - **Inference** — proposals, reflection, memory routing (optional)
12
+ - **External Governance** — Dynamo Solar SSOT, 68-term Codex
13
+ - **Autonomous Engine** — thinDispatch 7-flow, AsideContext, confidence gate
10
14
 
11
- The v2 release centers on **MCP (Model Context Protocol)** as the primary surface for agent skills. Three agent MCP servers handle governance deliberation:
15
+ Agents are declared in `src/opencode/agents/*.yml` — the YML SSOT. Skills live in `src/skills/*/SKILL.md` — see [SKILLS.md](SKILLS.md). Consumer projects receive slimmed copies via postinstall (`AGENTS-consumer.md` → `AGENTS.md`, skills synced to platform dirs).
12
16
 
13
- - `code-review` — Proposal quality, code analysis, best practices
14
- - `security-audit` — Vulnerability detection, threat modeling
15
- - `researcher` — Codebase exploration, pattern discovery, implementation lookup
17
+ ## Consumer MCP surface (7 servers)
16
18
 
17
- These MCP servers integrate with the three-subsystem pipeline for governance-gated execution.
19
+ Registered in `.mcp.json`, invoked via `npx -y 0xray mcp <cmd>`:
18
20
 
19
- ## xray Three-Subsystem Operation
21
+ | Server | Role |
22
+ |--------|------|
23
+ | `xray-governance` | Proposal governance, codex snapshot, quality gates |
24
+ | `xray-skills` | 45 knowledge skills + `invoke-skill` |
25
+ | `xray-orchestrator` | thinDispatch, AsideContext, confidence gate |
26
+ | `xray-enforcer` | Codex compliance, rule validation |
27
+ | `xray-researcher` | Codebase exploration, memory-routing enrichment |
28
+ | `xray-code-review` | Proposal quality, code review deliberation |
29
+ | `xray-architect-tools` | System design, architecture decisions |
20
30
 
21
- xray operates under the pure three-subsystem model: Inference + External Governance (Dynamo Solar SSOT) + Autonomous Engine (thinDispatch 7-flow in MCP orchestrator). Agents are declared in `.opencode/agents/*.yml` YML surfaces with zero manual setup.
31
+ Governance deliberation: **code-review**, **security-audit**, **researcher** within the 7-server set.
22
32
 
23
- ### Core Tenets
24
- - YML declarations are the SSOT
25
- - Zero manual setup or registration
26
- - Governance precedes action via Dynamo
27
- - Automatic delegation via thinDispatch
28
- - MCP surfaces are the primary skill interface
29
- - fwLogger / frameworkLogger structured logging ONLY (never console.*) to logs/framework/activity.log + .opencode/logs/
33
+ ## Postinstall (v3.4.1)
30
34
 
31
- ### File Organization Guidelines
35
+ `postinstall.cjs` → `installAllBridges()`:
32
36
 
33
- **IMPORTANT**: Save all generated files to their proper directories. Do NOT save to root.
37
+ 1. `AGENTS-consumer.md` → `AGENTS.md`
38
+ 2. `SKILLS.md` + 46 skills → platform skill directories
39
+ 3. `.gitignore.default` → `.gitignore` (if absent)
40
+ 4. `.xray/` config (`codex.json`, `features.json`, `config.json`)
41
+ 5. `.mcp.json` (7 servers)
42
+ 6. Four bridges: OpenCode, Grok, Hermes, OpenClaw
43
+ 7. Optional git hooks
34
44
 
35
- | File Type | Save To | Example |
36
- |-----------|---------|---------|
37
- | **Reflections** | `docs/reflections/` | `docs/reflections/my-fix-reflection.md` |
38
- | **Logs** | `logs/` | `logs/framework/activity.log` |
39
- | **Scripts** | `scripts/` or `scripts/bash/` | `scripts/bash/my-script.sh` |
40
- | **Test Files** | `src/__tests__/` | `src/__tests__/unit/my-test.test.ts` |
41
- | **Source Code** | `src/` | `src/my-module.ts` |
42
- | **Config** | `config/` or `.xray/` | `.xray/config.json` |
45
+ ## Memory routing + Repertoire (v3.3+)
43
46
 
44
- **Never save to root** - Root directory is for essential files only:
45
- - `README.md`, `CHANGELOG.md`, `package.json`, `tsconfig.json`
47
+ `xray/features.json` → `memory_routing` (schema: `features.schema.json`):
46
48
 
47
- ## Available Agents
49
+ ```json
50
+ "memory_routing": {
51
+ "enabled": true,
52
+ "provider": "repertoire",
53
+ "module_path": "../repertoire/dist/provider/memory-routing-provider.js",
54
+ "config": {
55
+ "dataDir": "../repertoire/data",
56
+ "signalsPath": "../repertoire/data/curated_signals.json",
57
+ "logDir": "../repertoire/logs/groover-inference"
58
+ }
59
+ }
60
+ ```
48
61
 
49
- | Agent | Purpose | Invoke |
50
- |-------|---------|--------|
51
- | `@enforcer` | Codex compliance & error prevention | `@enforcer analyze this code` |
52
- | `@orchestrator` | Complex multi-step task coordination | `@orchestrator implement feature` |
53
- | `@architect` | System design & technical decisions | `@architect design API` |
54
- | `@security-auditor` | Vulnerability detection | `@security-auditor scan` |
55
- | `@code-reviewer` | Quality assessment | `@code-reviewer review PR` |
56
- | `@refactorer` | Technical debt elimination | `@refactorer optimize code` |
57
- | `@testing-lead` | Testing strategy | `@testing-lead plan tests` |
58
- | `@bug-triage-specialist` | Error investigation | `@bug-triage-specialist debug error` |
59
- | `@researcher` | Codebase exploration | `@researcher find implementation` |
62
+ | Integration | Surface |
63
+ |-------------|---------|
64
+ | ExecutionPlanner | `enrichTasks`, `getTaskConfidence`, `selectAgent` |
65
+ | thinDispatch | `resolveThinDispatch` |
66
+ | Researcher | `researcher-confidence.ts`, `MEMORY_ROUTING:` block |
67
+ | AsideContext | `buildInheritedContext` → `inheritedContext.memoryRouting` |
68
+ | Feedback | Per-task `ingestFeedback` |
60
69
 
61
- ## MCP Skill Servers
70
+ **External MCP:** `npx @0xray/repertoire mcp` — `repertoire__get_task_confidence`, etc.
62
71
 
63
- xray ships dedicated MCP servers that provide agent skills:
72
+ ## AsideContext (v3.2+)
64
73
 
65
- | Server | Role |
66
- |--------|------|
67
- | `code-review` | Proposal quality analysis, code review |
68
- | `security-audit` | Vulnerability scanning, threat assessment |
69
- | `researcher` | Codebase exploration, implementation lookup |
70
- | `orchestrator` | thinDispatch 7-flow delegation routing |
71
- | `enforcer-tools` | Codex compliance enforcement |
72
- | `governance` | Proposal governance, codex snapshot |
74
+ `src/mcps/orchestrator/aside-context.ts` — bounded subcontexts for orchestration:
75
+
76
+ - `spawnAside` / `closeAside` on `orchestrate-task`, `analyze-complexity`, `govern-and-apply`
77
+ - Observation extractors: governance, orchestration, complexity
78
+ - Repertoire context flows via `ExecutionPlan.memoryContext`
79
+
80
+ ## Confidence gate (v3.3.1)
81
+
82
+ `ExecutionPlanner.calculateTaskComplexity()` + `getTaskConfidence()` — complexity boost and ontological-trap routing.
83
+
84
+ ## Nucleus exports (v3.4.0)
73
85
 
74
- ## thinDispatch Routing
86
+ `0xray/nucleus` and `0xray/nucleus/*` — `handleGovernRequest`, plugin-registry, thinDispatch.
75
87
 
76
- The Autonomous Engine routes via complexity:
88
+ ## Changes since 3.1
89
+
90
+ | Version | Change |
91
+ |---------|--------|
92
+ | **3.4.1** | `install-bridges.cjs`, 7 MCPs `npx`, release pipeline + docs sync |
93
+ | **3.4.0** | Nucleus exports, governance closure, verify gate |
94
+ | **3.3.1** | Confidence gate, repertoire researcher wiring |
95
+ | **3.3.0** | Memory routing + Repertoire provider |
96
+ | **3.2.0** | AsideContext wired, SelfProposalEngine, pre-tool-use hook |
97
+ | **3.1.1** | 0xRay rename, marketplace, AGENTS/SKILLS consumer seeding |
98
+
99
+ **Removed:** `hermes bridge`, `.opencode/xray/` fallback, `advanced-features/` on consumer boot.
100
+
101
+ ## Default operating mode: autonomy-command
102
+
103
+ When the suit is worn, **autonomy-command** is ON by default (codex 67–68). Lead dev: phased todos, subagent dispatch, per-suite test triage, loop until green. Ships to consumers via `AGENTS-consumer.md`.
104
+
105
+ Docs: [guides/autonomy-command](docs-site/docs/guides/autonomy-command.md) · Skill: `src/skills/autonomy-command/SKILL.md`
106
+
107
+ ## Core tenets
108
+
109
+ - YML agents + SKILL.md are the SSOT
110
+ - Zero manual registration
111
+ - Governance precedes action (Dynamo)
112
+ - MCP surfaces are the primary skill interface
113
+ - frameworkLogger only (never `console.*`)
114
+
115
+ ## File organization
116
+
117
+ | File Type | Save To |
118
+ |-----------|---------|
119
+ | Reflections | `docs/reflections/` |
120
+ | Logs | `logs/` |
121
+ | Scripts | `scripts/` or `scripts/bash/` |
122
+ | Tests | `src/__tests__/` |
123
+ | Source | `src/` |
124
+ | Config | `.xray/` or `config/` |
125
+
126
+ **Root essentials only:** `README.md`, `CHANGELOG.md`, `package.json`, `AGENTS.md`, `SKILLS.md`, `tsconfig.json`.
127
+
128
+ ## Available agents (42 YML surfaces)
129
+
130
+ Invoke via `@agent-name` in OpenCode:
131
+
132
+ | Agent | Purpose |
133
+ |-------|---------|
134
+ | `@enforcer` | Codex compliance & error prevention |
135
+ | `@orchestrator` | Multi-step task coordination |
136
+ | `@architect` | System design & technical decisions |
137
+ | `@security-auditor` | Vulnerability detection |
138
+ | `@code-reviewer` | Quality assessment |
139
+ | `@refactorer` | Technical debt elimination |
140
+ | `@testing-lead` | Testing strategy |
141
+ | `@bug-triage-specialist` | Error investigation |
142
+ | `@researcher` | Codebase exploration |
143
+ | `@frontend-engineer` | React, Vue, Angular, responsive design |
144
+ | `@backend-engineer` | REST/GraphQL APIs, microservices |
145
+ | `@database-engineer` | Schema design, query optimization |
146
+ | `@devops-engineer` | CI/CD, infrastructure, containers |
147
+ | `@mobile-developer` | iOS, Android, React Native, Flutter |
148
+ | `@storyteller` | Narrative reflections, technical stories |
149
+ | `@strategist` | Architecture decisions, risk analysis |
150
+ | `@performance-engineer` | Profiling, benchmarking |
151
+ | `@frontend-ui-ux-engineer` | Visual design, accessibility |
152
+ | `@multimodal-looker` | Media / screenshot analysis |
153
+ | `@log-monitor` | Log diagnostics |
154
+ | `@code-analyzer` | Code metrics, pattern detection |
155
+ | `@content-creator` | SEO copy, technical content |
156
+ | `@growth-strategist` | Marketing strategy |
157
+ | `@seo-consultant` | Technical SEO |
158
+ | `@tech-writer` | API docs, READMEs, changelogs |
159
+ | `@hermes-agent` | Hermes bridge operations |
160
+ | `@boot-orchestrator` | Framework boot orchestration |
161
+ | `@processor-pipeline` | Data processing pipelines |
162
+ | `@state-manager` | Session / state persistence |
163
+ | `@session-management` | Session lifecycle |
164
+ | `@inference-improve` | Autonomous inference improvement |
165
+ | `@model-health-check` | Model health diagnostics |
166
+ | `@framework-compliance-audit` | Framework compliance |
167
+ | `@lint` | Code linting |
168
+ | `@auto-format` | Automated formatting |
169
+ | `@git-workflow` | Git workflow management |
170
+ | `@api-design` | REST/GraphQL API design |
171
+ | `@architecture-patterns` | Architecture patterns |
172
+ | `@performance-analysis` | Performance analysis |
173
+ | `@performance-optimization` | Performance optimization |
174
+ | `@project-analysis` | Project health metrics |
175
+ | `@security-scan` | Security vulnerability scanning |
176
+ | `@testing-best-practices` | Testing QA |
177
+ | `@ui-ux-design` | UI/UX design |
178
+
179
+ Full skill mapping: [SKILLS.md](SKILLS.md).
180
+
181
+ ## thinDispatch routing
77
182
 
78
183
  - Simple (≤15): Single agent
79
184
  - Moderate (≤25): Single agent with tools
80
185
  - Complex (≤50): Multi-agent coordination
81
186
  - Enterprise (>50): Orchestrator-led team
82
187
 
83
- ## Codex
188
+ ## Documentation
189
+
190
+ | Topic | Path |
191
+ |-------|------|
192
+ | Features since 3.1 | `docs-site/docs/guides/features-since-3.1.md` |
193
+ | features.json | `docs-site/docs/guides/features-json.md` |
194
+ | Platform integrations | `docs-site/docs/guides/integrations.md` |
195
+ | Memory routing | `docs-site/docs/guides/memory-routing.md` |
196
+ | Repertoire | `docs-site/docs/guides/repertoire.md` |
197
+ | AsideContext | `docs-site/docs/guides/aside-context.md` |
198
+ | Consumer migration | `docs-site/docs/guides/consumer-migration.md` |
199
+ | Docusaurus site | https://0xrayai.github.io/xray/ |
84
200
 
85
- xray enforces the Universal Development Codex (60 terms) via Dynamo governance. The codex lives in `.xray/codex.json`.
201
+ ## Release artifacts
86
202
 
87
- Pure v16 MCPs. Clean. Complete.
203
+ `npm run release:patch` updates: `package.json`, `CHANGELOG.md`, `README.md`, `AGENTS.md`, `AGENTS-consumer.md`, `SKILLS.md`, Docusaurus guides.
package/dist/CHANGELOG.md CHANGED
@@ -4,13 +4,85 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Conventional Commits](https://www.conventionalcommits.org/).
6
6
 
7
- ## [3.3.0] - 2026-06-18
7
+ ## [3.4.2] - 2026-06-18
8
8
 
9
- ### 🔄 Changes
9
+ ### ✨ Features
10
+ - **Ironclad Grok hooks** — PreToolUse stdin contract, codex pattern blocks, spawn_subagent gate, `activity.log` via `grok-hook-activity.js`
11
+ - **SessionStart + UserPromptSubmit** — `session-start.js` writes `.xray/state/session-boot.json`
12
+ - **Lead-dev plan persist** — `analyze-complexity` persists `.xray/state/lead-dev-plan.json` via `autonomy-kernel`
13
+ - **Codex term 69** — No New Surface Without Consolidation (blocking)
14
+ - **package.json `xray` field** — `dist` + `mcpServersPath` for consumer server-config-registry
15
+ - Memory routing provider enabled with live feedback session
16
+ - Blocking release docs freshness guard (`validate-release-docs.mjs`)
10
17
 
11
- ### 🔎 Other Changes
12
- - Wire orchestrator confidence gate into execution planning (d7910b610)
13
- - tweet: v3.3.0 release tweet — Pluggable Memory Routing (7fb6c9f70)
18
+ ### 🐛 Bug Fixes
19
+ - `server-config-registry` resolves `name === "0xray"` without requiring `xray` field
20
+ - Ship `features.json` in npm package for `memory_routing`
21
+ - Pre-publish guard: correct git porcelain parsing, ignore `.xray/inference` runtime state
22
+
23
+ ---
24
+
25
+ ## [3.4.1] - 2026-06-18
26
+
27
+ ### ✨ Features
28
+ - Unified 4-platform bridge installer (`install-bridges.cjs`) runs on consumer `npm i 0xray` postinstall — OpenCode, Grok, Hermes, OpenClaw
29
+ - All 7 MCP servers registered via `npx -y 0xray mcp <cmd>` (no brittle `dist/` paths)
30
+ - `npx 0xray grok install` aligned with postinstall: 7 servers via npx, idempotent skill/MCP sync on re-run
31
+ - Grok skills synced to both `~/.grok/plugins/0xray/skills/` and `~/.grok/skills/` (Grok Build / Cursor)
32
+ - Canonical `release.mjs` pipeline: reconcile-version → release-gate → artifacts → tag → publish
33
+ - Consumer smoke gate (`release-gate.mjs`) — pack, clean install, verify 7 MCP + 4 bridges
34
+
35
+ ### 🐛 Bug Fixes
36
+ - `setup.cjs` consumer detection uses `isConsumerInstall()` — works for both `node_modules/0xray` and `node_modules/xray`
37
+ - Hermes bridge honors `XRAY_ROOT` env and `xray-consumer-root.txt` marker for correct project root resolution
38
+
39
+ ### 📚 Documentation
40
+ - README, AGENTS, AGENTS-consumer, and Docusaurus synced for v3.4.1 (42 agents, 45 skills, 7 MCP servers, 68 codex terms)
41
+ - New guides: Repertoire integration, features.json reference, features since 3.1, memory routing, platform integrations
42
+ - Repertoire: `features.json` `memory_routing` config, MCP tools, confidence gate, ExecutionPlanner/thinDispatch/researcher wiring
43
+ - AsideContext guide: `spawnAside` lifecycle, observation extractors, Repertoire `inheritedContext.memoryRouting` link
44
+ - `.grok-plugin/plugin.json` version and MCP description corrected
45
+
46
+ ---
47
+
48
+ ## [3.4.0] - 2026-06-17
49
+
50
+ > Tagged locally; not published to npm. Superseded by 3.4.1 for consumer install.
51
+
52
+ ### ✨ Features
53
+ - Governance default-on with Railway endpoint
54
+ - 10-step E2E pipeline smoketest
55
+ - Source-change governance detector with external Dynamo
56
+ - Nucleus exports (`0xray/nucleus`, `0xray/nucleus/*`) for consumer plugin-registry access
57
+ - Consumer path hygiene audit (postinstall/setup/prepare-consumer)
58
+ - Compat shim scanner (term 78), orphan pre-PR check (term 73)
59
+
60
+ ### 🐛 Bug Fixes
61
+ - Codex closure: processorRoadmap 7/74/75 done, validationCriteria 6/8 true
62
+ - 2,880 tests pass, typecheck clean, 0 `console.*` in non-CLI source
63
+
64
+ ---
65
+
66
+ ## [3.3.1] - 2026-06-18
67
+
68
+ ### ✨ Features
69
+ - Initial `install-bridges.cjs` scaffold and repertoire researcher wiring tests
70
+ - Orchestrator **confidence gate** wired into execution planning (d7910b610)
71
+
72
+ ### 🐛 Bug Fixes
73
+ - Postinstall consumer detection and bridge install hooks refined
74
+
75
+ ---
76
+
77
+ ## [3.3.0] - 2026-06-18
78
+
79
+ ### ✨ Features
80
+ - **Pluggable Memory Routing** — `MemoryRoutingProvider` interface + `features.json` `memory_routing` block
81
+ - `features.schema.json` runtime validation at load time
82
+ - Repertoire as first plug-in provider (framework repo default)
83
+ - Per-task `ingestFeedback` (not aggregate-only) for provider learning loop
84
+ - Memory routing enriches orchestrator selection, thinDispatch scoring, researcher votes
85
+ - 24 memory-routing integration tests; 3,221 tests passing (0 failures)
14
86
 
15
87
  ---
16
88
 
@@ -40,57 +112,24 @@ The format is based on [Conventional Commits](https://www.conventionalcommits.or
40
112
 
41
113
  ---
42
114
 
43
- ## [3.1.1] - 2026-06-17
44
-
45
- ### 🔄 Changes
46
-
47
- ### ✨ Features
48
- - feat: AsideContext restoration + plugin module split + Hermes e2e 44/0/0 (3a917b7c3)
49
- - feat: config consolidation, MCP base class, test coverage, Hermes e2e fix (8b3f0500f)
50
- - feat: add root .mcp.json and .grok-plugin/plugin.json for marketplace discovery (f8d084cc0)
51
- - feat: ship .gitignore.default template + SKILLS.md to consumers via postinstall (44bba8c4c)
52
-
53
- ### 🐛 Bug Fixes
54
- - fix: publish guard fixes - 4 test files, plugin build, ConfigLoader.clearConfigPaths() (5a5edfa42)
55
- - fix: restore .mcp.json (deleted by test writing to same path) (e22202cfc)
56
- - fix: support mcpServers format in ConfigLoader, fix tests for real .mcp.json (a930aa034)
57
- - fix: add missing fs imports, process.argv[1]! assertions, and vitest v4 config (0dffc5683)
58
- - fix: remove .opencode/xray/ fallback from auto-reflection-generator.mjs (de7633152)
59
- - fix: Railway deployment - MCP host, in-process skills, Hermes OAuth decode, OAuth daemon mode (a519338c3)
60
- - fix: pre-publish-guard handles missing features.json (855e3cfdb)
61
-
62
- ### ♻️ Refactoring
63
- - refactor: complete StringRay→0xRay rename, archive cleanup, skill syncing, MCP tools (d78bc3763)
64
-
65
- ### 🔎 Other Changes
66
- - v3.1.1 (825105795)
67
- - Revert "Add marketplace files: .grok-plugin/plugin.json and .mcp.json for xAI plugin catalog" (05feb6fba)
68
- - Add marketplace files: .grok-plugin/plugin.json and .mcp.json for xAI plugin catalog (5824d5776)
69
-
70
- ---
71
-
72
115
  ## [3.1.1] - 2026-06-16
73
116
 
74
- ### 🔄 Changes
75
-
76
117
  ### ✨ Features
77
- - feat: add root .mcp.json and .grok-plugin/plugin.json for marketplace discovery (f8d084cc0)
78
- - feat: ship .gitignore.default template + SKILLS.md to consumers via postinstall (44bba8c4c)
118
+ - Complete **StringRay → 0xRay** rename; archive cleanup, skill syncing, MCP tools
119
+ - Root `.mcp.json` and `.grok-plugin/plugin.json` for xAI marketplace discovery
120
+ - Postinstall ships `AGENTS-consumer.md` → `AGENTS.md`, `.gitignore.default`, `SKILLS.md`
121
+ - AsideContext restoration + plugin module split; Hermes E2E 44/0/0
122
+ - Config consolidation, MCP base class, expanded test coverage
79
123
 
80
124
  ### 🐛 Bug Fixes
81
- - fix: restore .mcp.json (deleted by test writing to same path) (e22202cfc)
82
- - fix: support mcpServers format in ConfigLoader, fix tests for real .mcp.json (a930aa034)
83
- - fix: add missing fs imports, process.argv[1]! assertions, and vitest v4 config (0dffc5683)
84
- - fix: remove .opencode/xray/ fallback from auto-reflection-generator.mjs (de7633152)
85
- - fix: Railway deployment - MCP host, in-process skills, Hermes OAuth decode, OAuth daemon mode (a519338c3)
86
- - fix: pre-publish-guard handles missing features.json (855e3cfdb)
87
-
88
- ### ♻️ Refactoring
89
- - refactor: complete StringRay→0xRay rename, archive cleanup, skill syncing, MCP tools (d78bc3763)
90
-
91
- ### 🔎 Other Changes
92
- - Revert "Add marketplace files: .grok-plugin/plugin.json and .mcp.json for xAI plugin catalog" (05feb6fba)
93
- - Add marketplace files: .grok-plugin/plugin.json and .mcp.json for xAI plugin catalog (5824d5776)
125
+ - ConfigLoader supports `mcpServers` format in `.mcp.json`
126
+ - Railway deployment: MCP host, in-process skills, Hermes OAuth decode, OAuth daemon mode
127
+ - Publish guard fixes — 4 test files, plugin build, `ConfigLoader.clearConfigPaths()`
128
+ - Remove `.opencode/xray/` fallback from auto-reflection-generator
129
+ - Pre-publish-guard handles missing `features.json`
130
+
131
+ ### 🗑️ Removals
132
+ - `hermes bridge` CLI — use `npx 0xray hermes install`
94
133
 
95
134
  ---
96
135