feat(data): first-class Data mode for project inventory and reclassification - #1166
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
|
I'm still working on this |
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
e763307 to
5d4d2fa
Compare
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
…ication Centralize archive-wide project governance in a dedicated Data mode so folder mappings are explicit, reviewable, and applied atomically without relying on Activity filters or ambiguous worktree terminology. Follow-up fixes: - reconcile reclassified identity aggregates - bound reclassification identity updates - refresh project filters after reclassification - reload grouped session counts after deletion - keep project identity views current - preserve rule drafts during refresh - count all matched reclassification projects - preserve mappings across publication scopes - preserve identity across publication scopes - preserve PostgreSQL publication provenance - reject untrustworthy version 76 identity snapshots - abort resync when mapping restoration fails - deliver snapshot tombstones across publication scopes - fail closed when unavailable-source identity recovery fails
roborev: Combined Review (
|
An inaccessible checkout or an empty parser result is not authoritative evidence that a session changed projects. Treat those cases like a missing source and recover the last durable resolved identity, preventing transient filesystem failures from replacing a known classification.
roborev: Combined Review (
|
Archive identity repairs must invalidate every mirrored provenance surface, not only session fingerprints and local watermarks. Rebuild disposable DuckDB mirrors when the propagated archive identity changes, and retire PostgreSQL metadata owned by the superseded identity before republishing it. Malformed optional Vibe metadata is likewise not authoritative evidence that repository identity disappeared. Recover its independent working-directory and branch fields so transient parse failures cannot replace a known project classification with a generic fallback.
roborev: Combined Review (
|
Archive identity repair must remain retryable when governance publication fails, and a filtered publisher must not retire metadata still owned by another scope. Delaying repair finalization until identity and mapping publication succeeds preserves both guarantees while allowing the final repaired scope to clean up the superseded archive. Remote identity recovery also needs to address snapshots by the prefixed ID used in storage; otherwise an unavailable remote checkout can fall back to the wrong project.
roborev: Combined Review (
|
Summary
Adds a top-level Data mode for reviewing project identity across an archive and managing folder-to-project mappings. It replaces the mapping editor in Settings with an inventory, a project workspace, and centralized rules that can be previewed and applied atomically.
Behavior and correctness
Publication and storage
Filtered PostgreSQL and DuckDB publication keeps mappings, snapshots, provenance, and tombstones within each configured project scope. Incremental watch work is bounded by changed sessions, project moves publish in both directions, placeholder snapshots are excluded, and mirrored sessions retain their source machine, file path, and exact database generation.
The SQLite data version advances from 76 to 77 to reparse project-identity source snapshots while preserving live and orphaned archive data through non-destructive migration. PostgreSQL gains source-scoped publication metadata and session provenance fields. DuckDB schema v8 adds source archive and mapping provenance; existing disposable mirrors rebuild rather than migrate in place.