schema_version: "1.0" name: git description: "A git repository — the object database, refs, and full history" resource_kind: physical sandbox_strategy: none user_addable: true built_in: true cli_args: - name: path type: path required: false description: "Path to the local .git directory" - name: url type: string required: false description: "Remote URL of the git repository" parent_types: ["git-checkout"] child_types: - "git-remote" - "git-branch" - "git-tag" - "git-commit" - "git-stash" - "git-submodule" auto_discovery: enabled: true scan_depth: 1 rules: - type: git-remote pattern: "refs/remotes/*" - type: git-branch pattern: "refs/heads/*" - type: git-tag pattern: "refs/tags/*" - type: git-stash pattern: "refs/stash" - type: git-submodule pattern: ".gitmodules" capabilities: read: true write: false sandbox: false checkpoint: false handler: "cleveragents.resource.handlers.git:GitHandler"