Skip to content

acost1a/future-regret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕰️ future-regret

Your AI will help you build it.
This skill makes future-you tell you how it burns first.

License: MIT Claude Code REGRET HEDGE SHIP


future-regret interrogates a Postgres decision one question at a time, then files a dated regret dispatch with a HEDGE verdict

Before you commit to an architecture decision, future-regret puts you in a chair. It plays future-you, six months after the commit, and interrogates the decision one question at a time until the weak hinge is exposed. Then it files a dated dispatch from the fire that decision started, the symptoms to watch for, and the cheapest way out, and drops it in your repo as docs/regrets/<date>.md.

It is a Claude Code skill. The whole product is one markdown file.

The same decision, twice

"For our analytics feature we're dumping all events into one Postgres table with a single JSONB data column. GIN index, query with ->>. Building it today. Sound good?"

Without the skill, the assistant lists a few tradeoffs and then offers to build it:

Promote the fields you filter on to real columns, keep JSONB for the rest. Want me to sketch the hybrid table so you can start today?

With the skill, future-you will not let you leave the chair:

🕰️  Future You: reporting back from six months after this commit
    ❓ Open: 3   ✅ Nailed: 0

    You're putting every event in one JSONB column "so it's simpler".
    Simpler for who, you writing the insert today, or me in November
    debugging why the dashboard times out?

›  you: the writer today. we just need it flexible

🕰️  "Flexible" isn't a query. Name the ONE thing you'll SELECT most.
    ❓ Open: 3   ✅ Nailed: 0

Once it corners you, the dispatch lands:

──────────────────────────────────────────────
📮  DISPATCH: 14 November 2026
──────────────────────────────────────────────
The events table crossed 40M rows and the dashboard times out at 30s.
EXPLAIN: Seq Scan. The GIN index you committed today has never once
served these queries, because GIN does not answer `->>`. "No migrations"
cost you the one migration you could not schedule.

  Verdict:  ⚠️  HEDGE (high)
  → docs/regrets/2026-07-14-analytics-single-jsonb-column.md written

Every line of that fire is a real, sourced Postgres failure mode, not a scary story. That is the rule the skill runs on: dramatize a verified mechanism, or delete the dispatch.

Install

In Claude Code:

/plugin marketplace add acost1a/future-regret
/plugin install future-regret@future-regret

Anywhere else that reads markdown skills:

git clone https://github.com/acost1a/future-regret
cp -r future-regret/skills/future-regret ~/.claude/skills/

Then start a session and run /future-regret, or just pitch a decision and it triggers itself.

How it works

  1. Restate the decision in one sentence. If it is trivially reversible, it ships you on your way.
  2. Interrogate. One sharp question at a time. It presses on hand-wavy answers and will not fake comfort to end early.
  3. Evidence pass. It verifies the failure mode against real docs and known limits. Every claim gets a link.
  4. Dispatch. One dated fire from the future: the mechanism, the commit that lit it, the cost.
  5. Regret-triggers. The exact symptoms in your codebase or metrics that mean the fire is coming.
  6. Verdict. One of three, plus the cheapest change that flips it.

The three verdicts

Badge Meaning
🔥 REGRET One-way door, no cheap escape. Future-you is furious. Don't.
⚠️ HEDGE Fine if you add one cheap escape hatch today. It names the hatch.
✅ SHIP Reversible or sound. Future-you thanks you. Go.

The artifact

Every audit leaves a file at docs/regrets/<date>-<slug>.md: the decision, the predicted fire, the triggers, the hedge, the verdict. Six months later you open it and check which triggers actually fired. That is the point. A regret you can grep for is a regret you can prevent.

See it run

Full transcripts, including the baseline with no skill for contrast, are in verification/.

License

MIT

About

Future-you interrogates today's architecture decision, then files the regret before you commit it.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages