audit-quarantine

Audit quarantine and purge reversibility for duplicated comprobantes, ORS, and receptor flows.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/ElPoot/contabilidad --skill audit-quarantine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-quarantine
Source: https://github.com/ElPoot/contabilidad/tree/main/.agents/skills/audit-quarantine
Command: npx skills add https://github.com/ElPoot/contabilidad --skill audit-quarantine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It evaluates whether quarantine and purge operations for duplicated comprobantes, ORS, and receptor responses are truly reversible, ensuring restores are possible when actions are rolled back.

Core Features & Use Cases

  • Flow reversibility audit: Checks complete end-to-end behavior for quarantine, including whether the code actually records the batch/lote for later restoration.
  • Manifest integrity validation: Verifies that manifest writing/reading is consistent with batch_id/lote semantics so restored files can be recovered reliably.
  • Restore-path correctness: Confirms that restore functions correctly recover quarantined items and perform proper cleanup (e.g., batch deletion) without leaving partial state.
  • Use Case: When you suspect that quarantined duplicates or purged ORS/receptor artifacts can’t be restored after a rollback, you use this audit to determine whether the underlying movement/manifest/restore logic is safe.

Quick Start

Ask the AI to audit the current code paths for duplicates_quarantine.py, ors_purge.py, and receptor_purge.py by verifying move operations, manifest/batch registration, and restore behavior, then produce the reversibility report with a clear verdict.

Frequently Asked Questions about audit-quarantine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify quarantine reversibility for duplicated comprobantes and ORS purge flows?

You verify quarantine reversibility by auditing file movement functions, batch_id/lote manifest registration, and restore cleanup logic against the operational code to ensure reliable rollback behavior.

What is quarantine purge reversibility and why does manifest integrity matter?

Quarantine purge reversibility is the ability to safely restore purged files during a rollback. Manifest integrity ensures batch_id/lote records are consistently written and read for reliable file recovery.

How do I audit restore path correctness for batch-based quarantine pipelines?

You audit restore path correctness by comparing restore functions and database cleanup logic to confirm quarantined items are recovered fully and batch deletion leaves no partial state.

Can I check if my duplicate isolation code supports safe rollback without running it?

Yes, you can review the operational code statically by reading and comparing move functions, hash checks, and manifest write/read consistency to determine if restore recovery is safe.

Why does my quarantined duplicates restore leave partial state after rollback?

Your restore leaves partial state when restore functions fail to perform proper batch deletion cleanup or when manifest write/read semantics are inconsistent with batch_id registration.