forked from HAL9000/cleveragents-core
c14ce65d61
Add 6 built-in virtual resource types (file, directory, commit, branch, tag, tree) with equivalence metadata for content-hash and git-object identity matching. - YAML configs under examples/resource-types/ - Bootstrap registration with virtual types hidden from resource add scaffolding - Equivalence criteria per spec (content_hash, merkle_hash, git SHA identity) - Behave tests (83 scenarios), Robot tests, ASV benchmarks - Documentation in docs/reference/resource_types_builtin.md ISSUES CLOSED: #329
22 lines
550 B
YAML
22 lines
550 B
YAML
# Spec reference: docs/specification.md ~lines 10133-10143, 24548-24632
|
|
schema_version: "1.0"
|
|
name: commit
|
|
description: "Cross-repo commit identity linking commits with the same hash"
|
|
resource_kind: virtual
|
|
sandbox_strategy: none
|
|
user_addable: false
|
|
built_in: true
|
|
cli_args: []
|
|
parent_types: []
|
|
child_types: ["git-commit"]
|
|
capabilities:
|
|
read: false
|
|
write: false
|
|
sandbox: false
|
|
checkpoint: false
|
|
equivalence:
|
|
criteria:
|
|
- commit_hash
|
|
description: "Two physical commits are equivalent when they share the same commit hash"
|
|
handler: null
|