Overview
Interactive CLI tool to review and approve/reject entity merge proposals and low-confidence relations. Provides auto-approval and auto-rejection thresholds to streamline the review process.Usage
Options
Output directory containing review files. Use
-o as shorthand.Auto-confirm proposals where all members meet this confidence threshold (0.0-1.0). Set to 1.0 to disable auto-approval.
Auto-reject relations below this confidence threshold (0.0-1.0). Set to 0.0 to disable auto-rejection.
Enable verbose logging. Use
-v as shorthand.Behavior
Review Process
The command reviews two types of items:- Merge Proposals - Entity duplicates from
merge_proposals.yaml - Flagged Relations - Low-confidence relations from
relation_review.yaml
Interactive Review
For each DRAFT item:- Displays entity/relation details
- Shows confidence score and reasoning
- Prompts for decision: approve, reject, or skip
- Auto-approves/rejects based on thresholds
Status Transitions
- DRAFT → CONFIRMED (approved)
- DRAFT → REJECTED (rejected)
- DRAFT → DRAFT (skipped)
Review Files
merge_proposals.yaml
Reviews entity merge proposals with status updates:relation_review.yaml
Reviews flagged relations with status field:Auto-Approval/Rejection
Auto-Approve Threshold
Merge proposals where all members have confidence ≥--auto-approve are automatically confirmed.
Auto-Reject Threshold
Relations with confidence <--auto-reject are automatically rejected.
Disable Auto-Actions
Examples
Standard review
Conservative review
Manual review only
Review from custom directory
Interactive Controls
During review, you can:- Type
yoryes- Approve item - Type
norno- Reject item - Type
sorskip- Skip to next item - Press Ctrl+C - Exit review (progress is saved)
Output
After review:- Updates
merge_proposals.yamlwith decisions - Updates
relation_review.yamlwith decisions - Displays summary of reviewed items
Next Steps
After reviewing:Error Handling
Exits with status 0 if:- No review files exist (prompts to run
sift resolveorsift build) - No DRAFT items to review
See Also
- resolve - Generate merge proposals
- build - Flag low-confidence relations
- apply-merges - Apply review decisions