sorter: skip hidden trees (.broken) in the plan; treat extract_manifest.jsonl as run artifact
This commit is contained in:
@@ -64,7 +64,11 @@ def main() -> None:
|
||||
datefmt="%H:%M:%S")
|
||||
|
||||
source = args.source
|
||||
files = [source] if source.is_file() else sorted(source.rglob("*"))
|
||||
files = [source] if source.is_file() else sorted(
|
||||
p for p in source.rglob("*")
|
||||
# hidden trees like .broken/ must never reach the plan
|
||||
if not any(part.startswith(".") for part in p.relative_to(source).parts)
|
||||
)
|
||||
catalog = load_catalog(args.catalog)
|
||||
audit = args.audit or (args.library / "sorter_applied.jsonl")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user