0xray 3.0.14 → 3.1.1

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 (296) hide show
  1. package/.gitignore.default +59 -0
  2. package/.mcp.json +35 -0
  3. package/.opencode/codex.codex +1 -1
  4. package/.opencode/commands/dependency-audit.md +3 -3
  5. package/.opencode/commands/summary-logger.md +4 -4
  6. package/.opencode/enforcer-config.json +2 -2
  7. package/.opencode/hooks/post-commit +1 -1
  8. package/.opencode/init.sh +10 -4
  9. package/.plugin/plugin.json +11 -0
  10. package/AGENTS-consumer.md +46 -0
  11. package/AGENTS.md +10 -10
  12. package/LICENSE +1 -1
  13. package/README.md +8 -8
  14. package/SKILLS.md +140 -0
  15. package/dist/.gitignore.default +59 -0
  16. package/dist/AGENTS.md +10 -10
  17. package/dist/CHANGELOG.md +34 -0
  18. package/dist/LICENSE +1 -1
  19. package/dist/README.md +8 -8
  20. package/dist/SKILLS.md +140 -0
  21. package/dist/agents/index.js +3 -1
  22. package/dist/agents/registry.js +13 -0
  23. package/dist/analytics/routing-refiner.js +1 -1
  24. package/dist/architect/architectural-integrity.js +3 -3
  25. package/dist/benchmark/performance-benchmark.js +4 -3
  26. package/dist/cli/commands/antigravity-status.js +23 -23
  27. package/dist/cli/commands/credible-init.js +1 -1
  28. package/dist/cli/commands/hermes-install.js +12 -4
  29. package/dist/cli/commands/mcp-install.js +1 -1
  30. package/dist/cli/commands/openclaw-install.js +10 -1
  31. package/dist/cli/commands/opencode-install.js +22 -0
  32. package/dist/cli/commands/plugin-commands.js +2 -2
  33. package/dist/cli/commands/publish-agent.js +5 -5
  34. package/dist/cli/commands/skill-install.js +39 -2
  35. package/dist/cli/commands/status.js +8 -3
  36. package/dist/cli/commands/storyteller.js +2 -2
  37. package/dist/cli/index.js +17 -11
  38. package/dist/cli/server.js +4 -4
  39. package/dist/core/activity-logger.js +4 -4
  40. package/dist/core/agent-spawn-gate.js +1 -1
  41. package/dist/core/boot-orchestrator.js +30 -31
  42. package/dist/core/bridge.mjs +26 -26
  43. package/dist/core/codex-formatter.js +2 -3
  44. package/dist/core/codex-injector.js +7 -7
  45. package/dist/core/config-loader.js +3 -2
  46. package/dist/core/config-paths.js +38 -31
  47. package/dist/core/context-loader.js +5 -5
  48. package/dist/core/features-config.js +1 -1
  49. package/dist/core/index.js +2 -2
  50. package/dist/core/logging-config.js +7 -7
  51. package/dist/core/orchestrator.js +2 -2
  52. package/dist/core/system-prompt-generator.js +2 -2
  53. package/dist/core/xray-activation.js +42 -41
  54. package/dist/delegation/agent-delegator.js +3 -3
  55. package/dist/enforcement/enforcer-tools.js +4 -4
  56. package/dist/enforcement/loaders/codex-loader.js +2 -2
  57. package/dist/execution/opencode-cli-invoker.js +1 -1
  58. package/dist/governance/governance-service.js +1 -1
  59. package/dist/governance/llm-governance-provider.js +223 -0
  60. package/dist/index.js +6 -6
  61. package/dist/inference/deploy-verifier.js +1 -1
  62. package/dist/inference/inference-cycle.js +16 -16
  63. package/dist/integrations/base/README.md +1 -1
  64. package/dist/integrations/enforcement-gate.js +2 -2
  65. package/dist/integrations/governance/index.js +1 -1
  66. package/dist/integrations/grok/grok-cli.js +20 -6
  67. package/dist/integrations/grok/hooks/pre-tool-use.js +3 -3
  68. package/dist/integrations/grok/plugin/0xray/.mcp.json +16 -4
  69. package/dist/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
  70. package/dist/integrations/hermes-agent/__init__.py +90 -79
  71. package/dist/integrations/hermes-agent/after-install.md +14 -14
  72. package/dist/integrations/hermes-agent/bridge.mjs +60 -25
  73. package/dist/integrations/hermes-agent/plugin.yaml +5 -5
  74. package/dist/integrations/hermes-agent/schemas.py +61 -12
  75. package/dist/integrations/hermes-agent/test_plugin.py +124 -124
  76. package/dist/integrations/hermes-agent/tools.py +129 -25
  77. package/dist/integrations/openclaw/README.md +6 -6
  78. package/dist/integrations/openclaw/config.js +1 -1
  79. package/dist/integrations/openclaw/index.js +2 -2
  80. package/dist/integrations/openclaw/types.js +3 -3
  81. package/dist/integrations/plugins/plugin-integration.js +1 -1
  82. package/dist/integrations/plugins/plugin-registry.js +3 -3
  83. package/dist/mcps/architect-tools.server.js +3 -2
  84. package/dist/mcps/auto-format.server.js +2 -2
  85. package/dist/mcps/boot-orchestrator.server.js +2 -2
  86. package/dist/mcps/config/config-loader.js +40 -9
  87. package/dist/mcps/config/server-config-registry.js +10 -10
  88. package/dist/mcps/connection/mcp-connection.js +1 -1
  89. package/dist/mcps/enforcer-tools.server.js +2 -2
  90. package/dist/mcps/estimation.server.js +3 -2
  91. package/dist/mcps/framework-compliance-audit.server.js +2 -2
  92. package/dist/mcps/framework-help.server.js +9 -8
  93. package/dist/mcps/governance.server.js +8 -4
  94. package/dist/mcps/knowledge-skills/api-design.server.js +3 -2
  95. package/dist/mcps/knowledge-skills/architecture-patterns.server.js +3 -2
  96. package/dist/mcps/knowledge-skills/bug-triage-specialist.server.js +3 -3
  97. package/dist/mcps/knowledge-skills/code-analyzer.server.js +2 -2
  98. package/dist/mcps/knowledge-skills/code-review.server.js +14 -39
  99. package/dist/mcps/knowledge-skills/content-creator.server.js +3 -3
  100. package/dist/mcps/knowledge-skills/database-design.server.js +2 -2
  101. package/dist/mcps/knowledge-skills/devops-deployment.server.js +3 -2
  102. package/dist/mcps/knowledge-skills/git-workflow.server.js +3 -2
  103. package/dist/mcps/knowledge-skills/growth-strategist.server.js +3 -3
  104. package/dist/mcps/knowledge-skills/log-monitor.server.js +3 -3
  105. package/dist/mcps/knowledge-skills/mobile-development.server.js +3 -3
  106. package/dist/mcps/knowledge-skills/multimodal-looker.server.js +3 -3
  107. package/dist/mcps/knowledge-skills/performance-optimization.server.js +2 -2
  108. package/dist/mcps/knowledge-skills/project-analysis.server.js +2 -2
  109. package/dist/mcps/knowledge-skills/refactoring-strategies.server.js +3 -2
  110. package/dist/mcps/knowledge-skills/security-audit.server.js +14 -44
  111. package/dist/mcps/knowledge-skills/seo-consultant.server.js +3 -2
  112. package/dist/mcps/knowledge-skills/session-management.server.js +3 -2
  113. package/dist/mcps/knowledge-skills/skill-invocation.server.js +105 -3
  114. package/dist/mcps/knowledge-skills/strategist.server.js +3 -3
  115. package/dist/mcps/knowledge-skills/tech-writer.server.js +3 -3
  116. package/dist/mcps/knowledge-skills/testing-best-practices.server.js +3 -2
  117. package/dist/mcps/knowledge-skills/testing-strategy.server.js +2 -2
  118. package/dist/mcps/knowledge-skills/ui-ux-design.server.js +5 -4
  119. package/dist/mcps/lint.server.js +4 -4
  120. package/dist/mcps/mcp-client.js +5 -5
  121. package/dist/mcps/model-health-check.server.js +3 -2
  122. package/dist/mcps/orchestrator/server.js +4 -3
  123. package/dist/mcps/orchestrator.server.js +2 -1
  124. package/dist/mcps/performance-analysis.server.js +2 -2
  125. package/dist/mcps/processor-pipeline.server.js +3 -2
  126. package/dist/mcps/registry.json +1 -1
  127. package/dist/mcps/researcher.server.js +14 -39
  128. package/dist/mcps/security-scan.server.js +2 -2
  129. package/dist/mcps/simulation/server-simulations.js +3 -3
  130. package/dist/mcps/state-manager.server.js +5 -5
  131. package/dist/metrics/agent-metrics.js +1 -1
  132. package/dist/orchestrator/enhanced-multi-agent-orchestrator.js +4 -4
  133. package/dist/orchestrator/intelligent-commit-batcher.js +2 -3
  134. package/dist/orchestrator/multi-agent-orchestration-coordinator.js +9 -9
  135. package/dist/orchestrator/orchestrator.js +9 -8
  136. package/dist/orchestrator/universal-registry-bridge.js +4 -4
  137. package/dist/postprocessor/PostProcessor.js +9 -9
  138. package/dist/postprocessor/services/RegressionAnalysisService.js +4 -4
  139. package/dist/postprocessor/triggers/GitHookTrigger.js +18 -18
  140. package/dist/processors/implementations/agents-md-validation-processor.js +2 -2
  141. package/dist/processors/implementations/inference-improvement-processor.js +1 -2
  142. package/dist/processors/implementations/log-protection-processor.js +2 -2
  143. package/dist/processors/implementations/publish-preflight-processor.js +2 -3
  144. package/dist/processors/implementations/regression-testing-processor.js +2 -2
  145. package/dist/processors/implementations/session-summary-processor.js +2 -2
  146. package/dist/processors/implementations/storytelling-trigger-processor.js +1 -2
  147. package/dist/public/about.html +6 -6
  148. package/dist/public/enterprise.html +1 -1
  149. package/dist/public/features.html +2 -2
  150. package/dist/public/index.html +4 -4
  151. package/dist/reporting/report-formatter.js +1 -1
  152. package/dist/scripts/activate-kernel-pipeline.js +4 -4
  153. package/dist/scripts/pre-command +1 -1
  154. package/dist/services/inference-tuner.js +2 -2
  155. package/dist/skills/api-design/SKILL.md +1 -1
  156. package/dist/skills/architect-tools/SKILL.md +1 -1
  157. package/dist/skills/architecture-patterns/SKILL.md +1 -1
  158. package/dist/skills/auto-format/SKILL.md +1 -1
  159. package/dist/skills/boot-orchestrator/SKILL.md +1 -1
  160. package/dist/skills/bug-triage/SKILL.md +1 -1
  161. package/dist/skills/code-analyzer/SKILL.md +1 -1
  162. package/dist/skills/code-review/SKILL.md +1 -1
  163. package/dist/skills/enforcer/SKILL.md +1 -1
  164. package/dist/skills/framework-compliance-audit/SKILL.md +1 -1
  165. package/dist/skills/git-workflow/SKILL.md +1 -1
  166. package/dist/skills/hermes-agent/SKILL.md +42 -42
  167. package/dist/skills/inference-improve/SKILL.md +1 -1
  168. package/dist/skills/lint/SKILL.md +1 -1
  169. package/dist/skills/log-monitor/SKILL.md +1 -1
  170. package/dist/skills/model-health-check/SKILL.md +1 -1
  171. package/dist/skills/multimodal-looker/SKILL.md +1 -1
  172. package/dist/skills/orchestrator/SKILL.md +1 -1
  173. package/dist/skills/performance-analysis/SKILL.md +1 -1
  174. package/dist/skills/performance-optimization/SKILL.md +1 -1
  175. package/dist/skills/processor-pipeline/SKILL.md +1 -1
  176. package/dist/skills/project-analysis/SKILL.md +1 -1
  177. package/dist/skills/refactoring-strategies/SKILL.md +1 -1
  178. package/dist/skills/registry.json +1 -1
  179. package/dist/skills/researcher/SKILL.md +1 -1
  180. package/dist/skills/security-audit/SKILL.md +1 -1
  181. package/dist/skills/security-scan/SKILL.md +1 -1
  182. package/dist/skills/session-management/SKILL.md +1 -1
  183. package/dist/skills/state-manager/SKILL.md +1 -1
  184. package/dist/skills/storyteller/SKILL.md +1 -1
  185. package/dist/skills/testing-best-practices/SKILL.md +1 -1
  186. package/dist/skills/testing-strategy/SKILL.md +1 -1
  187. package/dist/skills/ui-ux-design/SKILL.md +1 -1
  188. package/dist/state/index.js +1 -1
  189. package/dist/state/state-manager.js +3 -4
  190. package/dist/utils/import-resolver.js +1 -1
  191. package/dist/utils/path-resolver.js +2 -2
  192. package/dist/utils/token-manager.js +1 -1
  193. package/dist/validation/estimation-validator.js +1 -1
  194. package/package.json +10 -3
  195. package/scripts/hooks/pre-command +1 -1
  196. package/scripts/hooks/run-hook.js +2 -2
  197. package/scripts/node/auto-reflection-generator.mjs +30 -36
  198. package/scripts/node/govern-reflection.mjs +1 -1
  199. package/scripts/node/postinstall.cjs +37 -2
  200. package/scripts/node/pre-publish-guard.js +13 -9
  201. package/scripts/node/setup-xai-oauth.mjs +244 -0
  202. package/scripts/node/universal-version-manager.js +8 -8
  203. package/scripts/node/version-manager.mjs +1 -1
  204. package/src/integrations/grok/plugin/0xray/.mcp.json +16 -4
  205. package/src/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
  206. package/src/mcps/architect-tools.server.ts +2 -2
  207. package/src/mcps/auto-format.server.ts +2 -2
  208. package/src/mcps/boot-orchestrator.server.ts +2 -2
  209. package/src/mcps/config/__tests__/config-loader.test.ts +29 -33
  210. package/src/mcps/config/__tests__/server-config-registry.test.ts +12 -12
  211. package/src/mcps/config/config-loader.ts +50 -11
  212. package/src/mcps/config/server-config-registry.ts +10 -10
  213. package/src/mcps/connection/mcp-connection.ts +1 -1
  214. package/src/mcps/enforcer-tools.server.ts +2 -2
  215. package/src/mcps/estimation.server.ts +3 -2
  216. package/src/mcps/framework-compliance-audit.server.ts +2 -2
  217. package/src/mcps/framework-help.server.ts +9 -8
  218. package/src/mcps/governance.server.ts +8 -3
  219. package/src/mcps/knowledge-skills/api-design.server.ts +3 -2
  220. package/src/mcps/knowledge-skills/architecture-patterns.server.ts +2 -2
  221. package/src/mcps/knowledge-skills/bug-triage-specialist.server.ts +2 -2
  222. package/src/mcps/knowledge-skills/code-analyzer.server.ts +2 -2
  223. package/src/mcps/knowledge-skills/code-review.server.ts +21 -36
  224. package/src/mcps/knowledge-skills/content-creator.server.ts +3 -3
  225. package/src/mcps/knowledge-skills/database-design.server.ts +2 -2
  226. package/src/mcps/knowledge-skills/devops-deployment.server.ts +3 -2
  227. package/src/mcps/knowledge-skills/git-workflow.server.ts +3 -2
  228. package/src/mcps/knowledge-skills/growth-strategist.server.ts +3 -3
  229. package/src/mcps/knowledge-skills/log-monitor.server.ts +3 -3
  230. package/src/mcps/knowledge-skills/mobile-development.server.ts +3 -3
  231. package/src/mcps/knowledge-skills/multimodal-looker.server.ts +3 -3
  232. package/src/mcps/knowledge-skills/performance-optimization.server.ts +2 -2
  233. package/src/mcps/knowledge-skills/project-analysis.server.ts +2 -2
  234. package/src/mcps/knowledge-skills/refactoring-strategies.server.ts +3 -2
  235. package/src/mcps/knowledge-skills/security-audit.server.ts +21 -40
  236. package/src/mcps/knowledge-skills/seo-consultant.server.ts +3 -2
  237. package/src/mcps/knowledge-skills/session-management.server.ts +3 -2
  238. package/src/mcps/knowledge-skills/skill-invocation.server.ts +113 -3
  239. package/src/mcps/knowledge-skills/strategist.server.ts +3 -3
  240. package/src/mcps/knowledge-skills/tech-writer.server.ts +3 -3
  241. package/src/mcps/knowledge-skills/testing-best-practices.server.ts +3 -2
  242. package/src/mcps/knowledge-skills/testing-strategy.server.ts +2 -2
  243. package/src/mcps/knowledge-skills/ui-ux-design.server.ts +5 -4
  244. package/src/mcps/lint.server.ts +4 -4
  245. package/src/mcps/mcp-client.ts +5 -5
  246. package/src/mcps/model-health-check.server.ts +2 -2
  247. package/src/mcps/orchestrator/server.ts +4 -3
  248. package/src/mcps/orchestrator.server.ts +2 -1
  249. package/src/mcps/performance-analysis.server.ts +2 -2
  250. package/src/mcps/processor-pipeline.server.ts +3 -2
  251. package/src/mcps/registry.json +1 -1
  252. package/src/mcps/researcher.server.ts +21 -36
  253. package/src/mcps/security-scan.server.ts +2 -2
  254. package/src/mcps/simulation/server-simulations.ts +3 -3
  255. package/src/mcps/state-manager.server.ts +5 -5
  256. package/src/opencode/codex.codex +1 -1
  257. package/src/opencode/commands/dependency-audit.md +3 -3
  258. package/src/opencode/commands/summary-logger.md +4 -4
  259. package/src/opencode/enforcer-config.json +2 -2
  260. package/src/skills/api-design/SKILL.md +1 -1
  261. package/src/skills/architect-tools/SKILL.md +1 -1
  262. package/src/skills/architecture-patterns/SKILL.md +1 -1
  263. package/src/skills/auto-format/SKILL.md +1 -1
  264. package/src/skills/boot-orchestrator/SKILL.md +1 -1
  265. package/src/skills/bug-triage/SKILL.md +1 -1
  266. package/src/skills/code-analyzer/SKILL.md +1 -1
  267. package/src/skills/code-review/SKILL.md +1 -1
  268. package/src/skills/enforcer/SKILL.md +1 -1
  269. package/src/skills/framework-compliance-audit/SKILL.md +1 -1
  270. package/src/skills/git-workflow/SKILL.md +1 -1
  271. package/src/skills/hermes-agent/SKILL.md +42 -42
  272. package/src/skills/inference-improve/SKILL.md +1 -1
  273. package/src/skills/lint/SKILL.md +1 -1
  274. package/src/skills/log-monitor/SKILL.md +1 -1
  275. package/src/skills/model-health-check/SKILL.md +1 -1
  276. package/src/skills/multimodal-looker/SKILL.md +1 -1
  277. package/src/skills/orchestrator/SKILL.md +1 -1
  278. package/src/skills/performance-analysis/SKILL.md +1 -1
  279. package/src/skills/performance-optimization/SKILL.md +1 -1
  280. package/src/skills/processor-pipeline/SKILL.md +1 -1
  281. package/src/skills/project-analysis/SKILL.md +1 -1
  282. package/src/skills/refactoring-strategies/SKILL.md +1 -1
  283. package/src/skills/registry.json +1 -1
  284. package/src/skills/researcher/SKILL.md +1 -1
  285. package/src/skills/security-audit/SKILL.md +1 -1
  286. package/src/skills/security-scan/SKILL.md +1 -1
  287. package/src/skills/session-management/SKILL.md +1 -1
  288. package/src/skills/state-manager/SKILL.md +1 -1
  289. package/src/skills/storyteller/SKILL.md +1 -1
  290. package/src/skills/testing-best-practices/SKILL.md +1 -1
  291. package/src/skills/testing-strategy/SKILL.md +1 -1
  292. package/src/skills/ui-ux-design/SKILL.md +1 -1
  293. package/xray/agents_template.md +46 -0
  294. package/xray/codex.json +598 -0
  295. package/dist/plugin/xray-codex-injection.js +0 -857
  296. /package/dist/integrations/openclaw/hooks/{strray-hooks.js → xray-hooks.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.22.67",
2
+ "version": "3.1.0",
3
3
  "terms": [
4
4
  1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60
5
5
  ],
@@ -69,7 +69,7 @@ Comprehensive dependency analysis and security audit for all project dependencie
69
69
  "vulnerabilities": [
70
70
  {
71
71
  "package": "lodash",
72
- "version": "1.22.67",
72
+ "version": "3.1.0",
73
73
  "severity": "high",
74
74
  "cve": "CVE-2021-23337",
75
75
  "description": "Command injection vulnerability"
@@ -85,14 +85,14 @@ Security-focused format for CI/CD integration:
85
85
 
86
86
  ```json
87
87
  {
88
- "version": "1.22.67",
88
+ "version": "3.1.0",
89
89
  "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
90
90
  "runs": [
91
91
  {
92
92
  "tool": {
93
93
  "driver": {
94
94
  "name": "Dependency Audit",
95
- "version": "1.22.67"
95
+ "version": "3.1.0"
96
96
  }
97
97
  },
98
98
  "results": [...]
@@ -47,17 +47,17 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
47
47
  PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
48
48
  REFACTORING_LOG="${PROJECT_ROOT}/docs/REFACTORING_LOG.md"
49
49
 
50
- # Check if summary content is provided via environment variable or stdin (XRAY_ primary + STRRAY_ min compat fallback per Scope Rule)
50
+ # Check if summary content is provided via environment variable or stdin (XRAY_ primary)
51
51
 
52
52
  if [ -n "$XRAY_SUMMARY_CONTENT" ]; then
53
53
  SUMMARY_CONTENT="$XRAY_SUMMARY_CONTENT"
54
- elif [ -n "$STRRAY_SUMMARY_CONTENT" ]; then
55
- SUMMARY_CONTENT="$STRRAY_SUMMARY_CONTENT"
54
+ elif [ -n "$XRAY_SUMMARY_CONTENT" ]; then
55
+ SUMMARY_CONTENT="$XRAY_SUMMARY_CONTENT"
56
56
  elif [ ! -t 0 ]; then
57
57
  # Read from stdin
58
58
  SUMMARY_CONTENT=$(cat)
59
59
  else
60
- echo "❌ No summary content provided. Use XRAY_SUMMARY_CONTENT (or STRRAY_ compat) environment variable or pipe content."
60
+ echo "❌ No summary content provided. Use XRAY_SUMMARY_CONTENT environment variable or pipe content."
61
61
  echo "Usage:"
62
62
  echo " export XRAY_SUMMARY_CONTENT='summary content' && bash .opencode/commands/summary-logger.md"
63
63
  echo " echo 'summary content' | bash .opencode/commands/summary-logger.md"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "framework": "xray 2.0",
3
- "version": "1.22.67",
3
+ "version": "3.1.0",
4
4
  "description": "Codex-compliant framework configuration for Credible UI project",
5
5
  "thresholds": {
6
6
  "bundleSize": {
@@ -220,7 +220,7 @@
220
220
  }
221
221
  },
222
222
  "codex": {
223
- "version": "1.22.67",
223
+ "version": "3.1.0",
224
224
  "terms": [
225
225
  1,
226
226
  2,
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: api-design
4
4
  description: RESTful API design and validation
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [design, api, design]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: architect-tools
4
4
  description: System design and technical architecture tools
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [design, architect, tools]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: architecture-patterns
4
4
  description: Software architecture patterns and best practices
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [design, architecture, patterns]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: auto-format
4
4
  description: Automated code formatting and style consistency
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [formatting, auto, format]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: boot-orchestrator
4
4
  description: Framework initialization and boot orchestration
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [infrastructure, boot, orchestrator]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: bug-triage
4
4
  description: Bug triage, debugging analysis, and issue prioritization
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [debugging, bug-fix, triage, error-analysis]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: code-analyzer
4
4
  description: Deep code analysis, metrics extraction, and pattern detection (CONSOLIDATED - combines analyzer, explore, and original code-analyzer)
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [analysis, metrics, code-quality, patterns]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: code-review
4
4
  description: Perform comprehensive code quality assessment and provide improvement suggestions
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [review, quality, assessment, improvement]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: enforcer
4
4
  description: Codex compliance validation and error prevention
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [quality, enforcer]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: framework-compliance-audit
4
4
  description: Framework compliance auditing and validation
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [compliance, framework, compliance, audit]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: git-workflow
4
4
  description: Git workflow management and collaboration tools
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [collaboration, git, workflow]
@@ -1,21 +1,21 @@
1
1
  ---
2
2
  name: hermes-agent
3
- description: Manage StringRay framework from Hermes Agent via the native strray-hermes plugin. Covers the 4 plugin tools (validate, codex_check, health, hooks), lifecycle hooks, slash commands, bridge architecture, and CLI fallback.
3
+ description: Manage 0xRay framework from Hermes Agent via the native xray-hermes plugin. Covers the 4 plugin tools (validate, codex_check, health, hooks), lifecycle hooks, slash commands, bridge architecture, and CLI fallback.
4
4
  version: 2.1.0
5
- author: StringRay AI
5
+ author: 0xRay AI
6
6
  metadata:
7
7
  hermes:
8
- tags: [StringRay, Plugin, Validation, Codex, GitHooks, Bridge]
8
+ tags: [0xRay, Plugin, Validation, Codex, GitHooks, Bridge]
9
9
  related_skills: []
10
10
  ---
11
11
 
12
- # StringRay Hermes Plugin (strray-hermes)
12
+ # 0xRay Hermes Plugin (xray-hermes)
13
13
 
14
- Native Hermes plugin providing StringRay framework integration — quality gates, codex enforcement, git hooks, and full pre/post processing pipeline. Runs via a Node.js bridge to compiled framework components.
14
+ Native Hermes plugin providing 0xRay framework integration — quality gates, codex enforcement, git hooks, and full pre/post processing pipeline. Runs via a Node.js bridge to compiled framework components.
15
15
 
16
16
  ## When to Use
17
17
 
18
- - User asks about StringRay health, validation, or codex checks
18
+ - User asks about 0xRay health, validation, or codex checks
19
19
  - User wants to install/manage git hooks for automated enforcement
20
20
  - User asks about the plugin's tools, hooks, or slash commands
21
21
  - User asks about bridge errors or framework not loading
@@ -24,11 +24,11 @@ Native Hermes plugin providing StringRay framework integration — quality gates
24
24
  ## Plugin Architecture
25
25
 
26
26
  ```
27
- ~/.hermes/plugins/strray-hermes/
27
+ ~/.hermes/plugins/xray-hermes/
28
28
  ├── __init__.py # Plugin registration, hooks, slash commands
29
29
  ├── tools.py # 4 tool handlers (validate, codex_check, health, hooks)
30
30
  ├── schemas.py # JSON schemas the LLM sees
31
- ├── bridge.mjs # Node.js bridge to compiled StringRay framework
31
+ ├── bridge.mjs # Node.js bridge to compiled 0xRay framework
32
32
  ├── plugin.yaml # Plugin metadata (name, version, tools, hooks)
33
33
  ├── types.py # TypeScript-equivalent type definitions
34
34
  ├── after-install.md # Post-install instructions
@@ -43,17 +43,17 @@ Native Hermes plugin providing StringRay framework integration — quality gates
43
43
 
44
44
  **Fallback:** When bridge is unavailable, tools fall back to `npx 0xray` CLI commands.
45
45
 
46
- **Config path resolution:** `STRRAY_CONFIG_DIR/` > `.strray/` > `.opencode/strray/` > built-in defaults.
46
+ **Config path resolution:** `XRAY_CONFIG_DIR/` > `.xray/` > built-in defaults.
47
47
 
48
48
  ## 4 Tools
49
49
 
50
- ### strray_validate
50
+ ### xray_validate
51
51
 
52
52
  Run pre-commit validation on files. Uses bridge quality gate + processor pipeline, falls back to CLI.
53
53
 
54
54
  ```
55
- strray_validate(files=["src/my-module.ts"], operation="commit")
56
- strray_validate(files=["src/auth.ts", "src/auth.test.ts"], operation="modify")
55
+ xray_validate(files=["src/my-module.ts"], operation="commit")
56
+ xray_validate(files=["src/auth.ts", "src/auth.test.ts"], operation="modify")
57
57
  ```
58
58
 
59
59
  Parameters:
@@ -62,13 +62,13 @@ Parameters:
62
62
 
63
63
  Returns: pass/fail with per-file results and violations.
64
64
 
65
- ### strray_codex_check
65
+ ### xray_codex_check
66
66
 
67
67
  Validate code against the 60-term Universal Development Codex. Checks error-handling, type-safety, performance, security, architecture.
68
68
 
69
69
  ```
70
- strray_codex_check(code="const x: any = foo()", operation="create")
71
- strray_codex_check(code=snippet, operation="modify", focus_areas=["security", "error-handling"])
70
+ xray_codex_check(code="const x: any = foo()", operation="create")
71
+ xray_codex_check(code=snippet, operation="modify", focus_areas=["security", "error-handling"])
72
72
  ```
73
73
 
74
74
  Parameters:
@@ -78,25 +78,25 @@ Parameters:
78
78
 
79
79
  Returns: violations list with actionable remediation.
80
80
 
81
- ### strray_health
81
+ ### xray_health
82
82
 
83
83
  Framework health check. Returns version, loaded components, project root.
84
84
 
85
85
  ```
86
- strray_health()
86
+ xray_health()
87
87
  ```
88
88
 
89
89
  Returns: framework status, version, component availability, node version.
90
90
 
91
- ### strray_hooks
91
+ ### xray_hooks
92
92
 
93
- Manage StringRay git hooks (install, uninstall, list, status).
93
+ Manage 0xRay git hooks (install, uninstall, list, status).
94
94
 
95
95
  ```
96
- strray_hooks(action="install")
97
- strray_hooks(action="status")
98
- strray_hooks(action="list")
99
- strray_hooks(action="uninstall", hooks=["pre-commit"])
96
+ xray_hooks(action="install")
97
+ xray_hooks(action="status")
98
+ xray_hooks(action="list")
99
+ xray_hooks(action="uninstall", hooks=["pre-commit"])
100
100
  ```
101
101
 
102
102
  Parameters:
@@ -122,7 +122,7 @@ Fires before ANY tool executes:
122
122
  1. Tracks session stats
123
123
  2. Logs tool-start event to `logs/framework/plugin-tool-events.log`
124
124
  3. For code-producing tools (write_file, patch, execute_code, write, edit): runs quality gate + pre-processors via bridge
125
- 4. For other tools: nudges when a StringRay MCP alternative exists (e.g., grep → search_codebase, eslint → strray_lint)
125
+ 4. For other tools: nudges when a 0xRay MCP alternative exists (e.g., grep → search_codebase, eslint → xray_lint)
126
126
 
127
127
  ### post_tool_call
128
128
 
@@ -137,16 +137,16 @@ Fires when a new session starts. Resets stats and logs to disk. Registration is
137
137
  ## Slash Command
138
138
 
139
139
  ```
140
- /strray status — Plugin and framework health (calls bridge)
141
- /strray stats — Session pipeline statistics
142
- /strray help — Show available commands
140
+ /xray status — Plugin and framework health (calls bridge)
141
+ /xray stats — Session pipeline statistics
142
+ /xray help — Show available commands
143
143
  /sr status — Alias
144
144
  ```
145
145
 
146
146
  ## Session Stats (tracked automatically)
147
147
 
148
- The plugin tracks per-session counters visible via `/strray stats`:
149
- - total_tool_calls, code_operations, strray_mcp_calls, native_tool_calls
148
+ The plugin tracks per-session counters visible via `/xray stats`:
149
+ - total_tool_calls, code_operations, xray_mcp_calls, native_tool_calls
150
150
  - quality_gate_runs, quality_gate_blocks
151
151
  - pre_processor_runs, post_processor_runs
152
152
  - bridge_calls, bridge_errors
@@ -164,13 +164,13 @@ All logs go to `logs/framework/` in the project root:
164
164
 
165
165
  | User Says | Tool / Command |
166
166
  |----------|---------------|
167
- | "Is StringRay working?" | `strray_health()` or `/strray status` |
168
- | "Check these files before I commit" | `strray_validate(files=[...], operation="commit")` |
169
- | "Is this code codex compliant?" | `strray_codex_check(code=..., operation="create")` |
170
- | "Set up git hooks" | `strray_hooks(action="install")` |
171
- | "What hooks are installed?" | `strray_hooks(action="status")` |
172
- | "Show session stats" | `/strray stats` |
173
- | "Why is the bridge failing?" | Check `strray_health()` → if `framework: "not_loaded"`, verify `dist/` symlink |
167
+ | "Is 0xRay working?" | `xray_health()` or `/xray status` |
168
+ | "Check these files before I commit" | `xray_validate(files=[...], operation="commit")` |
169
+ | "Is this code codex compliant?" | `xray_codex_check(code=..., operation="create")` |
170
+ | "Set up git hooks" | `xray_hooks(action="install")` |
171
+ | "What hooks are installed?" | `xray_hooks(action="status")` |
172
+ | "Show session stats" | `/xray stats` |
173
+ | "Why is the bridge failing?" | Check `xray_health()` → if `framework: "not_loaded"`, verify `dist/` symlink |
174
174
 
175
175
  ## Bridge Commands (internal)
176
176
 
@@ -188,8 +188,8 @@ These are called by the Python tools via `bridge.mjs`, not directly by the LLM:
188
188
 
189
189
  Bridge can be invoked directly for debugging:
190
190
  ```bash
191
- echo '{"command":"health"}' | node ~/.hermes/plugins/strray-hermes/bridge.mjs
192
- node ~/.hermes/plugins/strray-hermes/bridge.mjs health --cwd /path/to/project
191
+ echo '{"command":"health"}' | node ~/.hermes/plugins/xray-hermes/bridge.mjs
192
+ node ~/.hermes/plugins/xray-hermes/bridge.mjs health --cwd /path/to/project
193
193
  ```
194
194
 
195
195
  ## Relationship to MCP Servers
@@ -198,15 +198,15 @@ The plugin and MCP servers are complementary:
198
198
  - **Plugin tools** = offline-first, always available, lightweight (validate, codex check, health, hooks)
199
199
  - **MCP servers** = deeper analysis requiring running Node.js (lint, security scan, architecture assessment, orchestration, codebase search)
200
200
 
201
- The plugin's pre_tool_call hook nudges when an MCP alternative exists (e.g., "use mcp_strray_lint_lint instead of raw eslint"). This is advisory, not blocking.
201
+ The plugin's pre_tool_call hook nudges when an MCP alternative exists (e.g., "use mcp_xray_lint_lint instead of raw eslint"). This is advisory, not blocking.
202
202
 
203
203
  ## Pitfalls
204
204
 
205
205
  - Plugin requires restart after install/edit: Hermes loads plugins once at session start.
206
206
  - Bridge needs `dist/` symlink: The bridge loads compiled `.js` from `dist/` → `node_modules/0xray/dist/`. If the symlink breaks, bridge returns `framework: "not_loaded"`.
207
- - `strray_codex_check` without `code` param returns health, not a codex check. Pass `code` for actual validation.
207
+ - `xray_codex_check` without `code` param returns health, not a codex check. Pass `code` for actual validation.
208
208
  - CLI fallback requires `npx 0xray` in PATH. If bridge fails and CLI isn't available, tools return errors.
209
209
  - Quality gate blocks are logged but NOT enforced (advisory). The tool returns violations; the agent decides what to do.
210
- - Git hooks use symlinks from `.git/hooks/` → `hooks/`. If the `hooks/` directory doesn't exist in the project, `strray_hooks(action="install")` skips those hooks.
211
- - Project root detection walks up from CWD looking for `node_modules/0xray`, `.opencode/strray/features.json`, or `package.json`. Override with `STRRAY_PROJECT_ROOT` env var.
210
+ - Git hooks use symlinks from `.git/hooks/` → `hooks/`. If the `hooks/` directory doesn't exist in the project, `xray_hooks(action="install")` skips those hooks.
211
+ - Project root detection walks up from CWD looking for `node_modules/0xray`, `.xray/features.json`, or `package.json`. Override with `XRAY_PROJECT_ROOT` env var.
212
212
  - `logs/framework/` is created automatically. Never breaks the agent if permissions fail.
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: inference-improve
4
4
  description: Autonomous inference improvement through collaborative agent analysis
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [inference, improvement, autonomous, learning]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: lint
4
4
  description: Code linting and static analysis
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [quality, lint]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: log-monitor
4
4
  description: Log analysis, pattern detection, and alerting
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [monitoring, logging, alerting, observability]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: model-health-check
4
4
  description: AI model health monitoring and diagnostics
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [monitoring, model, health, check]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: multimodal-looker
4
4
  description: Visual content analysis for diagrams, screenshots, and UI mockups
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [visual, diagrams, screenshots, accessibility, ui-analysis]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: orchestrator
4
4
  description: Multi-agent workflow coordination and task delegation
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [orchestration, orchestrator]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: performance-analysis
4
4
  description: System performance analysis and optimization
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [performance, performance, analysis]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: performance-optimization
4
4
  description: Application performance optimization and tuning
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [performance, performance, optimization]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: processor-pipeline
4
4
  description: Data processing pipeline management
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [processing, processor, pipeline]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: project-analysis
4
4
  description: Analyze project structure, complexity, and health metrics
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [analysis, project, complexity, health]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: refactoring-strategies
4
4
  description: Code refactoring techniques and strategies
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [refactoring, refactoring, strategies]
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.22.67",
2
+ "version": "3.1.0",
3
3
  "description": "0xRay Skills Registry - recommended skill sources for consumers",
4
4
  "sources": [
5
5
  {
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: researcher
4
4
  description: Multi-repo analysis, documentation lookup, and implementation examples
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [research, researcher]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: security-audit
4
4
  description: Security auditing and compliance validation
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [security, security, audit]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: security-scan
4
4
  description: Security vulnerability scanning and assessment
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [security, security, scan]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: session-management
4
4
  description: Manage user sessions and persistent state
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [infrastructure, session, management]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: state-manager
4
4
  description: Application state management and persistence
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [infrastructure, state, manager]
@@ -96,7 +96,7 @@ codex_terms: [5, 7, 32] # Related Codex term numbers
96
96
  ```markdown
97
97
  ## What Next?
98
98
 
99
- - Related Codex terms: [codex.json](../../.opencode/strray/codex.json)
99
+ - Related Codex terms: [codex.json](../../../../.xray/codex.json)
100
100
  - Next story to write: [suggestion]
101
101
  ```
102
102
 
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: testing-best-practices
4
4
  description: Testing best practices and quality assurance
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [testing, testing, best, practices]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: testing-strategy
4
4
  description: Design comprehensive testing strategies and optimize test coverage
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 1.0.0
7
7
  schema_version: "1.0"
8
8
  tags: [testing, strategy, coverage, quality]
@@ -2,7 +2,7 @@
2
2
  source: framework
3
3
  name: ui-ux-design
4
4
  description: User interface and user experience design with mobile-first approach, cognitive simplicity, and accessibility-first principles
5
- author: StrRay Framework
5
+ author: Xray Framework
6
6
  version: 2.1.0
7
7
  schema_version: "1.0"
8
8
  tags: [design, ui, ux, accessibility, mobile-first, visual-hierarchy, wcag, contrast, color-theory, dont-make-me-think]
@@ -0,0 +1,46 @@
1
+ # 0xRay AI Agents
2
+
3
+ Quick reference for the 0xRay AI orchestration framework (v16 MCPs-centric three-subsystem).
4
+
5
+ ## Available MCP Servers
6
+
7
+ | Server | Role |
8
+ |--------|------|
9
+ | `xray-governance` | Proposal governance, codex snapshot, quality gates |
10
+ | `xray-skills` | Skill invocation, agent-specific knowledge servers |
11
+ | `xray-enforcer` | Codex compliance enforcement, rule validation |
12
+ | `xray-orchestrator` | Multi-agent workflow coordination, task delegation |
13
+
14
+ ## CLI Commands
15
+
16
+ | Command | Description |
17
+ |---------|-------------|
18
+ | `xray setup` | Full framework setup (hooks, Hermes, symlinks) |
19
+ | `xray validate` | Validate codex compliance |
20
+ | `xray codex check` | Check codex rules |
21
+ | `xray health` | Framework health check |
22
+ | `xray hooks` | Manage lifecycle hooks |
23
+
24
+ ## Governance
25
+
26
+ xray operates under the three-subsystem model: Inference + External Governance (Dynamo Solar SSOT) + Autonomous Engine (thinDispatch 7-flow in MCP orchestrator). All actions are validated against the Universal Development Codex before execution.
27
+
28
+ **Codex**: The codex lives in `.xray/codex.json` and enforces 60 terms across all agent interactions.
29
+
30
+ ## thinDispatch Routing
31
+
32
+ - Simple (≤15): Single agent
33
+ - Moderate (≤25): Single agent with tools
34
+ - Complex (≤50): Multi-agent coordination
35
+ - Enterprise (>50): Orchestrator-led team
36
+
37
+ ## File Organization
38
+
39
+ | File Type | Save To |
40
+ |-----------|---------|
41
+ | Reflections | `docs/reflections/` |
42
+ | Logs | `logs/` |
43
+ | Scripts | `scripts/` or `scripts/bash/` |
44
+ | Test Files | `src/__tests__/` |
45
+ | Source Code | `src/` |
46
+ | Config | `config/` or `.xray/` |