GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • fhorja
  • PT Português
  • Demo
  • Techniques
  • FAQ
  • GitHub
  • Changelog
  • MIT license

This view

  • Original page
  • New address

GeezerVison is showing fhorja.dev — Fhorja: an open-source workflow for AI coding agents

Fhorja is an open-source workflow your AI coding agent follows: plain markdown commands you install once. No app, no server.

You hand your agent a task, for example:

“Fix the login redirect loop.”

  • Fix the login redirect loop.
  • Add a dark mode toggle.
  • Add tests for the tax rules.
  • Split the billing module.
  • Make emails unique per user.
  • Add a way to delete notes.

One task in. One draft pull request out.

Your agent takes the task to a draft pull request: a proposed change, not yet sent for review, that you read before anything goes in. It plans, tests, and writes every decision to plain files on your machine. Then it stops: you read it, confirm or change its decisions, mark it ready for review, and merge.

Get started Get the repo

MIT licensed. 98 commands in plain markdown: six carry most tasks, and the rest cover reviews, audits, incidents, research and design work when a task needs them. When your repository is connected to GitHub or another git host (a remote), your agent runs every step on its own and stops at the draft pull request. It never merges.

The run, level by level

Example task: a small notes app 7 levels, in order Questions for you: 0
  1. Start
  2. Decide
  3. Plan
  4. Review
  5. Build
  6. Commit
  7. Open PR

What happens when you hand Fhorja a task

Seven levels in this example: start, decide, plan, review, build, commit, open a draft pull request. Six of them carry most tasks; Decide joins only when your request leaves a choice open, as this one does. On a repository with a remote, it asks you nothing along the way.

The example here is a small notes app:

“Add a way to delete notes.”

  1. task-init
  2. decision-interview
  3. implementation-plan
  4. approve-plan
  5. implement-approved-slice
  6. branch-commit --apply
  7. pr-package --apply

Press Play the example run, or step through with the arrows.

  1. Level 1

    Start : task-init

    Opens a folder and a branch for the task, and writes down any extra step this task needs, and why. Here: your request leaves a choice open.

    writes TASK_STATE.md
    ## Recommended pipeline- Escalations: decision-interview (a decision the request does not contain)## Resume notes- Task branch: task/2026-09-24_delete-notes- Base branch: main
  2. Level 2

    Decide : decision-interview

    Where your request leaves a choice open, it reads the code, picks one, writes it down as a provisional decision (its best guess until you confirm it), and keeps going.

    writes DECISIONS.md
    ## Provisional decisions### P-1: Deleting a note archives itEvidence: src/notes.js:14 already hides archived notesImpact: high. Status: provisional.
  3. Level 3

    Plan : implementation-plan

    Cuts the work into slices, small pieces built and checked one at a time. Each one names its files, when it counts as done, and any decision it rests on.

    writes IMPLEMENTATION_PLAN.md
    ### Slice 01: delete a note- Scope: src/notes.js, test/notes.test.js- Decision-ref: rests on provisional P-1- Exit criterion: WHEN deleteNote(id) runs, listNotes() SHALL leave that note out
  4. Level 4

    Review : approve-plan

    A separate AI session that never saw your chat checks the plan and can send it back for changes.

    1. round 1: needs_revision Slice 01 adds an undo that no decision covers. Back to implementation-plan.
    2. round 2: satisfied The undo is gone. Plan approved.
    appends to IMPLEMENTATION_PLAN.md
    ## Approval log- 2026-09-24: APPROVED by approve-plan, self-run blinded review, round 2 satisfied. Rests on provisional: P-1.
  5. Level 5

    Build : implement-approved-slice

    Writes the code and pastes the real test output into an evidence file. A check with no output shown counts as unverified.

    writes SLICES/01-delete-note.evidence.md
    $ npm test# tests 7, pass 5, fail 2: deleteNote is not defined$ npm test# tests 7, pass 7, fail 0
  6. Level 6

    Commit : branch-commit --apply

    Commits the work on the task branch, never on main, and moves on to the last step.

    makes the commit
    [task/2026-09-24_delete-notes 2da2393] Notes can be deleted 2 files changedRun now: pr-package --apply
  7. Level 7

    Open PR : pr-package --apply

    When your repository has a remote, it pushes the branch and opens a draft pull request that lists the decisions it made without you. The run stops there.

    opens the draft pull request
    Not delivered, needs youNone.Decisions made without you1. Deleting a note archives it. Confirm before merge.Not verifiedNo risk review of the diff ran. Read the change to src/notes.js.Run now: none

This level is yours. It opens with the draft pull request.

7 levels 0 questions asked 1 decision left for you

The last level

Your move.

The run stops at the draft pull request on purpose. What is left belongs to you:

  1. Read the draft pull request.
  2. Confirm P-1, or tell your agent what you want instead.
  3. Mark it ready for review.
  4. Merge it.

These four are always yours, on every run. You can confirm P-1 before or after the merge.

An example run on a made-up notes app. The commands, file names and line formats are the ones Fhorja really uses; the app and its code are invented.

The steps behind it 21:59 to 22:06 UTC

  1. task-init
  2. decision-interview
  3. implementation-plan
  4. approve-plan
  5. implement-approved-slice
  6. branch-commit
  7. pr-package
  8. draft PR

Not delivered, needs you

None.

Summary Shortened

When the gh active account cannot see the repository, pr-package --apply had no rule and the chain would stop at the PR step.

Decisions made without you

P-1 Impact: high, it handles a host credential provisional

Pass the working account's token to the PR calls only, instead of switching the active account with gh auth switch.

Not verified

None.

This run, in numbers

minutes from task-init to this draft
7 7
questions asked along the way
0 0
files written
9 9
decision waiting for you
1 1

Counted from the recorded run: files written are the commit's files plus the task's own files.

Watch the full run See all three runs

A real Fhorja task, recorded on 2026-09-24 and replayed from its own files in shortened form. Nothing here is a live agent.

what you get

What you get on every task.

Pick one. Each comes with the file or the output that shows it.

01 of 06

Nothing gets lost between sessions.

Task state, decisions and the plan live in plain files on your machine, one folder per task, kept out of git: TASK_STATE.md, DECISIONS.md, IMPLEMENTATION_PLAN.md. Close the chat, open a new one, and resume-from-state reads TASK_STATE.md and tells you where you left off.

No decision needs explaining twice, to the agent or to you next week. The decisions that matter also travel in the pull request, where your team sees them.

From the repository: README.md, docs/FAQ.md

new session TASK_STATE.md, example
> resume-from-state​## Quick reanchor- Active decisions: D-1- Current slice: 02- Phase: implementation- Next step: implement-approved-slice

D-1 is a decision you confirmed. The agent's own picks are numbered P-1, P-2 until you do.

TASK_STATE.md DECISIONS.md IMPLEMENTATION_PLAN.md

02 of 06

It runs on its own to a draft pull request.

When your repository has a remote (a copy on GitHub or another git host), your agent goes from task-init to a pushed task branch and a draft pull request without stopping, in the session you have open or in a background session you start for the task. It asks first only if your CI would announce the push or the draft to someone outside the repository.

Reading the pull request, confirming or changing its decisions, marking it ready for review and merging are always yours. Without a remote, the run ends at a commit on your machine.

From the repository: commands/pr-package.md, docs/FAQ.md

the default path, example step 6 of 6
  1. task-initTask branch: task/2026-09-25_example-task
  2. implementation-plan### Slice 01
  3. approve-planAPPROVED by approve-plan, self-run blinded review
  4. implement-approved-slicenpm test: exit 0
  5. branch-commit --applyRun now: pr-package --apply
  6. pr-package --applygit push, gh pr create --draft. Run now: none

03 of 06

You see everything decided without you.

When your request leaves a choice open, the agent picks one and writes it down as a numbered provisional decision (P-1, P-2) with its evidence and impact. Until you confirm it, it is the agent's best guess, not your approval. The draft pull request lists each one still open under Decisions made without you, with the ones touching data, security, payments, or cost first. When the agent replaced one of its own, only the newest appears.

To keep a choice, tell your agent "confirm P-1". To change it, say what you want instead. The agent writes a locked decision, D-1, that points back to P-1, and P-1 stays as written. If the agent finds one of its own picks wrong before you answer, it writes a new entry that says which one it replaces and why.

From the repository: docs/FAQ.md, commands/decision-interview.md, commands/pr-package.md

DECISIONS.md example
the agent chooses
### P-1: Accept any path as a destinationEvidence: the request says "the page it asked for"Impact: high. Status: provisional.
the blind review finds a bug; the agent corrects itself
### P-2: Only internal paths are a valid destinationReplaces: P-1. src/auth/callback.ts:41 already rejects absolute URLs.Impact: high. Status: provisional.
you tell your agent to confirm it, after reading the pull request
## Locked decisions### D-1: Only internal paths are a valid destinationConfirms: P-2

04 of 06

A blind review checks the plan before any code.

Before any code, every plan bigger than a one-sentence change goes to a separate AI session that gets only the plan, a fixed checklist, and the decisions the plan relies on. It never sees your conversation, so it cannot inherit the assumptions made there.

If the reviewer asks for changes, the agent revises the plan and sends it back, without asking you. A one-sentence change to one or two files gets a quick script check instead.

From the repository: commands/approve-plan.md

approve-plan example
The reviewer receivesthe plan (IMPLEMENTATION_PLAN.md), a fixed checklist, and the P-Ns the plan cites
Never receivesthe conversation, or the plan writer's own notes
  1. round 1: needs_revision
    slice 02 rests on P-1 without the label. Back to implementation-plan.
  2. round 2: satisfied
    - 2026-09-25: APPROVED by approve-plan, self-run blinded review, round 2 satisfied.

05 of 06

Proof, not a promise.

Each piece of the plan counts as done only when the agent pastes the command it ran and the real output. A check with no output shown is marked unverified, not done.

What the agent cannot check on its own shows up in the pull request under Not verified, saying what a person needs to run or look at.

From the repository: commands/implement-approved-slice.md, commands/pr-package.md

SLICES/01-replaces.md real excerpt, 2026-09-24

## Checks (real output lines)

  1. structural-evals.py: exit 0, `Structural checks: 82/82 passed.`
  2. test-check-plan-coverage.sh: exit 0, `check-plan-coverage: 31/31 checks passed`.
  3. every scripts/tests/*.sh: `suites: 43 run, 0 failed`.
Not verified (example pull request) The round trip through the real SSO provider. Sign in once on staging with a real account.

06 of 06

A task that hits a snag teaches the next one.

After you merge, ask your agent to close the task (task-close). If the task hit a real snag, such as a review asking for changes, a check that failed before it passed, or a revert, it writes the lesson to LEARNINGS.md. The next task on the same project finds it on its own.

A clean task has nothing to teach, and says so in one line: Learnings: none harvested (no signal recorded).

From the repository: commands/task-close.md, docs/FAQ.md

LEARNINGS.md real excerpt, 2026-09-24, trimmed
## 2026-09-24 pr-package-gh-account harvest-session-learnings- Tried: opened a PR with `gh pr create` on a machine where gh had four logged-in accounts.- Failed because: the active account was not the repository owner's and could not see the private repository ("Could not resolve to a Repository").- Next time: check `gh auth status` and pass the owner's token to that one command.
next task: the script that finds the lessons that match it (rank-learnings.sh), real output
$ rank-learnings.sh "gh pr create could not resolve repository" projects/your-project 1### Relevant prior lessons (ranked)- 2026-09-24 pr-package-gh-account (score 14)RANK-LEARNINGS: 1 ranked / 172 scanned

Beyond the default route

The same install covers more than the route to a pull request.

Six commands carry most tasks. The other 92 wait for the moments that need them: your agent picks one up when a task calls for it, or you ask for it by name.

  • Reviews before you merge

    security-reviewa11y-auditreview-hard

    A security pass against the OWASP ASVS checklist, an accessibility ledger against WCAG 2.2, and a risk review of the change itself. On a large change, the security and risk reviews split the work across several reviewers at once.

    security-review.md →
  • When something breaks

    incident-triagepostmortem-author

    Sizes the fix for a real failure (a hotfix, a planned fix, an investigation or an escalation) and writes a blameless postmortem once it is resolved.

    incident-triage.md →
  • Research with sources

    capture-referencesexternal-research

    Summarizes the pages you point it at into the project's references, then compares them in one write-up that keeps its recommendation apart from what the sources say.

    external-research.md →
  • Your database, read first

    db-context-postgresdb-context-supabasemigration-safety-steward

    Reads the real schema, read-only, before a change is planned, and checks a migration for steps that are unsafe in production.

    db-context-postgres.md →
  • Design system work

    design-bootstrapcomponent-specscreen-spec

    Turns a Figma file into tokens, component specs and screen specs, through the Figma MCP server.

    design-bootstrap.md →
  • Several at once

    implement-fleetexternal-research-fleetscreen-spec-fleet

    Runs independent slices of a plan, research angles or screens in parallel, one worker each, where your tool can run them. For independent slices of an approved plan, this is the default.

    How the fleets work →

Every command, on GitHub → Why 98 commands? →

Get started

Set it up once. Then describe a task.

You need an AI coding agent such as Claude Code, Codex, Cursor or Kimi Code, git, and a terminal. For the draft pull request on GitHub, add the GitHub CLI (gh), logged in. You install Fhorja once; after that, each project needs one pasted paragraph.

Which agent do you use?

The steps below change to match it.

0 of 4 done
  1. 1 Step 1 done

    Download Fhorja, once, Done

    Terminal
    git clone https://github.com/Mozurok/fhorja.dev.git

    Run this in a terminal from a folder outside your projects (your home folder is fine). It makes a folder called fhorja.dev. You do this once, not once per project.

  2. 2 Step 2 done

    Run the two setup scripts, Done

    Terminal
    cd fhorja.dev
    ./scripts/bootstrap-user-setup.sh
    ./scripts/sync-workflow-slash-commands.sh

    The first one creates USER_MEMORY.md, a file for your own working preferences that the commands read, and runs a quick check of the install. The second opens a setup wizard: pick Sync everything. That puts every command where your agent looks for it.

    For Claude Code, the commands land in ~/.claude/commands and the skills in ~/.claude/skills.

    For Codex, the skills land in ~/.agents/skills, and the older custom prompts in ~/.codex/prompts.

    For Cursor, the commands land in ~/.cursor/commands, and Cursor 3.17.8 or later reads the skills from ~/.agents/skills. On an older Cursor, update it first.

    Kimi Code has no slash-command folder, so every command arrives as a skill in ~/.agents/skills, called as /skill:<name>.

    Any tool that reads Agent Skills finds them in ~/.claude/skills or ~/.agents/skills, the two folders the sync writes. A tool that reads neither can still open the command files as plain markdown.

    More ways to install

    Sync everything installs the whole catalog, 98 commands. To script the install instead, pass a profile: minimal carries 24 commands, core 52, full all 98.

    Terminal, minimal, 24 commands
    ./scripts/sync-workflow-slash-commands.sh --profile minimal
    Terminal, core, 52 commands
    ./scripts/sync-workflow-slash-commands.sh --profile core
    Terminal, full, all 98
    ./scripts/sync-workflow-slash-commands.sh --profile full
    • --project /path/to/your/repo also installs into that one project.
    • --no-skills skips copying the skills to your user folders.
  3. 3 Step 3 done

    Paste one paragraph into CLAUDE.mdAGENTS.mdCursor's rules filethe file Kimi Code always loadsyour tool's instruction file , Done

    Open the project you want to work on and paste it into its CLAUDE.md, the file Claude Code always loads. No CLAUDE.md yet? Create one.

    Open the project you want to work on and paste it into its AGENTS.md, the file Codex always loads. No AGENTS.md yet? Create one.

    Open the project you want to work on and paste it into a Cursor rules file. The Fhorja docs say only "your rules file for Cursor"; Cursor's own rules documentation shows how to make a rule apply to every chat.

    Paste it into the instruction file Kimi Code always loads for your project. The Fhorja docs name CLAUDE.md, AGENTS.md and rules files but not Kimi Code's own, so check Kimi Code's docs for the one it reads.

    Paste it into the file your tool always loads for your project: CLAUDE.md, AGENTS.md or a rules file, whichever one it reads.

    The paragraph
    Show the paragraph
    **Start engineering work by running `task-init`.** Any change to this repository is a task: a
    one-line docs edit is a task, a typo fix is a task. Do not edit a file before the task folder
    exists. A short pipeline is what small work gets, so its size is a reason to take that pipeline,
    never a reason to skip the workflow. Then follow the `Run now:` line of each command's
    Handoff without waiting to be asked.
    
    When a task is already active, read its `TASK_STATE.md` first and continue from
    `## Recommended next step` rather than starting a new one.

    Once per project. Setup gave your agent the commands; this paragraph tells it to use them. Without it, an agent handed a small job tends to just do the job: in a measured test, the same model on the same request edited the file and never opened a task. In plain words, the paragraph tells your agent to open a task for every change, keep small changes on the short route, and move from one step to the next without waiting for you.

  4. 4 Step 4 done

    Open your agent in your project and describe a task, Done

    Pick something small and real for the first run: a narrow bug, a small feature, a setting. Say what you want in plain words, the way you would tell a colleague. The paragraph from step 3 tells the agent to start with task-init; for the first run, name it anyway, as below. If the agent ever starts editing without opening a task, say "run task-init first".

    Your first message
    Run task-init for this task: <the change you want, in a sentence or two>
    In Kimi Code
    /skill:task-init

    In Kimi Code you call a skill as /skill:<name>, so this starts it. Then describe the task.

    Lost at any point? Ask for workflow-guide. It says what to run now and why, and changes nothing.

What happens next

After task-init, your agent keeps going on its own. Here is the whole trip, in plain words.

  1. 01

    It writes a plan

    The work gets cut into small steps. A separate AI session that never saw your chat checks the plan before any code is written.

  2. 02

    It does the work, with proof

    Each step runs the real checks and pastes their output as proof. Anything it could not check is written down, not skipped.

  3. 03

    It opens a draft pull request

    A pull request is a proposed change you can read before it goes in, and a draft is one that notifies nobody yet. If your project has a remote, a copy on GitHub or another git host, the agent commits, pushes its own branch and opens the pull request as a draft without stopping to ask, unless the repository's CI would announce the push or the draft to someone outside it; then it shows you the pull request and where it goes, and asks before it pushes. On GitHub it opens the draft through the GitHub CLI (gh); if no logged-in account can see the repository, it stops after the push and asks you to run gh auth login. With no remote, it stops at a commit on your machine.

  4. 04

    You read it and decide

    The pull request opens with anything it could not finish, then a summary, the decisions it made without you, and what it could not verify. Read it, confirm or change the decisions it made, mark it ready for review, and merge. Those four are always yours. To confirm a decision, tell your agent "confirm P-1", before or after the merge.

Tiny changes skip the plan review. If your request is one sentence, names at most two files, and leaves only small choices open, if any, a quick script check is enough. The agent writes those choices down and lists them in the draft pull request. After you merge, ask your agent to close the task (task-close); that is when a task that hit a snag writes its lesson for the next one. And if you close the chat halfway, the task keeps its notes in plain files, so the next session picks up where you stopped.

The six commands most tasks run Watch a recorded run Read the FAQ

FAQ

Questions people ask first.

Short answers, taken from the docs. Pick a concern to see the rest.

01 What is Fhorja, in one breath?
What is Fhorja, in one breath?
What it is

An open-source workflow that AI coding agents follow: 98 commands written in markdown, plus small local bash and Python scripts for lint, sync and build. Each task gets its own folder of plain files, so the plan, the decisions and the next step live on disk instead of in a chat that forgets.

One task folder, in a projects/ folder git ignores, inside the repository you work in example
projects/acme__shop/active/2026-09-25_fix-login/
  README.md               # human summary
  TASK_STATE.md           # read this to resume
  SOURCE_OF_TRUTH.md      # facts, and where your code lives
  DECISIONS.md            # every decision, with its reasoning
  IMPLEMENTATION_PLAN.md  # the plan, in small steps

Source: README.md, “Task memory on disk” Set it up and run a first task

02 Is Fhorja free?
Is Fhorja free?
Cost

Fhorja itself costs nothing: no subscription, no API key, no hosted service, and the license is MIT. You pay only for the AI tool and the model you already use.

Source: docs/FAQ.md, “Does using Fhorja cost more than prompting the AI directly?”

03 Does it send my code anywhere?
Does it send my code anywhere?
Safety

Fhorja itself does not: no server, no telemetry, nothing phoned home. Your AI tool still talks to its model provider as it did before. When your repository has a configured remote, your agent pushes the task branch and opens a draft pull request on your own git host. Beyond that, data leaves through Fhorja only when you run a command that fetches something, like capture-references fetching the URLs you gave it.

Source: docs/FAQ.md, “Does it send my code anywhere?” and “Who runs the next command, me or the session?”

04 So what is left for me to do?
So what is left for me to do?
What you do

You pick the work, then read the draft pull request. It opens with what still needs you, then the summary, then the decisions made without you and anything the agent could not verify. Reading it, confirming or changing its decisions, marking it ready for review and merging are yours.

Draft pull request, in reading order
  1. ## Not delivered, needs you
  2. ## Summary
  3. ## Decisions made without you
  4. ## Not verified

Source: docs/FAQ.md, “Who runs the next command, me or the session?”

05 What happens to a decision the agent made without me?
What happens to a decision the agent made without me?
Decisions and mistakes

It is recorded, not locked: a numbered P-N entry (P-1, P-2) in DECISIONS.md with its evidence and its impact. It never counts as your input until you confirm it or choose something else.

DECISIONS.md example
## Provisional decisions
### P-2: Retry the webhook three times, then log it
Evidence: src/webhooks/send.ts:42 already retries twice
Impact: normal
Status: provisional

Source: docs/FAQ.md, “What happens to a decision the chain made without me?”

Jump to a concern

See all 29 questions→ and all five myth-or-fact cards

Myth or fact

Three things people assume. Guess, then check.

Each card says whether it is a myth or a fact, and where that is written down.

0 of 3 guessed

  1. 01 What you do

    Fhorja waits for you to approve every plan.

    Show the answer Hide the answer

    Myth . A separate AI reviewer checks every plan bigger than a one-sentence change and does not wait for you. If it finds a choice your request did not make, that choice goes into the pull request for you to confirm. Without a remote, or if you switch on step-by-step mode (assisted), it asks you instead.

    Source: docs/FAQ.md, “Who runs the next command, me or the session?”

  2. 02 Safety

    The agent can merge its own pull request.

    Show the answer Hide the answer

    Myth . It stops at a draft pull request. Marking it ready for review and merging are yours, in every mode.

    Source: docs/FAQ.md, “Who runs the next command, me or the session?”

  3. 03 How it runs

    With a remote configured, the agent pushes the branch by itself.

    Show the answer Hide the answer

    Fact . Right after the last commit, pr-package --apply pushes the task branch and opens the draft pull request on its own. If your CI would announce the push or the draft outside the repository, it asks first.

    Source: docs/FAQ.md, “What happens if the AI gets something wrong, and how do I undo it?”

Under the hood

The techniques behind it

Four of the rules that make the route work. Each page quotes the file or the command output it comes from.

  • The default path and when it grows Six commands carry most tasks from task-init to a draft pull request. A task gains a command only when a named condition fires. Read how →
  • The handoff that keeps the work moving Every command ends by naming the next one, and your agent starts it right away instead of waiting for you to type it. Read how →
  • What actually lands in the draft pull request Four parts, in a fixed order, for everything you have not seen yet. Read how →
  • One command file, every editor Cursor, Claude Code, Codex, and more than thirty other tools read the same generated file. Read how →

See all 12 techniques →

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.