Repository navigation
chore: remove agent tooling and internal infrastructure details - #12
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdadditionally described the operator's own host, binary path and systemd stop-copy-start sequence.Scrubbed from tracked files
earthgrid-core/src/url_policy.rstest 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$HOMEat 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,/deployreference removed along with.claude/. The definition of done is untouched - it is the standard this project's changes are gated against.Verification
cargo build --releaseclean, zero warnings;cargo test187 passed, 0 failed, 1 ignored, plus 2 ignored doc-tests.192.168.188, no/home/<user>, no internal host names, no.claude/references.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-generatedpeers.jsonrevisions and in earlier versions ofurl_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.