chore: scaffold empty directory structures for isolated AI workspaces

This commit is contained in:
2026-04-01 13:19:52 +07:00
parent ebd971ff18
commit b59039ffa7
15 changed files with 48 additions and 19 deletions
+48 -19
View File
@@ -1,34 +1,63 @@
# File chứa API Key
# ==========================================
# 1. API KEYS & CREDENTIALS (STRICT IGNORE)
# ==========================================
.openclaw/openclaw.json
.openclaw/agents/
.openclaw/credentials/
.openclaw/agents/*
!.openclaw/agents/.gitkeep
.openclaw/credentials/*
!.openclaw/credentials/.gitkeep
.openclaw/*.bak*
.openclaw/*.clobbered*
# File thừa
.openclaw/telegram/
.openclaw/identity/
.openclaw/completions/
.openclaw/canvas/
# ==========================================
# 2. RUNTIME CACHE & TRASH
# ==========================================
.openclaw/telegram/*
!.openclaw/telegram/.gitkeep
.openclaw/identity/*
!.openclaw/identity/.gitkeep
.openclaw/completions/*
!.openclaw/completions/.gitkeep
.openclaw/canvas/*
!.openclaw/canvas/.gitkeep
.openclaw/update-check.json
# Bỏ qua các file log chat/nháp/cache hàng ngày của Agent
.openclaw/workspace/memory/
.openclaw/workspace/logs/
.openclaw/logs/
.openclaw/cache/
.openclaw/workspace/docs/superpowers/
.openclaw/workspace/projects
# ==========================================
# 3. WORKSPACE ISOLATION (GIỮ KHUNG SƯỜN)
# ==========================================
.openclaw/workspace/memory/*
!.openclaw/workspace/memory/.gitkeep
.openclaw/workspace/logs/*
!.openclaw/workspace/logs/.gitkeep
.openclaw/logs/*
!.openclaw/logs/.gitkeep
.openclaw/cache/*
!.openclaw/cache/.gitkeep
.openclaw/workspace/docs/superpowers/*
!.openclaw/workspace/docs/superpowers/.gitkeep
.openclaw/workspace/projects/*
!.openclaw/workspace/projects/.gitkeep
.openclaw/workspace/.clawhub/
.openclaw/workspace/.clawhub/*
!.openclaw/workspace/.clawhub/.gitkeep
.openclaw/workspace/package-lock.json
# Bỏ qua các file chứa thiết bị kết nối
# ==========================================
# 4. HARDWARE & GATEWAY STATES
# ==========================================
.openclaw/devices/*
!.openclaw/devices/.gitkeep
# Bỏ qua các file trạng thái tạm thời của Gateway
.openclaw/gateway/pending.json
.openclaw/gateway/sessions.db
# Bỏ qua các file môi trường
# ==========================================
# 5. ENVIRONMENT VARIABLES
# ==========================================
.env
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File