fleet-coordination
/fleet-coordination
Mandatory coordination contract for ANY agent working in IgorGanapolsky/ThumbGate. Runs automatically at session start (SessionStart hook). Before mutating shared repository or vault state, verify no other live agent owns this checkout, has an active vault claim on ThumbGate, or holds a Linear issue covering the same work. Invoke whenever you are about to edit shared files, create branches/worktrees, push, open a PR, or touch ~/Documents/AI-Agent-Sync. Prevents same-repo collisions (files deleted under a live agent, claims overwritten, work lost).
- Author
- IgorGanapolsky ↗
- Repository
- mcp-memory-gateway ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Mandatory coordination contract for ANY agent working in IgorGanapolsky/ThumbGate. Runs automatically at session start (SessionStart hook). Before mutating shared repository or vault state, verify no other live agent owns this checkout, has an active vault claim on ThumbGate, or holds a Linear issue covering the same work. Invoke whenever you are about to edit shared files, create branches/worktrees, push, open a PR, or touch ~/Documents/AI-Agent-Sync. Prevents same-repo collisions (files deleted under a live agent, claims overwritten, work lost).
Original author description
Mandatory coordination contract for ANY agent working in IgorGanapolsky/ThumbGate. Runs automatically at session start (SessionStart hook). Before mutating shared repository or vault state, verify no other live agent owns this checkout, has an active vault claim on ThumbGate, or holds a Linear issue covering the same work. Invoke whenever you are about to edit shared files, create branches/worktrees, push, open a PR, or touch ~/Documents/AI-Agent-Sync. Prevents same-repo collisions (files deleted under a live agent, claims overwritten, work lost).
How it works
- The contract
- The one-command sweep
- Write-back rules (your own file only)
- Failure mode this prevents
- Concurrent Agent-State writes (HARD)
- Session handoff (omp.sh, do not install)
SKILL.md preview
--- name: fleet-coordination description: > Mandatory coordination contract for ANY agent working in IgorGanapolsky/ThumbGate. Runs automatically at session start (SessionStart hook). Before mutating shared repository or vault state, verify no other live agent owns this checkout, has an active vault claim on ThumbGate, or holds a Linear issue covering the same work. Invoke whenever you are about to edit shared files, create branches/worktrees, push, open a PR, or touch ~/Documents/AI-Agent-Sync. Prevents same-repo collisions (files deleted under a live agent, claims overwritten, work lost). --- # Fleet Coordination — ThumbGate ThumbGate is worked by several agents (Claude Code, Codex, grok, Gemini, Hermes) fed from the same broadcast prompt, on the same checkout host. Coordination is not optional: the repo ruleset and single-writer lease exist because two agents once mutated the same checkout concurrently and wiped each other's work (incident 2026-08-11, see AGENTS.md "Single-Writer Checkout Lease"). ## The contract Before ANY state mutation (git checkout/clean/reset, branch/worktree creation, push, PR open/merge, vault write), complete these checks: 1. **Checkout lease** — only one live session owns a checkout. Claim: `THUMBGATE_SESSION_AGENT=<session-id> node scripts/session-lease.js claim` Verify: `node scripts/session-lease.js check` Exit 1 = another live agent owns it. Use `git worktree add` instead. 2. **Vault claims** — `~/Documents/AI-Agent-Sync/Agent-Jobs/running/*.md` touching ThumbGate belong to other agents unless stale (>7d, dead PID). 3. **Vault dirty state** — 180+ uncommitted files is normal; never `git add -A` there. Stage only your own file. 4. **Linear ownership** — issues in In Progress/In Review with a ThumbGate title are claimed. Do not start overlapping work; claim your own issue first. 5. **Herdr live panes** — when the gateway is up, same-cwd agents are live collision risk. 6. **Open PR census** — never duplicate an open PR or its review threads. ## The one-command sweep ```bash bash .claude/scripts/session-bootstrap/fleet-coordination-check.sh ``` Prints every surface above in one pass (read-only). SessionStart hook already runs it; if you did not see its output this session, run it before the first mutation. ## Write-back rules (your own file only) - Vault state: `Agent-State/<agent>.md` may be shared by every instance of that agent kind — check its mtime first. Prefer a dated file under `Handoffs/<date>-<topic>.md` when in doubt. Commit only your file with `git add <your-file>` and open a PR (branch protection applies there too). - Linear: claim via the Linear bridge or API before long-running work so another agent can see ownership. - This repo: never `git add -A` in a shared checkout. Stage explicit paths. ## Failure mode this prevents Two agents, same repo, both "helpful": one force-checkouts main and cleans, wiping the other's untracked work; the other `git add -A`s the debris into the wrong branch. The lease + claim + census above make that collision visible before it happens. ## Concurrent Agent-State writes (HARD) Never write to `Agent-State/<other-agent>.md`. Each session appends only its own `Agent-State/<this-agent>.md` (or `Handoffs/*<this-agent>*`). Two same-kind sessions must use distinct filenames (e.g. `grok.md` vs `grok-<session>.md`) or an atomic claim/lease before overwrite. ## Session handoff (omp.sh, do not install) A handoff is a saved state-and-next file. Starting a new session keeps the previous one. A child does not inherit the parent transcript and writes files the parent does not write. Observation is view-only. Do not install omp or open a link that can prompt or interrupt the host. ```bash npx thumbgate omp-coordination-honesty --json --map-only ```
Versions
The database has no other skills named fleet-coordination.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version a499f34f2eb5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100thumbgate-doctor
Health-check whether ThumbGate is actually wired into this agent — PreToolUse/SessionStart hooks installed, MCP server reachable, lesson store present, statusline, and overall agent-readiness — then report exactly what to fix. Runs the existing `npx thumbgate doctor` audit and… - 100thumbgate-rules
List the active ThumbGate prevention rules, reliability rules, and the promoted lessons behind them, so the user can see which guardrails are currently protecting this project and WHY each one exists. Reads the live rule and lesson stores via the prevention_rules,… - 100agent-coordination
Agent spawning, lifecycle management, and coordination patterns. Manages 60+ agent types with specialized capabilities. Use when: spawning agents, coordinating multi-agent tasks, managing agent pools. Skip when: single-agent work, no coordination needed. - 96fleet-agent-inspection
Use when checking, briefing, or retiring another fleet agent. - 96coordinar
Before editing files, check whether another agent's worktree of the same repository is changing them, and agree with that agent or the user before touching them. Use before starting a change in a repository where other agents work on other branches, or when the user asks to… - 100claims
Claims-based authorization for agents and operations. Grant, revoke, and verify permissions for secure multi-agent coordination. Use when: permission management, access control, secure operations, authorization checks. Skip when: open access, no security requirements, single-agent local work.