chore(1001): retire recover_half_written_items from MCP surface
The recovery tool was a one-shot migration aid for the half-written items that existed before the Stage 1 allocator fix. The three live orphans (989/1000/1001) have been migrated; the Stage 1 fix prevents new half-writes; the tool's job is done. Removes the MCP wrapper, schema, dispatch case, and tools-list assertion. The db::recover module itself stays in-process (under `#[allow(dead_code)]`) so it can be re-exposed quickly if the bug ever resurfaces — its regression tests still run as part of the default suite. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,13 +18,17 @@ pub mod content_store;
|
||||
/// Write operations for the pipeline — content, stage transitions, and deletions.
|
||||
pub mod ops;
|
||||
/// Recovery for half-written pipeline items (bug 1001 backfill).
|
||||
///
|
||||
/// No public MCP surface — kept as an in-process library for future incident
|
||||
/// response. Re-expose via diagnostics::tool_recover_half_written_items if
|
||||
/// the bug ever resurfaces.
|
||||
#[allow(dead_code)]
|
||||
pub mod recover;
|
||||
/// Background shadow-write task — persists pipeline items to SQLite asynchronously.
|
||||
pub mod shadow_write;
|
||||
|
||||
pub use content_store::{ContentKey, all_content_ids, delete_content, read_content, write_content};
|
||||
pub use ops::{ItemMeta, delete_item, move_item_stage, next_item_number, write_item_with_content};
|
||||
pub use recover::{find_half_written_items, recover_half_written_items};
|
||||
pub use shadow_write::init;
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user