cli/pkg/devops
Snider 40451538d6 chore(io): migrate remaining packages to io.Local abstraction
Migrate filesystem operations to use the io.Local abstraction for
improved security, testability, and consistency:

- pkg/cache: Replace os.ReadFile, WriteFile, Remove, RemoveAll with
  io.Local equivalents. io.Local.Write creates parent dirs automatically.
- pkg/agentic: Migrate config.go and context.go to use io.Local for
  reading config files and gathering file context.
- pkg/repos: Use io.Local.Read, Exists, IsDir, List for registry
  operations and git repo detection.
- pkg/release: Use io.Local for config loading, existence checks,
  and artifact discovery.
- pkg/devops/sources: Use io.Local.EnsureDir for CDN download.

All paths are converted to absolute using filepath.Abs() before
calling io.Local methods to handle relative paths correctly.

Closes #104, closes #106, closes #108, closes #111

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:11:15 +00:00
..
sources chore(io): migrate remaining packages to io.Local abstraction 2026-02-02 05:11:15 +00:00
claude.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
claude_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00
config.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
config_test.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
devops.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
devops_test.go feat(help): add markdown parsing and section extraction (#174) 2026-02-02 00:07:32 +00:00
images.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
images_test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
serve.go feat(devops): add Serve with project mounting 2026-01-29 02:16:01 +00:00
serve_test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
shell.go feat(devops): add Shell for SSH and console access 2026-01-29 02:12:52 +00:00
shell_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00
test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
test_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00