Commit graph

9 commits

Author SHA1 Message Date
83cda680d2 wedge: T026 integration tests (real ledger via uvicorn, real bundle, temp HOME)
Written inline after two headless workers died on API errors. Tests caught a
real cross-slice bug: ledger grants stored the full install ref as listing_id,
breaking GET /license/{op}/{listing} — fixed by parsing the listing prefix per
the ref convention in contracts/ledger-api.md. Also pinned the indexer test's
schema path (venv-installed package resolved outside the repo) — its earlier
pass was vacuous without jsonschema installed. 27 tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 03:34:21 +02:00
f9108902d9 wedge: T014 done — m2-ledger deployed on Coolify with push-triggered CI/CD
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 03:24:24 +02:00
aeba02f287 wedge: T013 property tests + T014 Dockerfile merged; fix zero-amount install rows
T013 worker found record_install violating CHECK(amount>0) when platform_pct
rounds cut or seller_amount to zero (unhandled IntegrityError -> HTTP 500).
Fixed: skip zero rows, grant references the paying tx; regression test added.
9 ledger tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 03:17:07 +02:00
68f3544513 wedge: US1 wave 2 converged (T012/T015/T021/T023-T025) + fix m2core-sync class name
Verified on master: 14 tests green (schemas+cli+indexer); ledger API exercised
end-to-end via TestClient (grant admin-only, install 200/409/402, refund
restores balance, auth 401); adapter factory resolves local + raises
RailsNotLanded on the stub.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 03:02:28 +02:00
b994572dde wedge: US1 wave 1 converged (T010/T011/T016-T020) + T022 stub adapter inline
Smoke-verified on master: install debit/cut/grant math exact, dup-ref and
insufficient-funds guarded, refund compensates, InstallState atomic round-trip,
adapter factory + all package imports green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 02:43:48 +02:00
c607bc04b7 wedge: tick T006/T007 — Phase 2 checkpoint: schemas frozen+tested, registry live
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 02:30:19 +02:00
7381f1cdee wedge: tick T004/T005/T008/T009 (wave-2 herd converged)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 02:26:15 +02:00
ec98e294a7 wedge(T001-T003): monorepo skeleton, uv workspaces, ruff+pytest config
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 02:19:47 +02:00
4406bbf3e4 factory-loop(tasks): 001-market-first-wedge — 47 tasks across 8 phases, wedge gate at T036
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 02:17:18 +02:00