Skip to content

feat(storage): centralize hawk data paths and storage policy cleanup#65

Merged
Patel230 merged 3 commits into
mainfrom
feat/storage-policy-cleanup
Jun 20, 2026
Merged

feat(storage): centralize hawk data paths and storage policy cleanup#65
Patel230 merged 3 commits into
mainfrom
feat/storage-policy-cleanup

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

  • Add internal/storage helpers with policy tests for hawk data layout.
  • Route session, plugin, sandbox, and cmd paths through the shared storage policy.
  • Fix lefthook lint to run package-wide instead of cross-directory staged files.

Test plan

  • make lint
  • pre-push hook: go test ./..., go vet, govulncheck
  • CI green on this PR

Made with Cursor

Patel230 added 3 commits June 20, 2026 10:36
Introduce internal/storage helpers with policy tests, route session and
plugin persistence through the shared layout, and trim duplicated path
handling across cmd and internal packages.
Tests that only set HOME were reading real CI state after the storage
policy refactor. Route them through HAWK_* dir overrides and bump eyrie.
Add testutil.IsolateStorage and route history, config, engine, and
analytics tests through HAWK_* overrides so shuffled CI runs do not read
shared runner state.
@Patel230 Patel230 merged commit bf7bf63 into main Jun 20, 2026
18 checks passed
@Patel230 Patel230 deleted the feat/storage-policy-cleanup branch June 20, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant