Skip to main content

Module machine_registry

Module machine_registry 

Source
Expand description

Machine-local SQLite registry ($KAIZEN_HOME/machine.db) — known workspace roots, init history.

Functions§

db_path
Path to the machine registry db, or None if KAIZEN_HOME / HOME is unset.
is_registered
true if this path is a row in the machine registry (compared after canonicalize).
list_paths
All known workspace paths from the machine registry.
record_init
Record a successful kaizen init (increments init_count, optional git + version).
status
Open machine registry (read/write), run migrations, return project count, or None if no kaizen home.
upsert_from_resolve
Upsert a workspace seen from resolve.