计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
tensor_api_buffer_contract【效率与协作】Validate direct state action observation and reward buffer contracts for Isaac Gym style pipelines.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when checking whether a reduced or real recovery preserves Isaac Gym's direct tensor-buffer idea. The skill validates named state, action, observation, reward, and reset buffers, their shapes, and whether a claimed direct path includes forbidden CPU staging.
name, role, shape, producer, consumer, and direct fields.ok, errors, direct_flow_ok, and roles_present.direct=False when direct flow is claimed.Run python tests/test_buffer_contract.py or validate the skill tree with tests enabled.
This deterministic checker verifies the contract. It cannot prove CUDA pointer aliasing without a real GPU tensor runtime.
A negative check must fail when a descriptor uses the wrong leading environment dimension or marks a buffer as non-direct, because such staging would violate the paper Tensor API mechanism.