sina-registry-drain

Validates registry closeouts by requiring receipt files and quarantining fake YAML entries.

Updated Jun 20, 2026
One-click install
npx skills add https://github.com/Noetfield-Systems/SourceA --skill sina-registry-drain-noetfield-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sina-registry-drain
Source: https://github.com/Noetfield-Systems/SourceA/tree/main/.cursor/skills/sina-registry-drain
Command: npx skills add https://github.com/Noetfield-Systems/SourceA --skill sina-registry-drain-noetfield-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Registry items get marked done without real proof of completion, and batch YAML closeouts pollute the registry with unverified status changes. This Skill enforces an honest drain process where progress only counts when a receipt file exists on disk. ## Core Features & Use Cases - Receipt-based closeout: An sa-#### item is only done when receipts/sa-XXXX-receipt.json exists, blocking chat-only or batch-stamped closeouts. - Hygiene gate enforcement: Runs enforce-registry-hygiene and validate-closeout-gate scripts to prove the CHECK → ACT → VERIFY chain. - Quarantine handling: Treats the 495 YAMLs in QUARANTINE_BATCH_YAML/ as invalid evidence of completion. - Use Case: When closing sa-0423, run the proof commands, confirm the receipt JSON exists with an allowed source, and only then quote Valid YES. ## Quick Start Ask the worker to drain the registry and verify that sa-#### has a valid receipt file before marking it done.

Frequently Asked Questions about sina-registry-drain

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

FAQPage Schema
How do I close an sa-#### registry item honestly?

Close an sa-#### item by running the CHECK → ACT → VERIFY cycle and producing receipts/sa-XXXX-receipt.json on disk. Chat YAML closeouts, batch pack stamps, or status: done without a receipt file do not count.

What counts as proof of registry completion?

Only a receipt file at brain-os/plan-registry/sourcea-1000/receipts/sa-XXXX-receipt.json counts as proof. The receipt source must be in the allowed gate list, and broker events in goal1-lane-broker-events.jsonl confirm the full chain.

Why are quarantined batch YAML files not valid closeouts?

The 495 YAMLs in QUARANTINE_BATCH_YAML/ were batch-stamped without per-item verification, so they fail the honesty gate. Each item must instead pass the hygiene and closeout gate scripts with its own receipt.

Which scripts validate the registry hygiene gates?

Run enforce-registry-hygiene-v1.sh, validate-registry-honest-gate-v1.sh, validate-closeout-gate-v1.sh, and program-1000-honest-status-v1.py --write from the SourceA/scripts directory. These prove the drain state before quoting Valid YES.

Can the Brain mark an sa item done without a receipt?

No. The Brain only quotes Valid YES after hygiene checks pass and never hand-closes an sa item without a receipt file. The Worker executes drain turns, but completion still requires the receipt on disk.