- Repository map
- Philosophy
- First-time installation
- Profiles
- Rules enforced by the repository
- Day-to-day usage
- Repository layout and legacy configuration
This repository contains personal command-line utilities, dotfiles, editor configuration, and a reproducible macOS development bootstrap.
It also keeps reusable, non-project-specific collaboration guidance in
operating-model/. That material captures how
technical work is planned, reviewed, handed off, and communicated without
placing personal operating preferences in an application repository.
CLAUDE.md and AGENTS.md are thin entry points for
Claude and Codex. Both load the same canonical operating model.
The status column describes how to approach each component. Maintained means current personal configuration or a documented entry point for ongoing use. Reference only means historical material to review before use. Local artifacts means existing work that is separate from environment setup.
| Component | Status | Entry point and purpose |
|---|---|---|
| macOS bootstrap | Maintained | Bootstrap guide, package profiles, and manual setup |
| Claude usage menu | Maintained | App guide: native macOS usage monitor |
| Codex usage menu | Maintained | App guide: native macOS usage monitor |
| Shared operating model | Maintained | Operating-model guide: shared collaboration preferences and procedures, loaded by AGENTS.md and CLAUDE.md |
| Codex model routing | Maintained | Codex tier mapping: provider details loaded through AGENTS.md |
| Claude skills and model routing | Maintained | Skills guide and Claude tier mapping: provider details loaded through CLAUDE.md |
| Zsh completion cache | Maintained | Zsh guide: install the small completion-cache fragment |
| Ghostty configuration | Maintained | Ghostty config: current personal terminal configuration |
| Other dotfiles | Reference only | Shell, Emacs, simple Emacs, Screen, and large Screen configuration; review separately before adoption |
| Historical utilities and installers | Reference only | bin/ and tools/: earlier command-line tools and setup scripts |
| Historical editor configuration | Reference only | emacs/: personal configuration and bundled editor libraries |
| Mercurial prompt | Reference only | hg-prompt/: historical prompt helper |
| Submodule metadata | Reference only | .gitmodules: declarations pending review; this checkout has no tracked submodule gitlinks |
| Existing local documents and generation work | Local artifacts | output/ and tmp/: untracked deliverables, generation sources, data, and previews; kept visible for later review |
The bootstrap is deliberately small, declarative, and additive.
- Install a profile only when work requires it; this is not a single kitchen-sink machine image.
- Homebrew profiles declare system packages. They do not hide package lists in imperative installation scripts.
uvowns Python versions, virtual environments, and Python tooling. This avoids mixing Homebrew Python,pyenv, Conda,mise, and globalpip.- Project dependencies belong in each project, not this machine bootstrap.
For example, add PyTorch, MLX, Transformers, and Jupyter with
uv addin the project that needs them. - Local services, cloud tools, container runtimes, and model engines are explicit opt-ins.
- Changes to macOS preferences, secrets, interactive logins, and legacy dotfiles are intentionally not automated here.
-
Install Xcode Command Line Tools:
xcode-select --install
-
Install Homebrew from brew.sh.
-
Check the machine and bootstrap policy:
./bootstrap/doctor.sh
-
Install the core profile:
./bootstrap/install.sh core
-
Add only the capabilities you need, for example:
./bootstrap/install.sh native-build local-ai ./bootstrap/install.sh data backend containers-orbstack ./bootstrap/install.sh aws
The installer does not start database services or perform application setup.
Those remain deliberate, visible actions; see
bootstrap/manual/README.md.
| Profile | Use it when you need |
|---|---|
core |
Git, GitHub, modern terminal tools, shell support, and uv |
native-build |
Compilers, C/C++ extensions, numerical libraries, and local inference builds |
local-ai |
Ollama for straightforward local model use |
local-ai-advanced |
llama.cpp and direct GGUF experimentation |
data |
DuckDB, SQLite, PostgreSQL client tools, PDFs, media, OCR, and Protobuf |
postgres-local |
An explicit local PostgreSQL server |
redis-local |
An explicit local Redis server |
backend |
HTTP, gRPC, and WebSocket development |
containers-orbstack |
OrbStack as the container runtime |
containers-docker |
Docker Desktop as the container runtime |
cloud |
Kubernetes, Terraform, and AWS tooling |
aws |
AWS CLI v2 only, for a focused AWS setup |
security |
Encrypted secrets, SBOMs, and vulnerability scanning |
desktop |
VS Code, Ghostty, DBeaver, and a developer font |
Discover the exact profile names at any time:
./bootstrap/install.sh --listThe two container runtime profiles are alternatives; selecting both is rejected.
The cloud profile includes the same AWS CLI for backward compatibility. Use
the independent aws profile when AWS is the only cloud capability you need.
Run the policy check locally:
./bootstrap/validate.shIt is also run by the included pre-commit hook and GitHub Actions workflow.
- Homebrew profiles may not install Python,
pyenv, Conda, or Miniconda. - A
mise.tomlfile may not manage Python. - PostgreSQL and Redis are allowed only in their dedicated local-server profiles.
- The default local-AI profile may contain only Ollama; advanced inference is isolated in its own profile.
- Bootstrap scripts may not use
sudoordefaults write. - Pull requests that modify any path under
bin/,tools/,dotfiles/, oremacs/must have a title beginning with[legacy-migration]. This existing workflow rule also applies to maintained configurations in those directories.
To enable the local hook after installing the core profile:
uv tool install pre-commit
pre-commit installFor remote enforcement, configure the GitHub Bootstrap policy status check
as a required branch-protection check.
Confirm whether selected profiles match the current machine:
./bootstrap/doctor.sh core local-ai
./bootstrap/doctor.sh aws
aws --versionFor a new Python ML project, keep dependencies project-local:
uv init my-project
cd my-project
uv python pin 3.12
uv add numpy pandas scikit-learn jupyterlabInstall a framework only in projects that require it:
uv add torch transformers
# or, for Apple-native experimentation:
uv add mlx mlx-lmbootstrap/ is the supported macOS setup layer. Its package declarations are
in bootstrap/brew/, and its scripts only select profiles, check the machine,
or enforce policy.
The repository map distinguishes the Zsh fragment and Ghostty configuration
from the older dotfiles and tools. The bootstrap does not install these configurations;
follow the component's own instructions where available. Older installers and
editor settings embed paths such as ~/env, while current symlink and app-hook
instructions also depend on this checkout's location. Review those dependencies
before moving directories or adopting an older configuration.
The declarations in .gitmodules need a separate review before any submodule
setup is recommended. Directory moves and migration of the existing local
artifacts are deferred; preserve their sources, data, and deliverables during
that review.