> For AI agents: the complete documentation index is available at https://devcodex-labs.github.io/capability-graph/llms.txt, the full documentation bundle is available at https://devcodex-labs.github.io/capability-graph/llms-full.txt.

# 运行时接口

可用

## QueryRuntimeQuery

`project` 和 `environment` 必填；可按 `instanceOf`、`instanceId`、Provider scope、Static/Runtime Revision、cursor 和 limit 收窄。

## RuntimeInstance

包含 `instanceId`、`providerId`、`project`、`environment`、`instanceOf`、`facts` 和可选 Runtime-only associations。association 不构成静态关系或完整 Runtime Graph。

## RuntimeObservation

包含来源、观察时间、来源身份、Runtime Revision、依据的 Static Revision、兼容状态、availability、freshness 及可选覆盖说明。

## QueryRuntimePage

返回实例、观察、`ResultMeta` 和可选续页游标。真实空观察必须使用 `availability: 'empty'` 且不带实例或续页游标；`available + []` 会被判为 `CG_ADAPTER_CONTRACT_INVALID`。`CG_RUNTIME_DISABLED` 表示未配置 Adapter，`CG_RUNTIME_UNAVAILABLE` 表示已配置来源当前不可用或 Core 等待超时，两者不能混用。
