Antigravity integration

ADLC for Google Antigravity

Advisory PreToolUse rails-guard for agy, plus skills and a prosecutor agent. The unbypassable CI rail-freeze gate is the real control. In-session rails are advisory. agy fails open on hook failure, so CI is the guarantee, not an optional extra.

Local plugin installCI is the backstop
hook event
1
skills
4
commands
3
prosecutor agents
7
Local plugin install
install: Google Antigravity
agy plugin install /abs/path/to/adlc/plugins/adlc-antigravity

agy plugin install only takes a filesystem path. npm-assisted path: npm install @adlc/antigravity then agy plugin install ./node_modules/@adlc/antigravity. Marketplace and universal-installer support are still planned. Export ADLC_P4_ENFORCEMENT=1 with an active ticket.

Native surfaces

What the Antigravity plugin installs

adlc-antigravity / native bundle
adlc-antigravity/
├─ plugin.json  agy manifest
├─ hooks/       1 PreToolUse event
├─ skills/      4 phase skills
├─ commands/    3 bootstrap command
└─ agents/      7 prosecutor agent

01 / hook event

PreToolUse rails-guard (advisory)

Denies with allow_tool: false on exit 0. Non-zero exit is fail-open: a crash or timeout can let a rail write through.

  • PreToolUse

02 / skills

Four skills around the adlc CLIs

Skills wrap the adlc CLIs from triage through distill. The hook only covers the rail moment.

  • adlc
  • adlc-doctrine
  • adlc-prosecutor
  • adlc-self-orchestrate

03 / commands

Commands for bootstrap and diagnostics

/adlc-init finishes the repo scaffold, /adlc-status inspects session context depth, and /adlc-doctor verifies integration health.

  • /adlc-init
  • /adlc-status
  • /adlc-doctor

04 / prosecutor agents

Five lenses, main prosecutor, and verifier

P5 prosecution fans out five specialist lenses, dedupes findings via main prosecutor, and verifies with an independent verifier.

  • prosecutor
  • prosecutor-contract
  • prosecutor-correctness
  • prosecutor-diff
  • prosecutor-security
  • prosecutor-tests
  • prosecutor-verifier
Phase routing

Skills route, CI enforces

Skills and commands route work. The hook is only an in-session nudge. Treat CI as required before you rely on this integration for enforcement.

PhaseAntigravity entryEvidence produced
P0/adlc-init · adlc-ticketticket in .adlc/tickets.json
P1-P2adlc CLI via skillsspec-lint · premortem · coldstart
P3-P4PreToolUse + CIadvisory deny · rails-guard-ci
P5-P6prosecutor agenthollow-test · behavior-diff · manifest
P7adlc skillsfoundry · rejection mining
Frozen rails

Advisory in session, required in CI

In the session

Advisory deny, fail-open on hook failure

Advisory deny with fail-open on hook failure. POSIX-oriented command paths; Windows in-session is unsupported. Shell writes are not gated. Do not treat the hook as a hard block.

In CI

Unbypassable control across platforms

scripts/rails-guard-ci.mjs is the guarantee for every platform, including Windows. Make docs/ci/rails-guard.yml a required check (or fold it into an existing required job on free private repos).

Install

Install from a local checkout path

Local plugin install
install: Google Antigravity
agy plugin install /abs/path/to/adlc/plugins/adlc-antigravity

agy plugin install only takes a filesystem path. npm-assisted path: npm install @adlc/antigravity then agy plugin install ./node_modules/@adlc/antigravity. Marketplace and universal-installer support are still planned. Export ADLC_P4_ENFORCEMENT=1 with an active ticket.

operate: Antigravity plugin
# npm-assisted path (still a filesystem install)
npm install @adlc/antigravity
agy plugin install ./node_modules/@adlc/antigravity

# Arm enforcement for an active ticket
export ADLC_P4_ENFORCEMENT=1
ADLC began as an essay series. Read the original theory at voodootikigod.com ↗MIT · @adlc on npmPrivacy