Commit graph

31 commits

Author SHA1 Message Date
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
5a76c617ae ci(M01): LatentDiffusion/DDPM accept *args **kwargs in __init__
Made-with: Cursor
2026-03-07 21:35:27 -08:00
Michael Cahill
45ea430d40 ci(M01): set __file__ on stub modules for inspect.getfile
Made-with: Cursor
2026-03-07 21:32:11 -08:00
Michael Cahill
267de8c5ca ci(M01): return '' for __file__ so inspect.getfile works
Made-with: Cursor
2026-03-07 21:29:17 -08:00
Michael Cahill
1e958a4e2a ci(M01): add DDPM and register_schedule to ddpm stub
Made-with: Cursor
2026-03-07 21:26:21 -08:00
Michael Cahill
bc8de1245d ci(M01): use module-level cache for UPPER_CASE dict stubs
Made-with: Cursor
2026-03-07 21:23:35 -08:00
Michael Cahill
2f2685ef68 ci(M01): stub UPPER_CASE module attrs as dict for ISL_PATHS
Made-with: Cursor
2026-03-07 21:20:51 -08:00
Michael Cahill
8012e9d792 ci(M01): use type.__setattr__ for stub class attr cache
Made-with: Cursor
2026-03-07 21:17:46 -08:00
Michael Cahill
91fcade97d ci(M01): stub UPPER_CASE attrs as dict for ATTENTION_MODES etc
Made-with: Cursor
2026-03-07 21:14:57 -08:00
Michael Cahill
3fa2072363 ci(M01): stub classes return no-op for any attr (forward, etc.)
Made-with: Cursor
2026-03-07 21:12:06 -08:00
Michael Cahill
742a713a86 ci(M01): use _StubModule in loader so CamelCase attrs resolve
Made-with: Cursor
2026-03-07 21:09:14 -08:00
Michael Cahill
a5ebe2fe95 ci(M01): set __path__ on stub modules so nested imports work
Made-with: Cursor
2026-03-07 21:06:39 -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
f013e55342 ci(M01): explicitly import ldm.modules.diffusionmodules in __init__
Made-with: Cursor
2026-03-07 18:56:21 -08:00
Michael Cahill
80b305be36 ci(M01): add ldm.modules.diffusionmodules.openaimodel stub
Made-with: Cursor
2026-03-07 18:53:07 -08:00
Michael Cahill
e02394673c ci(M01): explicitly import ldm.modules.distributions in __init__
Made-with: Cursor
2026-03-07 18:50:01 -08:00
Michael Cahill
e988b21755 ci(M01): add ldm.modules.distributions.distributions (DiagonalGaussianDistribution)
Made-with: Cursor
2026-03-07 18:46:47 -08:00
Michael Cahill
afe4956de0 ci(M01): explicitly import k_diffusion submodules in __init__
Made-with: Cursor
2026-03-07 18:43:53 -08:00
Michael Cahill
feca86bca6 ci(M01): add k_diffusion.external and sampling stubs (DiscreteEpsDDPMDenoiser, BrownianTreeNoiseSampler, trange)
Made-with: Cursor
2026-03-07 18:37:38 -08:00
Michael Cahill
123a9d2f91 ci(M01): add k_diffusion.utils stub
Made-with: Cursor
2026-03-07 18:34:47 -08:00
Michael Cahill
f1a2fd9866 ci(M01): add k_diffusion.sampling stubs (get_sigmas_*, torch)
Made-with: Cursor
2026-03-07 18:32:23 -08:00
Michael Cahill
e280ac5d71 ci(M01): expose sgm.modules.diffusionmodules.model and openaimodel
Made-with: Cursor
2026-03-07 18:29:56 -08:00
Michael Cahill
28d006b1ab ci(M01): fix sgm.modules.attention attribute - explicit submodule imports
Made-with: Cursor
2026-03-07 18:27:23 -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
1d3c4dcbd5 M01: add sgm.models.diffusion stub
Made-with: Cursor
2026-03-07 16:22:39 -08:00
Michael Cahill
9f4cecb6f9 M01: add ldm/sgm attention, diffusionmodules, midas stubs
Made-with: Cursor
2026-03-07 16:20:18 -08:00
Michael Cahill
623a66538f M01: add ldm.util stub (default) for sd_hijack_optimizations
Made-with: Cursor
2026-03-07 16:17:10 -08:00
Michael Cahill
b80ec79540 M01: add LatentDiffusion stub to ddpm.py for sd_models_types import
Made-with: Cursor
2026-03-07 16:14:40 -08:00
Michael Cahill
ac965561fe M01: add stub repositories for deterministic CI
- Create scripts/dev/create_stub_repos.py to satisfy paths.py assertion
  and import chain without cloning external repos
- Add Create stub repositories step before Setup environment in run_tests
- Remove Cache repositories step (stubs are deterministic, no network)

Made-with: Cursor
2026-03-07 16:12:00 -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