Conversation
Add a standalone v2 command and service layer alongside product and design docs for the scoped dotfiles workflow. The v2 surface separates repo sync from machine mutation and makes bootstrap, restore, doctor repair, and host scope behavior explicit.
Replace the earlier host-scope CLI draft with a Rust v2 product and architecture direction centered on ordered profiles, explicit apply behavior, local machine state, script execution, and plan-first v1 migration.
Document the repo-local source of truth, required checks, and guardrails so future agent work follows the v2 Rust design contract.
Document the phased path from the v2 design contract to a Rust CLI, including validation gates, dependency choices, and rejected scope so implementation work can proceed without reviving the old Go model.
Provide a repo-local script for running each implementation phase through Codex, validating it, and preserving JSONL logs outside version control.
Add plan-first migration from v1 repo layouts into profiles, with write mode guarded by clean Git state and `--write --yes`. The write path creates a backup tag, commits the transformed repo, and records active local profiles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
make verifycargo fmt --all --checkcargo clippy --all-targets --all-features -- -D warningscargo nextest run --all-features(116 passed)cargo test --doc --all-featurescargo build --all-targets --all-features