Skip to content
Back to skills

Persistence Rag Workspaces

ASecurity

"Maintain LangBot persistence, Alembic migrations, Workspace

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
databasespythonrustbashsqlapidatabasebackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill persistence-rag-workspaces --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Persistence Rag Workspaces?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Persistence Rag Workspaces
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-persistence-rag-workspaces/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-persistence-rag-workspaces)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: persistence-rag-workspaces
description: "Maintain LangBot persistence, Alembic migrations, Workspace
  tenancy, cloud directory state, RAG knowledge bases, vector backends, storage,
  monitoring, and telemetry workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Persistence, RAG, Workspaces, and Monitoring

Use this sub-skill for database models, migrations, tenant scoping, Workspace
collaboration, cloud directory/launch behavior, RAG/knowledge-base operations,
vector backends, file storage, monitoring exports, and telemetry.

## Read First

- [references/persistence-and-migrations.md](references/persistence-and-migrations.md)
  for SQLAlchemy/SQLModel, SQLite/PostgreSQL, Alembic, and release migrations.
- [references/workspaces-and-tenancy.md](references/workspaces-and-tenancy.md)
  for `RequestContext`, `ExecutionContext`, membership, tenant scopes, and
  resource isolation.
- [references/rag-vector-storage.md](references/rag-vector-storage.md) for
  knowledge bases, parsers, vector stores, and local/S3 storage.
- [references/monitoring-and-telemetry.md](references/monitoring-and-telemetry.md)
  for monitoring APIs, retention, resource stats, and telemetry boundaries.
- [references/troubleshooting.md](references/troubleshooting.md) for migration,
  vector, storage, and tenant-context failures.

## Hard Rules

- New schema changes use Alembic under the current Alembic versions directory;
  do not add new legacy `dbmXXX` migrations.
- Tenant services must accept a `RequestContext` or trusted execution context
  and fail closed when context is missing.
- API keys are bound to one Workspace; do not let request headers switch an API
  key's tenant.
- Vector/database service-backed tests are optional unless the task changes that
  backend; SQLite and unit tests cover the general path.

## Focused Checks

```bash
python scripts/select_langbot_checks.py persistence-rag
uv run pytest tests/integration/persistence/test_migrations.py -q --tb=short
uv run pytest tests/unit_tests/vector/test_mgr.py tests/unit_tests/vector/test_vdb_filter_conversion.py -q --tb=short
uv run pytest tests/unit_tests/storage/test_storage_manager.py tests/unit_tests/rag/test_runtime_service.py -q --tb=short
```

Files in this skill

  • SKILL.md2.2 KB
  • references/monitoring-and-telemetry.md1 KB
  • references/persistence-and-migrations.md1.5 KB
  • references/rag-vector-storage.md1.3 KB
  • references/troubleshooting.md1.5 KB
  • references/workspaces-and-tenancy.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.