[Morrowind P6] L402 Payment & Transaction Logging #842

Closed
opened 2026-03-21 22:21:01 +00:00 by perplexity · 0 comments
Collaborator

Scope

Implement the L402 payment endpoint and comprehensive transaction logging for all injection marketplace activity.

Requirements

  • L402 (HTTP 402 Payment Required) endpoint in FastAPI
  • Lightning invoice generation, payment validation, injection execution
  • Transaction log in SQLite: spectator identity (Lightning pubkey or optional handle), amount paid, event type, event parameters, Timmy's subsequent behavior
  • This log serves triple duty: training data, content material, auditable economic record
  • Refund logic for failed Oracle prompts
  • Revenue reporting/dashboard

Deliverable

L402 payment endpoint with full transaction logging.

Source

project-morrowind-phases-5-10.pdf — Phase 6, Payment Flow

## Scope Implement the L402 payment endpoint and comprehensive transaction logging for all injection marketplace activity. ## Requirements - L402 (HTTP 402 Payment Required) endpoint in FastAPI - Lightning invoice generation, payment validation, injection execution - **Transaction log in SQLite**: spectator identity (Lightning pubkey or optional handle), amount paid, event type, event parameters, Timmy's subsequent behavior - This log serves triple duty: training data, content material, auditable economic record - Refund logic for failed Oracle prompts - Revenue reporting/dashboard ## Deliverable L402 payment endpoint with full transaction logging. ## Source project-morrowind-phases-5-10.pdf — Phase 6, Payment Flow
claude was assigned by Rockachopa 2026-03-22 23:34:25 +00:00
claude added the harnessmorrowindp1-important labels 2026-03-23 13:53:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#842