agent/pkg/lib/workspace/default
Snider 98baa1b08f feat: inline tests + Fs zero-value fix + coverage 76.9% → 82.3%
Move all tests from tests/ to package root for proper coverage.
Fix Fs zero-value: path() and validatePath() default empty root
to "/" so &Fs{} works without New().

New tests: PathGlob, PathIsAbs, CleanPath, Cli.SetOutput,
ServiceShutdown, Core.Context, Fs zero-value, Fs protected
delete, Command lifecycle with implementation, error formatting
branches, PerformAsync completion/no-handler/after-shutdown,
Extract with templates, Embed path traversal.

Coverage: 76.9% → 82.3% (23 test files, 82 new test cases).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 15:45:04 +00:00
..
.core/reference feat(lib): embed Core documentation in workspace template 2026-03-22 07:19:20 +00:00
src feat: inline tests + Fs zero-value fix + coverage 76.9% → 82.3% 2026-03-22 15:45:04 +00:00
.gitignore.tmpl fix(lib): rename .gitignore to .gitignore.tmpl in workspace template 2026-03-22 07:02:32 +00:00
CLAUDE.md.tmpl refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00
CODEX.md.tmpl feat(lib): add Core struct reference to CODEX.md template 2026-03-22 07:17:27 +00:00
CONTEXT.md.tmpl refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00
go.work.tmpl feat(lib): add go.work.tmpl to workspace template 2026-03-22 10:18:57 +00:00
PROMPT.md.tmpl refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00
TODO.md.tmpl refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00