๐ Added February 2, 2026 โ Production Packaging Checklist
Before any release candidate is packaged for deployment, the codebase must be scrubbed of development artifacts, dead code, and sensitive information. This is a mandatory gate that runs AFTER the Python OVM analysis passes.
๐๏ธ Step 1: Strip Orphaned Macros
Remove OVM files that are not called by any production macro chain. The Python dependency checker identifies these.
- โ Run dependency analysis from all production entry points
- โ Generate orphan report with last-modified dates
- โ Manual review: confirm each orphan is truly unused
- โ Move confirmed orphans to
_archive/(don't delete immediately)
๐ Step 2: Remove Development Artifacts
Strip files that exist only for development/documentation purposes and should not ship.
| Category | Pattern | Action |
|---|---|---|
| HTML docs | *.html in docs/ | Exclude from production package |
| Markdown notes | *.md, HANDOFF_*.md | Exclude from production package |
| Text notes | *.txt (non-config) | Exclude from production package |
| Test harnesses | fxTest*.ovm in testing/ | Exclude from production package |
| Backup files | #backups/, _backup_*/, _baseline_*/ | Delete entirely |
| Copy variants | Files with "copy" or "backup" in name | Delete after confirming original exists |
| Analysis scripts | *.py (dependency checkers, analyzers) | Move to tools/ (internal only) |
๐ Step 3: IP Protection Scrub
Remove or redact information that could expose internal infrastructure, development process, or proprietary methods.
| Target | Pattern to Find | Replacement |
|---|---|---|
| UNC paths | \\servername\share\ | Remove or replace with relative paths |
| Usernames | Windows usernames in paths or comments | Remove |
| TODO/HACK/FIXME | Markers left during development | Resolve or remove |
| Debug print | print 'DEBUG', verbose tracing | Remove or gate behind debugLevel |
| AI references | "Claude", "AI Assistant", "Anthropic" | Replace with company attribution |
| Internal IPs | 192.168.*, NAS addresses | Remove |
โ ๏ธ AI Attribution
All file headers currently showing Created by: Claude AI Assistant must be changed to Created by: Camtek Software LLC or the appropriate author before release.
โ Step 4: Final Verification
- โ Run Python OVM analyzer on cleaned codebase (MUST still pass)
- โ Run
grep -rfor all IP scrub patterns (zero hits required) - โ Verify all production entry points still function (smoke test)
- โ Confirm CRLF line endings on all
.ovmand.varfiles - โ Package release candidate with version stamp
๐ฆ Deliverables
cleanup_checklist.md โ Step-by-step pre-release checklist
ip_scrub.py โ Automated IP pattern scanner
package_release.bat โ Build script that excludes dev artifacts