0xray 4.0.42 → 4.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.
- package/.gitignore.default +4 -1
- package/.grok-plugin/plugin.json +1 -1
- package/.opencode/skills/orchestrator/SKILL.md +1 -7
- package/.plugin/plugin.json +1 -1
- package/.xray/features.json +8 -5
- package/.xray/features.schema.json +8 -0
- package/AGENTS-consumer.md +9 -7
- package/AGENTS.md +19 -10
- package/LICENSE +1 -1
- package/README.md +15 -9
- package/SKILLS.md +3 -1
- package/dist/.gitignore.default +4 -1
- package/dist/AGENTS.md +19 -10
- package/dist/CHANGELOG.md +109 -11
- package/dist/LICENSE +1 -1
- package/dist/README.md +15 -9
- package/dist/SKILLS.md +3 -1
- package/dist/cli/commands/opencode-install.js +3 -9
- package/dist/cli/commands/plugin-commands.d.ts +4 -0
- package/dist/cli/commands/plugin-commands.js +84 -41
- package/dist/cli/commands/skill-install.js +10 -5
- package/dist/cli/goggles-status.d.ts +2 -5
- package/dist/cli/goggles-status.js +5 -53
- package/dist/cli/index.js +2 -2
- package/dist/core/config-loader.js +4 -4
- package/dist/core/features-config.d.ts +1 -1
- package/dist/core/features-config.js +3 -3
- package/dist/enforcement/enforcer-tools.d.ts +1 -1
- package/dist/enforcement/enforcer-tools.js +1 -1
- package/dist/integrations/cursor/README.md +1 -1
- package/dist/integrations/cursor/hooks/hooks.json +6 -3
- package/dist/integrations/cursor/hooks/pre-tool-use.js +104 -37
- package/dist/integrations/cursor/hooks/xray-cloud-hook.sh +9 -1
- package/dist/integrations/grok/grok-cli.js +5 -7
- package/dist/integrations/grok/hooks/grok-hook-utils.js +4 -1
- package/dist/integrations/grok/hooks/pre-tool-use.js +6 -76
- package/dist/integrations/grok/hooks/session-start.js +4 -2
- package/dist/integrations/hermes-agent/bridge.mjs +17 -1
- package/dist/integrations/hooks/delegation-gate-runtime.mjs +3 -2
- package/dist/integrations/hooks/goggles-mcp.mjs +23 -181
- package/dist/integrations/hooks/goggles-pipeline.mjs +606 -571
- package/dist/integrations/hooks/goggles-planes.json +95 -46
- package/dist/integrations/hooks/plates.cjs +84 -0
- package/dist/integrations/hooks/pre-tool-speak.mjs +74 -0
- package/dist/integrations/hooks/skill-seek.mjs +115 -0
- package/dist/integrations/hooks/station-hook-runtime.cjs +4 -1
- package/dist/integrations/openclaw/hooks/pre-tool-gate-runtime.mjs +24 -7
- package/dist/integrations/openclaw/plugin/xray-pre-tool/index.js +26 -2
- package/dist/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
- package/dist/memory-routing/plates.d.ts +1 -1
- package/dist/memory-routing/plates.js +14 -0
- package/dist/monitoring/{nudge-watchdog.d.ts → nudge-monitor.d.ts} +14 -5
- package/dist/monitoring/{nudge-watchdog.js → nudge-monitor.js} +42 -17
- package/dist/nucleus/thin-dispatch.d.ts +1 -1
- package/dist/nucleus/thin-dispatch.js +1 -1
- package/dist/nucleus/work-freshness.mjs +10 -0
- package/dist/plugin/xray-codex-injection.js +20 -0
- package/dist/processors/implementations/nudge-processor.d.ts +1 -1
- package/dist/processors/implementations/nudge-processor.js +4 -4
- package/dist/skills/orchestrator/SKILL.md +1 -7
- package/docs-site/docs/plates/activity-log.md +1 -1
- package/docs-site/docs/plates/asides.md +35 -0
- package/docs-site/docs/plates/bifrost.md +48 -0
- package/docs-site/docs/plates/boot.md +2 -2
- package/docs-site/docs/plates/centrifuge.md +1 -1
- package/docs-site/docs/plates/confer.md +35 -0
- package/docs-site/docs/plates/consumer-mcp.md +35 -0
- package/docs-site/docs/plates/cursor-compact.md +1 -1
- package/docs-site/docs/plates/delegation-gate.md +35 -0
- package/docs-site/docs/plates/dynamo.md +35 -0
- package/docs-site/docs/plates/foundry.md +35 -0
- package/docs-site/docs/plates/glossary.md +7 -3
- package/docs-site/docs/plates/goggles.md +12 -1
- package/docs-site/docs/plates/governance.md +1 -1
- package/docs-site/docs/plates/grok-compact.md +1 -1
- package/docs-site/docs/plates/grokbot.md +3 -1
- package/docs-site/docs/plates/ground.md +35 -0
- package/docs-site/docs/plates/hermes.md +35 -0
- package/docs-site/docs/plates/host-pack.md +1 -1
- package/docs-site/docs/plates/house.md +1 -1
- package/docs-site/docs/plates/index.md +16 -7
- package/docs-site/docs/plates/inference-cycle.md +35 -0
- package/docs-site/docs/plates/inference-files.md +1 -1
- package/docs-site/docs/plates/kept-line.md +1 -1
- package/docs-site/docs/plates/kits.md +1 -1
- package/docs-site/docs/plates/lens-gate.md +8 -6
- package/docs-site/docs/plates/lens-page.md +1 -1
- package/docs-site/docs/plates/memory-recall.md +1 -1
- package/docs-site/docs/plates/notes-page.md +2 -2
- package/docs-site/docs/plates/openclaw.md +35 -0
- package/docs-site/docs/plates/opencode.md +35 -0
- package/docs-site/docs/plates/orchestration.md +1 -1
- package/docs-site/docs/plates/package-face.md +1 -1
- package/docs-site/docs/plates/payload-heat.md +1 -1
- package/docs-site/docs/plates/pickup-stamp.md +1 -1
- package/docs-site/docs/plates/pre-tool.md +1 -1
- package/docs-site/docs/plates/processor.md +1 -1
- package/docs-site/docs/plates/record-map.md +1 -1
- package/docs-site/docs/plates/reflection-page.md +1 -1
- package/docs-site/docs/plates/repertoire.md +35 -0
- package/docs-site/docs/plates/reporting.md +1 -1
- package/docs-site/docs/plates/review.md +1 -1
- package/docs-site/docs/plates/routing.md +1 -1
- package/docs-site/docs/plates/session-capture.md +1 -1
- package/docs-site/docs/plates/site-manual.md +1 -1
- package/docs-site/docs/plates/stamp-plate.md +1 -1
- package/docs-site/docs/plates/station-card.md +1 -1
- package/docs-site/docs/plates/station-heat.md +1 -1
- package/docs-site/docs/plates/suit-organs.md +1 -1
- package/docs-site/docs/plates/suit-settings.md +1 -1
- package/docs-site/docs/plates/suit-wear.md +1 -1
- package/docs-site/docs/plates/suit.md +3 -3
- package/docs-site/docs/plates/synthesis.md +35 -0
- package/docs-site/docs/plates/temperament.md +35 -0
- package/docs-site/docs/plates/trail-state.md +2 -2
- package/docs-site/docs/plates/work-fresh.md +1 -1
- package/docs-site/docs/plates/write-home.md +1 -1
- package/llms.txt +14 -6
- package/package.json +3 -3
- package/scripts/foundry/README.md +5 -3
- package/scripts/foundry/mint-suit.cjs +120 -2
- package/scripts/foundry/plant/skills/mill/SKILL.md +1 -1
- package/scripts/foundry/reconcile-version.mjs +10 -3
- package/scripts/foundry/release-gate.mjs +111 -15
- package/scripts/foundry/release.mjs +9 -1
- package/scripts/foundry/validate-release-docs.mjs +2 -2
- package/scripts/foundry/version-manager.mjs +12 -4
- package/scripts/mjs/verify-pipeline-facets.mjs +1 -1
- package/scripts/node/install-bridges.cjs +91 -46
- package/scripts/node/pack-tmp-suit-proof.mjs +37 -10
- package/src/integrations/openclaw/plugin/xray-pre-tool/index.js +26 -2
- package/src/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
- package/src/skills/orchestrator/SKILL.md +1 -7
- package/vendor/@0xray/repertoire/README.md +1 -1
- package/xray/agents_template.md +2 -2
- package/xray/features.json +8 -5
- package/xray/features.schema.json +8 -0
- package/docs-site/docs/plates/live-mesh.md +0 -41
|
@@ -32,4 +32,4 @@ Cursor preCompact writes the station card and cannot block the compact.
|
|
|
32
32
|
|
|
33
33
|
The file is `src/integrations/cursor/hooks/pre-compact.js`. The message tells the seat to read STATION.md. The plates that belong here are payload-heat and station-heat.
|
|
34
34
|
|
|
35
|
-
stamped · 0xray 4.0
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Delegation gate
|
|
3
|
+
sidebar_label: Delegation gate
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Delegation gate
|
|
7
|
+
|
|
8
|
+
The pre-tool gate for every host.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ a tool call │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ constitution, then the spawn plan │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ allow, or deny │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Hosts call `evaluatePreToolGate` through `src/integrations/hooks/delegation-gate-runtime.cjs`. Codex 11, 29, 69, and 70 live in `src/nucleus/delegation-gate.ts`. A spawn with no plan follows the host temperament.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Dynamo
|
|
3
|
+
sidebar_label: Dynamo
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Dynamo
|
|
7
|
+
|
|
8
|
+
Dynamo is the external governance service.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ a proposal │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ the codex and the solar vote │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ pass, revision, or reject │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The guide is `docs-site/docs/guides/self-hosting-dynamo.md`. The service code stays on the governance card. This drawing is the guide.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Foundry
|
|
3
|
+
sidebar_label: Foundry
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Foundry
|
|
7
|
+
|
|
8
|
+
The mill builds and ships a suit.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ a version bump │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ gate, then publish, then tag │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ the registry lists that version │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The card owns `scripts/foundry`. The release script is `scripts/foundry/release.mjs`. That script is the only stamp. A longer card still wins. A live publish needs `--i-mean-it`. The OTP link is the `npm-publish` lens.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -15,12 +15,16 @@ What the words mean.
|
|
|
15
15
|
│ suit · what the agent wears │
|
|
16
16
|
│ power · memory, judgment, or payments │
|
|
17
17
|
│ where it runs · the tool you already open │
|
|
18
|
+
│ wake · the next session has the job │
|
|
18
19
|
│ goggles · it views one plane │
|
|
19
20
|
│ house · shared rules, one board, memory that sticks │
|
|
20
|
-
│
|
|
21
|
+
│ foundry · mills and hangars │
|
|
22
|
+
│ mill · builds and ships the plant │
|
|
23
|
+
│ hangar · the shop on that foundry │
|
|
21
24
|
│ plane · one view, not the whole job │
|
|
22
25
|
│ plate · the drawing, not the live run │
|
|
23
|
-
│
|
|
26
|
+
│ 0xray · the suit you wear │
|
|
27
|
+
│ grok-bot · the house companion │
|
|
24
28
|
└────────────────────────────────────────────────────────────┘
|
|
25
29
|
```
|
|
26
|
-
stamped · 0xray 4.0
|
|
30
|
+
stamped · 0xray 4.1.0
|
|
@@ -14,9 +14,20 @@ It views one plane.
|
|
|
14
14
|
├────────────────────────────────────────────────────────────┤
|
|
15
15
|
│ · it views one plane │
|
|
16
16
|
│ · not every plane at once │
|
|
17
|
+
│ · a session starts on dev │
|
|
18
|
+
│ · the card is in LENS.md │
|
|
19
|
+
├────────────────────────────────────────────────────────────┤
|
|
20
|
+
│ REFUSED │
|
|
21
|
+
│ · a search outside the card does not run │
|
|
17
22
|
└────────────────────────────────────────────────────────────┘
|
|
18
23
|
```
|
|
19
24
|
|
|
25
|
+
A session starts on dev. The card is in `.xray/state/LENS.md`. The planes are dev, integration, domain, and ecosystem. A search inside the current card runs. Any other search returns the card and does not run. Opening a file on another plane switches to that card.
|
|
26
|
+
|
|
27
|
+
A thing on that plane has its own card. A card with no plate names the stamp-plate skill. Stamp one plate for that card.
|
|
28
|
+
|
|
29
|
+
A name that is not a plane or a card says `Name one plane.`
|
|
30
|
+
|
|
20
31
|
A checkout named `0xray` records `scripts/mjs/run-goggles-mcp.mjs`. Any other project records `node_modules/0xray/scripts/mjs/run-goggles-mcp.mjs`.
|
|
21
32
|
|
|
22
|
-
stamped · 0xray 4.0
|
|
33
|
+
stamped · 0xray 4.1.0
|
|
@@ -32,4 +32,4 @@ Grok PreCompact runs session-start.js with the pre_compact event.
|
|
|
32
32
|
|
|
33
33
|
The hook is `session-start.js --hook-event=pre_compact`. It calls `buildSessionBootPayload`, writes the station card, and prints nothing. It does not match the conversation. Grok ignores hook stdout. The plates that belong here are payload-heat, cursor-compact, and work-fresh.
|
|
34
34
|
|
|
35
|
-
stamped · 0xray 4.0
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -38,4 +38,6 @@ Give your bots a house: shared rules, one board for the work, and memory that st
|
|
|
38
38
|
code links: suit → memory, house → doctor, memory → station. Other lines show reading order only.
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
The fleet's board, seat inboxes and wake webhooks run on [Bifrost](./bifrost.md), an autonomous AI fleet management system.
|
|
42
|
+
|
|
43
|
+
stamped · 0xray 4.1.0 · @0xray/grok-bot 0.1.8
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Ground
|
|
3
|
+
sidebar_label: Ground
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ground
|
|
7
|
+
|
|
8
|
+
Home. The dev plane.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ this checkout │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ read the dev card │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ a change that stays in this repo │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The card lists src, grok-bot/OP-PROC.md, grok-bot/LEXICON.md, src/opencode/agents, AGENTS.md, src/integrations, and package.json. The session starts on the dev plane.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Hermes
|
|
3
|
+
sidebar_label: Hermes
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Hermes
|
|
7
|
+
|
|
8
|
+
Hermes wears the suit through its bridge.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ a Hermes session │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ the bridge │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ the suit on that host │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The host pack names Hermes. This card is `src/integrations/hermes-agent`. The bridge is `bridge.mjs`.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -7,6 +7,8 @@ sidebar_label: Overview
|
|
|
7
7
|
|
|
8
8
|
A plate is one pipeline, drawn as a stamp. The drawing is the thing a person reads: an input layer, a processing layer, an output layer, and the arrows between them.
|
|
9
9
|
|
|
10
|
+
0xRay is a three-subsystem autonomous engine. The suit is the wear. Inference remembers. External Governance judges. The Autonomous Engine runs the work. A foundry is mills and hangars. When the window closes, the next session wakes with the job.
|
|
11
|
+
|
|
10
12
|
These files are the canonical stamps. The Docusaurus sidebar publishes them, and the npm package ships this directory. The worn reader walks up from `dist/integrations/hooks/plates.cjs` to `docs-site/docs/plates/`. One plate, one file.
|
|
11
13
|
|
|
12
14
|
The station card stays the short subsystem table. That table is the index still on disk after compaction. When the current intent names one pipeline, the card adds a single stock line, `Plate: <id> — .xray/state/plates/<id>.md`. Recall returns that one plate, and a compact can carry its schematic. Lessons stay episodes on signals. A plate is the machine. A lesson is what happened.
|
|
@@ -21,25 +23,25 @@ Plates have a type. A domain model plate shows how named parts fit. A state flow
|
|
|
21
23
|
|
|
22
24
|
## State flow
|
|
23
25
|
|
|
24
|
-
[House](./house.md) · [
|
|
26
|
+
[House](./house.md) · [Bifrost](./bifrost.md) · [Review](./review.md)
|
|
25
27
|
|
|
26
28
|
## Pipeline
|
|
27
29
|
|
|
28
|
-
[Routing](./routing.md) · [Governance](./governance.md) · [Boot](./boot.md) · [Orchestration](./orchestration.md) · [Processor](./processor.md) · [Reporting](./reporting.md) · [Memory recall](./memory-recall.md) · [Stamp plate](./stamp-plate.md)
|
|
30
|
+
[Routing](./routing.md) · [Governance](./governance.md) · [Boot](./boot.md) · [Orchestration](./orchestration.md) · [Processor](./processor.md) · [Reporting](./reporting.md) · [Memory recall](./memory-recall.md) · [Stamp plate](./stamp-plate.md) · [Ground](./ground.md) · [Synthesis](./synthesis.md)
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
The planes are dev, integration, domain, and ecosystem. Each drawing above is a card on one of those planes. A plate id is not a plane.
|
|
31
33
|
|
|
32
34
|
## Write home
|
|
33
35
|
|
|
34
36
|
[Record map](./record-map.md) · [Write home](./write-home.md) · [Activity log](./activity-log.md) · [Session capture](./session-capture.md) · [Suit wear](./suit-wear.md) · [Suit organs](./suit-organs.md)
|
|
35
37
|
|
|
36
|
-
These six are the file ref. Each one is a
|
|
38
|
+
These six are the file ref. Each one is a card. The planes stay dev, integration, domain, and ecosystem.
|
|
37
39
|
|
|
38
40
|
## Hands
|
|
39
41
|
|
|
40
42
|
[Station card](./station-card.md) · [Notes page](./notes-page.md) · [Reflection page](./reflection-page.md) · [Site manual](./site-manual.md) · [Package face](./package-face.md) · [Suit settings](./suit-settings.md) · [Trail state](./trail-state.md) · [Inference files](./inference-files.md)
|
|
41
43
|
|
|
42
|
-
These eight are the pages the file ref names. Each one is a
|
|
44
|
+
These eight are the pages the file ref names. Each one is a card. Each card lists one skill.
|
|
43
45
|
|
|
44
46
|
## Compact path
|
|
45
47
|
|
|
@@ -49,6 +51,13 @@ These eight are the pages the file ref names. Each one is a search lens. Each le
|
|
|
49
51
|
|
|
50
52
|
[Work fresh](./work-fresh.md) · [Kept line](./kept-line.md) · [Lens gate](./lens-gate.md) · [Pre tool](./pre-tool.md) · [Lens page](./lens-page.md)
|
|
51
53
|
|
|
52
|
-
These five are the compact path that was opened. Each one is a
|
|
54
|
+
These five are the compact path that was opened. Each one is a card. Each card lists one skill.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## Spectra
|
|
58
|
+
|
|
59
|
+
[Repertoire](./repertoire.md) · [Dynamo](./dynamo.md) · [Foundry](./foundry.md) · [Delegation gate](./delegation-gate.md) · [Temperament](./temperament.md) · [Asides](./asides.md) · [Inference cycle](./inference-cycle.md) · [Hermes](./hermes.md) · [OpenClaw](./openclaw.md) · [OpenCode](./opencode.md) · [Consumer MCP](./consumer-mcp.md) · [Confer](./confer.md)
|
|
60
|
+
|
|
61
|
+
Each one is a card. One top file. The planes stay dev, integration, domain, and ecosystem.
|
|
53
62
|
|
|
54
|
-
stamped · 0xray 4.0
|
|
63
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Inference cycle
|
|
3
|
+
sidebar_label: Inference cycle
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Inference cycle
|
|
7
|
+
|
|
8
|
+
The inference cycle turns a corpus into a proposal.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ a session corpus │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ propose, then the codex votes │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ a governed proposal, or no change │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The class is `InferenceCycle` in `src/inference/inference-cycle.ts`. The phases are collect, propose, govern, apply, deploy, and verify. Nearby files keep their own cards.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -32,4 +32,4 @@ A station rewrite keeps one Fresh line and drops the copies.
|
|
|
32
32
|
|
|
33
33
|
mergeStationMarkdown in src/integrations/hooks/station-hook-runtime.cjs treats a Fresh line as stock. Copies are not preserved. When the new card has no Fresh line, the latest one is kept. The plates that belong here are station-card and work-fresh.
|
|
34
34
|
|
|
35
|
-
stamped · 0xray 4.0
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -5,31 +5,33 @@ sidebar_label: Lens gate
|
|
|
5
5
|
|
|
6
6
|
# Lens gate
|
|
7
7
|
|
|
8
|
-
A search
|
|
8
|
+
A search inside the current card runs.
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
┌────────────────────────────────────────────────────────────┐
|
|
12
12
|
│ INPUT LAYER │
|
|
13
13
|
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
-
│ │ the tool
|
|
14
|
+
│ │ the tool call and the file path │ │
|
|
15
15
|
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
16
|
└──────────────────────────────┼─────────────────────────────┘
|
|
17
17
|
v
|
|
18
18
|
┌────────────┼───────────────────────────────────────────────┐
|
|
19
19
|
│ PROCESSING LAYER │
|
|
20
20
|
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
-
│ │
|
|
21
|
+
│ │ which plane the path is on │ │
|
|
22
22
|
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
23
|
└──────────────────────────────┼─────────────────────────────┘
|
|
24
24
|
v
|
|
25
25
|
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
26
|
│ OUTPUT LAYER v │
|
|
27
27
|
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
-
│ │
|
|
28
|
+
│ │ the card for the plane you are on │ │
|
|
29
29
|
│ └────────────────────────────────────────────────────┘ │
|
|
30
30
|
└────────────────────────────────────────────────────────────┘
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
lensBeforeResearch in src/integrations/hooks/goggles-pipeline.mjs
|
|
33
|
+
lensBeforeResearch in src/integrations/hooks/goggles-pipeline.mjs looks at the path. A search inside the current card runs. Any other search returns the current card and does not run. Opening a file on the current plane adds nothing. Opening a file on another plane switches and returns that card. A file on no plane stays and returns the current card. The hook does not search the repo.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
A session starts on dev. Compact writes that same card back.
|
|
36
|
+
|
|
37
|
+
stamped · 0xray 4.1.0
|
|
@@ -32,4 +32,4 @@ The lens page is the card for one plane.
|
|
|
32
32
|
|
|
33
33
|
`formatCardPane` in `src/integrations/hooks/goggles-pipeline.mjs` draws the card. Read the card instead of searching the tree. The plates that belong here are record-map and lens-gate.
|
|
34
34
|
|
|
35
|
-
stamped · 0xray 4.0
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -41,4 +41,4 @@ Intent names one plate. Equal top scores recall nothing. A missing worn copy is
|
|
|
41
41
|
|
|
42
42
|
A look returns the named plane, the matched law names, and the current lines from the session-note index. It does not write a law.
|
|
43
43
|
|
|
44
|
-
stamped · 0xray 4.0
|
|
44
|
+
stamped · 0xray 4.1.0
|
|
@@ -30,7 +30,7 @@ Notes are the body the station card cannot hold.
|
|
|
30
30
|
└────────────────────────────────────────────────────────────┘
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
The page is `.xray/state/NOTES.md`. The pickup line equals the station intent. The default depth is the working notes: the point, the coverage, the library, the open pull requests, the rituals, and the next cut. A pickup line alone does not survive a compact. PreCompact calls `stampNotesPickup`, which updates only that line and leaves the body alone.
|
|
33
|
+
The page is `.xray/state/NOTES.md`. The pickup line equals the station intent. The default depth is the working notes: the point, the coverage, the library, the open pull requests, the rituals, and the next cut. A pickup line alone does not survive a compact. Where a PreCompact hook exists it calls `stampNotesPickup`, which updates only that line and leaves the body alone. On Grok there is no pre-compact signal, so the seat writes the body after every beat, with evidence. A compaction is a wake: read the station, then the notes, then resume. Do not commit this file. Do not feed it to Repertoire.
|
|
34
34
|
|
|
35
35
|
The station module writes this page. Heat keeps the current lines in `.xray/state/repertoire/session-notes.json` beside the laws. The wake cascade reads that index and does not write a law. A replaced note stays in that index as history. The short index returns the current line.
|
|
36
|
-
stamped · 0xray 4.0
|
|
36
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: OpenClaw
|
|
3
|
+
sidebar_label: OpenClaw
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OpenClaw
|
|
7
|
+
|
|
8
|
+
OpenClaw wears the suit through its plugin.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ an OpenClaw session │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ the plugin │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ the suit on that host │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The host pack names OpenClaw. This card is `src/integrations/openclaw`.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: OpenCode
|
|
3
|
+
sidebar_label: OpenCode
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OpenCode
|
|
7
|
+
|
|
8
|
+
OpenCode install writes the plugin.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
┌────────────────────────────────────────────────────────────┐
|
|
12
|
+
│ INPUT LAYER │
|
|
13
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
14
|
+
│ │ an install │ │
|
|
15
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
16
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
17
|
+
v
|
|
18
|
+
┌────────────┼───────────────────────────────────────────────┐
|
|
19
|
+
│ PROCESSING LAYER │
|
|
20
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
21
|
+
│ │ copy the bridge and keep local edits │ │
|
|
22
|
+
│ └──────────────────────────┬─────────────────────────┘ │
|
|
23
|
+
└──────────────────────────────┼─────────────────────────────┘
|
|
24
|
+
v
|
|
25
|
+
┌──────────────────────────────┼─────────────────────────────┐
|
|
26
|
+
│ OUTPUT LAYER v │
|
|
27
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
28
|
+
│ │ the OpenCode plugin on disk │ │
|
|
29
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
30
|
+
└────────────────────────────────────────────────────────────┘
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The command is `src/cli/commands/opencode-install.ts`. Existing `.yml`, `.yaml`, and `.md` files stay. `xray/features.json` is merged.
|
|
34
|
+
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -32,4 +32,4 @@ stampNotesPickup writes one pickup line and leaves the rest of NOTES.md alone.
|
|
|
32
32
|
|
|
33
33
|
The comment on the function is one pickup line. There is no check that the working notes are present. The plate that belongs here is notes-page.
|
|
34
34
|
|
|
35
|
-
stamped · 0xray 4.0
|
|
35
|
+
stamped · 0xray 4.1.0
|
|
@@ -39,4 +39,4 @@ Trail: state and logs under `.xray`. Codex is already loaded. This plate is the
|
|
|
39
39
|
The published manual is `docs-site/docs/`. The rule sheet is `grok-bot/OP-PROC.md`. Neither is one of the five pages.
|
|
40
40
|
|
|
41
41
|
Goggles plane `record-map` is the lens over this map. Station and the notes page belong to the station module. Repertoire laws stay in the law file. The session-note index sits beside that file.
|
|
42
|
-
stamped · 0xray 4.0
|
|
42
|
+
stamped · 0xray 4.1.0
|