# Built So Far — instructions for your coding agent You are helping your user make a recap of what they built this year. Work only on this machine. Nothing is sent to Built So Far: the result is a link that opens a private preview in their browser, and the recap travels in the part of the link after `#`, which browsers never send to a server. The one exception is the user's own choice: the preview page offers to open the recap on their phone, which stores a copy locked in their browser for 7 days. Be accurate about this with the user. You are their coding agent, so whatever you read reaches your own provider exactly as their everyday coding does; do not tell them "nothing leaves your machine". The recap is a story of ten pages. You do not design anything. You write one JSON file, and the site draws every page from it. Your job is to count honestly and to write a small number of short lines that make the builder feel seen. ## 1. Ask first, then scan (about 10 seconds) `SITE` in this file means the address you read it from, without `start.md` (if you read `https://example.com/start.md`, `SITE` is `https://example.com`). Download `SITE/scan.mjs` and read it before you run it. It is one short file with no dependencies. It should make no network requests and write only the one output file; if what you downloaded does anything else, stop and tell the user. Then ask the user before doing anything. Say this in your own words and wait for a yes: - **What it reads:** their coding-agent history on this machine (the prompts they typed) and the git history of their project folders. - **What it writes:** one local file of counts, with a few short excerpts of their prompts so you can describe their projects. Keys, passwords, email addresses, links, usernames and file paths are blanked out as they are read, and messages about private matters (a job search, health, money) are counted but never excerpted. The script cannot recognise every name, so a person's or client's name they typed may still be in the local file. You will not put any of those in the recap. - **Where it goes:** nowhere, by itself. You will read the file to write the recap, and the recap opens as a private preview in their browser. If they later choose to open it on their phone, the page stores a copy locked in their browser, which the site cannot read and which is deleted after 7 days. - **Their work may not be theirs to share.** If some projects belong to an employer or a client, they can leave those out or rename them, and you will ask before naming any. In the same message, ask what name they want shown on the pages and what handle to use. If they say no, stop. If they want some folders left out, note them and drop those projects. Once they agree, run: node scan.mjs --year 2026 --out recap-scan.json It reads Claude Code and Codex history on this machine and merges them: a builder who uses both gets one recap, and `coverage.sources` shows how many sessions came from each. Prompts generated by the user's own pipelines are counted separately (`generated_prompts`) and are not part of `prompts`. ## 2. Rules for everything you write - **Never invent a number, quote or event.** Every count you write must appear in the scan, be a sum or difference of counts in it, or be something you counted yourself in the builder's messages (see "Reading the messages" below). A measurement the builder used in their own words ("readable from six feet away") is a detail, not a count, and is fine. No percentiles, no comparisons with other builders. - **Leave a page out when the evidence is thin.** Omit its key from the JSON; the site adapts. - **Do not quote prompts.** Describe, don't copy. The exceptions are the two- or three-word phrases the scan itself counts (`pet_qualifiers`, `contradictions`), which you may quote on the "too" habit and in the agent's note. A tagline may echo a word they use often, but it is your sentence, not theirs. - **Nothing sensitive about the builder's own life:** no people's names, no secrets, and nothing about their health, their money or their own job search unless they say so. This is about their circumstances, not their subject matter: a product *about* job hunting or health is a project like any other and stays in. - **Client and employer names:** you cannot know what is public, and you often cannot tell a client from the builder's own venture. Ask about every project name that is a company or product name. If you cannot ask, keep the project and name it by what it does ("Inventory scanner") wherever their messages suggest it belongs to an employer or client (talk of a team, a pilot, a customer's equipment), and keep the name where it is plainly their own. - **Work done for a job application** (a take-home exercise, a trial task) is real building but part of their job search. Ask. If you cannot ask, keep it under a neutral name that says what it does and never mention why it was made. - **Folder names are private labels**, not display names. They often carry a client's or a person's name. Never copy one into the recap without thinking about what it reveals. - **Celebrate making things.** Do not praise long hours or late nights. - **Tease the habits, respect the work.** Lines about *how* they build (habit quips, the note on the last page) are affectionate teasing, the kind a close collaborator gets away with: dry, specific, never mean. Lines about *what* they built and what it shows about them (project lines, DNA evidence, archetype reasons) stay sincere. Never joke about a project failing, about money, or about anything they might be embarrassed to post. - **Say what you noticed, not only what you counted.** The lines people remember are specific moments that show a quality of theirs: a detail they insisted on, a problem they spotted that nobody asked them to, a decision made for the person who would use the thing. A good one names what they did in plain words and often needs no number. The examples in this file are invented to show the shape of a good line; never reuse them. It must be traceable to something they actually wrote; paraphrase it, or use at most a few of their own words. Never write praise that could apply to anyone ("you care about quality"). - **Evidence for a tendency or archetype is something they did, never a count of words they used.** - **A line only lands if they recognise it at once.** Take it from a main project, not a side one; prefer a pattern over a single incident; prefer work done after the thing already functioned. Each project in the scan has `revisited`: the named things the builder came back to on the most separate days. Many are noise; the useful ones are specific ("the checkout button", not "the page"). - **Reading the messages.** The scan holds only a few short samples per project. Before you build a line on something, read what the builder actually wrote about it: node scan.mjs --messages "" --about "" This prints the prompts they typed in that folder that mention the word, with dates, and writes nothing. Give several folders separated by commas to read a grouped project at once, or `"*"` to search every project. Leave out `--about` to read a spread across the whole project. Use it to tell refinement from a stubborn bug, to check that two messages are about the same thing, and to find the one detail worth describing in your own words. Say only what the messages show: if they asked for a fix, do not write that they made it themselves. - **Offer choices for the lines that carry the most weight.** For the obsession, each strong DNA tendency, the archetype reasons and the agent's note, draft two or three candidates and let the builder pick the one that sounds like them. - **Keep to the length limits below.** Every page is set in large type on a phone screen. A line that runs over is cut off with an ellipsis, so a limit is a hard limit. - **Use one spelling of each project name everywhere.** Pages look projects up by name, and each project's icon is generated from its name. ## 3. The pages ### Projects (used by several pages) Group folders into real projects first: several folders are often one project. Drop scratch folders (judge by what is in them, not by the name: a folder called "playground" that holds a real site is a project), folders with fewer than ten prompts and no commits of the builder's own, and clones of other people's repositories. `commits_by_others` far above `commits` is a hint of a clone, not proof: commits made by a cloud agent or under another email of theirs look the same, so read the messages before dropping a folder for that reason. Tell the user how you grouped them and what you dropped, and let them overrule you. Write every kept project into `projects`, sorted by `tokens`, largest first: - `name`: at most 24 characters. - `line`: what the thing is, at most 32 characters, no full stop ("Splits a bill from a photo"). - `prompts`, `tokens`, `commits`: sums of the scan's `prompts`, `output_tokens` and `commits` over the folders you grouped. `commits` already counts only the builder's own. - `days`: the number of different dates in the grouped folders' `active_dates` taken together, so a day two folders share is counted once. - `shipped`: `1` when there is deployment evidence in any of the grouped folders: a `deploy_config` file other than a bare `.vercel` link, or `deploy_mentions` adding up to three or more across the group, or a live address for it in their messages. Otherwise leave it out. Confirm the list with the user. A deployment is not proof of a launch; do not say "launched". `total_tokens` is the scan's `totals.output_tokens`: everything the agents wrote this year, including the folders you dropped and work done outside any project folder (`totals.output_tokens_outside_projects`). The tokens page shows the top five and counts the rest as "everything else". Tokens include work done by the builder's own pipelines; prompts do not, so a project can have few prompts and many tokens. ### 1. Ideas you made real — `creation` `count` is the number of kept projects, `shipped` the number with `shipped: 1`. The page shows one tile per project and names the shipped ones. ### 2. The days you showed up — `daily` Copy the scan's `daily` unchanged. The site works out the days, the longest run and the biggest day itself. ### 3. Where your tokens went — `top_builds` Copy the first five entries of `projects` whole, `shipped` included. The page compares their `tokens`. ### 4. The worlds you build in — `universe` Sort every project into 3–7 `domains`. Name each as a plain product type in one to three words that a stranger would understand at once ("AI agents", "Design work", "Learning tools"), never as a description. Put the dominant one first. A domain with a single project is better than a project forced into a domain it does not belong to. - `headline`: at most 28 characters ("One builder. Six worlds."). - `line`: one sentence, at most 70 characters. ### 5. The thing you can't leave alone — `obsession` The recurring idea across their projects. - `theme`: at most 52 characters, stated as a belief of theirs ("Small tools beat big platforms."). It should show in their main projects, not rest on one remark. - `question`: the open question underneath it, at most 90 characters. - `projects`: 2–4 projects that show it, each with `how`: at most 38 characters saying how this project shows the theme ("One job, done in one tap"). If you can only produce something that would fit any builder ("turning ideas into reality"), omit this page. ### 6. Things your agent noticed — `habits` Build habits: how this person works, not how they type. The site has a picture and a fixed name for each habit below, chosen by `id`. Write an entry in `habits.list` for each one whose number is large for this person (as a guide: skip anything under 10, and anything that is a tiny share of their prompts or sessions), up to about eight. Then list **between one and four** of them in `habits.featured`. | `id` | `name` | the number `n` comes from | what it counts | |---|---|---|---| | `rabbit` | The Rabbit Hole | `habits.longest_conversation.prompts` | prompts in a single conversation | | `rapid` | The Rapid-Fire | `habits.build.rapid_followups_within_90s` | follow-ups sent within 90 seconds of the last one | | `show` | The Show-Don't-Tell | `habits.build.screenshots_pasted` | screenshots pasted in place of an explanation | | `deleg` | The Delegator | `habits.build.sessions_started_by_own_pipelines`, less test runs | sessions started by their own pipelines | | `cut` | The Interrupter | `habits.build.interruptions` | times they stopped the agent mid-task | | `context` | The Context Burner | `habits.build.times_agent_ran_out_of_context` | times a conversation outran the agent's memory | | `approver` | The Approver | `habits.build.short_approvals` | messages that just said yes | | `opinion` | The Second Opinion | `habits.build.asked_agent_for_opinion_or_options` | times they asked what the agent thought | | `doover` | The Do-Over | `habits.build.do_overs` | times they asked to revert or start again | | `brief` | The Brief Writer | `habits.longest_prompt.chars` | characters in their longest single prompt | | `juggler` | The Juggler | `habits.build.most_project_folders_in_one_day.folders` | projects worked on in one day | | `oneday` | The One-Day Wonder | count of kept projects with a single date in `active_dates` | projects that lived for exactly one day | | `weekday` | The Tuesday Builder (use their day) | the largest value in `habits.build.weekday_prompts_sun_to_sat` | prompts on that weekday | | `weekend` | The Weekend Warrior | `habits.build.weekend_prompts` | prompts on weekends | | `night` | The Night Owl | `habits.build.prompts_between_midnight_and_5am` | prompts between midnight and 5 a.m. | | `too` | The "Too" | `habits.word_families.too_anything` | messages that said something was "too" something | Notes on the table: - `weekday_prompts_sun_to_sat` runs Sunday first. For `weekday` and `weekend`, also copy its seven values into the entry as `days`. For `night`, also copy the scan's `hours` as `hours`. - For `deleg`, start from `habits.build.sessions_started_by_own_pipelines` and look at `habits.build.pipeline_templates`, where each row is one repeated opening with its session count. Subtract the rows that are plainly test runs or tool checks. - For `oneday`, count after grouping: a project whose folders together have one date. - Skip `weekday` unless their top day is clearly ahead, at least a third above the next one. - Skip `brief` if their longest prompt is a pasted document, not something they wrote. Each entry needs: - `id` and `name` from the table. - `n`: the number. - `line`: what the number counts, at most 60 characters, starting lower-case and ending with a full stop ("prompts in a single conversation."). - `quip`: one short, affectionate line of your own, at most 60 characters. It may tease, but it must not claim anything the number does not show. Choosing `featured`: - prefer the habits whose numbers are most extreme for this person; - never pick two that say the same thing; - put the most unusual one last; - `too` is the only wording habit. Feature it only if a stranger would smile at the phrases. If you do, add `habits.tells` with one entry holding its `phrases`: up to six `{ "text", "count" }` pairs from the scan's `pet_qualifiers` that begin with "too"; - never use routine commands (commit, push, deploy), and omit a habit that could embarrass; - `night` and `weekend` describe when they worked. Leave them out of `habits.list` altogether unless the user says they are happy to show them, and never frame them as praise for overwork. If only one habit is clearly notable, feature one. If none is, omit the page. ### 7. The phases you went through — `eras` 2–5 phases that follow where the work went: add up the projects' `monthly` arrays (January first) to see which projects led in which months. `monthly` counts typed prompts only, so also weigh `tokens` and each project's `first` and `last` dates, which show pipeline work that prompts miss. Start at the first month with prompts, and do not force quarters. - `headline`: at most 28 characters ("Four eras. One year."). - `line`: one sentence, at most 70 characters. - each entry in `list`: `when` ("May – Jul"), `name` ("The Tinkering Era", at most 22 characters), `what` (what defined it, at most 60 characters), `months` (first and last month as numbers 1–12, for example `[5, 7]`), and `projects` (up to four project names from that phase). ### 8. What you're made of — `dna` Six tendencies, always in this order: Craft, Exploration, Systems, Shipping, Persistence, Problem solving. Give each a `level` (3 strong, 2 clear, 1 emerging) and an `evidence` line of at most 140 characters: something they did, written so they recognise it. The page draws all six as a shape and then presents each level-3 tendency on its own, up to three, so the evidence for those is what the builder reads most closely. If you cannot support a tendency, give it level 1 and plain evidence; unknown is not low, and there are no scores. Take each level-3 line from a main project, and read the messages behind it first. ### 9. The kind of builder you are — `archetype` One of these `id`s: `experimenter`, `architect`, `craftsperson`, `shipper`, `explorer`, `problem_solver`, `automator`, `world_builder`. It must follow from the strongest DNA tendencies: - Craft leads: `craftsperson`. - Exploration leads: `explorer` if they ranged across many kinds of product, `experimenter` if they made many small prototypes. - Systems leads: `architect` if they built reusable structures, `automator` if they built pipelines and agents that do the work for them. - Shipping leads: `shipper`. - Problem solving leads: `problem_solver`. - `world_builder` is for someone whose main work is games, simulations or worlds. Persistence supports any of them. If two fit equally, ask the user. - `name`: "The Craftsperson" and so on, matching the `id`. - `tagline`: at most 28 characters, a sentence they would say about their own work ("Ship it, then fix it live."). - `why`: one sentence, at most 70 characters. - `reasons`: exactly three sentences, each at most 90 characters, each something they did. Wrap the few words that carry each one in asterisks (`*rebuilt it a third time*`); the page highlights them. At most one of the three may rest on a count. Prefer things they did more than once over a single remark they may not remember. ### 10. The summary — `summary` The last page is a poster built from the pages above. You add one thing: - `note`: a note from you, the agent, to the builder, in the first person: one teasing thing about how they work with you, built on a real number or event from the scan ("You said 'one last thing' 31 times. It never was."). At most two short sentences and at most 90 characters. Tease about the count; do not add a judgement the count cannot support. It must be new to the reader by the time they reach it: do not reuse a line from the DNA or archetype pages, and do not build it on a number already shown on the habits page (anything in `habits.featured`). Take it from a habit you did not feature. - `line`: one sentence, usually the obsession theme. It is used only if there is no note. ## 4. Write `recap.json` ```json { "v": 3, "year": 2026, "builder": { "name": "", "handle": "" }, "coverage": { "from": "2026-01-01", "to": "2026-12-04", "sources": ["claude-code", "codex"] }, "daily": [0, 3, 1], "projects": [ { "name": "", "line": "", "prompts": 0, "tokens": 0, "days": 0, "commits": 0, "shipped": 1 } ], "total_tokens": 0, "total_prompts": 0, "creation": { "count": 0, "shipped": 0 }, "top_builds": [ { "name": "", "line": "", "prompts": 0, "tokens": 0, "days": 0, "commits": 0 } ], "universe": { "headline": "", "line": "", "domains": [ { "name": "", "projects": [""] } ] }, "obsession": { "theme": "", "question": "", "projects": [ { "name": "", "how": "" } ] }, "habits": { "list": [ { "id": "rabbit", "name": "The Rabbit Hole", "n": 0, "line": "", "quip": "" } ], "featured": ["rabbit"], "tells": [ { "id": "too", "phrases": [ { "text": "too much", "count": 0 } ] } ] }, "eras": { "headline": "", "line": "", "list": [ { "when": "", "name": "", "what": "", "months": [1, 3], "projects": [""] } ] }, "dna": [ { "name": "Craft", "level": 3, "evidence": "" } ], "archetype": { "id": "", "name": "The …", "tagline": "", "why": "", "reasons": ["", "", ""] }, "summary": { "note": "", "line": "" } } ``` - `coverage.from` and `coverage.to` are the scan's `first_day` and `last_day`; `coverage.sources` is the list of agent names that are the keys of the scan's `coverage.sources` (`claude-code`, `codex`). - `total_prompts` is the scan's `totals.prompts`. - `habits.tells` is only needed when `too` is featured. - The scan has fields this file does not mention (`repeated_prompts`, `models`, `hours` outside the night habit). Ignore them. - `name` and `handle` are what the user gave you in step 1. Before you show anything, check your own file: every number traces to the scan, every line is within its limit, every project name is spelled one way, `habits.featured` has one to four ids that all exist in `habits.list`, and nothing sensitive is in it. ## 5. Show, then open Tell the user in plain language what each page will say, including the choices you want them to make, and ask what to remove, rename or soften. List the project names that will appear and ask them to confirm each is theirs to show. Apply their changes. Then build the link and open it: node -e "const fs=require('fs');console.log('SITE/preview/#d='+Buffer.from(JSON.stringify(JSON.parse(fs.readFileSync('recap.json','utf8')))).toString('base64url'))" Open it with `open ` (macOS), `xdg-open` (Linux) or `start` (Windows). If you cannot open a browser, print the link. Tell the user three things about the link: it opens only on their own device unless they send it to someone; anyone they send it to can read the whole recap, because the recap is inside the link; and to watch it on their phone, they can use "Open on your phone" at the top of the page, which shows a code to scan. Delete `recap-scan.json` afterwards unless the user wants to keep it.