XFFI
XF Finite Intent

Turns your intent into a finite, verifiable spec — before any work begins.

Every session starts with a prompt. That prompt is infinite — it can mean anything, go anywhere, expand without bound. XFFI intercepts before any work starts and classifies the session into one of four modes: Code, Create, Concept, or Operate. It grounds the spec in verified Roots — facts confirmed from your actual project — then decomposes into four MECE limbs: Build, Understand, Specify, Operate. Every terminal is atomic and non-overlapping. The rest of XF executes against that spec. Without XFFI, you're enforcing execution on undefined intent. With it, done is defined before work begins.

Part of Decomposition Engine

Connect with GitHub — it's free

What it does

1

Fires before everything else — intent defined before code begins.

XFFI is the first module in the stack. Before XFTD routes a tool, before XFBA checks a contract, before XSIA maps impact — XFFI produces the spec every other module executes against. You can't enforce what you haven't defined. XFFI defines it.

2

MECE decomposition — four limbs, every boundary complete, every node non-overlapping.

XFFI decomposes your intent into four bounded limbs: Build (what gets made), Understand (what informs the work), Specify (the rules and constraints), Operate (how it runs and deploys). Each limb is recursively explored until every node is atomic. Nothing leaks between boundaries. Nothing is double-counted. The result is a finite set of terminals — not a roadmap, not a backlog, a closed list.

3

Terminals you can verify — not goals you hope to reach.

The output isn't a plan. It's a spec sheet: a finite list of binary outcomes the implementation must satisfy. Each terminal is a verifiable condition — met or not met. XFXA reads this spec at ship time and enforces it mechanically. XFFI defines done. XFXA proves it.

4

Roots ground every spec in verified facts — from four concrete sources.

Before decomposition runs, XFFI confirms Roots — the evidence your spec is allowed to reference. Four sources feed them, and you see which ones contributed before you confirm: (1) XFMT conversation history — every prior session you have stored, semantically matched to your current intent (so decisions from three weeks ago still inform today's spec); (2) your project filesystem — actual code, configs, docs, and prior specs read in-session (so the spec respects what is already built, not what the model imagines is built); (3) active session signals — what you have just typed, decided, or referenced right now; (4) sibling specs — when you split a multi-scope intent into a family, completed sibling scopes auto-feed as Roots into the next scope so scope 2 inherits scope 1's decisions. Terminals may only reference what Roots confirm. That is the mechanism that prevents hallucinated file paths, fabricated module names, and drift into speculation.

5

Saves to your project — XFXA picks it up automatically.

The spec writes to .xf/specs/ in XFXA-compatible format. Run /xfxa after delivering — it reads the spec, checks every terminal, and closes the loop. Intent defined here. Delivery verified there. The full XF contract in two commands.

How it works

1

You state your intent — /xffi fires.

2

Mode classified: Code, Create, Concept, or Operate.

3

Roots confirmed from four sources: XFMT conversation history (prior sessions), your project filesystem (code + configs + docs), this session's active signals, and any sibling specs you have already completed.

4

Xpansion engine decomposes into four MECE limbs: Build / Understand / Specify / Operate.

5

Completeness check: every limb populated, every terminal atomic, non-overlapping, and grounded in Roots.

6

Spec saved to .xf/specs/YYYY-MM-DD-xffi.md — XFXA-compatible format.

7

Session context set: all subsequent XF modules execute against this spec.

● ● ●
◈ XFFI intent received — mode: Code — decomposing to MECE terminals
Build
- [ ] Auth handles Google OAuth + email/password
- [ ] Session persists across page refresh
Understand
- [ ] How existing session middleware works
Specify
- [ ] Redirect to /dashboard on successful auth
Operate
- [ ] Environment variables for OAuth client ID/secret
◈ XFFI ✓ 9 terminals written → .xf/specs/2026-04-09-xffi.md
Other modules