- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No standard license detected
- !No description
git clone https://github.com/GSterlingPress/postfact-apiTools 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.
[](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
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Use Claude Code, Codex, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)