Repository navigation
Conversation
Preserve the baseline public export targets and wildcard order for the root, product, and transforms namespaces. Add cold-process compatibility and import-boundary tests plus a staged runtime extraction plan. No watermark algorithms, frozen evidence, thresholds, dependencies, or release versions are changed.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Tip 🎯 Customize your risk assessments
✅ Automatic approvals, with your rules
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Keep explanations in docs/runtime-refactor.md and remove comments/docstrings from Python files to satisfy the existing repository hygiene contract. No runtime logic or test assertions change.
Scope
First foundation change for the LLM text-watermark project. This is a bounded import-boundary refactor, not a new watermark-removal algorithm and not a pivot to a detector product.
fuckmark,fuckmark.product, andfuckmark.transformson demand instead of eagerly importing their implementation graph.__all__.dir(); clear export caches on reload.docs/runtime-refactor.md.Deliberately unchanged
No watermark algorithm, Unicode layer, detector threshold, frozen evidence, research module, dependency, workflow, or release version changes. No historical code is deleted. This does not yet shrink the wheel or fully extract the runtime core. Avoid relying on incidental eager-import side effects; explicit submodule imports remain supported.
Verified local results for c3ee8de
The sandbox could not clone GitHub directly. Instead, the exact baseline and initial PR source distributions were retrieved from GitHub Actions artifacts, and both artifact SHA-256 digests were checked. The final four Python file blobs were then matched against the pushed commit.
ProcessResultvalues or exception type/message. Cases include multilingual text, emoji, combining marks, protected code/URLs, existing carriers, limits, lone surrogates, and invalid input types. This is a regression sample, not proof over every input.Fresh-process loaded FuckMark module counts, Python 3.13.5:
import fuckmarkimport fuckmark.cliimport fuckmark.product.domainimport fuckmark.transforms.schemaThese are module-load counts, not speedup or watermark-efficacy measurements.
CI status and limitation
The first commit passed Linux/Windows CLI I/O, frozen calibration-readiness, WASM/native-binding, and artifact build/install checks. Its release-readiness job caught newly added Python comments/docstrings, which the existing repository hygiene policy forbids. Commit
c3ee8deremoves those comments/docstrings without changing runtime logic or test assertions; explanations remain in Markdown. The original hygiene test was not weakened.The latest commit's full repository and platform workflows have been triggered but are not yet confirmed complete. The source distribution omits repository evidence/spec files, so local targeted tests are not a substitute for the full checkout CI. Keep this PR draft and unmerged until the latest-head checks have been reviewed.
Resource issue discovered
An import-only PR automatically triggers 14 workflows, including model-generation/confirmation jobs such as
Cycle8 Carrier Detector. That workflow currently has apull_requesttrigger onfuckmark/product/**and installs Torch/Transformers before regenerating model samples. Future cleanup should separate inexpensive regression checks from explicitly authorized research reruns; frozen confirmation corpora should not be treated as an ordinary change-by-change tuning loop. No workflow triggers are modified in this PR, and no extra manual model runs were requested.Provenance
Baseline:
09c8cbf184e37e2e934e133b74a5db9af67b4f97.Final changed Python blob identities:
5ae028d35af6d719cc10ccabdcb23ffd98587d771be8ecbd0cf55ac4dbf36040921d749644a1839aa044d734d5bb59fde66f55fcdfed9466b9097a02c31db5348d514a1517148d03a795cae530cf38dbBehavior-comparison serialized result SHA-256:
f7d90b7650f9c64d5e93ca6ed507954ed7c43415565952122f1da8a279bdd915.