Skip to content

refactor: consolidate project-level artifacts under .zeph/ (#1353)#1354

Merged
bug-ops merged 4 commits intomainfrom
consolidate-zeph-artifacts
Mar 8, 2026
Merged

refactor: consolidate project-level artifacts under .zeph/ (#1353)#1354
bug-ops merged 4 commits intomainfrom
consolidate-zeph-artifacts

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 8, 2026

Summary

  • Move all project-level runtime artifacts under a single .zeph/ directory for a unified, predictable layout
  • Change default paths: data/zeph.db.zeph/data/zeph.db, skills/.zeph/skills/, .local/debug.zeph/debug
  • Add startup migration warning (check_legacy_artifact_paths) that logs exact mv commands when old paths are detected
  • Update config defaults, Docker files, .gitignore, init wizard, CLI help, docs, and tests
  • Only defaults change — explicit user configs remain unaffected

Test plan

  • cargo +nightly fmt --check passes
  • cargo clippy --workspace --features full -- -D warnings passes
  • cargo nextest run --workspace --features full --lib --bins — 4683 passed, 11 skipped
  • Manual test: cargo run --features full -- --config config/testing.toml with new paths
  • Manual test: verify migration warning appears when old data/ dir exists
  • Docker build test with new .zeph/skills/ location

Closes #1353

bug-ops added 2 commits March 8, 2026 17:52
Move all project-level runtime artifacts under a single .zeph/ directory
for a predictable, unified layout. Only defaults change; explicit user
configs remain unaffected.

Path changes:
- SQLite DB: data/zeph.db -> .zeph/data/zeph.db
- Skills dir: skills/ -> .zeph/skills/
- Debug dumps: .local/debug -> .zeph/debug

Add startup migration warning (check_legacy_artifact_paths) that logs
exact mv commands when old paths are detected. Update config defaults,
Docker files, .gitignore, init wizard, CLI help, docs, and tests.
@github-actions github-actions bot added refactor Code refactoring without functional changes size/L Large PR (201-500 lines) documentation Improvements or additions to documentation rust Rust code changes core zeph-core crate tests Test-related changes config Configuration file changes and removed size/L Large PR (201-500 lines) refactor Code refactoring without functional changes labels Mar 8, 2026
@github-actions github-actions bot added skills zeph-skills crate refactor Code refactoring without functional changes size/L Large PR (201-500 lines) labels Mar 8, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 8, 2026 16:56
@bug-ops bug-ops merged commit ae0a2f8 into main Mar 8, 2026
28 checks passed
@bug-ops bug-ops deleted the consolidate-zeph-artifacts branch March 8, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration file changes core zeph-core crate documentation Improvements or additions to documentation refactor Code refactoring without functional changes rust Rust code changes size/L Large PR (201-500 lines) skills zeph-skills crate tests Test-related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate project-level artifacts under .zeph/ directory

1 participant