Skip to content

Native Rust build-and-post-offer manager path#95

Merged
hoffmang9 merged 6 commits into
mainfrom
cursor/rust-build-and-post-offer
May 30, 2026
Merged

Native Rust build-and-post-offer manager path#95
hoffmang9 merged 6 commits into
mainfrom
cursor/rust-build-and-post-offer

Conversation

@hoffmang9
Copy link
Copy Markdown
Owner

Summary

  • Add greenfloor-engine build-and-post-offer: native bootstrap → sign → verify → Dexie/Splash publish with SQLite audit persistence on success.
  • Delegate greenfloor-manager build-and-post-offer to the Rust binary via a thin Python subprocess wrapper (no YAML preflight in Python).
  • Restore manager file logging in Rust ({home_dir}/logs/debug.log), tighten orchestration (PostAttemptSuccess, shared SignerConfig for bootstrap), and document daemon cutover in ADR 0012.

Test plan

  • cargo test in greenfloor-engine (213 tests)
  • pytest (536 passed)
  • CI builds/installs greenfloor-engine on Ubuntu
  • Live testnet e2e with release binary on PATH
  • Manual: greenfloor-manager build-and-post-offer --dry-run writes to manager log file

Made with Cursor

hoffmang9 and others added 3 commits May 29, 2026 18:04
Move manager offer build/post orchestration into greenfloor-engine, delegate
from the Python CLI via subprocess, persist sqlite audit records on success,
and build the engine binary in CI.

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

Delegate config resolution and sqlite persistence entirely to greenfloor-engine,
pass optional CLI overrides through subprocess argv, and consolidate manager
post iteration with typed results and shared coin-op/retry helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restore file logging to {home_dir}/logs/debug.log, pass SignerConfig into
bootstrap without re-reading YAML, use PostAttemptSuccess for failure counts,
extract test fixtures, and document daemon cutover in ADR 0012.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hoffmang9 hoffmang9 marked this pull request as ready for review May 30, 2026 01:22
hoffmang9 and others added 3 commits May 29, 2026 18:30
Fixes CI pre-commit failure on macOS and ubuntu-arm runners.

Co-authored-by: Cursor <cursoragent@cursor.com>
Repo-root .cargo/config.toml puts build artifacts in target/, not
greenfloor-engine/target/. Mark the subprocess Rust coinset test with
@pytest.mark.engine so it only runs on ubuntu-latest after a warm build.

Co-authored-by: Cursor <cursoragent@cursor.com>
The cargo subprocess coinset test only runs on ubuntu-latest where the
engine crate is pre-built; arm/mac jobs skip -m engine in the main suite.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hoffmang9 hoffmang9 merged commit fddb200 into main May 30, 2026
3 checks passed
@hoffmang9 hoffmang9 deleted the cursor/rust-build-and-post-offer branch May 30, 2026 01:46
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