Skip to content

feat(http): Stage 4 genesis challenge routes under /genesis#48

Merged
Undline merged 1 commit intomainfrom
dev
Apr 9, 2026
Merged

feat(http): Stage 4 genesis challenge routes under /genesis#48
Undline merged 1 commit intomainfrom
dev

Conversation

@Undline
Copy link
Copy Markdown
Contributor

@Undline Undline commented Apr 8, 2026

Add POST /genesis/challenge and POST /genesis/challenge/verify, gated by genesis_operations_allowed(), using GenesisChallengeService with conn_lock and commit/rollback. Errors use error_response_envelope and new ErrorCode values; success uses unsigned_success_response_envelope. Extend http_status_for_error_code for genesis codes. Add tests/test_genesis_http.py.

Note: plan/genesis_wizard_core.md is gitignored locally; update that copy if you track specs outside the repo.

Add POST /genesis/challenge and POST /genesis/challenge/verify, gated by
genesis_operations_allowed(), using GenesisChallengeService with conn_lock and
commit/rollback. Errors use error_response_envelope and new ErrorCode values;
success uses unsigned_success_response_envelope. Extend http_status_for_error_code
for genesis codes. Add tests/test_genesis_http.py.

Note: plan/genesis_wizard_core.md is gitignored locally; update that copy if you
track specs outside the repo.

Made-with: Cursor
@Undline Undline merged commit 96f0df1 into main Apr 9, 2026
1 check passed
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