Skip to content

chore: remove agent tooling and internal infrastructure details - #12

Merged
MatMatt merged 1 commit into
masterfrom
chore/remove-internal-details
Sep 21, 2026
Merged

MatMatt merged 1 commit into
masterfrom
chore/remove-internal-details

Conversation

@MatMatt

@MatMatt MatMatt commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Why

The repository is public and carried internal infrastructure details plus agent tooling that is not part of the product.

Removed

  • .claude/ in full: agents/change-refuter.md, agents/codebase-locator.md, commands/deploy.md, commands/gate.md, commands/verify.md. Nothing references them - no build path, no test, no CI. commands/deploy.md additionally described the operator's own host, binary path and systemd stop-copy-start sequence.

Scrubbed from tracked files

  • earthgrid-core/src/url_policy.rs test data: the operator's real LAN and tailnet addresses replaced with generic private/documentation values (192.168.100.x, 10.20.30.40, 100.64.0.9), keeping every assertion meaningful - the tests exist to prove that private ranges are only reachable for known peers, so the replacements stay inside private ranges rather than becoming public documentation addresses, which would have made the tests vacuous.
  • earthgrid-core/src/main.rs: find_cargo() hard-coded /home/<user>/.cargo/bin/cargo; it now resolves $HOME at run time, so the behaviour on any host is unchanged.
  • AGENTS.md: tool names dropped, the internal host name replaced with a generic phrase, and the dead /gate, /verify, /deploy reference removed along with .claude/. The definition of done is untouched - it is the standard this project's changes are gated against.

Verification

  • cargo build --release clean, zero warnings; cargo test 187 passed, 0 failed, 1 ignored, plus 2 ignored doc-tests.
  • Residual scan of tracked files on this branch: no 192.168.188, no /home/<user>, no internal host names, no .claude/ references.
  • A history scan for credentials found none: no private keys, no key values and no passwords have ever been committed. The environment-variable names in the docs are names only.

Not in scope

The repository's history still contains the same strings (the .claude/ files in one commit, the LAN addresses in the old auto-generated peers.json revisions and in earlier versions of url_policy.rs, the personal path in one commit). Removing them from history needs a rewrite and a force-push, which would invalidate every clone and any open pull request; that is a separate decision, not part of this change.

Delete .claude/ (agents and slash commands) - it is Claude Code tooling, not
part of the product, and its deploy command described the operator host.

Scrub the tracked files: url_policy.rs test data no longer carries the
operator LAN or tailnet addresses, find_cargo() resolves HOME instead of a
hard-coded path, and AGENTS.md drops the tool names, the host name and the
slash-command reference left behind by the removal.
@MatMatt
MatMatt merged commit 5735c22 into master Sep 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant