0xray 3.5.4 → 4.0.0
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/.mcp.json +51 -7
- package/.opencode/skills/api-design/SKILL.md +1 -1
- package/.opencode/skills/architect-tools/SKILL.md +1 -1
- package/.opencode/skills/architecture-patterns/SKILL.md +1 -1
- package/.opencode/skills/auto-format/SKILL.md +1 -1
- package/.opencode/skills/boot-orchestrator/SKILL.md +2 -6
- package/.opencode/skills/bug-triage/SKILL.md +1 -1
- package/.opencode/skills/code-analyzer/SKILL.md +1 -1
- package/.opencode/skills/code-review/SKILL.md +1 -1
- package/.opencode/skills/enforcer/SKILL.md +1 -1
- package/.opencode/skills/framework-compliance-audit/SKILL.md +1 -1
- package/.opencode/skills/git-workflow/SKILL.md +1 -1
- package/.opencode/skills/hermes-agent/SKILL.md +36 -36
- package/.opencode/skills/inference-improve/SKILL.md +1 -1
- package/.opencode/skills/lint/SKILL.md +1 -1
- package/.opencode/skills/log-monitor/SKILL.md +1 -1
- package/.opencode/skills/model-health-check/SKILL.md +1 -1
- package/.opencode/skills/multimodal-looker/SKILL.md +1 -1
- package/.opencode/skills/orchestrator/SKILL.md +38 -14
- package/.opencode/skills/performance-analysis/SKILL.md +1 -1
- package/.opencode/skills/performance-optimization/SKILL.md +1 -1
- package/.opencode/skills/processor-pipeline/SKILL.md +1 -1
- package/.opencode/skills/project-analysis/SKILL.md +1 -1
- package/.opencode/skills/refactoring-strategies/SKILL.md +1 -1
- package/.opencode/skills/registry.json +65 -0
- package/.opencode/skills/researcher/SKILL.md +18 -5
- package/.opencode/skills/security-audit/SKILL.md +1 -1
- package/.opencode/skills/security-scan/SKILL.md +1 -1
- package/.opencode/skills/session-management/SKILL.md +1 -1
- package/.opencode/skills/state-manager/SKILL.md +1 -1
- package/.opencode/skills/storyteller/SKILL.md +1 -1
- package/.opencode/skills/strategist/SKILL.md +12 -0
- package/.opencode/skills/testing-best-practices/SKILL.md +37 -0
- package/.opencode/skills/testing-strategy/SKILL.md +14 -3
- package/.opencode/skills/ui-ux-design/SKILL.md +1 -1
- package/.opencode/skills/xray-orchestrator/index.ts +267 -0
- package/.xray/codex.json +12 -3
- package/.xray/features.json +32 -6
- package/.xray/features.schema.json +87 -0
- package/AGENTS-consumer.md +16 -6
- package/AGENTS.md +21 -3
- package/README.md +13 -10
- package/SKILLS.md +1 -1
- package/dist/AGENTS.md +21 -3
- package/dist/CHANGELOG.md +98 -0
- package/dist/README.md +13 -10
- package/dist/SKILLS.md +1 -1
- package/dist/cli/commands/hermes-install.js +6 -1
- package/dist/cli/commands/openclaw-install.js +14 -0
- package/dist/cli/index.js +0 -0
- package/dist/core/features-config.d.ts +30 -2
- package/dist/governance/governance-service.d.ts +1 -0
- package/dist/governance/governance-service.js +81 -6
- package/dist/infrastructure/schemas/cloud-schemas.d.ts +1 -1
- package/dist/integrations/enforcement-gate.js +15 -5
- package/dist/integrations/grok/grok-cli.d.ts +3 -0
- package/dist/integrations/grok/grok-cli.js +92 -13
- package/dist/integrations/grok/hooks/grok-hook-utils.js +99 -9
- package/dist/integrations/grok/hooks/post-tool-use.js +68 -25
- package/dist/integrations/grok/hooks/pre-tool-use.js +17 -14
- package/dist/integrations/grok/hooks/session-start.js +114 -4
- package/dist/integrations/grok/plugin/0xray/hooks/hooks.json +31 -24
- package/dist/integrations/hermes-agent/__init__.py +11 -1
- package/dist/integrations/hermes-agent/__pycache__/__init__.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/schemas.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/tools.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/bridge.mjs +92 -11
- package/dist/integrations/hooks/confer-hook-runtime.mjs +49 -0
- package/dist/integrations/hooks/delegation-gate-runtime.mjs +32 -3
- package/dist/integrations/hooks/pipeline-hook-runtime.mjs +211 -0
- package/dist/integrations/hooks/plan-hook-runtime.mjs +68 -0
- package/dist/integrations/hooks/station-hook-runtime.cjs +421 -0
- package/dist/integrations/hooks/station-hook-runtime.mjs +24 -0
- package/dist/integrations/hooks/station-memory-ingest.mjs +45 -0
- package/dist/integrations/hooks/station-memory-match.mjs +47 -0
- package/dist/integrations/hooks/user-aside-hook-runtime.mjs +49 -0
- package/dist/integrations/openclaw/client.d.ts +5 -1
- package/dist/integrations/openclaw/client.js +17 -9
- package/dist/integrations/openclaw/config.js +0 -1
- package/dist/integrations/openclaw/hooks/pre-tool-gate-runtime.mjs +102 -0
- package/dist/integrations/openclaw/index.js +17 -0
- package/dist/integrations/openclaw/plugin/xray-pre-tool/index.js +75 -0
- package/dist/integrations/openclaw/plugin/xray-pre-tool/openclaw.plugin.json +10 -0
- package/dist/integrations/openclaw/plugin/xray-pre-tool/package.json +10 -0
- package/dist/integrations/openclaw/pre-tool-gate.d.ts +19 -0
- package/dist/integrations/openclaw/pre-tool-gate.js +39 -0
- package/dist/mcps/architect-tools.server.js +6 -1
- package/dist/mcps/orchestrator/handlers/complexity-handler.d.ts +7 -0
- package/dist/mcps/orchestrator/handlers/complexity-handler.js +107 -8
- package/dist/mcps/orchestrator/handlers/task-handler.d.ts +6 -0
- package/dist/mcps/orchestrator/handlers/task-handler.js +75 -0
- package/dist/mcps/orchestrator/server.js +54 -5
- package/dist/memory-routing/index.d.ts +1 -1
- package/dist/memory-routing/index.js +1 -1
- package/dist/memory-routing/provider-loader.d.ts +4 -0
- package/dist/memory-routing/provider-loader.js +74 -4
- package/dist/memory-routing/provider-registry.js +3 -2
- package/dist/nucleus/aside-worktree.d.ts +41 -0
- package/dist/nucleus/aside-worktree.js +164 -0
- package/dist/nucleus/autonomy-kernel.d.ts +2 -2
- package/dist/nucleus/autonomy-kernel.js +17 -6
- package/dist/nucleus/confer.d.ts +57 -0
- package/dist/nucleus/confer.js +322 -0
- package/dist/nucleus/delegation-gate.d.ts +18 -8
- package/dist/nucleus/delegation-gate.js +234 -20
- package/dist/nucleus/lead-dev-plan-persistence.d.ts +27 -3
- package/dist/nucleus/lead-dev-plan-persistence.js +201 -19
- package/dist/nucleus/spawn-plan-resolution.d.ts +20 -0
- package/dist/nucleus/spawn-plan-resolution.js +42 -0
- package/dist/nucleus/suit-temperament.d.ts +40 -0
- package/dist/nucleus/suit-temperament.js +157 -0
- package/dist/nucleus/synthesis-consult-receipt.js +18 -2
- package/dist/nucleus/synthesis-context.js +1 -1
- package/dist/nucleus/user-aside.d.ts +70 -0
- package/dist/nucleus/user-aside.js +393 -0
- package/dist/plugin/xray-codex-injection.js +14 -3
- package/dist/postprocessor/PostProcessor.d.ts +1 -0
- package/dist/postprocessor/PostProcessor.js +11 -0
- package/dist/postprocessor/triggers/GitHookTrigger.js +11 -5
- package/dist/processors/implementations/session-summary-processor.d.ts +1 -1
- package/dist/processors/implementations/session-summary-processor.js +9 -6
- package/opencode.json +88 -0
- package/package.json +25 -6
- package/scripts/hooks/install-hooks.cjs +21 -6
- package/scripts/hooks/run-hook.js +237 -88
- package/scripts/mjs/run-repertoire-mcp.mjs +39 -0
- package/scripts/mjs/verify-confer-core.mjs +103 -0
- package/scripts/mjs/verify-delegation-gate-core.mjs +76 -3
- package/scripts/mjs/verify-four-floor-compact.mjs +524 -0
- package/scripts/mjs/verify-hermes-session-start.mjs +137 -0
- package/scripts/mjs/verify-pipeline-facets.mjs +215 -0
- package/scripts/mjs/verify-pre-push-diff-core.mjs +87 -0
- package/scripts/mjs/verify-temperament-live.mjs +261 -0
- package/scripts/mjs/verify-user-aside-core.mjs +137 -0
- package/scripts/node/bridge-mcp-wiring.cjs +287 -29
- package/scripts/node/install-bridges.cjs +198 -44
- package/scripts/node/load-reflection-config.mjs +2 -2
- package/scripts/node/postinstall.cjs +50 -27
- package/scripts/node/release-gate.mjs +8 -4
- package/scripts/node/release.mjs +2 -2
- package/scripts/node/validate-release-docs.mjs +20 -33
- package/scripts/node/version-manager.mjs +25 -10
- package/src/integrations/grok/plugin/0xray/hooks/hooks.json +31 -24
- package/src/integrations/openclaw/README.md +134 -0
- package/src/integrations/openclaw/plugin/xray-pre-tool/index.js +75 -0
- package/src/integrations/openclaw/plugin/xray-pre-tool/openclaw.plugin.json +10 -0
- package/src/integrations/openclaw/plugin/xray-pre-tool/package.json +10 -0
- package/src/mcps/architect-tools.server.ts +6 -1
- package/src/mcps/orchestrator/handlers/complexity-handler.ts +180 -21
- package/src/mcps/orchestrator/handlers/task-handler.ts +99 -0
- package/src/mcps/orchestrator/server.ts +56 -5
- package/vendor/@0xray/repertoire/AGENTS.md +163 -0
- package/vendor/@0xray/repertoire/LICENSE +21 -0
- package/vendor/@0xray/repertoire/README.md +120 -0
- package/vendor/@0xray/repertoire/data/curated_signals.json +208 -0
- package/vendor/@0xray/repertoire/dist/RepertoireService.d.ts +78 -0
- package/vendor/@0xray/repertoire/dist/RepertoireService.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/RepertoireService.js +153 -0
- package/vendor/@0xray/repertoire/dist/RepertoireService.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/governance/ontological-trap-enforcer.d.ts +39 -0
- package/vendor/@0xray/repertoire/dist/governance/ontological-trap-enforcer.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/governance/ontological-trap-enforcer.js +60 -0
- package/vendor/@0xray/repertoire/dist/governance/ontological-trap-enforcer.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/index.d.ts +14 -0
- package/vendor/@0xray/repertoire/dist/index.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/index.js +14 -0
- package/vendor/@0xray/repertoire/dist/index.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-ingester.d.ts +26 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-ingester.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-ingester.js +109 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-ingester.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-parser.d.ts +18 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-parser.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-parser.js +94 -0
- package/vendor/@0xray/repertoire/dist/ingestion/groover-log-parser.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/orchestrator-feedback-ingester.d.ts +7 -0
- package/vendor/@0xray/repertoire/dist/ingestion/orchestrator-feedback-ingester.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/orchestrator-feedback-ingester.js +18 -0
- package/vendor/@0xray/repertoire/dist/ingestion/orchestrator-feedback-ingester.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/xray-session-ingester.d.ts +31 -0
- package/vendor/@0xray/repertoire/dist/ingestion/xray-session-ingester.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/ingestion/xray-session-ingester.js +83 -0
- package/vendor/@0xray/repertoire/dist/ingestion/xray-session-ingester.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/mcp/server.d.ts +6 -0
- package/vendor/@0xray/repertoire/dist/mcp/server.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/mcp/server.js +173 -0
- package/vendor/@0xray/repertoire/dist/mcp/server.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.d.ts +27 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.js +107 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/capability-enhancer.d.ts +11 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/capability-enhancer.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/capability-enhancer.js +32 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/capability-enhancer.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/confidence-gate.d.ts +9 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/confidence-gate.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/confidence-gate.js +72 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/confidence-gate.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-agent-affinity.d.ts +5 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-agent-affinity.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-agent-affinity.js +18 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-agent-affinity.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-injector.d.ts +31 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-injector.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-injector.js +218 -0
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/signal-injector.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/paths.d.ts +24 -0
- package/vendor/@0xray/repertoire/dist/paths.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/paths.js +74 -0
- package/vendor/@0xray/repertoire/dist/paths.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/provider/memory-routing-provider.d.ts +141 -0
- package/vendor/@0xray/repertoire/dist/provider/memory-routing-provider.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/provider/memory-routing-provider.js +210 -0
- package/vendor/@0xray/repertoire/dist/provider/memory-routing-provider.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/CuratedSignalsManager.d.ts +48 -0
- package/vendor/@0xray/repertoire/dist/registry/CuratedSignalsManager.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/CuratedSignalsManager.js +221 -0
- package/vendor/@0xray/repertoire/dist/registry/CuratedSignalsManager.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/InferenceStateManager.d.ts +11 -0
- package/vendor/@0xray/repertoire/dist/registry/InferenceStateManager.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/InferenceStateManager.js +43 -0
- package/vendor/@0xray/repertoire/dist/registry/InferenceStateManager.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/signal-prune.d.ts +15 -0
- package/vendor/@0xray/repertoire/dist/registry/signal-prune.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/registry/signal-prune.js +35 -0
- package/vendor/@0xray/repertoire/dist/registry/signal-prune.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/concrete-sections.d.ts +3 -0
- package/vendor/@0xray/repertoire/dist/synthesis/concrete-sections.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/concrete-sections.js +24 -0
- package/vendor/@0xray/repertoire/dist/synthesis/concrete-sections.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/meta-inference-engine.d.ts +24 -0
- package/vendor/@0xray/repertoire/dist/synthesis/meta-inference-engine.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/meta-inference-engine.js +148 -0
- package/vendor/@0xray/repertoire/dist/synthesis/meta-inference-engine.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/primitive-confidence-aggregator.d.ts +4 -0
- package/vendor/@0xray/repertoire/dist/synthesis/primitive-confidence-aggregator.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/primitive-confidence-aggregator.js +44 -0
- package/vendor/@0xray/repertoire/dist/synthesis/primitive-confidence-aggregator.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/synthesis-prompt-builder.d.ts +22 -0
- package/vendor/@0xray/repertoire/dist/synthesis/synthesis-prompt-builder.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/synthesis/synthesis-prompt-builder.js +66 -0
- package/vendor/@0xray/repertoire/dist/synthesis/synthesis-prompt-builder.js.map +1 -0
- package/vendor/@0xray/repertoire/dist/types.d.ts +210 -0
- package/vendor/@0xray/repertoire/dist/types.d.ts.map +1 -0
- package/vendor/@0xray/repertoire/dist/types.js +2 -0
- package/vendor/@0xray/repertoire/dist/types.js.map +1 -0
- package/vendor/@0xray/repertoire/docs/MEMORY-ROUTING-PROVIDER.md +54 -0
- package/vendor/@0xray/repertoire/hermes-mcp.example.json +20 -0
- package/vendor/@0xray/repertoire/mcp-config.example.json +11 -0
- package/vendor/@0xray/repertoire/package.json +124 -0
- package/vendor/@0xray/repertoire/schemas/curated-signal.schema.json +68 -0
- package/vendor/@0xray/repertoire/schemas/inference-log.schema.json +82 -0
- package/vendor/@0xray/repertoire/scripts/confirm-suit-all.mjs +253 -0
- package/vendor/@0xray/repertoire/scripts/confirm-suit-harness.mjs +220 -0
- package/vendor/@0xray/repertoire/scripts/run-live-synthesis-checkpoint.mjs +215 -0
- package/vendor/@0xray/repertoire/scripts/suit-bridge-shared.mjs +139 -0
- package/vendor/@0xray/repertoire/scripts/verify-grok-suit.mjs +304 -0
- package/vendor/@0xray/repertoire/scripts/verify-hermes-suit.mjs +163 -0
- package/vendor/@0xray/repertoire/scripts/verify-openclaw-suit.mjs +125 -0
- package/vendor/@0xray/repertoire/scripts/verify-opencode-suit.mjs +127 -0
- package/vendor/@0xray/repertoire/scripts/verify-synthesis-dogfood.mjs +207 -0
- package/vendor/@0xray/repertoire/skills/repertoire-trap-handling/SKILL.md +206 -0
- package/xray/codex.json +12 -3
- package/xray/features.json +32 -6
- package/xray/features.schema.json +87 -0
package/.mcp.json
CHANGED
|
@@ -2,34 +2,78 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"xray-governance": {
|
|
4
4
|
"command": "npx",
|
|
5
|
-
"args": [
|
|
5
|
+
"args": [
|
|
6
|
+
"-y",
|
|
7
|
+
"0xray",
|
|
8
|
+
"mcp",
|
|
9
|
+
"governance"
|
|
10
|
+
],
|
|
6
11
|
"env": {
|
|
7
12
|
"XRAY_FORCE_MCP_GOVERNANCE": "true"
|
|
8
13
|
}
|
|
9
14
|
},
|
|
10
15
|
"xray-skills": {
|
|
11
16
|
"command": "npx",
|
|
12
|
-
"args": [
|
|
17
|
+
"args": [
|
|
18
|
+
"-y",
|
|
19
|
+
"0xray",
|
|
20
|
+
"mcp",
|
|
21
|
+
"skills"
|
|
22
|
+
]
|
|
13
23
|
},
|
|
14
24
|
"xray-enforcer": {
|
|
15
25
|
"command": "npx",
|
|
16
|
-
"args": [
|
|
26
|
+
"args": [
|
|
27
|
+
"-y",
|
|
28
|
+
"0xray",
|
|
29
|
+
"mcp",
|
|
30
|
+
"enforcer"
|
|
31
|
+
]
|
|
17
32
|
},
|
|
18
33
|
"xray-orchestrator": {
|
|
19
34
|
"command": "npx",
|
|
20
|
-
"args": [
|
|
35
|
+
"args": [
|
|
36
|
+
"-y",
|
|
37
|
+
"0xray",
|
|
38
|
+
"mcp",
|
|
39
|
+
"orchestrator"
|
|
40
|
+
]
|
|
21
41
|
},
|
|
22
42
|
"xray-researcher": {
|
|
23
43
|
"command": "npx",
|
|
24
|
-
"args": [
|
|
44
|
+
"args": [
|
|
45
|
+
"-y",
|
|
46
|
+
"0xray",
|
|
47
|
+
"mcp",
|
|
48
|
+
"researcher"
|
|
49
|
+
]
|
|
25
50
|
},
|
|
26
51
|
"xray-code-review": {
|
|
27
52
|
"command": "npx",
|
|
28
|
-
"args": [
|
|
53
|
+
"args": [
|
|
54
|
+
"-y",
|
|
55
|
+
"0xray",
|
|
56
|
+
"mcp",
|
|
57
|
+
"code-review"
|
|
58
|
+
]
|
|
29
59
|
},
|
|
30
60
|
"xray-architect-tools": {
|
|
31
61
|
"command": "npx",
|
|
32
|
-
"args": [
|
|
62
|
+
"args": [
|
|
63
|
+
"-y",
|
|
64
|
+
"0xray",
|
|
65
|
+
"mcp",
|
|
66
|
+
"architect-tools"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"repertoire": {
|
|
70
|
+
"command": "node",
|
|
71
|
+
"args": [
|
|
72
|
+
"/tmp/xray-v4-validate/node_modules/@0xray/repertoire/dist/mcp/server.js"
|
|
73
|
+
],
|
|
74
|
+
"env": {
|
|
75
|
+
"XRAY_ROOT": "/tmp/xray-v4-validate"
|
|
76
|
+
}
|
|
33
77
|
}
|
|
34
78
|
}
|
|
35
79
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
source: framework
|
|
3
3
|
name: boot-orchestrator
|
|
4
4
|
description: Framework initialization and boot orchestration
|
|
5
|
-
author:
|
|
5
|
+
author: Xray Framework
|
|
6
6
|
version: 1.0.0
|
|
7
7
|
schema_version: "1.0"
|
|
8
8
|
tags: [infrastructure, boot, orchestrator]
|
|
@@ -28,10 +28,6 @@ Framework initialization and boot orchestration.
|
|
|
28
28
|
- **initialization**: Initialization
|
|
29
29
|
- **framework_startup**: Framework startup
|
|
30
30
|
|
|
31
|
-
## Usage
|
|
32
|
-
|
|
33
|
-
This skill provides infrastructure capabilities for boot orchestrator functionality.
|
|
34
|
-
|
|
35
31
|
## Integration
|
|
36
32
|
|
|
37
|
-
|
|
33
|
+
Lead-dev boot is handled by SessionStart hook + `orchestrator` skill — see `multi_agent_orchestration.lead_dev_mode` in features.json.
|
|
@@ -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:
|
|
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:
|
|
5
|
+
author: Xray Framework
|
|
6
6
|
version: 1.0.0
|
|
7
7
|
schema_version: "1.0"
|
|
8
8
|
tags: [review, quality, assessment, improvement]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hermes-agent
|
|
3
|
-
description: Manage 0xRay framework from Hermes Agent via the native
|
|
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
5
|
author: 0xRay AI
|
|
6
6
|
metadata:
|
|
@@ -9,7 +9,7 @@ metadata:
|
|
|
9
9
|
related_skills: []
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# 0xRay Hermes Plugin (
|
|
12
|
+
# 0xRay Hermes Plugin (xray-hermes)
|
|
13
13
|
|
|
14
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
|
|
|
@@ -24,7 +24,7 @@ Native Hermes plugin providing 0xRay framework integration — quality gates, co
|
|
|
24
24
|
## Plugin Architecture
|
|
25
25
|
|
|
26
26
|
```
|
|
27
|
-
~/.hermes/plugins/
|
|
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
|
|
@@ -43,17 +43,17 @@ Native Hermes plugin providing 0xRay framework integration — quality gates, co
|
|
|
43
43
|
|
|
44
44
|
**Fallback:** When bridge is unavailable, tools fall back to `npx 0xray` CLI commands.
|
|
45
45
|
|
|
46
|
-
**Config path resolution:** `
|
|
46
|
+
**Config path resolution:** `XRAY_CONFIG_DIR/` > `.xray/` > built-in defaults.
|
|
47
47
|
|
|
48
48
|
## 4 Tools
|
|
49
49
|
|
|
50
|
-
###
|
|
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
|
-
|
|
56
|
-
|
|
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
|
-
###
|
|
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
|
-
|
|
71
|
-
|
|
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
|
-
###
|
|
81
|
+
### xray_health
|
|
82
82
|
|
|
83
83
|
Framework health check. Returns version, loaded components, project root.
|
|
84
84
|
|
|
85
85
|
```
|
|
86
|
-
|
|
86
|
+
xray_health()
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Returns: framework status, version, component availability, node version.
|
|
90
90
|
|
|
91
|
-
###
|
|
91
|
+
### xray_hooks
|
|
92
92
|
|
|
93
93
|
Manage 0xRay git hooks (install, uninstall, list, status).
|
|
94
94
|
|
|
95
95
|
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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 0xRay MCP alternative exists (e.g., grep → search_codebase, eslint →
|
|
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
|
-
/
|
|
141
|
-
/
|
|
142
|
-
/
|
|
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 `/
|
|
149
|
-
- total_tool_calls, code_operations,
|
|
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 0xRay working?" | `
|
|
168
|
-
| "Check these files before I commit" | `
|
|
169
|
-
| "Is this code codex compliant?" | `
|
|
170
|
-
| "Set up git hooks" | `
|
|
171
|
-
| "What hooks are installed?" | `
|
|
172
|
-
| "Show session stats" | `/
|
|
173
|
-
| "Why is the bridge failing?" | Check `
|
|
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/
|
|
192
|
-
node ~/.hermes/plugins/
|
|
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
|
|
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
|
-
- `
|
|
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, `
|
|
211
|
-
- Project root detection walks up from CWD looking for `node_modules/0xray`, `.
|
|
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:
|
|
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: multimodal-looker
|
|
4
4
|
description: Visual content analysis for diagrams, screenshots, and UI mockups
|
|
5
|
-
author:
|
|
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]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
source: framework
|
|
3
3
|
name: orchestrator
|
|
4
|
-
description: Multi-agent workflow coordination and task delegation
|
|
5
|
-
author:
|
|
4
|
+
description: Multi-agent workflow coordination, lead-dev operating model (codex 67-68), and task delegation. Default when suit is worn — no keywords required.
|
|
5
|
+
author: Xray Framework
|
|
6
6
|
version: 1.0.0
|
|
7
7
|
schema_version: "1.0"
|
|
8
|
-
tags: [orchestration, orchestrator]
|
|
8
|
+
tags: [orchestration, orchestrator, lead-dev]
|
|
9
9
|
capabilities:
|
|
10
10
|
- coordinate_agents
|
|
11
11
|
- delegate_tasks
|
|
@@ -15,23 +15,47 @@ dependencies: []
|
|
|
15
15
|
mcp:
|
|
16
16
|
orchestrator:
|
|
17
17
|
command: node
|
|
18
|
-
args: [node_modules/0xray/dist/mcps/orchestrator
|
|
18
|
+
args: [node_modules/0xray/dist/mcps/orchestrator.server.js]
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
# Orchestrator Skill
|
|
21
|
+
# Orchestrator Skill — includes lead-dev operating model
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
When `multi_agent_orchestration.lead_dev_mode` is true in `features.json` (default when suit is worn), this is the **default OS behavior** — not a separate skill or MCP.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Seven rules (codex 67–68)
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
27
|
+
1. Phased plan + detailed todos; assign best subagent; monitor output
|
|
28
|
+
2. Lead dev loops test→fix until green; no permission pings
|
|
29
|
+
3. Per-suite test triage after major changes; full suite last
|
|
30
|
+
4. Lead stays main thread; subagents execute; update todos
|
|
31
|
+
5. Read all console and test output; triage fix rerun
|
|
32
|
+
6. Never defer errors as "pre-existing" — add todo and resolve
|
|
33
|
+
7. Resolve all errors before phase completion
|
|
30
34
|
|
|
31
|
-
##
|
|
35
|
+
## MCP loop (one tool surface — no autonomy-intake)
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
| Step | MCP tool | Notes |
|
|
38
|
+
|------|----------|-------|
|
|
39
|
+
| **Intake + classify** | `analyze-complexity` | Pass `tasks` array; persists `.xray/state/lead-dev-plan.json` when mode is on |
|
|
40
|
+
| Delegate (consult) | `orchestrate-task` | Invokes MCP consult skills (code-review, researcher, security-audit, etc.) |
|
|
41
|
+
| Delegate (implement) | **host `Task` / `spawn_subagent`** | `orchestrate-task` **defers** backend-engineer, frontend-engineer, bug-triage — lead must spawn |
|
|
42
|
+
| Monitor | `get-orchestration-status` | Lead updates todos |
|
|
43
|
+
| Major work | researcher + architect-tools + code-review | Auto-listed in plan when complexity > threshold |
|
|
34
44
|
|
|
35
|
-
##
|
|
45
|
+
## Subagent routing
|
|
36
46
|
|
|
37
|
-
|
|
47
|
+
| Task | Subagent |
|
|
48
|
+
|------|----------|
|
|
49
|
+
| Phasing | strategist |
|
|
50
|
+
| Architecture | architect-tools |
|
|
51
|
+
| Research | researcher |
|
|
52
|
+
| Implementation | backend-engineer / frontend-engineer |
|
|
53
|
+
| Test failures | bug-triage |
|
|
54
|
+
| Review | code-review |
|
|
55
|
+
|
|
56
|
+
## Hooks (rewired, not new MCPs)
|
|
57
|
+
|
|
58
|
+
- **SessionStart** → `session-start.js` boots lead_dev_mode
|
|
59
|
+
- **PreToolUse** → hints `per_suite_triage_required` on full `npm test`
|
|
60
|
+
|
|
61
|
+
Config: `features.json` → `multi_agent_orchestration.lead_dev_mode`
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "0xRay Skills Registry - recommended skill sources for consumers",
|
|
3
|
+
"sources": [
|
|
4
|
+
{
|
|
5
|
+
"name": "agency-agents",
|
|
6
|
+
"url": "https://github.com/msitarzewski/agency-agents",
|
|
7
|
+
"description": "170+ AI agency agent definitions across engineering, design, marketing, testing, and more",
|
|
8
|
+
"license": "MIT"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "superpowers",
|
|
12
|
+
"url": "https://github.com/obra/superpowers",
|
|
13
|
+
"description": "14 agentic skills including TDD, systematic debugging, plan writing, and code review workflows",
|
|
14
|
+
"license": "MIT"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "antigravity",
|
|
18
|
+
"url": "https://github.com/sickn33/antigravity-awesome-skills",
|
|
19
|
+
"description": "1300+ curated community skills across TypeScript, Python, Docker, Security, and more",
|
|
20
|
+
"license": "MIT"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "minimax",
|
|
24
|
+
"url": "https://github.com/MiniMax-AI/skills",
|
|
25
|
+
"description": "Frontend, fullstack, Android, iOS, shader, PDF, XLSX, DOCX skills",
|
|
26
|
+
"license": "MIT"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "vuejs-nuxt",
|
|
30
|
+
"url": "https://github.com/robert-zaremba/ai-agent-skills",
|
|
31
|
+
"description": "Vue.js 3, Nuxt 4+, Nuxt UI, and VueUse skills",
|
|
32
|
+
"license": "MIT"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "impeccable",
|
|
36
|
+
"url": "https://github.com/pbakaus/impeccable",
|
|
37
|
+
"description": "AI frontend design language for professional UI/UX generation",
|
|
38
|
+
"license": "Apache-2.0"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "gemini-skills",
|
|
42
|
+
"url": "https://github.com/google-gemini/gemini-skills",
|
|
43
|
+
"description": "Official Google Gemini skills for AI-assisted development",
|
|
44
|
+
"license": "Apache-2.0"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "ai-web3-security",
|
|
48
|
+
"url": "https://github.com/pashov/ai-web3-security",
|
|
49
|
+
"description": "Web3 security skills for smart contract auditing and vulnerability detection",
|
|
50
|
+
"license": "MIT"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "anthropic-skills",
|
|
54
|
+
"url": "https://github.com/anthropics/skills",
|
|
55
|
+
"description": "Official Anthropic skills for Claude Code development workflows",
|
|
56
|
+
"license": "MIT"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "ui-ux-pro-max",
|
|
60
|
+
"url": "https://github.com/nextlevelbuilder/ui-ux-pro-max-skill",
|
|
61
|
+
"description": "Professional UI/UX design skill for high-quality interface generation",
|
|
62
|
+
"license": "MIT"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|