pastilhasandClaude Opus 5 7c41c56577 officer.dev: the pm2 count tracks plugin installs, not releases
Fourteen while Minesweeper was installed, thirteen once it was removed, with no
platform change either way — a plugin that declares a sidecar writes it into the
generated ecosystem file. Says so now, so the next reader does not treat a
change here as a platform change or expect two machines to agree.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043
2026-08-23 20:31:13 +00:00

claude-mds

CLAUDE.md files and Claude Code configuration, kept under version control.

Install, on any machine

git clone git@gitea.officer.dev:pastilhas/claude-mds.git ~/projects/claude-mds
~/projects/claude-mds/install.sh

--dry-run first if you want to see it before it happens.

Everything is symlinked, not copied — so editing an installed file edits the repo, and the change is one git commit away from every other machine. Re-run it after each git pull; a correct link is a no-op.

It will not overwrite anything in silence. A real file where a link should go is moved to <name>.bak-<timestamp> and reported, because on a new machine that file may be the only copy of something written by hand.

What lands where

manifest is the whole answer, and it is the only place paths are declared. Today:

repo target only if
user/CLAUDE.md ~/.claude/CLAUDE.md always
officer.dev/CLAUDE.md ~/officer-dev/CLAUDE.md ~/officer-dev/platform exists
tools/mask-hooks.d/officer-chat-events ~/.local/claude-scripts/mask-hooks.d/ ~/officer-dev/platform exists

Plus mask-secret on ~/.local/bin, as a command rather than a path.

Adding a file later is one manifest line, not an edit to the shell.

The two kinds of file

  • user/ — who you are working with and how. Loads in every session on every machine.
  • officer.dev/ — one workspace on one machine. Conditional, so it never lands where it would be a lie.

mask-secret

Masks a pasted secret everywhere the chat history keeps it:

printf '%s' "$SECRET" | mask-secret

It owns Claude Code's own transcripts. Anywhere else that keeps a second copy of the chat — a database, a mirror, a log shipper — is a hook: an executable in tools/mask-hooks.d/, listed in the manifest with the condition that says which machines it belongs on.

The installed mask-secret is a small generated wrapper, and that is deliberate. The script finds its hooks beside itself and resolves symlinks to do it, so a bare symlink would reach back into the repo and run every machine's hooks. The wrapper points it at the ones this machine installed.

S
Description
No description provided
Readme
156 KiB
Languages
Python 65.2%
Shell 34.8%