Commit d31ff2a
committed
harvest(woa): v2 — models_shop.py merged, emit imports closed (151 models)
Regenerate the WoA sink-in substrate harvest against the CURRENT
ogar-from-ruff (post Batch-1 Item 1 emit_python prelude+Optional[], Item 2
FK-dedup consolidation): the scratch driver at /tmp/harvest-woa now extracts
both models.py (139) and woa/models_shop.py (12) via
ruff_sqlalchemy_spo::extract_file, merges via ModelGraph.models.extend()
(same "woa" namespace) before minting, and regenerates all four artifacts.
Metrics (driver stderr, not hand-estimated): 151 classes, 2154 attributes,
112 associations, 6 aliased / 145 bootstrap, 0/112 dangling .spo edges.
v1 gap #2 (models_shop.py out of scope) and gap #3 (emit_python's import
list incomplete -> NameError on import) are both RESOLVED: the emitted
models.py now carries emit_python_prelude()'s imports, ogar_runtime.py
(Item 1's reference wrapper-contract) ships alongside it in this directory,
and `python3 -c "import models"` passes (not just py_compile) -- verified
directly in this harvest dir, not only in the /tmp scratch driver's out/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d679f85 commit d31ff2a
6 files changed
Lines changed: 2234 additions & 1693 deletions
File tree
- .claude/harvest/woa-rs
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
| 47 | + | |
44 | 48 | | |
45 | | - | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments