搜索

PythonReactSEOPDF
GitHub Skill

x07-build-run

Expert backend for deterministic solve-world execution via x07-host-runner. Prefer `x07 run` as the canonical agent entry point.

x07lang☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

x07-build-run

Prefer x07 run for normal execution. Use x07-host-runner directly only when you need host-runner-specific flags (fixtures, explicit compiled artifact paths, debug toggles) or when you are debugging runner behavior.

This skill documents both:

  • Canonical (recommended): x07 run ... (single front door for agents)
  • Expert backend: x07-host-runner ...

Canonical commands (recommended: x07 run)

  • Run the current project (auto-discovers x07.json when present):

    • x07 run
  • Run a single program (solve-pure):

    • x07 run --program src/main.x07.json --world solve-pure
  • Provide binary stdin:

    • x07 run --program src/main.x07.json --world solve-pure --input input.bin
  • Compile only (no execution):

    • x07 run --program src/main.x07.json --world solve-pure --compile-only

Expert backend commands (x07-host-runner)

  • Run a single program (solve-pure):

    • x07-host-runner --program src/main.x07.json --world solve-pure --module-root src
  • Run a project (uses x07.json + x07.lock.json):

    • x07-host-runner --project x07.json
  • Provide binary stdin:

    • x07-host-runner --program src/main.x07.json --world solve-pure --module-root src --input input.bin
  • Compile only (no execution):

    • x07-host-runner --program src/main.x07.json --world solve-pure --module-root src --compile-only

Output contract

  • x07 run in solve-* worlds prints an x07-host-runner.report@... JSON report to stdout (pass-through).
  • x07-host-runner prints the same report shape when invoked directly.

In both cases:

  • Use the process exit code for pass/fail.
  • Parse the JSON for schema_version, mode, and base64-encoded output bytes.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!