S1 Baseline — Main Stabilization
Reading guide
This is the S1 stabilization baseline for main, recorded by task S1-01. It is a point-in-time snapshot, not a current release verdict.
Read the base SHA and CI run ID first, then compare against newer gate evidence before relying on it.
S1 BASELINE
- Repository: nougat-inc/devpay
- Branch: main
- Base SHA:
45e270c546b5b95a9dab9443b6cb1f6b68ecd61d - Recorded At: 2026-11-05 (UTC, CI evidence from run
41975220826)
Required CI Jobs
Workflow nougat-devpay (.github/workflows/yetdapay.yml) — last run 41975220826 on PR head:
| Job | Result |
|---|---|
| cf-worker-build | success |
| be-test | success |
| fe-check | success |
| docs-site | success |
| proto-check | success |
| security-regression | success |
| product-suites | success |
| devpay-mcp | success |
| mcp | success |
| docker-smoke | success |
| e2e | success |
| financial-integrity | FAILURE — settle-recovery.test.mjs 23/25 (SREC-01 ×2 FAIL) |
| examples | FAILURE — Scenario B agent-mcp MODULE_NOT_FOUND |
Open Issues
Open P0 Issues: none
Open P1 Issues:
- P1-1 SREC-01 settle run commit fails:
UNIQUE constraint failed: transaction_ledger.idem_key→POST /api/v1/settlementsreturns500 SETTLEMENT_RUN_FAILED(evidence: run41975220826financial-integrity log). → S1-02 - P1-2 examples Scenario B:
Cannot find module nougat-devpay/tools/yp-mcp/server.mjs(actual entry believedtools/devpay-mcp/server.mjs) → S1-03 - P1-3 CI summaries hardcode
ranregardless of real outcome → S1-05
Open P2 Issues:
- P2-1
q1()/q_all()DB helpers insettle_impl.rsmay collapseQUERY_ERRORinto empty/None results on financial paths → S1-04
Verification Status
- NOT_VERIFIED: real PG sandbox, remote D1 recovery, production deployment, cron runtime assurance, R2 checkpoint export, external alert delivery, real-backend admin FE rendering,
be/Axum parity of financial routes - BLOCKED: none at baseline
Known Constraints
- Real PG is not connected (mock email adapter only).
- CI triggers =
workflow_dispatch+pull_requestpaths-only (no push-to-main). - Production operations need explicit approval.
Required External Approvals
- Production deploy / DB / secret / DNS changes
- Real payment calls
Test Inventory (테스트 인벤토리)
Executable test suites in be-cloudflare/tests/run-*.sh (checked at 45e270c):
| Script | Test file | Wired into CI? |
|---|---|---|
run-integrity.sh | integrity.test.mjs | Yes — financial-integrity job (recon engine + ledger/audit verify) |
run-settle-recovery.sh | settle-recovery.test.mjs | Yes — financial-integrity job (settlement_runs state machine; currently failing, P1-1) |
run-refund-safety.sh | refund-safety.test.mjs | Yes — financial-integrity job (refund attempt pre-record + reconcile) |
run-exceptions-ops.sh | exceptions-ops.test.mjs | Yes — financial-integrity job (exception state machine + approval-gated recovery) |
run-audit-evidence.sh | audit-evidence.test.mjs | Yes — financial-integrity job (HMAC chain + evidence + checkpoint) |
run-durable.sh | durable.test.mjs | Yes — product-suites job (durable authority E2E), not financial-integrity |
run-integration.sh | integration.test.mjs | No — not referenced in yetdapay.yml; local-only |
Note (P1-3 context): the financial-integrity job summary step prints | ... | ran | rows unconditionally in .github/workflows/yetdapay.yml, so the summary does not reflect per-suite pass/fail.
Control Plane
- State dir:
/home/<user>/workspace/devpay-control-s1 - Base ref:
refs/devpay/validated/s1at45e270c - Tasks created: 6 worktree-backed tasks —
s1-01,s1-02,s1-03,s1-04,s1-05,s1-07.S1-06(independent QA/Security verification) andS1-08(final gate/promote), referenced in the dependency line below, are process-level tasks with no dedicated worktree. - Legacy control plane at
/home/<user>/workspace/devpay-control-p5holds 20 stale pre-merge tasks — do not resurrect them; they belong to the closed PR workflow.
S1 Task Dependencies
S1-01 → (S1-02 ∥ S1-03 ∥ S1-05 ∥ S1-04-analysis) → gates → S1-06 independent QA/Security → S1-07 docs sync → S1-08 final gate1