惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
C
Check Point Blog
V
V2EX
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
A
About on SuperTechFans
D
DataBreaches.Net
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
博客园_首页
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: require OpenProse remote import consent · openclaw/...
joshavant · 2026-06-25 · via Recent Commits to openclaw:main

@@ -63,6 +63,13 @@ use "https://example.com/my-program.prose" # Direct URL

6363

use "alice/research" as research # Registry shorthand

6464

```

656566+

Top-level remote runs are explicit user requests. Remote `use` statements are

67+

transitive code dependencies. Before fetching any remote `use` target, collect

68+

the exact resolved targets, show them to the operator, and require the operator

69+

to reply exactly `approve remote prose imports` for this run. If approval is not

70+

given, abort the run before fetching, parsing, registering, or executing the

71+

remote imports.

72+6673

---

67746875

## Why This Is a VM

@@ -113,18 +120,18 @@ When you execute a `.prose` program, you ARE the virtual machine. This is not a

113120114121

Traditional dependency injection containers wire up components from configuration. You do the same—but with understanding:

115122116-

| Declared Primitive | Your Responsibility |

117-

| --------------------------- | ---------------------------------------------------------- |

118-

| `use "handle/slug" as name` | Fetch program from p.prose.md, register in Import Registry |

119-

| `input topic: "..."` | Bind value from caller, make available as variable |

120-

| `output findings = ...` | Mark value as output, return to caller on completion |

121-

| `agent researcher:` | Register this agent template for later use |

122-

| `session: researcher` | Resolve the agent, merge properties, spawn the session |

123-

| `resume: captain` | Load agent memory, spawn session with memory context |

124-

| `context: { a, b }` | Wire the outputs of `a` and `b` into this session's input |

125-

| `parallel:` branches | Coordinate concurrent execution, collect results |

126-

| `block review(topic):` | Store this reusable component, invoke when called |

127-

| `name(input: value)` | Invoke imported program with inputs, receive outputs |

123+

| Declared Primitive | Your Responsibility |

124+

| --------------------------- | ----------------------------------------------------------------------- |

125+

| `use "handle/slug" as name` | Resolve import, require approval if remote, register in Import Registry |

126+

| `input topic: "..."` | Bind value from caller, make available as variable |

127+

| `output findings = ...` | Mark value as output, return to caller on completion |

128+

| `agent researcher:` | Register this agent template for later use |

129+

| `session: researcher` | Resolve the agent, merge properties, spawn the session |

130+

| `resume: captain` | Load agent memory, spawn session with memory context |

131+

| `context: { a, b }` | Wire the outputs of `a` and `b` into this session's input |

132+

| `parallel:` branches | Coordinate concurrent execution, collect results |

133+

| `block review(topic):` | Store this reusable component, invoke when called |

134+

| `name(input: value)` | Invoke imported program with inputs, receive outputs |

128135129136

You are the container that holds these declarations and wires them together at runtime. The program declares _what_; you determine _how_ to connect them.

130137

@@ -698,7 +705,9 @@ Query the database to access the content.

698705699706

## Program Composition

700707701-

Programs can import and invoke other programs, enabling modular workflows. Programs are fetched from the registry at `p.prose.md`.

708+

Programs can import and invoke other programs, enabling modular workflows.

709+

Registry and direct-URL imports are remote code dependencies and require

710+

operator approval before fetching.

702711703712

### Importing Programs

704713

@@ -709,15 +718,20 @@ use "alice/research"

709718

use "bob/critique" as critic

710719

```

711720712-

The import path follows the format `handle/slug`. An optional alias (`as name`) allows referencing by a shorter name.

721+

The import path can be a registry reference (`handle/slug`) or a direct HTTP(S)

722+

URL. An optional alias (`as name`) allows referencing by a shorter name.

713723714724

### Program URL Resolution

715725716726

When the VM encounters a `use` statement:

717727718-

1. Fetch the program from `https://p.prose.md/handle/slug`

719-

2. Parse the program to extract its contract (inputs/outputs)

720-

3. Register the program in the Import Registry

728+

1. Resolve the import target.

729+

2. If the target is remote (`http://`, `https://`, or registry shorthand), pause

730+

before fetching and require the operator to approve the full remote import

731+

list with `approve remote prose imports` for this run.

732+

3. Fetch the program only after approval.

733+

4. Parse the program to extract its contract (inputs/outputs).

734+

5. Register the program in the Import Registry.

721735722736

### Input Declarations

723737

@@ -1156,11 +1170,13 @@ Before spawning, substitute `{varname}` with variable values.

1156117011571171

```

11581172

function execute(program, inputs?):

1159-

1. Collect all use statements, fetch and register imports

1160-

2. Collect all input declarations, bind values from caller

1161-

3. Collect all agent definitions

1162-

4. Collect all block definitions

1163-

5. For each statement in order:

1173+

1. Collect all use statements, resolve import targets

1174+

2. If remote imports are present, require operator approval before fetch

1175+

3. Fetch approved imports and register them

1176+

4. Collect all input declarations, bind values from caller

1177+

5. Collect all agent definitions

1178+

6. Collect all block definitions

1179+

7. For each statement in order:

11641180

- If session: spawn via Task, await result

11651181

- If resume: load memory, spawn via Task, await result

11661182

- If let/const: execute RHS, bind result

@@ -1219,7 +1235,7 @@ When passing context to sessions:

1219123512201236

The OpenProse VM:

122112371222-

1. **Imports** programs from `p.prose.md` via `use` statements

1238+

1. **Imports** approved programs via `use` statements

12231239

2. **Binds** inputs from caller to program variables

12241240

3. **Parses** the program structure

12251241

4. **Collects** definitions (agents, blocks)