Skip to main content
ClaudeWave
ToolsOfficial Registry0 stars0 forksJavaScriptUpdated today
ClaudeWave Trust Score
52/100
· OK
Passed
  • Actively maintained (<30d)
  • Documented (README)
Flags
  • !No standard license detected
  • !No description
Last scanned: 9/14/2026
Get started
Method: Clone
Terminal
git clone https://github.com/GSterlingPress/postfact-api
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

# 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 completed
if (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 test
npm start
```

Default port: `8080`.

What people ask about postfact-api

What is GSterlingPress/postfact-api?

+

GSterlingPress/postfact-api is tools for the Claude AI ecosystem with 0 GitHub stars.

How do I install postfact-api?

+

You can install postfact-api by cloning the repository (https://github.com/GSterlingPress/postfact-api) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is GSterlingPress/postfact-api safe to use?

+

Our security agent has analyzed GSterlingPress/postfact-api and assigned a Trust Score of 52/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains GSterlingPress/postfact-api?

+

GSterlingPress/postfact-api is maintained by GSterlingPress. The last recorded GitHub activity is dated 2026-09-13, with 0 open issues.

Are there alternatives to postfact-api?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy postfact-api to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: GSterlingPress/postfact-api
[![Featured on ClaudeWave](https://claudewave.com/api/badge/gsterlingpress-postfact-api)](https://claudewave.com/repo/gsterlingpress-postfact-api)
<a href="https://claudewave.com/repo/gsterlingpress-postfact-api"><img src="https://claudewave.com/api/badge/gsterlingpress-postfact-api" alt="Featured on ClaudeWave: GSterlingPress/postfact-api" width="320" height="64" /></a>

More Tools

postfact-api alternatives