Repository navigation
v8.10.0 — The Human Slots Edition
AI suggests, you confirm. faf no longer writes your project's goal or six W's: it suggests them, and you confirm each one in faf go.
Added
faf goshows a suggestion in gray for the goal and each of the six W's, with where it came from (README.md § Why,package.json description). Tab puts it in the field to edit, Enter confirms it, typing replaces it,skipleaves the slot empty. A slot with no suggestion shows help text between‹ ›(forhow: "the mechanism, and the choice that shapes the code"). Help is never written: Enter skips and Tab does nothing.faf gitends with one line on the goal and six W's: they are empty, and how many suggestions wait in the repo, forfaf goin a clone (the temporary clone is gone by then).faf initandfaf autoprint one line when suggestions are waiting:3 suggestions for the goal and the six W's (README.md, package.json) — confirm them in 'faf go'.- Library:
suggestIntent(dir, faf?)returns the suggestions with their sources, andsuggestionNote(dir, faf?)returns that line. Suggestions are worked out from the repo each time; nothing is stored.
Changed
- Breaking for library users:
faf initandfaf autono longer writeproject.goalorhuman_context.*. Both were filled from the README and package.json, which put guesses in human slots.assembleFreshFaf,updateExistingFafandauthorFafFromReponow return those slots empty. The score counts only what is inproject.faf, so a freshinitscores lower and honestly. Files you already have are not changed: words in those slots, typed or filled by an earlierinit, stay as they are. - Suggestions are checked before they are shown. Every source goes through one check that rejects markup, headings, link, nav and label rows (any emphasis, an emoji first, one link or several), callouts (
Warning:,Note:…), stray**, lists, TODOs, greetings, licence and install lines, calls to action, quotations, fragments, and anything over 280 characters (rejected, never cut). A long first paragraph gives its first sentence, whole. README headings match whole (## How to installis nothow). A text is offered for one slot only, and so is a text that opens with it. - The README leads the goal, then the package.json description, then Cargo.toml. A notice is never the goal or
what: deprecated or unmaintained, sponsored by, hiring, where the docs are, requirements, moved or mirrored, merch, a question or a status label. A monorepo root's description (monorepo for …,… monorepo root) is not offered. - Relentless no longer suggests misplaced facts or guesses: no package.json scripts as
how, no repository URL aswhere, no "built for …" or "our mission is …" sentence patterns. howmeans how it works: the mechanism, and the choice that shapes the code. The question is "How does it work? (one line)", in line with the format (Wolfe-Jam/faf#20).- The six W's ask for faf-facts: one line, every word earns its place. The questions said "(terse — 3-4 words)". Facts count, not words: short when the fact is short, a full line when it needs one. A
whatseeded from the goal is the goal's whole leading phrase, never cut to five words (a cut left fragments such as "A fast incremental TypeScript type"). whenis the stage it is at, and since when (e.g. "Stable since January 2026; adding Windows support"), not a version and not a usage line.faf conductor importno longer writesproject.goalfrom a config'sdescription. It shows the description and says where to fill in the goal.faf goon a terminal: questions other than the goal and empty W's use readline again (cursor keys, Ctrl-U/W, and Up for this run's earlier answers). With no terminal, piped answers are read in order, and nothing is suggested or written for a piped Enter.@faf/specificationpin moves to5ca91b1(faf#20: thehowdescription).faf taf setuppins faf-taf-git v2.6.0 (Safe Receipts Edition): receipts are never lost, and your checkout is never touched (receipts written in a separate worktree, writers locked, a failed push reported). faf-cli's own CI uses the same pin.
Fixed
faf gono longer writes half a character. Backspace after an emoji removed one UTF-16 unit, so the file got a lone surrogate. Backspace now removes a whole character, the field redraws by terminal column (CJK and emoji 2, combining marks 0), and any lone surrogate is dropped before writing.faf gowith piped input kept only the first line when lines arrived together.- A suggestion no longer competes with words already in the slot (
None,N/A,unknown), and theinit/autocount matches whatfaf gooffers.
Tests: 2714 pass, 0 fail.
FAF defines. AGENTS.md instructs. AI codes.