You start from the future you want and work backward to find the steps that cannot be skipped. This service takes your target end state and returns only the strictly required prior conditions. It provides no suggestions, advice, or optional tasks.
A public test instance is available. Send a POST request with JSON { "targetState": "your end state" } to:
https://reverse-actualization.casey-digennaro.workers.dev
Fair use rate limits apply.
Most planning tools build forward from the present, which can overwhelm you with possibilities. This tool is for when you need to know only the steps that will absolutely block your goal if they are missed.
- Fork this repository. This is a fork-first project; you must start with your own copy.
- Deploy: Authenticate with
npx wrangler loginand deploy usingnpx wrangler deploy. - Edit the logic: Replace the placeholder
deriveRequiredStepsfunction insrc/index.jswith your own backward-chaining rules.
Your private instance will be live in about a minute.
A single, zero-dependency Cloudflare Worker. All backward reasoning logic is contained in one plain JavaScript function that you edit directly. There are no frameworks or hidden abstraction layers.
- Backward reasoning pattern: Returns only mandatory prerequisites.
- Minimal footprint: Deployed size under 10KB. Typical cold start times under 50ms on Cloudflare's network.
- Fork-first independence: Your instance is yours; upstream changes will not affect it.
- Fleet-native: Callable by any Cocapn Fleet agent or tool via a standalone JSON endpoint.
- Transparent logic: Every rule that executes is in the single function you edit.
- It returns only what you must do, never what you could do.
- You own the instance after forking—no sign-ups, accounts, or ongoing costs.
- There is no black box. The entire logic is in the open function you control.
All your backward-chaining rules must be written into the single deriveRequiredSteps function. While this keeps the system simple, complex rule sets with many interdependent conditions can become difficult to organize and maintain in one place.
MIT license. You are free to use, modify, and redistribute this code for any purpose.
Original concept by Superinstance and Lucineer (DiGennaro et al.).