yogsoth-ai/de-anthropocentric-research-engine

decompose-and-or-goal

Recursively decompose a goal into an AND/OR DAG whose leaves are executable or testable subgoals.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/yogsoth-ai/de-anthropocentric-research-engine --skill decompose-and-or-goal

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

decompose-and-or-goal

Purpose

Recursively decompose a goal into an AND/OR DAG whose leaves are executable or testable subgoals.

Input contract

yaml
required: [top_goal, constraints]
optional: [actor_profile, obstacle_report, existing_subgoals]
constraints: [branch semantics, dependencies, and leaf criteria must be explicit]

Procedure

  1. Split the goal into necessary AND conditions and alternative OR paths.
  2. Recurse until each leaf has an observable result or executable action.
  3. Attach actors, dependencies, constraints, and unresolved feasibility to each branch.
  4. Preserve shared subgoals as DAG nodes rather than duplicating them.

If the AND/OR decomposition is complete enough to test necessity and coverage, consider validate-goal-tree as the next tactic.

Output contract

yaml
produces: [goal_dag, branch_semantics, executable_leaves, dependency_edges, feasibility_questions]
delta_fields: [findings, hypothesis_updates, uncertainties, open_questions]

Quality gates

  • Every leaf traces to the top goal.
  • AND/OR labels and dependency directions are unambiguous.
  • Cycles and duplicate shared nodes are flagged.

Failure and counterexamples

Do not split prose into labels without changing testability, and do not treat alternatives as simultaneous requirements.

Provenance map

  • resolved: north-star-crystallization-and-or-decompose
来自同一仓库

更多 Skills

全部 Skills