gabriel / muse public
test paths dev
AI Agent gabriel · 46 days ago · Apr 26, 2026 · Diff

test(paths): 7-tier tests for init_repo_dirs

Tier 1 Unit — each dir helper, return value, idempotency, missing root Tier 2 Integration — dirs writable by object/commit/snapshot/shelf layers Tier 3 E2E — CLI muse init produces the same layout as init_repo_dirs Tier 4 Stress — 100 sequential calls, 20 concurrent threads, threadpool Tier 5 State — no files written, no HEAD/repo.json, no extra dirs, existing files preserved Tier 6 Security — symlink root, spaces in path, unicode path Tier 7 Performance — single call <100ms, idempotent call <50ms

sha256:cc38f468248e290e26aaf7f2f839634bfc8927bc0b872ea8def891aa5558433e sha
sha256:4fab05264e1000dd2e1ebb9003d8aece06a57f0ba48db060b0d91a856f4be4f3 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:cc38f468248e290e26aaf7f2f839634bfc8927bc0b872ea8def891aa5558433e --body "your comment"