agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/.agents/skills/tailscale-p2p-governance-not-clone/SKILL.md

tailscale-p2p-governance-not-clone

Skill29 starsChanged 7 months agoMITView on GitHub

Tailscale PAM and HiveMind (2026-09) are decentralized sync & Zero-Trust network formats, not ThumbGate clones. Steal the P2P G-Set CRDT rule sync and PAM privileged execution diode onto existing ThumbGate PreToolUse rails; never vendor HiveMind, require root SSH, or expose public broker endpoints. Slash: /tailscale-p2p-governance-not-clone.

Files
SKILL.md

Tailscale P2P Governance — compare, do not clone

Goal

Provide zero-trust, peer-to-peer synchronization of agent prevention rules, thumbs feedback, and privileged action diodes across multi-machine development swarms over a private Tailnet — without external cloud dependencies or centralized coordinator bottlenecks.

Constraints

NEVERALWAYS
Clone HiveMind (projectmentor/hive-mind)Map P2P sync onto ThumbGate's G-Set CRDT prevention rules
Depend on external cloud servers for agent memory syncKeep rule sync peer-to-peer over private Tailnet (WireGuard)
Require root SSH access or passwordless sudo across nodesEnforce local PreToolUse diodes on each node independently
Transmit raw un-redacted secret blobs across the meshEnforce secret-deny redaction before any P2P sync
Allow unauthenticated peers to inject prevention rulesVerify Tailscale node identity & cryptographic receipts
Claim 100% cloud elimination without local doctor proofRun node scripts/tailscale-p2p-doctor.js --json

HARD fail closed. REFUSE unverified sync brokers.

Architectural Steal

  1. FORMAT Steal from HiveMind:
    • Append-only journal.
    • G-Set CRDT (monotonically growing set of prevention rules).
    • Local-first, decentralized replication over private Tailnet.
  2. FORMAT Steal from Tailscale PAM:
    • Network layer (Tailscale PAM): controls host-to-host and infrastructure access.
    • Execution layer (ThumbGate PreToolUse): controls agent command/tool invocation before execution.

Verification & Usage

# Verify local Tailscale P2P governance status
node scripts/tailscale-p2p-doctor.js --json

# Run unit tests
npm test -- tests/tailscale-p2p-adapter.test.js

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.