一键导入
validate
Graph Integrity Gate - Ensure nodes and relations can exist in the causal graph.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Graph Integrity Gate - Ensure nodes and relations can exist in the causal graph.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Schema Composition - Design the graph topology and generate docgraph.toml for deterministic traversal.
Semantic Rigidity Gate - Ensure each node has a single unambiguous causal role.
Graph Reasoning - Navigate the documentation graph to progressively refine a hypothesis until a stable conclusion is formed.
| name | validate |
| description | Graph Integrity Gate - Ensure nodes and relations can exist in the causal graph. |
This skill determines whether a node and its local causal subgraph can exist.
Validation does not evaluate quality or design semantics. It verifies structural conditions required for causal traversal.
[!IMPORTANT] A node is valid only if its presence does not create a logical contradiction in the graph. Cosmetic or stylistic issues must NOT cause failure.
Validation checks existence, not interpretation.
Validation rejects impossible structures, not incomplete ones.
Validation guarantees the graph is a possible world, not a complete world.
Before running validation, the agent MUST read docgraph.toml to establish the allowed structural topology.
docgraph.toml is the sole normative source. If unread, the agent MUST stop.
The agent MUST extract:
r.type) and their directionalityAll validation decisions MUST be justified against this topology.
Run automatic checks before manual inspection.
docgraph check
If this fails → FAIL immediately
All nodes and relations must conform to docgraph.toml.
Failure cases:
Result: FAIL
All references must resolve.
Dangling references → FAIL
Node identifiers must be globally unique.
Duplicate ID → FAIL
The local graph must not contain logical contradictions that prevent traversal.
A structure is invalid only if realization is impossible, not merely incomplete.
Examples:
Any detected → FAIL
docgraph checkdocgraph check
docgraph describe (optional)Use only when confirming unresolved references around a specific node.
docgraph describe <ID>
The following MUST NOT cause failure:
These belong to alignment or hygiene review.
| Check | Result | Notes |
|---|---|---|
| Schema topology | READ | |
| Schema integrity | PASS/FAIL | |
| Referential integrity | PASS/FAIL | |
| Identity uniqueness | PASS/FAIL | |
| Causal contradictions | PASS/FAIL |
PASS → Node may exist in the graph FAIL → Graph integrity would be broken
FINAL DECISION: [PASS/FAIL]