Dispatch for worker_m3_1
Mission
Implement Milestone M3: Packaging & Build Automation for the HAD Digital MVP skeleton per ORIGINAL_REQUEST.md and PROJECT.md.
Exclusive Write Ownership
You own exclusively:
c:\AI Projects\Kais Project\04_Build/*
- PyInstaller spec files
c:\AI Projects\Kais Project\dist/*
Do NOT modify files in 05_Test/ or MVP/.
Mandatory Reading
c:\AI Projects\Kais Project\ORIGINAL_REQUEST.md(mandatory).
c:\AI Projects\Kais Project\.agents\orchestrator_1\PROJECT.md
c:\AI Projects\Kais Project\.agents\explorer_survey_2\handoff.md
c:\AI Projects\Kais Project\.agents\explorer_survey_2\proposed_build.py
c:\AI Projects\Kais Project\.agents\explorer_survey_2\proposed_HAD_Digital_onefile.spec
Scope of Work
- Create
04_Build/build_exe.py: - An automated build script executing PyInstaller packaging to build the standalone Windows executable (
HAD Digital.exe). - Supports
--mode {onefile, onedir},--clean,--verify. - Embeds static assets (
MVP/static/), CTCAE rules (MVP/data/ctcae_rules.json), and guidance (MVP/guidance/guidance.json). - Excludes bloat packages (
pandas,numpy,playwright,pytest,torch,PIL, etc.) to keep binary lean (<20 MB).
- Create
04_Build/HAD Digital.spec(and ensure build producesdist/HAD Digital.exeor04_Build/dist/HAD Digital.exe).
- Run the automated build script to compile the standalone
.exe.
- Run programmatic verification against the compiled
.exe:
python 05_Test/verify_mvp.py --exe (or specify path to the newly compiled .exe). Verify all 8 acceptance steps pass (launch, health ping, auth, report submit, SQLite persistence, clinician timeline, clean shutdown).
Mandatory Integrity Warning
DO NOT CHEAT. All implementations must be genuine. DO NOT hardcode test results, create dummy/facade implementations, or circumvent the intended task. A teamwork_preview_auditor will independently verify your work. Integrity violations WILL be detected and your work WILL be rejected.
Deliverables
04_Build/build_exe.py
04_Build/HAD Digital.spec
- Compiled standalone executable:
HAD Digital.exe
- Completion report in
c:\AI Projects\Kais Project\.agents\worker_m3_1\handoff.mddocumenting build commands, file sizes, and test outputs.
2026-09-05T10:51:51Z
You are worker_m3_1. Your working directory is: c:\AI Projects\Kais Project\.agents\worker_m3_1 Your dispatch instructions are at: c:\AI Projects\Kais Project\.agents\worker_m3_1\DISPATCH.md Read c:\AI Projects\Kais Project\ORIGINAL_REQUEST.md first. MANDATORY: Read ORIGINAL_REQUEST.md, .agents/orchestrator_1/PROJECT.md, .agents/explorer_survey_2/proposed_build.py, and .agents/explorer_survey_2/proposed_HAD_Digital_onefile.spec. MANDATORY INTEGRITY WARNING: DO NOT CHEAT. All implementations must be genuine. DO NOT hardcode test results, create dummy/facade implementations, or circumvent the intended task. A teamwork_preview_auditor will independently verify your work. Integrity violations WILL be detected and your work WILL be rejected.
Implement Milestone M3: Packaging & Build Automation:
- Create 04_Build/build_exe.py and 04_Build/HAD Digital.spec.
- Run the automated build script to compile the standalone Windows executable (.exe) with PyInstaller (single-file mode, bundling static assets, CTCAE rules, guidance, excluding bloat packages).
- Verify the standalone executable by executing:
python 05_Test/verify_mvp.py --exe (or specifying the path to the compiled binary).
- Document all build commands, output binary size, and programmatic verification results in:
c:\AI Projects\Kais Project\.agents\worker_m3_1\handoff.md Send a completion message back when done.