Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(docs): correct checkpointer constructor signatures in READMEs

xf gonge3187a433dce
diff --git a/cubepi/checkpointer/mysql/README.md b/cubepi/checkpointer/mysql/README.md
index dd03854..722b424 100644
--- a/cubepi/checkpointer/mysql/README.md
+++ b/cubepi/checkpointer/mysql/README.md
@@ -24,10 +24,9 @@ async with MySQLCheckpointer("mysql://user:pass@host:3306/db") as cp:
agent = Agent(..., checkpointer=cp, thread_id="user-42")
```
-Constructor: `MySQLCheckpointer(dsn, *, min_size=1, max_size=10,
-schema_version_check=True)`. The DSN accepts `mysql://`,
-`mysql+aiomysql://`, or `mysql+pymysql://` and is normalized to the
-aiomysql form.
+Constructor: `MySQLCheckpointer(dsn, *, min_pool_size=1,
+max_pool_size=10)`. The DSN is a `mysql://user:pass@host:port/db` URL,
+parsed into `aiomysql.create_pool` kwargs.
## What the public API exposes
diff --git a/cubepi/checkpointer/postgres/README.md b/cubepi/checkpointer/postgres/README.md
index 28414f7..166c782 100644
--- a/cubepi/checkpointer/postgres/README.md
+++ b/cubepi/checkpointer/postgres/README.md
@@ -23,9 +23,9 @@ async with PostgresCheckpointer("postgresql://user:pass@host/db") as cp:
agent = Agent(..., checkpointer=cp, thread_id="user-42")
```
-Constructor: `PostgresCheckpointer(dsn, *, min_size=1, max_size=10,
-schema_version_check=True)`. Pass `schema_version_check=False` only if
-you deliberately run ahead of the row in `cubepi_schema_version`.
+Constructor: `PostgresCheckpointer(dsn, *, min_pool_size=1,
+max_pool_size=10)`. `setup()` verifies the schema and raises on a
+version mismatch; it never creates tables.
## What the public API exposes