You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e49f7e5
Browse filesBrowse the repository at this point in the historyBrowse files
feat(store): persist indexed-checkout sha at staged-generation boundary
Record the frozen git HEAD at the same successful staged-generation boundary
as graph coverage. cbm_coverage_meta_t gains indexed_checkout_sha; new
writable DBs create a nullable indexed_checkout_sha column and existing
writable DBs are migrated idempotently in init_schema, while read-only
legacy DBs without the column still open, read and report no identity
instead of erroring. coverage_replace_ex writes/updates the SHA inside its
existing transaction, so failure/rollback retains the prior identity.
Full, delta-incremental and legacy-incremental generation templates set it
from the pipeline's refreshed git context (NULL/empty for non-git repos).
index_status freshness now derives from the recorded identity: no indexed
SHA -> unknown/indexed_checkout_unavailable; differs from the live git HEAD
-> stale/indexed_checkout_mismatch; equal -> current. Emits indexed_generation,
indexed_checkout_sha, checkout_sha, a stable reasons array and
recommended_action; stays verbose-only and read-only.
Add store round-trip/rollback coverage and MCP verdict tests for matching
current and mismatched stale (git fixtures, platform-skipped on Windows).
Signed-off-by: Leonardo trindade miranda <tmonestudio@gmail.com>
0 commit comments