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.
list_paths_including_missing
All registry rows, including workspace paths that no longer exist.
record_init
Record a successful kaizen init (increments init_count, optional git + version).
status
Read machine registry status without creating machine state.
upsert_from_resolve
Upsert a workspace seen from resolve.