Native Rust build-and-post-offer manager path#95
Merged
Conversation
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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
greenfloor-engine build-and-post-offer: native bootstrap → sign → verify → Dexie/Splash publish with SQLite audit persistence on success.greenfloor-manager build-and-post-offerto the Rust binary via a thin Python subprocess wrapper (no YAML preflight in Python).{home_dir}/logs/debug.log), tighten orchestration (PostAttemptSuccess, shared SignerConfig for bootstrap), and document daemon cutover in ADR 0012.Test plan
cargo testingreenfloor-engine(213 tests)pytest(536 passed)greenfloor-engineon Ubuntugreenfloor-manager build-and-post-offer --dry-runwrites to manager log fileMade with Cursor