← knowledge.oriz.in

Never delete an empty placeholder repo without explicit user authorisation

rule rulerepodeleteplaceholderslug-reservationfamilysafety

Never delete an empty placeholder repo without explicit user authorisation

What

An empty repo in the chirag127/oriz* family is a deliberate slug reservation, not a cleanup candidate. Before running gh repo delete <slug> (or any equivalent destructive remote action — gh repo transfer, archive-then-delete, branch deletion on main, mass git push --delete) against ANY family repo — even one that contains no application code beyond a README and LICENSE — the agent MUST obtain explicit, repo-named, current-conversation confirmation from the user.

"It looked empty so I assumed it was abandoned" is not a defence. Empty in this family means reserved, not dead.

Why

How to apply

Before any destructive remote action against a family repo:

  1. List what would change — repo slug, current submodule paths that reference it, README links, any cross-repo link in knowledge/.
  2. Surface that list to the user with the proposed command verbatim.
  3. Wait for explicit, repo-named confirmation. "Yes delete it" is sufficient if the user named the repo in the previous turn; ambiguous "go ahead" is not.
  4. Only then run the command.
  5. Log the deletion in with the reason and the user message that authorised it.

What does NOT count as authorisation

Same-day migration exception

When a repo is superseded the same day it was created (or during an active migration session) by another repo with the same role, the standard cooling-off is waived if the user confirms the deletion via MCQ in that same session. See user-prefers-deletion-over-archive.md.

Conditions for the exception (all must hold):

This exception does NOT cover:

When in doubt, fall back to archive (gh repo archive) instead of delete.

Cross-references