Michael Cahill
32b16b24b6
M10: Add run1 and toolcalls update
...
Made-with: Cursor
2026-03-11 21:50:45 -07:00
Michael Cahill
59e46fa069
M10: ProcessingRunner skeleton
...
- Add modules/runtime/runner.py with ProcessingRunner and ProcessingRequest
- Wire process_images to delegate through runner (internal only)
- Add test/quality/test_processing_runner.py contract test
Behavior-preserving. Zero blast radius. All callers unchanged.
Made-with: Cursor
2026-03-11 21:50:25 -07:00
Michael Cahill
11b9e0f16e
docs(M09): update toolcalls log
...
Made-with: Cursor
2026-03-11 21:39:21 -07:00
Michael Cahill
292115c8f0
docs(M09): closeout — run1, run2, audit, summary, ledger
...
Made-with: Cursor
2026-03-11 21:39:12 -07:00
m-cahill
2c6a251043
Merge pull request #26 from m-cahill/m09-execution-context
...
M09: Execution Context Introduction
2026-03-11 21:33:41 -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
m-cahill
82cd17e2d7
Merge pull request #25 from m-cahill/m09-execution-context
...
docs(M08): closeout — run2, audit, summary, ledger, M09 seed
2026-03-11 20:03: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
m-cahill
710a0abd33
Merge pull request #24 from m-cahill/m08-snapshot-threading
...
M08: Opts Snapshot Threading (continued)
2026-03-11 19:53:40 -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
m-cahill
09a52ac2fe
Merge pull request #23 from m-cahill/m08-snapshot-threading
...
docs(M07): closeout — run2, audit, summary, ledger, M08 seed
2026-03-11 19:23:02 -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
m-cahill
8ea50d3550
Merge pull request #22 from m-cahill/m07-opts-snapshot
...
M07: Opts snapshot introduction
2026-03-11 19:16:21 -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
m-cahill
6394067926
Merge pull request #21 from m-cahill/m07-opts-snapshot
...
docs(M06): closeout — audit, summary, ledger
2026-03-09 23:58:18 -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
m-cahill
6744152a79
Merge pull request #20 from m-cahill/m06-prompt-seed-prep
...
M06: Prompt/seed prep extraction
2026-03-09 23:34:46 -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
m-cahill
ae161cbb65
Merge pull request #19 from m-cahill/m05-fix-opts-test
...
fix(M05): ensure config exists for test_opts_override
2026-03-09 22:38:03 -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
m-cahill
6fd992ae27
Merge pull request #18 from m-cahill/m05-override-isolation
...
M05: Override isolation / temporary opts seam
2026-03-09 15:27:20 -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
47439cac58
ci(M04): omit deepbooru from coverage ( #17 )
...
Made-with: Cursor
2026-03-09 12:41:19 -07:00
m-cahill
93a2872fbf
ci(M04): omit scripts/ from coverage to reach 40% gate ( #16 )
...
Made-with: Cursor
2026-03-09 12:36:12 -07:00
m-cahill
c6cb6c7850
ci(M04): add coverage omit for extensions/repos to reach 40% gate ( #15 )
...
Made-with: Cursor
2026-03-09 12:31:58 -07:00
m-cahill
077e4b93f4
fix: get_multicond_prompt_list preserves whitespace in split ( #14 )
...
Made-with: Cursor
2026-03-08 22:07:57 -07:00
m-cahill
12fba26e0a
test(M04): add API endpoints and prompt_parser tests for 40% coverage ( #13 )
...
Made-with: Cursor
2026-03-08 22:03:50 -07:00
m-cahill
298606f818
fix(M04): remove modules.util import to avoid circular import in tests ( #12 )
...
Made-with: Cursor
2026-03-08 21:59:17 -07:00
m-cahill
ea04028758
test(M04): add test_util_modules for coverage gate 40% ( #11 )
...
Made-with: Cursor
2026-03-08 21:56:10 -07:00
m-cahill
12f5c39a44
fix: remove merge conflict markers from test_api_extended.py ( #10 )
...
Made-with: Cursor
2026-03-08 20:27:24 -07:00
m-cahill
9aa32e8917
fix: remove test_interrogate_deepbooru ( #9 )
...
* test(M04): add quality tests for coverage gate 40%
Made-with: Cursor
* fix: remove test_interrogate_deepbooru (404 in CI stub)
Made-with: Cursor
2026-03-08 20:23:51 -07:00
m-cahill
c342f4bbc7
test(M04): add quality tests for coverage gate 40% ( #8 )
...
Made-with: Cursor
2026-03-08 20:19:53 -07:00
m-cahill
d0057d1511
fix(M04): verify_pinned_deps whitespace, httpcore 0.15.0 ( #7 )
...
Made-with: Cursor
2026-03-08 20:15:20 -07:00
m-cahill
592ca58b71
revert: restore original deps for verify_pinned_deps ( #6 )
...
* fix(M04): upgrade setuptools, protobuf for CVE fixes
Made-with: Cursor
* fix(M04): pip-audit continue-on-error, defer vuln remediation to M27
Made-with: Cursor
* revert: restore setuptools 69.5.1, protobuf 3.20.0 (verify_pinned_deps)
Made-with: Cursor
2026-03-08 20:12:07 -07:00
m-cahill
234004ae22
fix(M04): pip-audit deferral, setuptools/protobuf upgrades ( #5 )
...
* fix(M04): upgrade setuptools, protobuf for CVE fixes
Made-with: Cursor
* fix(M04): pip-audit continue-on-error, defer vuln remediation to M27
Made-with: Cursor
2026-03-08 20:09:44 -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