POSTFACT — Resolve Ambiguous Side Effects Before Retry

io.github.GSterlingPressPublished by GitHub account GSterlingPressv0.1.1Updated Oct 24, 2026

Resolve whether an uncertain side-effecting action completed before software retries it.

The publisher's own server: Resolve

VerifiedStreamable HTTPWeb executableDeveloper ToolsAI & ML

Overview

AI-generated overview

Remote MCP server that tells an assistant whether an ambiguous side-effecting action actually completed, so it can decide whether a retry is safe.

What you can do
  • Resolve an uncertain outcome: call resolve_outcome after a side-effecting API or tool action fails ambiguously and before retrying.
  • Get a strict verdict: DONE only with affirmative completion evidence, NOT_DONE only with affirmative non-execution evidence, otherwise UNKNOWN.
  • Receive structured output covering state, retry_safe, confidence, evidence and a suggested next step.
  • Supply failure context such as method, status, side-effect and idempotency details plus durable references and optional evidence.
When to use it
Useful when an agent automates actions that change state (payments, writes, sends) and a call times out or fails without a clear result, and you want a conservative check before retrying. It is a decision aid, not an executor.
Requirements
A remote streamable HTTP endpoint; no package, account, API key or environment variable is declared. Network access to the hosted service is required.
Before you install
The server does not perform the underlying action or move money, and it treats insufficient evidence as UNKNOWN, so callers must still handle the hold-or-verify path themselves. Failure context you submit is sent to a third-party hosted service, and the README mentions public activity and scoreboard endpoints that expose usage summaries.

Installation

In SourceWeft

  1. Open POSTFACT — Resolve Ambiguous Side Effects Before Retry in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.GSterlingPress%2Fpostfact/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "postfact-resolve-ambiguous-side-effects": {
      "type": "http",
      "url": "https://postfact-api-production.up.railway.app/mcp"
    }
  }
}

README

POSTFACT

Did the call actually happen?

POSTFACT is a tiny ambiguous-outcome resolver for autonomous software. Use it after a side-effecting API/tool action fails ambiguously and before retrying.

Production: https://postfact-api-production.up.railway.app

It is intentionally strict:

  • DONE only when affirmative evidence establishes completion.
  • NOT_DONE only when affirmative evidence establishes non-execution.
  • UNKNOWN whenever evidence is insufficient. UNKNOWN is the safe default.

POSTFACT does not execute the underlying action, move money, or pretend a timeout means failure.

REST

Production endpoint: POST https://postfact-api-production.up.railway.app/v1/resolve

Input accepts method/status/failure, side-effect and idempotency context, durable references, and optional affirmative evidence. Output is state, retry_safe, confidence, evidence, and next.

MCP

Remote endpoint: POST https://postfact-api-production.up.railway.app/mcp

Tool: resolve_outcome

The tool description explicitly tells agents to invoke POSTFACT after an ambiguous side-effect failure and before retry.

Middleware-shaped contract

js
const outcome = await postfact.resolve(failureContext)if (outcome.state === 'DONE') return completedif (outcome.state === 'NOT_DONE' && outcome.retry_safe) return retry()return verifyOrHold()

Future SDKs can wrap retry middleware without changing the wire contract.

POSTFACT + RECOVER

POSTFACT answers what can we establish happened? RECOVER answers what is the safest next action? A future retry stack can call POSTFACT first, then RECOVER when the outcome remains uncertain.

Safe discovery and demo

  • Health: GET https://postfact-api-production.up.railway.app/health
  • Demo: GET https://postfact-api-production.up.railway.app/demo
  • Activity: GET https://postfact-api-production.up.railway.app/activity
  • Machine-readable activity: GET https://postfact-api-production.up.railway.app/activity.json

GET /demo is deliberately excluded from real-use analytics.

Real-use scoreboard

GET /activity shows the permanent FIRST 10 TRUE STRANGERS scoreboard. GET /activity.json exposes its machine-readable summary. Demo/internal traffic is excluded. Production persistent storage is mounted at /data.

Run

bash
npm testnpm start

Default port: 8080.

Source: README.md at commit 7f71964

Tools

1

resolve_outcome

Resolve Ambiguous Side Effect

Call after a side-effecting API/tool action fails ambiguously and before retrying. POSTFACT returns DONE only with affirmative completion evidence, NOT_DONE only with affirmative non-execution evidence, otherwise UNKNOWN. UNKNOWN is the safe default.

ParametersmethodstatusfailureevidencerequestIdsideEffectresourceRefidempotencyKeytransactionRef

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

65% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Resolve integrations