CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
docs(checkpointing): add explicit autogenerate step + link package READMEs
xf gonga2ca01927926
diff --git a/website/docs/guides/checkpointing/mysql.md b/website/docs/guides/checkpointing/mysql.mdindex e9a6e63..0519222 100644--- a/website/docs/guides/checkpointing/mysql.md+++ b/website/docs/guides/checkpointing/mysql.md@@ -84,6 +84,12 @@ from cubepi.checkpointer.mysql import cubepi_metadata, EXPECTED_SCHEMA_VERSIONtarget_metadata = [my_app_metadata, cubepi_metadata]```+Then autogenerate a revision:++```bash+alembic revision --autogenerate -m "add cubepi checkpointer"+```+The `cubepi_messages` table is `KEY`-partitioned, which SQLAlchemy'sautogenerate cannot express, so append the partition clause and theschema-version write with the provided helpers:@@ -196,3 +202,5 @@ from `dict.update`.)- [Postgres Checkpointing](./postgres) — the Postgres-backed sibling.- [SQLite Checkpointing](./sqlite) — single-process alternative.- [Custom Backends](./custom) — Protocol details.+- [Package README](https://github.com/cubeplexai/cubepi/blob/main/cubepi/checkpointer/mysql/README.md)+ — the full host-integration runbook next to the code.diff --git a/website/docs/guides/checkpointing/postgres.md b/website/docs/guides/checkpointing/postgres.mdindex 851aa02..c402aff 100644--- a/website/docs/guides/checkpointing/postgres.md+++ b/website/docs/guides/checkpointing/postgres.md@@ -80,8 +80,18 @@ from cubepi.checkpointer.postgres import cubepi_metadata, EXPECTED_SCHEMA_VERSIOtarget_metadata = [my_app_metadata, cubepi_metadata]```-Then generate a revision and apply it. The migration must also-INSERT the schema version. Use the helper:+Then autogenerate a revision:++```bash+alembic revision --autogenerate -m "add cubepi checkpointer"+```++Autogenerate emits the `CREATE TABLE`s from `cubepi_metadata`, but+SQLAlchemy `MetaData` **cannot model two things cubepi needs**, so add+them to the generated migration by hand: the 64 hash partitions of+`cubepi_messages` (via `create_message_partitions_op()`) and the+`cubepi_schema_version` row (via `write_schema_version_op()`). Use the+helpers:```python# In a migration's upgrade():@@ -205,3 +215,5 @@ to so the schema is forward-compatible.- [Custom Backends](./custom) — Protocol details.- [Recipes → Postgres + FastAPI Service](../../recipes/postgres-fastapi)— a deployable HTTP-fronted agent.+- [Package README](https://github.com/cubeplexai/cubepi/blob/main/cubepi/checkpointer/postgres/README.md)+ — the full host-integration runbook next to the code.