Files
temp/examples/resource-types/commit.yaml
T
hamza.khyari c14ce65d61 feat(resource): add virtual core resource types
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
2026-03-18 01:45:25 +00:00

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