v0.20.6 rebuild platform environments from templates
This commit is contained in:
@@ -2,22 +2,34 @@
|
||||
|
||||
Use a clean workspace for Antigravity. Do not open the full multi-platform repository unless you are debugging adapters.
|
||||
|
||||
The full repository contains Codex, OpenCode, Claude Code, Gemini CLI, archived projects, and legacy adapter files. Gemini models may read those files and follow stale or incompatible instructions. The clean workspace exposes only the Antigravity instruction stack plus optional Python utilities.
|
||||
The full repository contains Codex, OpenCode, Claude Code, Gemini CLI, archived projects, and platform adapter source templates. Gemini models may read irrelevant files and follow stale or incompatible instructions. The clean workspace exposes only the Antigravity instruction stack plus optional Python utilities.
|
||||
|
||||
## Recommended Update Flow
|
||||
|
||||
From the full repository:
|
||||
|
||||
```bash
|
||||
python scripts/update_platform_envs.py --platform antigravity
|
||||
```
|
||||
|
||||
This command first runs `git pull --ff-only`, then rebuilds `platform_envs/antigravity`. Open `platform_envs/antigravity` in Antigravity.
|
||||
|
||||
If you already pulled the repo yourself:
|
||||
|
||||
```bash
|
||||
python scripts/update_platform_envs.py --platform antigravity --skip-pull
|
||||
```
|
||||
|
||||
## Required Directory Logic
|
||||
|
||||
Antigravity workspace files live under `.agent/`:
|
||||
Antigravity source templates live in `platform_adapters/antigravity/agent/`. The generated Antigravity workspace receives them under `.agent/`:
|
||||
|
||||
- `.agent/agents.md` defines roles only.
|
||||
- `.agent/rules/*.md` defines persistent workspace constraints.
|
||||
- `.agent/skills/*/SKILL.md` defines reusable procedures.
|
||||
- `.agent/workflows/*.md` defines slash-style workflows.
|
||||
|
||||
Legacy or other-platform directories are not part of Antigravity native execution:
|
||||
|
||||
- `.agents/` is legacy compatibility for this repository's older adapter layout.
|
||||
- `.codex/`, `.opencode/`, `.claude/`, and `.gemini/` are for other tools.
|
||||
- Antigravity native runs must ignore those directories unless the user explicitly asks to inspect them.
|
||||
Other platforms are built into their own generated environments under `platform_envs/`. They are not part of Antigravity native execution.
|
||||
|
||||
## Sparse Checkout From Gitea
|
||||
|
||||
@@ -31,19 +43,22 @@ git sparse-checkout set \
|
||||
AGENTS.md \
|
||||
GEMINI.md \
|
||||
README.md \
|
||||
.agent \
|
||||
docs/antigravity-clean-workspace.md \
|
||||
docs/platform-adapters.md \
|
||||
configs \
|
||||
platform_adapters/antigravity \
|
||||
scripts/dr.py \
|
||||
scripts/runtime \
|
||||
scripts/reporting \
|
||||
scripts/deploy_adapters.py \
|
||||
scripts/update_platform_envs.py \
|
||||
scripts/export_antigravity_workspace.py \
|
||||
projects/.gitkeep
|
||||
git checkout codex/v0.20-skill-driven-python-core
|
||||
python scripts/update_platform_envs.py --platform antigravity --skip-pull
|
||||
```
|
||||
|
||||
This checkout intentionally excludes `.codex`, `.opencode`, `.claude`, `.gemini`, `.agents`, `archive`, historical `projects/**`, and bundled platform templates.
|
||||
This checkout intentionally excludes Codex/OpenCode/Claude/Gemini adapter templates, `archive`, historical `projects/**`, and generated `platform_envs/**`.
|
||||
|
||||
## Export From A Full Checkout
|
||||
|
||||
@@ -72,7 +87,7 @@ First, read only these files:
|
||||
7. .agent/skills/research-quality-gates/SKILL.md
|
||||
8. .agent/workflows/deep-research-native.md
|
||||
|
||||
Ignore .codex, .opencode, .claude, .gemini, and .agents if present.
|
||||
This is a generated clean workspace. Do not inspect parent repository adapter templates unless I explicitly ask.
|
||||
|
||||
Use Gemini 3 Flash only as Surface Manager. Do not write report content or invent completed searches. Ask me to switch models at the workflow gates.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user