|
1 | 1 | --- |
2 | | -name: ShapePipe maintenance & PRs |
| 2 | +name: ShapePipe — project knowledge & active threads |
3 | 3 | tags: |
4 | 4 | - shapepipe |
5 | | - - portolan |
6 | 5 | created-at: 2026-04-27T11:26:38.71538657+02:00 |
7 | | -outcome: 'Root: collaboration with Martin on ShapePipe — PRs, infra, future ngmix and Fabian work' |
| 6 | +outcome: 'Root of ShapePipe''s felt store: the stack division, repo conventions, and the why behind in-flight infra/cleanup threads.' |
8 | 7 | --- |
9 | 8 |
|
10 | | -ShapePipe is the UNIONS shape-measurement pipeline. I'm not the primary |
11 | | -maintainer (that's Martin Kilbinger); my role is collaborator helping |
12 | | -clean up infra, surface bugs, and keep the merge queue moving while |
13 | | -Martin focuses on science threads. |
| 9 | +This is the root of ShapePipe's felt store — shared notes on architecture |
| 10 | +decisions, conventions, and in-flight work, for the team and AI agents alike. |
| 11 | +ShapePipe is the UNIONS galaxy shape-measurement pipeline; `CLAUDE.md` covers the |
| 12 | +build / container / CI overview, and the fibers here carry the *why*. Start here, |
| 13 | +then follow the links. |
14 | 14 |
|
15 | | -## Working agreement with Martin |
| 15 | +## Stack division |
16 | 16 |
|
17 | | -Surfaced over a 2026-04-27 walking conversation. Captured in |
18 | | -[[shapepipe/prs-in-flight]] and the per-thread fibers below. |
| 17 | +ShapePipe **produces** shear catalogues; `sp_validation` / `cosmo_val` |
| 18 | +**consume** and validate them; `cs_util` holds code shared across both. A concern |
| 19 | +about *validating* catalogues belongs downstream, not in ShapePipe. |
19 | 20 |
|
20 | | -- I review and patch his PRs; he reviews mine. Bugs found during review |
21 | | - go to a dedicated PR rather than getting bundled into his feature |
22 | | - branch (per `feedback_separate_infra_prs`). |
23 | | -- v2.0 was merged fast (it was ready). The skaha base it brought in is |
24 | | - the active source of pain → see [[shapepipe/docker-uv-revert]]. |
25 | | -- I file the issues; Claude usually drafts the PRs in my voice. |
26 | | - Disclosure on Claude-only review per |
27 | | - `feedback_claude_only_review_disclosure`. |
28 | | - |
29 | | -## Active threads |
30 | | - |
31 | | -- **[[shapepipe/docker-uv-revert]]** — slim Python + uv lockfile, drop conda. PR #719 (draft). |
32 | | -- **[[shapepipe/prs-in-flight]]** — tracking #708 (testing scaffold), #714 (develop bugs), #719 (this one). |
33 | | - |
34 | | -## Future work |
| 21 | +## Conventions specific to this repo |
35 | 22 |
|
36 | | -- **[[shapepipe/ngmix-update]]** — replace Axel's stable_version fork |
37 | | - with upstream ngmix; reconcile with Lucy's wrapper. |
38 | | -- **[[shapepipe/fabian-coord-bug]]** — port Fabian's 1-line coord |
39 | | - propagation fix; first need his image-sim code on github. |
| 23 | +- **Rho-statistics are obsolete inside ShapePipe.** PSF-systematics validation |
| 24 | + moved downstream to `sp_validation` / `cosmo_val` (via `shear_psf_leakage`); |
| 25 | + the stile/treecorr rho code was removed in #715. But the **meanshapes / |
| 26 | + ellipticity focal-plane plots** (`mccd_plots_runner`) are *deliberately kept* — |
| 27 | + they are a general PSF/star-catalogue diagnostic, not rho-stats, and feed |
| 28 | + catalogue-paper figures. Don't delete that path along with rho-stats; see |
| 29 | + [[shapepipe/cleanup-rhostats-jobscripts]] for where the boundary actually sits. |
| 30 | +- Run the pipeline through the container; use `python3.12` explicitly inside it. |
| 31 | +- **ngmix** is pinned to a fork branch until fixes land upstream — don't bump |
| 32 | + that dependency line. [[ngmix-update]] tracks the path back to upstream. |
40 | 33 |
|
41 | | -## Conventions specific to this repo |
| 34 | +## Active threads |
42 | 35 |
|
43 | | -- Container runs through `app` (apptainer wrapper); use `python3.12` |
44 | | - inside the shapepipe container (see `reference_containers`). |
45 | | -- ShapePipe produces; `sp_validation` consumes; `cs_util` is shared (see |
46 | | - `project_stack_division`). |
47 | | -- Rho stats are obsolete here — sp_validation/cosmo_val took over (see |
48 | | - `project_rho_stats_obsolete`). |
49 | | -- Royal "we" in PR/issue voice; specific findings attributed to Claude |
50 | | - by name (see `feedback_writing_voice_on_cails_behalf`). |
| 36 | +- **[[shapepipe/ci-green-on-develop]]** / **[[shapepipe/test-suite]]** — a |
| 37 | + tiered, in-image test suite and trustworthy CI on `develop`. |
| 38 | +- **[[docker-uv-revert]]** — slim Python base + uv lockfile, dropping conda. |
| 39 | +- **[[shapepipe/mpi-hybrid]]** — running hybrid MPI through the container on candide. |
| 40 | +- **[[ngmix-update]]** — replacing the pinned ngmix fork with upstream. |
0 commit comments