feat(resource): add git-checkout and fs-directory resource types #262

Closed
opened 2026-02-22 23:40:40 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit: feat(resource): add git-checkout and fs-directory resource types
  • Branch: feature/m1-resource-builtins

Subtasks

  • Add built-in resource type YAMLs under examples/resource-types/ for git-checkout and fs-directory (schema_version, args, sandbox_strategy). Done: Day 7, February 15, 2026
  • Mark both as unnamespaced built-ins; git-checkout uses git_worktree and --path/--branch, fs-directory uses copy_on_write and --path. Done: Day 7, February 15, 2026
  • Add docs/reference/resource_types_builtin.md with git-checkout + fs-directory flags and examples. Done: Day 7, February 15, 2026
  • Tests (Behave): Add scenarios asserting built-in YAMLs validate against the schema. Done: Day 7, February 15, 2026
  • Tests (Robot): Add Robot tests that load both built-in type YAML files. Done: Day 7, February 15, 2026
  • Tests (ASV): Add benchmarks/resource_type_builtin_bench.py for built-in YAML load cost. Done: Day 7, February 15, 2026
  • Run nox (all default sessions, including benchmark), fix any errors if needed ensuring nox passes. Done: Day 7, February 15, 2026
  • Verify coverage >=97% via nox -s coverage_report. Done: Day 7, February 15, 2026

Section: ### Section 4: Projects & Resources [WORKSTREAM B - Hamza Lead]
Status: Completed

## Metadata - **Commit**: `feat(resource): add git-checkout and fs-directory resource types` - **Branch**: `feature/m1-resource-builtins` ## Subtasks - [x] Add built-in resource type YAMLs under `examples/resource-types/` for `git-checkout` and `fs-directory` (schema_version, args, sandbox_strategy). Done: Day 7, February 15, 2026 - [x] Mark both as unnamespaced built-ins; `git-checkout` uses `git_worktree` and `--path/--branch`, `fs-directory` uses `copy_on_write` and `--path`. Done: Day 7, February 15, 2026 - [x] Add `docs/reference/resource_types_builtin.md` with git-checkout + fs-directory flags and examples. Done: Day 7, February 15, 2026 - [x] Tests (Behave): Add scenarios asserting built-in YAMLs validate against the schema. Done: Day 7, February 15, 2026 - [x] Tests (Robot): Add Robot tests that load both built-in type YAML files. Done: Day 7, February 15, 2026 - [x] Tests (ASV): Add `benchmarks/resource_type_builtin_bench.py` for built-in YAML load cost. Done: Day 7, February 15, 2026 - [x] Run `nox` (all default sessions, including benchmark), fix any errors if needed ensuring nox passes. Done: Day 7, February 15, 2026 - [x] Verify coverage >=97% via `nox -s coverage_report`. Done: Day 7, February 15, 2026 **Section**: ### Section 4: Projects & Resources [WORKSTREAM B - Hamza Lead] **Status**: Completed
freemo added this to the v3.0.0 milestone 2026-02-22 23:40:40 +00:00
freemo self-assigned this 2026-02-22 23:40:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#353 Epic: Projects & Resources B0-B2
cleveragents/cleveragents-core
Depends on
#72 feature/m1-resource-builtins
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core#262
No description provided.