Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This repository manages personal CLI configuration. Preserve these project-local
- Environment-shaped secrets should use process-scoped `infisical run` injection rather than global shell exports or persistent plaintext files.
- Do not manage Infisical credential/cache directories, SSH private keys, `.env` files, SOPS payloads, or private key material through `home/`.
- SSH private keys are device-local by default. Do not silently convert a device identity into a portable shared key.
- For file placement, follow the personal [workspace policy](home/.config/dotfiles/workspace-policy.md); do not infer authority from generic directory names.
- Keep configuration minimal. Do not add dependencies or abstractions without an observed need.
- Durable architecture/workflow decisions belong in `docs/adr/`; supporting external research belongs in `docs/research/`.
- Before presenting a change as ready, run `./script/test`, `./script/test-workflow`, `./script/check-secrets`, and relevant `./script/check` / `./script/secrets-doctor` validation.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ The native `claude` command keeps the official Claude Code login and is never wr

See [agent launcher](docs/agent-launcher.md). For example `agent list`, `agent claude deepseek -- -p 'say ok'`, `agent opencode zen`, `agent opencode logfare -- run 'say ok'` or plain `agent claude` (native mode: no provider, no injection).

## Workspace placement

Personal placement defaults are maintained in [workspace-policy.md](home/.config/dotfiles/workspace-policy.md) and intended to be linked into `~/.config/dotfiles/workspace-policy.md`. These are flexible preferences, not a sandbox or path allowlist. Agent-specific instruction entrypoints should reference this shared policy rather than duplicate its content (ADR-0005).

## Agent configuration

Global Claude Code, Codex, and OpenCode repositories are pinned as sibling submodules under `agents/`. A fresh clone does not need `--recurse-submodules`: `script/bootstrap` authenticates GitHub, stores the GitHub credential helper in machine-local `~/.gitconfig.local`, links the stable global Git config, then initializes the exact commits recorded by the parent repository.
Expand Down
4 changes: 4 additions & 0 deletions docs/adr/ADR-0005.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ The same global instruction source is exposed through product-specific names:

Shared skills should use an Agent Skills-compatible source and be linked into only the discovery locations required by each product.

## Personal workspace preference

The user-specific placement decision is maintained once in [workspace-policy.md](../../home/.config/dotfiles/workspace-policy.md). Agent-specific global instruction entrypoints reference this document through the user's dotfiles config directory rather than embedding local paths in distributed upstream Skills. Preserve existing agent-specific instructions; do not replace their managed files with a competing owner.

## Tool-specific assets

The common repository must not absorb configuration merely because it expresses a similar intent.
Expand Down
13 changes: 13 additions & 0 deletions home/.config/dotfiles/workspace-policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Personal workspace placement

Choose paths by purpose, lifetime and ownership. These are preferences, not an allowlist.

- Use the existing registered or explicitly selected project checkout and its worktree rules for continuing development.
- Prefer `~/work/` for temporary clones, investigation, prototypes and experiments.
- Prefer `~/Desktop/` for temporary handoff and artifacts the user needs to inspect directly. Resolve the actual Desktop location if the platform differs.
- Use the OS temporary directory for short-lived automated intermediates; keep required evidence in its designated durable location.
- Follow the owning tool's existing OS-specific data/config/state/cache/deployment conventions for persistent tool files.
- Do not independently establish generic permanent roots such as `~/src`, `~/projects`, or `~/workspace`. Existence of a directory is not authority to write anywhere beneath it.
- Use a reasonable alternative when the task, platform or existing ownership boundary calls for it. Do not ask the user merely to choose a path for routine reversible work. Preserve existing user data and other sessions' files; no implicit relocation or deletion.

WSL development with frequent build/watch operations stays on the Linux-native filesystem. These preferences do not override explicit project, tool, or sandbox requirements.
Loading