Grounding
Grounding is establishing what is **actually true and current for the
surface you are about to change**, then acting on that — not on a guess,
a memory, or the first grep hit. The hard part is not search; it is
picking the authoritative source and reconciling sources that
disagree.
Intentional seed. This holds only Grida-specific facts that are not
obvious from
CLAUDE.md/AGENTS.md. Grow it from real, discovered
specifics (concept→file anchors that bite repeatedly, conflicts that
actually happened and how they resolved). Do not pad it with generic
search advice a competent agent already knows.
Source of truth (scoped to the surface)
Authority is per-surface — the engine model and its TS mirror can each
be right for their own surface and still disagree. Name the surface,
then trust:
- Canvas render/node model → the Rust engine, now in the engine repo:
https://github.com/gridaco/nothing/blob/main/crates/grida/src/node/schema.rs.
The TS mirror editor/grida-canvas/ is authoritative for _editor
behavior_ and can lag the engine.
- DB schema →
supabase/migrations/(applied, immutable);
supabase/schemas/*.sql is a readable projection that can lag — use
the database skill.
- AI model facts → the pinned public
@grida/ai-modelsrelease;
current hosted offerings and operation schemas → GG discovery.
Grida authors only data/ai/presets.json product choices and
data/ai/native-inputs.json implemented native/BYOK inputs. Marked
TypeScript literals and Rust assets are generated consumers. Follow