Skip to content

Add revision-checked index apply for pending file edits #142

Description

@DandyLyons

Goal

Apply explicit pending edits through the shared server mutation/codec service. Part of Phase 3 in #93; depends on #138, #90, and #82.

CLI

md-utils index apply --dry-run
md-utils index apply

This replaces the proposed update --fromSQLiteToFiles flag.

Requirements

Acceptance criteria

  • Dry-run and apply share planning/validation.
  • Stale baselines produce conflicts.
  • Supported edits preserve source according to the codec contract.
  • Failures and interruptions report completed/pending work and recover safely.
  • Overlapping resources share revisions and refreshed assessments.
  • Automatic refresh does not erase pending edits.
  • Indexing-mode changes and encoding rebuilds preserve pending edits and baseline revision/conflict information.

Arbitrary edits to internal document tables and automatic conflict merging are out of scope.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions