Skip to content

Unified kernel offer-action API and greenfloor_kernel cutover#91

Merged
hoffmang9 merged 6 commits into
mainfrom
cursor/unified-kernel-offer-action
May 29, 2026
Merged

Unified kernel offer-action API and greenfloor_kernel cutover#91
hoffmang9 merged 6 commits into
mainfrom
cursor/unified-kernel-offer-action

Conversation

@hoffmang9
Copy link
Copy Markdown
Owner

Summary

  • Add a unified Rust/PyO3 offer-action path (build_signer_offer_for_action / build_bls_offer_for_action) and wire market offer creation through core/offer_action, runtime/offer_action_build, and adapters/offer_action.
  • Rename the PyO3 module to greenfloor_kernel, remove the legacy greenfloor_signer shim and build_signer_create_offer_request, and consolidate offer_action_request into offer_action_build.
  • Simplify offer_builder.py to the legacy stdin wrapper, update ADR 0011 import boundaries, and ignore maturin develop output under greenfloor-signer-pyo3/python/.

Test plan

  • pre-commit run --all-files (641 passed, 4 skipped)
  • GREENFLOOR_RUN_SIGNER_INTEGRATION_TESTS=1 pytest tests/test_greenfloor_signer_integration.py on Ubuntu with compiled wheel
  • Live canary: build-and-post offer via signer and local BLS paths on testnet11

Made with Cursor

hoffmang9 and others added 6 commits May 29, 2026 00:37
…oor_kernel.

Consolidate vault and BLS offer creation in Rust, wire daemon/CLI runtime to the new adapter, and keep greenfloor_signer as a legacy import shim.

Co-authored-by: Cursor <cursoragent@cursor.com>
Skip MSP asset lookup for pre-resolved IDs, align expiry handling across signer and BLS paths, typed request/result models, and retire the parallel offer_builder spend path.

Co-authored-by: Cursor <cursoragent@cursor.com>
Lazy MSP lookup, unified asset normalization, direct create-phase outcomes, and a thin adapter layer.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move BLS build orchestration to runtime, resolve ticker symbols for local paths, typed collision errors, and OfferCreateOutcome.from_create_phase.

Co-authored-by: Cursor <cursoragent@cursor.com>
…utover.

Drop build_signer_create_offer_request, the PyO3 re-export shim, and offer_action_request consolidation; standardize imports and error strings on greenfloor_kernel.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keeps compiled PyO3 extension artifacts out of git status after local kernel builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hoffmang9 hoffmang9 marked this pull request as ready for review May 29, 2026 08:02
@hoffmang9 hoffmang9 merged commit cb9d21a into main May 29, 2026
3 checks passed
@hoffmang9 hoffmang9 deleted the cursor/unified-kernel-offer-action branch May 29, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant