refactor/package-layout #3

Merged
pedro-bento merged 2 commits from refactor/package-layout into main 2026-10-04 20:47:14 +01:00
Owner
No description provided.
pedro-bento added 2 commits 2026-10-04 20:41:53 +01:00
chore: simplify repo — drop agent skills, n8n examples, ops/hallmark and demo assets
All checks were successful
CI / backend-tests (pull_request) Successful in 28s
CI / frontend-build (pull_request) Successful in 28s
7592dbfd93
- Remove skills/, examples/, ops/, .hallmark/, CLAUDE.md, docs/dsa-notice,
  unused demo gifs + demo video and the n8n SEO page/assets
- Untrack .opencode and ignore it (.opencode/, .pytest_cache/, .hallmark/)
- Fix all dangling references (README, cli, SEO pages/fallback, retention doc)
- Keep assets/watermark.png, docs/compliance, design.md, screenshots, cli
refactor: move backend into the clipwright package
All checks were successful
CI / backend-tests (pull_request) Successful in 30s
CI / frontend-build (pull_request) Successful in 29s
83ad1feaba
Restructure the 37 root-level Python modules into a proper package:
  clipwright/{core,api,pipeline,layouts,media,integrations,tools}

- Rewrite every local import (module-level and deferred) to absolute
  clipwright.<group>.<mod> form; no legacy root shims or re-exports.
- Add clipwright/core/paths.py and route fonts/assets/cookies through it.
- Entry points: uvicorn clipwright.api.app:app; jobs run as
  python -m clipwright.pipeline.main; probe as -m ...quality_probe.
- child_env() appends REPO_ROOT to PYTHONPATH so the -m workers work.
- transcribe_backends: sys.modules key now clipwright.media.scene_detection.
- Tooling: root pyproject.toml (pytest pythonpath=[.], ruff), shared
  requirements-test.txt, CI installs it, Docker PYTHONPATH=/app.
- Tests: all imports/fakes/source-scans repointed; new tests/test_package_layout.py
  enforces no root modules, docstring-only __init__, and no legacy imports.
- Docs/comments updated for the new layout.

Backend: 744 passed, 19 skipped. Frontend lint+build green.
pedro-bento merged commit 719946b3cd into main 2026-10-04 20:47:14 +01:00
pedro-bento referenced this pull request from a commit 2026-10-04 20:47:15 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pedro-bento/clipwright#3
No description provided.