ost

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

OST

OST

Run a full Opportunity Solution Tree workflow from a single skill, backed by a lightweight graph database and CLI.
通过单一技能运行完整的Opportunity Solution Tree(OST)工作流,后台基于轻量级图数据库和CLI。

Entry Flow (Minimize File Loading)

入口流程(最小化文件加载)

Goal: Start a session, pick a workspace, and select or create an outcome.
  1. Ensure DB exists
  • If
    .agr/ost.db
    is missing, initialize it:
    • uv run python scripts/ost.py init --path .agr/ost.db
  1. Select workspace
  • List workspaces:
    • uv run python scripts/ost.py workspace list
  • If needed, create one:
    • uv run python scripts/ost.py workspace create \"<name>\"
  1. Select outcome
  • List outcomes:
    • uv run python scripts/ost.py outcome list --workspace <name>
  • If needed, create one:
    • uv run python scripts/ost.py outcome add --workspace <name> \"<title>\"
  1. Route to phase (load only the relevant file)
  • Outcomes:
    references/outcomes.md
  • Opportunities:
    references/opportunities.md
  • Solutions:
    references/solutions.md
  • Assumptions/Experiments:
    references/assumptions.md
目标:启动会话,选择工作区,然后选择或创建一个成果。
  1. 确保数据库存在
  • 如果
    .agr/ost.db
    不存在,初始化它:
    • uv run python scripts/ost.py init --path .agr/ost.db
  1. 选择工作区
  • 列出工作区:
    • uv run python scripts/ost.py workspace list
  • 如有需要,创建工作区:
    • uv run python scripts/ost.py workspace create "<name>"
  1. 选择成果
  • 列出成果:
    • uv run python scripts/ost.py outcome list --workspace <name>
  • 如有需要,创建成果:
    • uv run python scripts/ost.py outcome add --workspace <name> "<title>"
  1. 跳转至对应阶段(仅加载相关文件)
  • 成果:
    references/outcomes.md
  • 机会:
    references/opportunities.md
  • 解决方案:
    references/solutions.md
  • 假设/实验:
    references/assumptions.md

Data Model + Storage

数据模型与存储

Use a lightweight graph DB at
.agr/ost.db
with multi-workspace support. The CLI manages nodes and edges; do not edit DB files manually.
使用位于
.agr/ost.db
的轻量级图数据库,支持多工作区。 由CLI管理节点和边;请勿手动编辑数据库文件。

CLI

CLI

Use the CLI to read/write the OST graph. The CLI is expected to live in this skill’s
scripts/
directory and be run via
uv run
.
Commands (intended):
  • uv run python scripts/ost.py init --path .agr/ost.db
  • uv run python scripts/ost.py workspace list
  • uv run python scripts/ost.py workspace create "<name>"
  • uv run python scripts/ost.py outcome list --workspace <name>
  • uv run python scripts/ost.py outcome add --workspace <name> "<title>"
  • uv run python scripts/ost.py opportunity add --outcome <id> "<title>"
  • uv run python scripts/ost.py solution add --opportunity <id> "<title>"
  • uv run python scripts/ost.py assumption add --solution <id> "<title>"
  • uv run python scripts/ost.py show --outcome <id>
If the CLI is not yet implemented, document the intended command and proceed with non-destructive guidance only.
使用CLI来读写OST图数据。CLI应位于该技能的
scripts/
目录下,通过
uv run
运行。
预期命令:
  • uv run python scripts/ost.py init --path .agr/ost.db
  • uv run python scripts/ost.py workspace list
  • uv run python scripts/ost.py workspace create "<name>"
  • uv run python scripts/ost.py outcome list --workspace <name>
  • uv run python scripts/ost.py outcome add --workspace <name> "<title>"
  • uv run python scripts/ost.py opportunity add --outcome <id> "<title>"
  • uv run python scripts/ost.py solution add --opportunity <id> "<title>"
  • uv run python scripts/ost.py assumption add --solution <id> "<title>"
  • uv run python scripts/ost.py show --outcome <id>
如果CLI尚未实现,请记录预期命令并仅提供非破坏性指导。

Output Format

输出格式

undefined
undefined

OST Session

OST Session

Selected Workspace

Selected Workspace

  • Name: ...
  • Name: ...

Selected Outcome

Selected Outcome

  • ID: ...
  • Title: ...
  • ID: ...
  • Title: ...

Next Action

Next Action

  • [What the user wants to do next]
  • [What the user wants to do next]

Next Step

Next Step

  • Load the relevant phase reference file
undefined
  • Load the relevant phase reference file
undefined

What NOT to Do

禁止操作

  • Do NOT edit
    .agr/ost.db
    directly.
  • Do NOT invent node IDs.
  • Do NOT run destructive commands without explicit user intent.
  • 请勿直接编辑
    .agr/ost.db
  • 请勿自行生成节点ID。
  • 未经用户明确许可,请勿运行破坏性命令。