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
23 lines
598 B
YAML
23 lines
598 B
YAML
# Spec reference: docs/specification.md ~lines 10133-10143, 24548-24632
|
|
schema_version: "1.0"
|
|
name: branch
|
|
description: "Cross-repo branch identity linking branches with the same name and HEAD"
|
|
resource_kind: virtual
|
|
sandbox_strategy: none
|
|
user_addable: false
|
|
built_in: true
|
|
cli_args: []
|
|
parent_types: []
|
|
child_types: ["git-branch"]
|
|
capabilities:
|
|
read: false
|
|
write: false
|
|
sandbox: false
|
|
checkpoint: false
|
|
equivalence:
|
|
criteria:
|
|
- name
|
|
- head_commit_hash
|
|
description: "Two physical branches are equivalent when they share the same branch name and HEAD commit hash"
|
|
handler: null
|