Project Context Integration
mine proj persists project registry in SQLite and per-project settings in projects.toml.
Context Order
Section titled “Context Order”When mine proj open <name> runs:
- Resolve project path from the registry (
projectstable). - Update
last_accessedandproj.currentin the key-value state store. - Shift previous current value to
proj.previousforppshell switching. - Return shell-consumable path (
--print-path) for parent-shellcd. - Allow integrations to consume stored config (
tmux_layout,env_file,ssh_*).
Shell Contract
Section titled “Shell Contract”The shell helpers from mine shell init implement cwd switching:
p [name]usesmine proj open ... --print-paththencd.ppusesmine proj open --previous --print-paththencd.
This avoids unsafe attempts to mutate parent-shell cwd from the CLI subprocess.
Integration Notes
Section titled “Integration Notes”mine tmux:tmux_layoutis persisted per project and can be read by tmux workflows.mine env:env_filestores project-local env profile intent.mine ssh:ssh_hostandssh_tunneldefine project defaults consumable by SSH commands.