Version: 1.7.3 | Last reviewed: 2026-04-02
Governance rule for Knowledge Item (KI) operations β the persistent cross-session memory system for AI agents. KI Store lives outside the workspace (~/.gemini/antigravity/knowledge/), making this rule critical for data protection.
- Type: Global (entire workspace)
- Priority: π΄ Critical
- Trigger: Creating, updating, or archiving Knowledge Items
| Rule | Description |
|---|---|
| KR1 | Only /para-knowledge workflow (and hooks from /end, /brainstorm, /retro) can WRITE to KI Store |
| KR2 | All mutations require explicit user confirmation |
| KR3 | para_* prefix reserved for system KIs. User KIs: use project_{name} for project-scoped, descriptive slug for cross-project |
| KR4 | MUST NOT touch ~/.gemini/ outside knowledge/ and knowledge/.archived/ |
| KR5 | All writes must be idempotent + recoverable. Archive instead of delete |
| KR6 | System KIs ship from repo templates, sync via ./para update with dual-gate: version + content hash (v1.7.3) |
| Rule | Guideline |
|---|---|
| KS1 | Platform injects KI summaries at session start β agent uses injected data (0 file I/O) |
| KS2 | Suggest KI creation when /end detects new insights |
| KS3 | KI scope SHOULD match ecosystem structure |
| KS4 | Freshness review every 30 days |
| KS5 | Each artifact β€200 lines, summary β€800 chars |
v1.7.2 change: KS1 updated from "read KI before task" β "platform injects, agent uses directly" (0 file I/O).
- MUST comply with
ki.schema.json - MUST have β₯1 artifact file
- SHOULD create/update via
/para-knowledgeworkflow - scope MUST be: workspace | project | ecosystem
- Agent MUST verify KI content against current code
- KIs with >50% broken refs MUST be updated or archived
- summary MUST be β€800 characters
- System KI slugs MUST start with
para_ - System KIs MUST NOT be edited ad-hoc by users
- User KIs MUST NOT use
para_prefix - slug MUST match
^[a-z0-9_]{3,60}$
Operation .para/knowl/ User KI para_ KI brain/config
READ β
free β
free β
free π«
CREATE β
auto β
+ask π ver. π«
UPDATE β
auto β
+ask π ver. π«
ARCHIVE N/A β
+ask π ver. π«
DELETE π« π« π« π«
See also: Knowledge System Architecture Β· Knowledge Workflow Β· Heuristics H10