Skip to content

feat(paths): sidecar naming and the stale sidecar-partial sweep - #183

Merged
bhemsen merged 2 commits into
mainfrom
feat/paths-sidecar-naming
Oct 2, 2026
Merged

bhemsen merged 2 commits into
mainfrom
feat/paths-sidecar-naming

Conversation

@bhemsen

@bhemsen bhemsen commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Adds sidecar_language, sidecar_paths and stale_sidecar_partials to converter/paths.py (still a leaf; suffix is a parameter), per docs/specs/spec-subtitle-sidecars.md. Tests cover every acceptance bullet, incl. the adversarial-stem disjointness test and the POSIX Ep1/ep1 case (skipped on Windows). Decision-log entry added.

Verification: scripts/verify.py green (lint, format, 1388 tests).

Closes #177

🤖 Generated with Claude Code

bhemsen and others added 2 commits October 2, 2026 10:38
Adds sidecar_language, sidecar_paths and stale_sidecar_partials. The name
grammar (language never numeric, counter always numeric, no dots) is what
keeps every collision/self-write/overwrite guard correct without selection
knowing sidecar names, and what lets the sweep by grammar own exactly the
partials one task can produce. Comparison goes through os.path.normcase,
never casefold. paths stays a leaf; the suffix is a parameter. See
docs/specs/spec-subtitle-sidecars.md.

Closes #177

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ming

# Conflicts:
#	docs/specs/spec-subtitle-sidecars.md
@bhemsen
bhemsen merged commit 99e51ec into main Oct 2, 2026
7 checks passed
@bhemsen
bhemsen deleted the feat/paths-sidecar-naming branch October 2, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(paths): sidecar naming and the stale sidecar-partial sweep

1 participant