The definitive guide to disciplined AI-human collaboration.
TETHER (v3.0) is a safety cage and workflow protocol for Google Antigravity. It transforms the AI from a simple autocomplete engine into a disciplined engineering partner that follows a strict "Plan-Then-Execute" mandate.
TETHER isn't just a set of templates; it's a guardrail system designed to prevent "AI Drift"βthe tendency for LLMs to cut corners, hallucinate, or lose track of project goals.
- Plan-Then-Execute: The AI must create an implementation plan and wait for your approval before writing a single line of code.
- Metronome Anti-Shortcut Checks: Every 5 tool calls, the AI pauses to self-audit. It checks for signs of "cutting corners" (like bulk file deletes or using placeholders).
- 60% Context Budget: To keep the AI sharp, TETHER enforces a context limit. When the AI reaches 60% of its memory capacity, it must archive the current phase and clear its head.
- No Placeholders: You will never see
// ... rest of code. TETHER AI writes complete, functional code or breaks the task into smaller fragments.
To bring TETHER into your project:
# In your project root
git clone https://github.com/Rauglothgor/tether-antigravity.git .tether-temp
Copy-Item -Recurse .tether-temp/* . -Force
Remove-Item -Recurse .tether-tempOnce the files are in place, tell the AI:
"Initialize TETHER for this project."
This will create your core planning directories:
.planning/: Where your goals and roadmaps live..tether/: System configuration and internal memory.00_ARCHITECT_BRAIN.md: The constitution the AI follows.
A standard TETHER development cycle follows four distinct phases:
- Specify (
/specify): Define exactly what you want. This creates aFEATURE_SPEC.md. - Plan: The AI creates an
implementation_plan.md. You review and approve. - Execute: The AI writes the code, following strict quality standards and auto-linting.
- Verify: The AI runs tests and creates a
walkthrough.mdto prove it works. - Archive (
/archive-phase): Lessons are extracted, and context is cleared for the next task.
Commands that give you total control over the engine.
| Command | Action | Best Used When... |
|---|---|---|
/status |
Shows project health & Traffic Lights. | You want to see if the AI is "tired" or off-track. |
/help |
Displays the command reference. | You forget what a command does. |
/specify [feature] |
Generates a detailed requirement spec. | You're starting a new feature. |
/debug [issue] |
Starts a structured investigation. | Something broke and you don't know why. |
/investigate [q] |
Spawns a sub-agent for research. | You need to research a library without making edits. |
/decision [topic] |
Logs an Architectural Decision (ADR). | You're choosing between two different approaches. |
/godmode [goal] |
Enables full autonomous building. | You have a clear goal and want the AI to handle it end-to-end. |
/archive-phase |
Compresses context and saves lessons. | You've finished a major task and the AI feels "slow". |
/evergreen-verify |
Scans for deprecated documentation. | You want to ensure your docs match the current code. |
/rollback |
Reverts the last set of changes. | The AI went in the wrong direction. |
Understanding the files that power your workspace.
- PROJECT.md: The "North Star". Defines the tech stack and high-level architecture.
- ROADMAP.md: The chronological path. Keeps work organized in phases.
- DECISIONS.md: The "Why". Tracks every major technical choice.
- FEATURE_SPEC.md: The "What". Detailed requirements for a specific feature.
- STATE.json: The AI's internal metrics (accuracy, memory usage, health).
- FAILURE_MODES.md: A registry of known risks and how to avoid them.
- SKILLS_INDEX.md: Reusable patterns the AI can "learn" from.
- AUDIT.md: A log of every approval and major action.
TETHER allows you to share learnings across different projects.
By creating a symbolic link named .thoughts that points to a central directory on your PC, Project A's mistakes can become Project B's wisdom. See GLOBAL_MEMORY_SETUP.md for setup instructions.
Run /godmode [goal] to trigger the BMad Method (Brain β Map β Act β Done). The AI will autonomously:
- Specify the feature.
- Build the architecture.
- Execute the code.
- Verify with a browser sub-agent.
- Archive the result.
For massive tasks, TETHER can spawn multiple sub-agents to work in parallel. Mention "Swarm Mode" in your plan to activate multi-agent orchestration.
The /status command uses a traffic light system to report on system health:
- π’ Nominal (85-100): AI is sharp, context is clean. Proceed with complex tasks.
- π‘ Warning (70-84): Context is getting heavy. The AI might start missing details. Consider
/archive-phase. - π΄ Critical (<70): High risk of hallucinations. Stop work immediately and run
/archive-phase.
Q: The AI is ignoring my instructions.
A: Check 00_ARCHITECT_BRAIN.md. If the rules are being violated, remind the AI to "Consult the Architect Brain."
Q: I lost my implementation plan.
A: Plans are always stored in the artifacts directory. Run /status to find the path to your current task log.
Q: Can I skip the planning phase? A: No. TETHER is designed to prevent technical debt. Skipping the plan is a "Hard Violation" and will degrade the AI's performance.
Welcome to TETHER. Discipline is freedom.