go/internal/cmd
Vi c83f9a25a7
chore(io): Migrate internal/cmd/php to Medium abstraction (#338)
Completes issue #112 by migrating all direct os.* filesystem calls in
internal/cmd/php to use the io.Medium abstraction via getMedium().

Changes:
- packages.go: os.ReadFile/WriteFile → getMedium().Read/Write
- container.go: os.WriteFile/Remove/MkdirAll/Stat → getMedium().Write/Delete/EnsureDir/IsFile
- services.go: os.MkdirAll/OpenFile/Open → getMedium().EnsureDir/Create/Open
- dockerfile.go: os.ReadFile/Stat → getMedium().Read/IsFile
- ssl.go: os.MkdirAll/Stat → getMedium().EnsureDir/IsFile
- cmd_ci.go: os.WriteFile → getMedium().Write
- cmd.go: os.Stat → getMedium().IsDir
- coolify.go: os.Open → getMedium().Read
- testing.go: os.Stat → getMedium().IsFile
- cmd_qa_runner.go: os.Stat → getMedium().IsFile
- detect.go: os.Stat/ReadFile → getMedium().Exists/Read
- quality.go: os.Stat/ReadFile → getMedium().Exists/IsFile/Read

All production files now use the consistent getMedium() pattern for
testability. Test files retain direct os.* calls as they manage test
fixtures directly.

Closes #112

Co-authored-by: Claude <developers@lethean.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 18:14:59 +00:00
..
ai feat: wire release command, add tar.xz support, unified installers (#277) 2026-02-04 00:49:57 +00:00
ci Migrate pkg/release to io.Medium abstraction (#290) 2026-02-04 15:07:13 +00:00
collect feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
config feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
crypt feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
daemon feat(daemon): add MCP daemon mode with multi-transport support (#334) 2026-02-05 17:42:35 +00:00
deploy feat: wire release command, add tar.xz support, unified installers (#277) 2026-02-04 00:49:57 +00:00
dev Implement Background Goroutines for Long-Running Operations (#309) 2026-02-05 10:26:45 +00:00
docs Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
doctor Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
gitcmd feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
gitea fix: restore packages accidentally deleted during PR #313 rebase (#333) 2026-02-05 11:16:23 +00:00
go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
help feat(help): Implement full-text search (#294) 2026-02-05 10:26:16 +00:00
mcpcmd feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
monitor Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
php chore(io): Migrate internal/cmd/php to Medium abstraction (#338) 2026-02-05 18:14:59 +00:00
pkgcmd Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
plugin feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
qa feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
rag feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
sdk feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
security Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
setup Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
test feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
unifi fix: restore packages accidentally deleted during PR #313 rebase (#333) 2026-02-05 11:16:23 +00:00
updater feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
vm Remove StrictHostKeyChecking=no from SSH commands (#315) 2026-02-05 07:09:34 +00:00
workspace feat: Batch implementation of Gemini issues (#176) 2026-02-02 04:20:18 +00:00