Adds YAML entries for pending and processed directories.