Skip to content

specs/functions: payment-ai-server-process -- claim-invoice before crediting - #4116

Open
gHashTag wants to merge 1 commit into
masterfrom
payment-claim-spec
Open

gHashTag wants to merge 1 commit into
masterfrom
payment-claim-spec

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #4115

Money loop, plan section 6 item 3 (999-multibots-telegraf docs/audit/inngest-improvement-plan-2026-09-13.md). STEPS gains claim-invoice between get-bot-config and update-user-balance; NOTE records the compare-and-set on PENDING, the amount == rounded IncSum check, the already_claimed return, the retriable db-error, what was wrong before and what is not verified (the event sender is outside the repo). SERVICE line corrected 64 -> 66.

  • docs/now/2026-09-17-the-invoice-is-claimed-before-it-is-credited.md.
  • Compiler verdict clean: typecheckOk, 0 errors, hirOk. ASCII only. No test blocks added; the pre-existing published_figures drift on master is untouched.

Code: 999-multibots-telegraf branch payment-claim-invoice.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-17 09:17:14 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 0
PRs with All Checks Green 50
READY 0
FAILING 0
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 0 + 0 + 0 = 0, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=8932aae0c5a9 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

This was referenced Sep 17, 2026
This was referenced Sep 21, 2026
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.

Spec payment-ai-server-process: claim-invoice compare-and-set and amount check

1 participant