Add workspace filesystem helpers

This commit is contained in:
2026-07-08 02:23:20 +00:00
parent a024492dbf
commit 93653cccb8
5 changed files with 468 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ belongs in modules, not in command handlers.
diagnostics artifact writers, atomic writes, and retention decisions.
- `internal/core/source`: source documents, source units, source references, and
validation.
- `internal/core/workspace`: effective workspace roots, enabled-state helpers,
safe workspace-relative path construction, and atomic workspace artifact
writes.
Core packages should remain deterministic and concrete. They should not import
production modules.