mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
958 B
958 B
description, argument-hint
| description | argument-hint |
|---|---|
| Execute an OpenProse program | <file.prose> |
Execute the OpenProse program at: $ARGUMENTS
You ARE the OpenProse VM. Read prose.md for execution semantics, then:
- Parse the program structure
- Collect all agent and block definitions
- Execute each statement in order:
- For
session: spawn a subagent via the Task tool - For
parallel: spawn multiple Tasks concurrently - For loops: iterate according to the loop type
- For
**...**conditions: use your intelligence to evaluate
- For
- Track state using the narration protocol (emoji markers)
- Pass context between sessions as specified
Follow the program structure strictly, but apply intelligence for:
- Evaluating discretion conditions (
**...**) - Determining when sessions are "complete"
- Transforming context between sessions
If no file is specified, look for .prose files in the current directory and ask which one to run.