Michael Cahill
292115c8f0
docs(M09): closeout — run1, run2, audit, summary, ledger
...
Made-with: Cursor
2026-03-11 21:39:12 -07:00
Michael Cahill
398e281d4b
docs(M09): update toolcalls log
...
Made-with: Cursor
2026-03-11 20:07:11 -07:00
Michael Cahill
372e0673f3
feat(M09): introduce RuntimeContext and attach to processing object
...
- Add modules/runtime_context.py with RuntimeContext dataclass
- Attach p.runtime_context in process_images_inner() after opts_snapshot
- Write-only: no migration of shared.* reads yet
- Completes Phase II runtime seam preparation
Made-with: Cursor
2026-03-11 20:06:35 -07:00
Michael Cahill
666b159d0b
docs(M09): add full M09 plan
...
Made-with: Cursor
2026-03-11 20:05:54 -07:00
Michael Cahill
fbc8519c98
docs(M08): regenerate audit and summary per RefactorMilestoneAuditPrompt and RefactorSummaryPrompt
...
Made-with: Cursor
2026-03-11 20:00:32 -07:00
Michael Cahill
fd363db66a
docs(M08): closeout — run2, audit, summary, ledger, M09 seed
...
Made-with: Cursor
2026-03-11 19:57:46 -07:00
Michael Cahill
827bc655fd
docs(M08): add M08_run1.md CI report and toolcalls
...
Made-with: Cursor
2026-03-11 19:50:13 -07:00
Michael Cahill
be214f4eda
M08: Thread opts_snapshot into process_images_inner for save-related reads
...
- Replace opts.foo with p.opts_snapshot.foo for safe read-only settings
- Migrated: save_images_before_face_restoration, save_images_before_color_correction,
samples_format, return_mask, save_mask, return_mask_composite, save_mask_composite,
grid_only_if_multiple, return_grid, grid_save, grid_format, grid_extended_filename
- Leave save_samples(), sample_hr_pass(), create_infotext(), metadata on shared.opts
- Behavior-preserving; no change to save paths or naming
Made-with: Cursor
2026-03-11 19:43:06 -07:00
Michael Cahill
c943849d1d
docs(M07): update toolcalls with closeout steps
...
Made-with: Cursor
2026-03-11 19:21:39 -07:00
Michael Cahill
3e59f6636b
docs(M07): closeout — run2, audit, summary, ledger, M08 seed
...
Made-with: Cursor
2026-03-11 19:21:30 -07:00
Michael Cahill
63fa49c35e
docs(M07): add M07_run1.md CI analysis, toolcalls update
...
Made-with: Cursor
2026-03-10 12:29:15 -07:00
Michael Cahill
87c8fe8651
M07: Opts snapshot introduction
...
- Add modules/opts_snapshot.py with create_opts_snapshot(opts)
- Capture snapshot in process_images_inner after prepare_prompt_seed_state
- Full shallow copy of opts.data via SimpleNamespace
- No runtime behavior change; snapshot write-only for M07
Made-with: Cursor
2026-03-10 00:33:55 -07:00
Michael Cahill
044e827dee
docs(M07): seed M07 plan and toolcalls scaffold
...
Made-with: Cursor
2026-03-09 23:45:23 -07:00
Michael Cahill
5f54c4510c
docs(M06): closeout — run2, audit, summary, ledger update
...
Made-with: Cursor
2026-03-09 23:45:15 -07:00
Michael Cahill
0675b336aa
docs(M06): add M06_run1.md CI analysis, toolcalls
...
Made-with: Cursor
2026-03-09 23:19:58 -07:00
Michael Cahill
92fbf62319
M06: Extract prompt/seed prep to prompt_seed_prep.py
...
- Add modules/prompt_seed_prep.py with prepare_prompt_seed_state(p)
- Replace inline all_seeds/all_subseeds logic in process_images_inner
- Mutate p.seed/p.subseed before call; prepare_prompt_seed_state writes to p
- Behavior-preserving: fill_fields_from_opts, setup_prompts unchanged
- Phase II runtime seam preparation
Made-with: Cursor
2026-03-09 23:15:47 -07:00
Michael Cahill
595ea21752
docs(M05): closeout — summary, audit, ledger, M06 seed
...
Made-with: Cursor
2026-03-09 22:53:27 -07:00
Michael Cahill
0654b9a9f7
docs(M05): update M05_run2 with Quality success (22888808682)
...
Made-with: Cursor
2026-03-09 22:41:55 -07:00
Michael Cahill
715db891f3
docs(M05): add M05_run2.md CI report for fix PR
...
Made-with: Cursor
2026-03-09 16:43:19 -07:00
Michael Cahill
3039abb1a0
fix(M05): ensure config exists so opts.data populated for test_opts_override
...
When opts.load() gets FileNotFoundError, opts.data = {}.
temporary_opts only applies overrides for keys in opts.data.
Initialize fixture now creates minimal config.json when missing.
Made-with: Cursor
2026-03-09 15:33:11 -07:00
Michael Cahill
cbf1dbc59b
docs(M05): add M05_run1.md CI analysis report
...
Made-with: Cursor
2026-03-09 14:49:48 -07:00
Michael Cahill
5fe8245957
M05: Override isolation / temporary opts seam
...
- Add modules/runtime_utils.py with temporary_opts context manager
- Refactor process_images() to use temporary_opts for override application
- Preserve opts.set(is_api=True, run_callbacks=False) and setattr restore
- Add test/quality/test_opts_override.py (samples_save, restore_afterwards)
- Model/VAE reload and token merging remain in process_images per decisions
Made-with: Cursor
2026-03-09 14:14:13 -07:00
Michael Cahill
9952611b02
docs(M04): closeout - summary, audit, ledger, M05 seed
...
Made-with: Cursor
2026-03-09 12:45:58 -07:00
m-cahill
126733c892
M04: Coverage/security/reproducibility guardrails ( #4 )
...
* docs(M03): closeout - ledger merge SHA 975dda4b , Quality 22834861040; seed M04
Made-with: Cursor
* M04: Coverage/security/reproducibility guardrails
- Smoke: remove pip-audit (keep fast)
- Quality: add pip-audit (fail on vuln), verify pinned deps, ci_environment.txt
- Quality: coverage gate 33% -> 40%, --cov-report=term
- Quality: upload coverage.xml, ci_environment.txt artifacts
- Add scripts/ci/verify_pinned_deps.sh
Made-with: Cursor
* ci: trigger Smoke Tests for M04 PR
Made-with: Cursor
* docs(M04): run1 analysis, toolcalls
Made-with: Cursor
2026-03-08 20:06:10 -07:00
m-cahill
3bf5283388
docs(M03): closeout - ledger merge SHA 975dda4b, Quality 22834861040; seed M04 ( #3 )
...
Made-with: Cursor
2026-03-08 19:15:27 -07:00
m-cahill
975dda4b56
M03: Test architecture ( #2 )
...
* docs(M03): seed M03 plan and toolcalls
Made-with: Cursor
* ci: add repository guardrail, update CONTRIBUTING workflow
Made-with: Cursor
* M03: Test architecture (smoke/quality/nightly)
- Move tests to test/smoke/, scaffold test/quality and test/nightly
- Add pytest.ini with smoke/quality/nightly markers
- Split CI: run_smoke_tests (PR), run_quality_tests (push main), run_nightly_tests (schedule)
- Remove run_tests.yaml
- Add prevent_upstream_push.sh pre-push hook template
- Update CONTRIBUTING.md with hook install and test tier docs
- Add repo and base-branch guardrails to workflows
Made-with: Cursor
* ci: remove obsolete warns_merge_master workflow (Serena uses main)
Made-with: Cursor
* fix: add base_url to pytest.ini for pytest-base-url plugin
Made-with: Cursor
* docs(M03): ledger, run1, audit, summary
Made-with: Cursor
* docs(M03): ledger commit 4ce5cde9
Made-with: Cursor
2026-03-08 18:39:40 -07:00
Michael Cahill
ffad3a73ee
docs(M02): run1, summary, audit, ledger update
...
Made-with: Cursor
2026-03-08 15:57:49 -07:00
Michael Cahill
7484170dda
ci(M02): set coverage baseline 33%, defer 60% to M04
...
Made-with: Cursor
2026-03-08 15:53:22 -07:00
Michael Cahill
fa0575c929
ci(M02): enforce coverage gate on combined pytest+server coverage
...
Made-with: Cursor
2026-03-08 15:48:46 -07:00
Michael Cahill
fbd17d1162
M02: API CI truthfulness, fake inference for txt2img/img2img, CONTRIBUTING
...
Made-with: Cursor
2026-03-08 15:43:47 -07:00
Michael Cahill
31342a5b31
docs(M01): CI report Run 4 closeout verification
...
Made-with: Cursor
2026-03-07 23:12:57 -08:00
Michael Cahill
0bd566f5b3
docs(M01): milestone closeout, audit, and M02 plan
...
Made-with: Cursor
2026-03-07 22:39:54 -08:00
Michael Cahill
2f6640490c
docs(M01): update CI report and run3 with dynamic stub results
...
Made-with: Cursor
2026-03-07 21:38:49 -08:00
Michael Cahill
bdda999f81
ci(M01): replace manual LDM stubs with dynamic stub module
...
Made-with: Cursor
2026-03-07 21:03:52 -08:00
Michael Cahill
9a83c70e6c
ci(M01): add ldm.models.diffusion.ddim stub
...
Made-with: Cursor
2026-03-07 18:59:16 -08:00
Michael Cahill
bc3bd812dd
M01: add sgm denoiser_scaling, discretizer, DiffusionEngine, GeneralConditioner stubs; M01_run3 and M01_summary
...
Made-with: Cursor
2026-03-07 16:25:26 -08:00
Michael Cahill
1bbc0f4e59
docs(M01): M01_run2 analysis - paths assert, cache seeding required
...
Made-with: Cursor
2026-03-07 16:03:31 -08:00
Michael Cahill
31588a1e59
M01: Skip prepare-environment in CI (deterministic bootstrap)
...
- Add --exit handling when --skip-prepare-environment (launch.py)
- Setup: python launch.py --skip-prepare-environment --skip-torch-cuda-test --exit
- Smoke: python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --use-cpu all --exit
CI no longer depends on external git clones. Requires repositories cache to be seeded.
Made-with: Cursor
2026-03-07 15:57:52 -08:00
Michael Cahill
f2db027b93
M01: Revert GITHUB_TOKEN (Repository not found). Document run analysis.
...
Made-with: Cursor
2026-03-07 15:42:37 -08:00
Michael Cahill
9ae76265ba
M01: Add --no-build-isolation to clip install in launch_utils
...
Fixes pkg_resources in pip's isolated build env. Build-time fix only.
Made-with: Cursor
2026-03-07 15:38:39 -08:00
Michael Cahill
cb4b152935
M01: Add PIP_NO_BUILD_ISOLATION to fix CLIP pkg_resources in build env
...
Made-with: Cursor
2026-03-07 15:36:51 -08:00
Michael Cahill
9b96c9165c
M01: CI truthfulness, SHA pinning, smoke path
...
- Remove same-repo PR skip condition (CI runs on all PRs)
- Install setuptools before env setup; add --do-not-download-clip
- Add pip-audit (non-blocking) before environment setup
- Add smoke startup step (verify app boots before full tests)
- Add --cov-fail-under=60 coverage threshold
- Pin GitHub Actions to commit SHAs
- Add .gitattributes for CRLF/LF normalization
- Add M01 plan and toolcalls ledger
Made-with: Cursor
2026-03-07 15:35:32 -08:00
Michael Cahill
5a4c02f69c
docs(M00): milestone closeout, ledger update, invariant registry confirmation
...
- Update ledger with CI run IDs 22794525690 (Linter ✓), 22794525698 (Tests ✗)
- Refresh M00_summary.md and M00_audit.md per governance closeout
- Add M00_run2.md (latest CI analysis)
Made-with: Cursor
2026-03-06 23:58:55 -08:00
Michael Cahill
9aa37b3d5e
docs(M00): ledger final commit d0efa188
...
Made-with: Cursor
2026-03-06 23:14:44 -08:00
Michael Cahill
d0efa1889b
docs(M00): fix ledger commit SHA to cdfe1285
...
Made-with: Cursor
2026-03-06 23:14:37 -08:00
Michael Cahill
cdfe12854c
docs(M00): milestone closeout, invariant registry, ledger update
...
- Add Invariant Registry and Serena Refactor Principles to serena.md
- Create M00_run1.md, M00_summary.md, M00_audit.md
- Update milestone ledger: M00 Completed
- Document CI evidence (Linter pass; Tests fail pre-existing)
Made-with: Cursor
2026-03-06 23:14:30 -08:00
Michael Cahill
0a8ade1a9f
M00: Program kickoff, baseline freeze, phase map, E2E verification
...
- docs/serena.md: Living ledger, phase map, invariants, milestone table
- docs/milestones/M00/: M00_plan, preflight, e2e_baseline, ci_inventory, toolcalls
- scripts/dev/: run_m00_baseline_e2e.ps1, .sh (thin verification helpers)
- Baseline tag baseline-pre-refactor created on 82a973c0
No runtime/structural changes. Behavior-preserving docs and verification only.
Made-with: Cursor
2026-03-06 19:17:49 -08:00