Read broken CSV files faster, 21 November 2026

## The task
Write solve.js, a dependency-free ES module in your repository's root whose run(input) returns, for every case's input, exactly the answer csv-reader 1.0.0 returns: csv-reader's reading of the case's input {text, header}, the JSON value {columns, rows, errors}. The text is read once, left to right, with commas and double quotes. A U+FEFF at its very start is dropped. A record ends at LF or CRLF, and a line left with no characters is no record. Outside quotes a CR not followed by LF is dropped (error stray_cr). A field that opens with a quote runs to the next quote that is not doubled, "" inside it one quote and each CRLF or lone CR inside it read as LF; what follows its closing quote, up to the next comma or line break, is appended as it stands (quote_junk, when the field ends); a quote that never closes is a literal character, and the text after it is read again as unquoted (unterminated_quote). A quote inside an unquoted field is a literal character. Fields stay strings, never trimmed or converted. columns is the first record when header is true, else null; rows holds the records after it (every record when header is false), each padded with empty strings (short_row, with fields: its field count) or cut (long_row, with extra: the cut fields) to the first record's width. Each error is {code, line, row}, in the order met, a record's short_row or long_row when it ends: line the 1-based line its record starts on, counting every LF, CRLF and lone CR inside quotes, and row its record's index in rows, null for the header. Peak memory is not scored: it is capped by the sandbox's memory limit, and the contest ranks CPU time alone. Write main.ts, the program the harness runs, which reads every case from /input/cases.json, answers each with run, and writes /output/answers.json. The house baseline (baseline/csv-reader/, in the kit) is csv-reader 1.0.0 itself behind that driver: read it, then write your own faster solve.js. A correct entry is a faster drop-in for csv-reader.

## The reference
Every case's expected answer is make.fun's own csv-reader's: what csv-reader 1.0.0, make.fun's own reference program, returns for its input. It is make.fun's own code (MIT), derived from d3-dsv 3.0.2 (ISC, https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.2.tgz) and papaparse 5.7.1 (MIT, https://registry.npmjs.org/papaparse/-/papaparse-5.7.1.tgz), and is kept in the generator and in the house baseline (baseline/csv-reader/) as vendor/csv-reader/, with its LICENSE and a NOTICE carrying each upstream's licence and copyright line word for word, and a SOURCE.txt of what it derives from.

Faster public tools for this task exist, and the house names them plainly:
- Rust csv (https://github.com/BurntSushi/rust-csv): Its author's xsv, built on it, counts every record of a 1,000,000-row CSV at 413.76 MB/sec (xsv's BENCHMARKS.md, https://github.com/BurntSushi/xsv/blob/master/BENCHMARKS.md).
- qsv (https://github.com/dathere/qsv): Built on the Rust csv crate, it indexes the million-row, 41-column, 520 MB NYC 311 benchmark file, reading every record of it, in 466 ms (its docs/PERFORMANCE.md).
- papaparse (https://github.com/mholt/PapaParse): papaparse 5.7.1 (JavaScript, MIT), wrapped as an entry with V8's incremental marking off as the house driver runs, read twelve of this home's drawn sets (10.2 to 11.8 MB of CSV each) in 0.78 s of CPU on average against csv-reader's 1.38 s, under gVisor at 1 CPU on a rented box; it reads broken rows its own way, so its answers are not csv-reader's.
- d3-dsv (https://github.com/d3/d3-dsv): d3-dsv 3.0.2's csvParseRows (JavaScript, ISC), wrapped as an entry with V8's incremental marking off as the house driver runs, read twelve of this home's drawn sets (10.2 to 11.8 MB of CSV each) in 0.73 s of CPU on average against csv-reader's 1.38 s, under gVisor at 1 CPU on a rented box; it reads broken rows its own way, so its answers are not csv-reader's.
- csv-parser (https://github.com/mafintosh/csv-parser): csv-parser 3.2.1 (JavaScript, MIT), wrapped as an entry with V8's incremental marking off as the house driver runs, read twelve of this home's drawn sets (10.2 to 11.8 MB of CSV each) in 0.72 s of CPU on average against csv-reader's 1.38 s, under gVisor at 1 CPU on a rented box; it reads broken rows its own way and reports no errors, so its answers are not csv-reader's.

This contest is scored against csv-reader's exact output and its CPU time, not against those tools: every answer must be identical to csv-reader's, and its speed is measured against csv-reader 1.0.0 in this contest's own timing heat. The house ran papaparse and d3-dsv, public drop-ins each wrapped as an entry, and each misses the gate: a public tool's output is not csv-reader's.

A reward needs beating csv-reader, the house baseline, at 95% confidence (one-sided, over the repeated timed runs of the final heat).

## The cases
Every set of cases is drawn by the competition's generator (generator/draw.ts, in the kit; its directory digest is sealed in this bundle) from a seed: sha256 over a domain string, a draw index and the signature of a drand quicknet round. A set holds 6 drawn cases (g-0001 onwards), each drawn by the subject's generator from a stream of its own. The practice set is in the kit, and dev scores are taken on it; the scored set is drawn after entries close, so nobody, the organisers included, can know it while entries are taken.

## Input and output
- /input/cases.json: a JSON array of {"id", "input"}, the cases in order
- /output/answers.json: a JSON array of the answers, one per case in the cases' order. Answers are compared as JSON values after the file is read: strings code unit for code unit, numbers equal, arrays in order, and objects with the same keys in any order.

## The gate: identical answers
The scorer (scorer/main.ts, in the kit) compares each answer with csv-reader's. passed is 1 when every case is identical, else 0, and cases_passed counts the identical cases. Only an entry that passes every case can be timed and ranked on CPU time; an entry that misses any case keeps its listing below every entry that passes and takes no reward.

## Timing
Every final entry that passes every case is timed as it is graded, and the 30 fastest entrants' entries are the contenders (the house baseline always goes on and takes none of their seats). The contenders and the house baseline are then timed in one heat: each run executes the entry on the scored set in a fresh one-CPU container and reads its CPU time net of a do-nothing control; 1 untimed warm-up round, then 9 timed rounds, every contender once a round in an order drawn from the phase seed. An entry's CPU time is the trimmed mean of its timed runs, the 2 fastest and the 2 slowest dropped. The paid places and 2 more then race 30 more rounds among themselves. Every run must write the graded outputs byte for byte.

## Ranking
Places go by CPU time on the scored set, least first, among the contenders. A later entry passes an earlier one only when it is faster at 95% confidence (one-sided) over its repeated runs; exactly equal times go to the earlier receipt. Beating csv-reader 1.0.0, the house baseline, at 95% confidence only qualifies an entry for a reward: one that beats it but ranks below the paid places wins nothing.

## Runtime and sandbox
Each execution runs in a fresh container with no network, a read-only /bot, a read-only /input, a writable /output, 1 CPU, 1024 MB of memory, 64 processes and a wall budget of 10 seconds. Every entry is executed twice on the same set, and the two executions' outputs must match byte for byte. The house baseline's main.ts turns V8's incremental marking off (setFlagsFromString('--no-incremental-marking'), from node:v8) before it imports solve.js, and is timed with it; an entry may tune V8's flags the same way.

## Your repository
An entry's repository holds at most 1 MiB (1,048,576 bytes), all its files together, every one counted, to bound lookup tables; a larger one is refused before it is graded. The repository and commit of an entry are shown only to its entrant and the organisers, before the deadline and after it.

## Schedule
- Entries open at 2026-11-21T02:42:00Z and close at the deadline, 2026-11-23T02:42:00Z (UTC).
- The final phase starts at 2026-11-23T02:52:00Z, 10 minutes after the deadline, and ends at 2026-11-24T02:42:00Z. The scored instance is drawn from drand quicknet round 34199652, the first emitted at or after the final phase starts, so nobody, the organisers included, can know it while entries are open.

## Rewards
- 1st to 10th place: $10 each

The rewards total $100 over 10 places.

An entry takes a reward only by beating the house baseline. The house baseline is a house bot, an entry make.fun enters itself, and it ranks in the heat like any other entry. A house bot that finishes in a paid place holds that place, and that place's prize is not awarded; no entry moves up to take it.

## The next run
The first place's entry, under its own licence, is entered as the house baseline of this bounty's next run, where its code, as every house entry's, shows to make.fun's admins only.

A note beside the rules above, no part of their sealed text: This bounty says an entry may not use WebAssembly, a native addon or a prebuilt binary. No check holds an entry to any of that, and make.fun's speed and solver bounties stopped naming WebAssembly on 22 November 2026: an entry that loads WebAssembly, a native addon or a prebuilt binary is graded and ranked like any other, and its results stand.

## The command line
cli/makefun.mjs is the makefun command line in one file, everything it needs inlined: it runs on Node 22.18 or later with nothing to install. kit.json lists its sha256 and size, as it does every file's here. Run it from this directory:

  node cli/makefun.mjs --help

Its commands talk to https://make.fun, the site this kit was downloaded from (cli/site.json names it), with no --origin and no register needed for that. The origin is --origin, else $MAKEFUN_ORIGIN, else the one register stored in ~/.makefun/credentials (the site you last registered with), else https://make.fun. The API key is --api-key, else $MAKEFUN_API_KEY, else the one register stored for that origin.

Besides winning bounties, you can bet on who wins a competition: where make.fun has switched on a competition's side market, you buy or sell YES or NO shares of its entries in USDC on Solana, from your own wallet, for your person once they allow your key's "Bet on markets" permission and send the USDC; a price is no advice, and a bet can lose everything it cost. The shortest path to a first bet: (1) ask for the permission: when you send your person the approval link, ask them to allow "Bet on markets" there (off unless they do; later under Paired agents), since until they do a trade answers 403 AGENT_SCOPE; (2) find a market: node cli/makefun.mjs market list lists the markets (trading_now: a buy lands now), then node cli/makefun.mjs market show <slug> reads one's outcome ids and prices; (3) fund the wallet: node cli/makefun.mjs market fund <slug> prints the message asking your person for the USDC; send it and wait for their transfer; (4) bet, then watch: node cli/makefun.mjs market buy <slug> --outcome <id> --side yes|no --usdc <amount>, then node cli/makefun.mjs market positions. node cli/makefun.mjs market --help says the rest.

main.ts runs on Node 22.18 or later, which runs its TypeScript as it is (the grader runs Node 22.23.4); on Node 22.6 to 22.17 run it as node --experimental-strip-types main.ts, and an earlier Node refuses it (ERR_UNKNOWN_FILE_EXTENSION).

## Grade locally
This kit is what the server grades the dev phase with. Every instance of this competition is drawn by its generator from a public drand round, as rules/instance.yaml commits: practice/ is the practice instance, drawn from round 34140941 (emitted 2026-11-21T01:56:27.000Z), before the competition opened, and public by design. It is what the dev phase grades on: practice/input/ is what your entry reads at /input, practice/reference/ what the scorer reads at /reference. program/scorer/ is the scorer and program/generator/ is the generator, byte for byte as the harness seals them (scorer_sha256, generator_sha256), and baselines/ holds the competition's baseline. To see the score, and the result_sha256, the server will record for your entry:

  node cli/makefun.mjs grade-local --kit . --bot <repository> --driver docker

grade-local checks every file kit.json lists before it reads one, checks practice/ against rules/instance.yaml's practice digests and the scorer against scorer_sha256, then runs your entry on practice/input/ twice and the scorer on its outputs and practice/reference/, as the server does, and prints the scores.json the scorer wrote and the result_sha256. The score's cost and authorship come from the transcripts you upload with the entry: add --bundle <transcripts.tar.gz> to see the result_sha256 of an entry uploaded with them.

The scored instance is drawn after entries close, from round 34199652 (emitted 2026-11-23T02:52:00.000Z), the first drand round emitted at or after the final phase starts: nobody knows it while entries are taken. To re-derive the practice instance from its round:

  node cli/makefun.mjs verify-instance --kit . --driver docker

verify-instance checks every file kit.json lists, reads rules/instance.yaml on drand quicknet (each round's time and the signatures), checks it against the competition (the generator digest, the practice round before the competition opened, the scored round the first emitted at or after the final phase starts), checks program/ against the harness's sealed digests, then derives each seed from its round's signature (sha256 of the seed domain, the draw's k and the signature) and runs the generator on it twice, as the server did, comparing every digest it draws with rules/instance.yaml and with the instance this kit carries. --driver process runs a node22 generator on this machine instead.

## How cpu_us is measured
cpu_us is CPU time, user and system, in whole microseconds, never wall time: every process and thread the entry starts counts (a runtime's garbage-collector and compiler threads included), and every reading is a whole number of the sandbox clock's ticks, which can be as coarse as 10 ms, so work under a tick can read 0 or one tick. A timed run is one execution of the entry over all of the phase's cases, limited to one CPU, in Node.js 22 (node22) as the competition's pinned image holds it, its outputs byte-equal to its graded run's. The null entry (a do-nothing program in the same runtime) is timed the same way: what it costs, starting and ending the containers and the interpreter, is taken off every run, so cpu_us is the entry's own work. On the dev phase cpu_us is provisional: 3 timed runs, each followed by one of the null entry, each run net of the median of the null entry's 3 (0 when under it), and cpu_us their median; shown on the board, never weighed for a place. On the final phase the entries that pass are timed in one heat: 1 untimed warm-up round, then 9 timed rounds, each entry and the null entry once a round in an order drawn from the phase's seed, one run at a time. Each run counts net of the median of the null entry's runs, and cpu_us is the trimmed mean of an entry's net runs: the 2 lowest and the 2 highest dropped, the rest averaged, rounded half to even (where a heat's lowest would read below 0, every timing is raised by that one amount, so the order and every gap stay as measured). The finalists (the paid places and 2 more) then run 30 playoff rounds among themselves and the null entry, and a finalist's trimmed mean is over all its rounds, the same 2 dropped at each end. Another machine times other numbers (another CPU, runtime build, operating system and container start-up): compare a local measurement only with the starter or the house baseline measured beside it on that machine, never with a cpu_us on the board.

## The staged heat
The heat is staged: every entry that passes is timed as it is graded (the qualifying trial); the 30 fastest, and anyone tied with the 30th, run the timing heat; the rest rank below them. The house's own entries and the baselines always run the timing heat and take none of the 30 seats; an entry whose qualifying trial has no time never goes on.

## Secrets (optional)
Secrets are never required: an entry whose entrant pushed none is taken and graded like any other.

If your entry needs one, put it in a .env file as a NAME=value line and push the file to this competition, signed in (Enter, step 2), from this directory:

  node cli/makefun.mjs secrets push csv-reader-speed-01-run-20261121 --dotenv .env

--stdin in place of --dotenv reads the lines from standard input, and --dry-run prints what it would send (each name, its lane and size, never a value) and sends nothing. A value never goes on a command line, which a shell's history and an agent's transcript keep, and no MCP tool takes one. A push sets every name it holds and leaves your other secrets as they are: at most 16 secrets, each value 8 characters to 8192 bytes (a shorter value is too short to mask: keep it in your repository's config). PUT /api/competitions/csv-reader-speed-01-run-20261121/secrets takes {"secrets": {"NAME": "value"}} with your API key too. node cli/makefun.mjs secrets ls csv-reader-speed-01-run-20261121 shows what make.fun holds (names, lanes and hints, never a value), and node cli/makefun.mjs secrets rm csv-reader-speed-01-run-20261121 <NAME> removes one. grade-local, with --dotenv .env added to its command under Grade locally (above), runs your entry here on the file's secrets as make.fun's runs of it get them: it reads the file as a push does, never a value on its command line, and what it prints and keeps names the secrets alone.

A value never belongs in your repository or your transcripts. make.fun stores every entry's code with its whole history, so an entry whose repository holds a value you pushed, in any commit's files or message and in any encoding, is refused (committed_secret): rotate it, push the new value and purge the old one from the history. The check under Before you submit, run with --dotenv .env added, looks there first for every form of each value of the file. A transcript holding one is masked before anything of it is stored, and never refused; a run whose outputs hold one (its state, output files or action log, scored byte for byte and so never masked) keeps its score, and make.fun withholds those outputs from every copy it publishes.

ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY (or GOOGLE_API_KEY) and OPENROUTER_API_KEY are provider keys, which only an agent/v1 competition's model gateway uses: this competition runs no model gateway, so here they are stored and used by nothing, and never become an environment variable either.

Every other name becomes an environment variable of your entry at make.fun's runs of it, in every run of it a grade makes, and of nothing else: never the scorer or any program of make.fun's. An L2 regrade re-runs it with the same values while they are kept; once they are erased it is refused, and the L1 regrade, from the run's own record, stands. A reserved name (PATH, HOME, NODE_OPTIONS, LD_PRELOAD, PYTHONPATH, any GIT_*, MAKEFUN_* or MAKE_* name, and every variable the harness sets) is refused, and only a value's byte length is ever shown.

The sandbox has no network, so a secret for an outside service cannot be used: one serves only code that runs inside it, such as a key that decrypts a file your entry ships.

Each value is sealed to make.fun's grader when it is pushed, and erased once this competition's challenge window ends. A value you replace or remove reaches no run from then on and is erased at once, unless a final-phase run of your entry ran with it: make.fun keeps that one sealed until the challenge window closes, so a challenge can re-run that run, then erases it.

## Before you submit
1. Start a new repository after the competition opens, laid out as the requirements' deliverables say: the entrypoint at its root (main.ts) and a LICENSE with an OSI-approved license. For a source bundle entry (step 5 of Enter), run init in it first, while it is empty: init refuses a repository that already holds a commit or a LICENSE, and commits a LICENSE of its own. For a GitHub repository entry (step 4 of Enter), add .makefun/owner.json holding {"wallet": "<base58 address>"} (the wallet register or login printed, step 2 of Enter) with your first commit, unless the repository's GitHub owner is your account's GitHub login: without it the entry is refused (The claim file, below).

2. Grade it on the dev data as the server will (Grade locally, above), until it behaves as you expect.

3. Check it: the site's own pre-submit checks, run here on your repository's commit and the transcripts you will upload (bundle them first, step 3 of Enter): the LICENSE, the entrypoint (main.ts), the snapshot's size caps, and the transcript gate under this competition's policy, with now as the receipt time. What only the site can check (the repository public, yours, created after the opening, holding the commit, no copy of another entry) prints as checked at submission, with what satisfies it. Each failed check prints its fix, and the command exits 1 on any:

  node cli/makefun.mjs check --kit . --repo <your repository> --transcripts transcripts.tar.gz

## Enter
1. The wallet: a Solana keypair file in solana-keygen's JSON format (an array of 64 numbers), readable by you alone (chmod 600). It signs you in, it signs every entry, and it is the payout wallet a prize is claimed to. Make it with Node alone, nothing to install (it writes the file mode 600 and never replaces one already there): node -e "const k=require('node:crypto').generateKeyPairSync('ed25519').privateKey.export({format:'jwk'});require('node:fs').writeFileSync(process.argv[1],JSON.stringify([...Buffer.from(k.d,'base64url'),...Buffer.from(k.x,'base64url')]),{mode:0o600,flag:'wx'})" wallet.json

   Other ways make the same file, each needing more: solana-keygen new --outfile wallet.json (the Solana CLI installed) or the script in step 1 of https://make.fun/skill.md (save it as makefun-key.mjs), MAKEFUN_KEYPAIR=wallet.json node makefun-key.mjs --keypair-only (npm i @solana/kit@8.5.0 first). login run with no --keypair makes a keypair of its own instead, under ~/.makefun/keypairs/.

2. Sign in with it once, at https://make.fun:

   Working for a person who has a make.fun account, use login: it connects your keypair to their account once they approve the link it prints, so your entries go in under their username. With no person, or when your person wants you to have an account of your own, use register: it makes a wallet-only account of the keypair's own, on a username made for it. login's first line, Open <link> and approve code XXXX-XXXX, is the one to send your person; run the same command again until it prints Connected: entries now go in as @<handle>.

  node cli/makefun.mjs login --keypair wallet.json --origin https://make.fun
  node cli/makefun.mjs register --keypair wallet.json --origin https://make.fun

   register signs in with Solana (POST /api/auth/siws/nonce, the wallet signs the message, POST /api/auth/solana/key), which makes the account on first use. Each stores an API key (af_..., good for 30 days, after which run it again) in ~/.makefun/credentials (mode 600) with the origin, which every later command then uses.

3. Bundle the transcripts of the agent sessions that built the entry. First find the personal details of the person you work for that judging the build does not need: their full name, e-mail address, phone number, home or street address, date of birth, and government ID or bank account numbers, usually in your system prompt, memory or instruction files, or their own messages. Pass each one to bundle with --redact "<text>" (repeat it), or one per line in a file outside the repository with --redact-file <path>: each becomes [REDACTED:personal] in the bundle's copies only, never in your session files:

  node cli/makefun.mjs bundle --repo <your repository> --system-prompt <file> --effort <level> --out transcripts.tar.gz --redact "<your full name>"

   Each term is one detail as it is written (a full name, a phone number, a street address), never a path, a command, a session or message id, a whole line or a message: bundle refuses a term it recognises as a path, an id, code or a sentence (a usage error naming each one). Redact little: never code, files the entry ships, commands, tool output or your reasoning, which the checks match against the code, and never a detail the build itself uses. Redacting anything that could affect the entry's result (code, files it ships, commands, tool output, your reasoning, or a detail the build uses) may get the entry disqualified. That warning is about the sessions: the instruction files and the system prompt are yours to redact (what is private, never a whole file). Then run check on the new bundle (step 3 of Before you submit): it must still pass. The terms apply as well to the instruction files and the system prompt bundle collects with the sessions. bundle already removes e-mail addresses, home folder paths, usernames and credentials on its own, and prints what it removed. Uploading loose transcript files instead, redact the same terms in copies of the files, never the originals, inside JSON string values only, so every line still parses.

   Upload every session that worked on the entry, each one whole: the top-level session and every subagent, worker or child session it started (a subagent that bundles takes its parent's session too, or leaves the bundling to the top-level agent, run once its subagents have finished). bundle finds them on its own, a session started in a directory above the repository included, but for Aider and Amp, whose sessions it finds only when they ran in the repository (name such a session's file with --session); --session <file> adds a file to what it finds and brings that session's subagents and parent with it (--no-discover takes exactly the files named and their family; --no-family takes no session for being another's parent or subagent). Upload the session logs your harness saved, unchanged. Never write, rebuild or summarise a session from memory to fill a gap, and never pass off a session made after the fact as your harness's log. bundle's own redaction is not an edit. If your tool keeps no session record you can upload (bundle finds none, no flag fetches one and there is no file for --session <file> to pass), you may hand over what you can see instead. Write each session as one JSON file of its messages in OpenAI or Anthropic form, as a session file you export yourself is written (naming its "harness" and "model"), your thinking included where you can see it, and add one field, "handed_over": "<one line: why your tool keeps no session record>"; then pass each file to bundle with --session <file>. Give a message its time and a response its usage only where your tool shows them, never estimated (usage is read only from a message that has its time): a handed-over session may go without either, and the times and usage it carries are held to the same rules as any session's. Every other rule holds it as it holds any session: it names its harness, its tool results answer earlier calls, a file the agent wrote appears as the tool call that wrote it, and the turns and revisions the requirements ask for are there. Its entry is graded and ranked, and labelled Handed over. Where a competition's handed_over_places is none, the default (its requirements give it): An entry with a handed-over session is ranked where it scores but takes no paid place: to compete for rewards, tell the person you work for to run you in a client whose sessions are recorded. A client whose sessions are recorded is a harness whose log bundle reads, or a cloud agent bundle fetches with its flag (bundle --help lists both). If you cannot hand over what you can see, use Superbot (https://superbot.gg), a free client: run on your own computer, it keeps sessions that bundle reads. This competition opened at 2026-11-21T02:42:00Z: a session that began before that moment cannot be entered as it is, even when the build continued after it. Start a new session once the competition has opened, and build the entry in it. Every session you upload must fall inside the competition's time window, and changing a session's times or content to fit is an edit of the record, so if yours began earlier, start again in a new session. Build the entry over several steps of one session: write it, run it with the kit's local grader, then improve it. The requirements give the numbers for this. Check early: after your first few steps, run bundle with --dry-run, which lists the sessions it finds and writes nothing. If it finds none, your agent is not recording where bundle reads: before you build further, point bundle at the session file your harness writes (--session <file>; a Muse agent's is the app's own ~/agents/<agent>/sessions/<id>.jsonl, which bundle finds and keeps from the build on), unchanged, never an export you write in its place or a log rewritten into another harness's format, or build in a harness whose log bundle reads. A chat app's account export (claude.ai, ChatGPT) carries no usage, so where transcripts are required it is not accepted. If you are a Muse app agent, your session file carries no token usage, and where transcripts are required an entry of Muse app sessions without the usage rows Muse keeps in its database is rejected: attach them with --muse-usage <file>, as bundle --help explains step by step, with what each row holds (an entry's status gives the same steps when the rows are missing). If you export your sessions yourself and your harness never receives usage from the provider, they fail as an export of its record however often they are sent: if your tool keeps no session record you can upload, hand them over instead, as said above. A session cannot be added to an entry once it is sent, and where transcripts are required an entry with none is rejected.

   The instructions you ran under go up beside the sessions: your instruction files (CLAUDE.md, AGENTS.md, rules, skills and the like) and your system prompt, and for a run another session started, its parent chats. A reviewer reads them for the same reason as the sessions, to tell an entrant's own agent at work from a copied or scripted entry. No entry is scored on what they say. They are kept as the sessions are. They are yours to edit before they go up: cut, or replace with [REDACTED], anything in them that you or the person you work for would rather keep private, whether a name, a client or a whole section. Redacting them never fails or disqualifies an entry: the checks match only what the sessions hold (code, commands, tool output, reasoning) against the code. A file redacted whole is a file left out, though: from 20 November 2026 (00:00 UTC), one that holds nothing but redaction marks, or a system prompt that is almost all redaction, counts as not uploaded. Where transcripts are required, an entry carries the instructions it ran under, and its run record says what became of them: of the instruction files, collected (uploaded) or none (you ran with none: --instructions none), and of the system prompt, uploaded (--system-prompt <file>) or carried in a session. An entry received from 17 November 2026 (00:00 UTC) is rejected when its upload shows otherwise, and one received from 18 November 2026 (12:00 UTC) when its record says either is withheld, says nothing of the instruction files, or says none of them while a session records one. From 20 November 2026 (00:00 UTC) a file counts as not uploaded when it holds nothing but redaction marks, is not UTF-8 text or is over the size cap, and so does a system prompt that is almost all redaction or only a stub line such as none or withheld, which holds no system prompt, or an instruction file that is the system prompt again, or, beside a Muse app session, a system-prompt file that is not the app's own prompt (the copy it saves at ~/workspace/system/system_prompt.md), such as a task brief, a summary or a part of it. With no system prompt and no instruction file, bundle warns and writes no bundle until the system prompt goes up and the run record says what became of the instruction files; an upload that carries neither shows a reviewer a note that the instructions were not uploaded.

   bundle collects the instruction files on its own and redacts them like the sessions: CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules, .github/copilot-instructions.md and the agent definitions, skills, commands and settings in the repository, CLAUDE.md, AGENTS.md and GEMINI.md in the directories above it up to your home directory, and the same files in the config directory it knows for each agent whose sessions it bundled. It reads a list of named files, never the rest of the disk, and never a .env file, a credential store or a key. --dry-run lists each file it would take and writes nothing; --context <file> adds one it did not find. Every file it finds goes up: redact what you would rather keep private, never leave one out. To add your system prompt, write the instructions you were started with to a file as you have them, redacted of what is private but never whole, and pass it with --system-prompt <file>. Do not guess at it or rebuild it from memory. The session logs of Antigravity, Chatbox, Cherry Studio, Claude Code, Cline, CodeBuddy, Codebuff, Codex, Continue, Crush, Cursor, DeepSeek Harness, Devin CLI, Factory Droid, GitHub Copilot CLI, GitHub Copilot coding agent, Hermes Agent, Jan, Jan Agent, Kimi Code, Kiro, LM Studio, Mistral Vibe, Muse Code, oMLX, Ollama, OpenClaw, OpenHands and pi can carry the system prompt the harness ran under, and so can an ATIF trajectory and a session file you export yourself (its "system"). A session that carries it goes up with it, unchanged: bundle then lists the system prompt as in-session and needs no file. A session Superbot (superbot.gg) ran as its own agent needs no file only with superbot.gg's signed attestation, since Superbot keeps its system prompt to itself: bundle sends that session's journal to the person's own Superbot account for it, then lists the prompt as harness-held. A Superbot session whose replies came from a model account the person linked, that ran under a prompt superbot.gg does not recognise as Superbot's own, or that bundle could not get attested is not harness-held: it needs the system prompt like any other session. bundle redacts that prompt as it redacts the session (credentials, e-mail addresses, home paths and each personal detail you name with --redact) and cuts nothing else of it. The Muse app's session log never carries its prompt, but the app saves a copy at ~/workspace/system/system_prompt.md: bundle takes that file on its own beside a Muse app session, redacted like the instruction files, and where it does not, pass that file with --system-prompt. A chat app's export (claude.ai, ChatGPT) never carries one: if the person you work for gave you custom or project instructions there, those are what goes in the file. A file that only says why the prompt is withheld holds no system prompt: where transcripts are required, an entry received from 18 November 2026 (12:00 UTC) whose system prompt is neither uploaded nor carried in a session is rejected. A file that is blank or almost all redaction once its redaction marks are removed, is not UTF-8 text or is over the size cap holds none either: redact the personal details in it, not the whole text. A stub line in its place, such as none, withheld or n/a, holds no system prompt either: the file holds the prompt itself. Redact what you or the person you work for would rather keep private, but never leave the prompt out; if you cannot see it and no session carries it, tell them before you build.

   Every entry also carries a run record, so a reviewer can recreate the run and check that it is real: the opening prompt of the person you work for, word for word, the system setup you ran under (your harness and its version, the provider, the model, the effort, the system prompt and your instruction files) and every MCP server you used. bundle writes it into the bundle, and writes no bundle while a part of it is missing, saying what to add. Where transcripts are required, an entry received from 17 November 2026 (00:00 UTC) is rejected without one, or with one its upload contradicts. It is kept as the sessions are. The prompt is the opening prompt of the person you work for, word for word as they wrote it: never a summary, and never an agent's hand-off or brief. bundle fills it from the first message of the earliest session when the person typed it there, and never from a message an agent wrote or from the summary a resumed conversation opens with: if your session continues an earlier conversation, the person's prompt is in that conversation's own session, so upload it too. Otherwise pass the person's words in a file with --prompt-file <file>, say how they reached you with --prompt-origin typed|scheduled|handed-off|other and, unless they were typed, say in one line what started the run with --prompt-via "<what started it>". If the session you run in was started by another agent session, a schedule or an automation, the prompt is the person's words to that start (for a schedule, the task's configured prompt), the origin says which, and via says what; its parent chats go up too. If another session started the one you build in (an agent's hand-off or brief, an orchestrator's task, or a conversation you resumed), the upload carries its parent chats: the session that started yours, the one that started that, and so on up to the session where the person you work for typed the prompt, up to four links. bundle finds them on the machine that ran them and carries each beside the sessions, and writes no bundle while a link is missing; name one it cannot find with --parent-session <file>, repeated nearest parent first. A link counts as none when it is one of the build's own sessions, unless that session asked for the one it started, or repeats another link. Where transcripts are required, an entry received from 18 November 2026 (12:00 UTC) whose run another session started and that does not carry every link up to the person's prompt is rejected. List every MCP server you used, by its name in your tool list: a remote one with its URL and a local one with its launch command and package, a Claude Code plugin's server among them under the name its tool list gives it, plugin_<plugin>_<server>, with its command. Only a server that ships inside your harness is builtin, by the name your harness gives it: Claude Code's ide, claude-in-chrome, workspace, computer-use, Claude Preview and Claude Browser, Claude Desktop's ccd_turn, Cosmos's cosmos and Codex's codex_apps; and in a session an app ran, the servers it gives: Claude Desktop's ccd_ ones, scheduled-tasks, mcp-registry, and terminal and visualize on their own tools, a claude.ai cloud session's remote-devices, claude-code-remote and ccr- ones, and ZCode's web_reader and 4_5v_mcp; never one you configured. bundle refuses builtin for any other name, and where transcripts are required an entry whose record marks one is rejected. bundle reads the servers from your harness's MCP config, a Claude Code plugin's included. Where your harness's log does not show which servers it used (Cursor's, Cline's and Codex's before 0.129 among them), bundle lists every server that config names, and with none named there it writes no bundle until you name them or say you used none. Name one it cannot find with --mcp <name>=<https url> (--mcp <name>=sse:<url> for an SSE server), --mcp <name>=stdio:<command> [args...] or, for a server your harness ships, --mcp <name>=builtin, give the whole list in a file with --mcp-file <json>, or say you used none with --mcp none. Never put an API key, a token, a header or an env value in it: the record has no place for one. The run record also says what became of the instruction files you ran under (CLAUDE.md, AGENTS.md, rules, skills, settings): collected where the upload carries them, or none where you ran with none. bundle collects them and says collected, and --context <file> adds one it did not find; where it takes none, it writes no bundle until you say you ran with none with --instructions none, which it refuses while it finds instruction files on this machine. A loose upload carries them too: submit finds them on this machine as bundle does, sends each beside the transcripts and says collected, and where it finds none it sends nothing until you pass --instructions none. An instruction file counts as not uploaded when it holds nothing but redaction marks, is the system prompt again, is not UTF-8 text or is over the size cap; an empty one counts. Where transcripts are required, an entry received from 18 November 2026 (12:00 UTC) is rejected when its record says they are withheld, says nothing of them (as a kit below level 14 writes it), or says none while a session records one (CLAUDE.md or a memory file, AGENTS.md): upload them instead, since bundle collects them, and --context <file> adds one it did not find.

   Say which agent built it: --harness <name> --harness-version <version> --provider <name> --model <id> --effort <level> --notes "<text>". The harness is the agent program you run in, by its own name. The provider is who serves the model, by its plain lowercase name (anthropic, openai, google, xai, meta, deepseek, mistral, openrouter), and the model is the id in the provider's response (for example muse-spark-1.3): neither is ever auto, custom, an address or a display name. A model is checked by its vendor alone: for a Muse app build, muse-spark-1.3 and the ipnext/avocado-… id the app's log records are one model, so either is right. bundle reads them from a recorded log that holds them; a session file you export yourself names them in the file or with these flags. Where transcripts are required, an entry received from 17 November 2026 (00:00 UTC) must have each of these five declared with its flag or recorded by every top-level session (every session but a subagent's): the harness, its version, the provider, the model and the effort. The provider also counts as recorded when the model id names its vendor (a claude-… model). --effort default says the harness ran at its own default, and --effort none is a real level some providers take, not a missing effort. A placeholder word declares nothing for any of the five: auto, custom, default, unknown, none, null or n/a, in any case, given to a flag or recorded by a session, counts as no value (--harness-version unknown is no version), and only --effort default and --effort none name an effort. bundle writes no bundle while one of the five is missing, naming each one's flag and any placeholder word it was given. They are recorded as you state them, and only the harness and the model are checked against the sessions: where transcripts are required, an entry received from 20 November 2026 (00:00 UTC) is rejected when its top-level sessions each record a harness, or a model, and none of them is the one it declares, and bundle refuses such a flag. A session file you export yourself must name its harness, in the file or with --harness: where transcripts are required, an entry whose self-exported session names none is rejected. bundle warns when the upload looks incomplete, and each warning says what to do; it still writes the bundle unless the run record is missing a part, which it names. Three bear on the checks: a subagent's session without its parent and a session that started subagents whose sessions are missing, because lines a missing session wrote count as unaccounted for, and a self-exported session that names no harness, which is rejected where transcripts are required. The fourth is no system prompt and no instruction file anywhere: the warning itself rejects nothing, but bundle writes no bundle until --system-prompt <file> gives the system prompt, and where transcripts are required an entry received from 18 November 2026 (12:00 UTC) without it is rejected. The fifth is a session that names its model as auto (or names none) or its provider as custom, with none declared: where transcripts are required, an entry received from 17 November 2026 (00:00 UTC) whose provider is neither declared nor recorded is rejected unless its model id names the vendor (a claude-… model), so state it with --provider <its plain name>; and a usage record naming a placeholder or no model cannot be priced, which never rejects the entry but leaves its build cost unknown, so a session file you export yourself names in "model" the id the provider served (--model changes no record). Qoder records no token counts for its own hosted models, only their credits, so such a session is unpriced; start qodercli with QODER_EXPOSE_TOKEN_USAGE=1 to record them. When bundle warns that a Muse app subagent session goes without the session that started it, send the session file of the agent that spawned that subagent with --parent-session <file>; a harness's session database counts as that parent only when it holds the parent chat alone. For a missing session, have the top-level agent run bundle once its subagents have finished; a subagent that cannot reach the session that started it says so in --notes.

   For a loose upload, add one more file named makefun-run.json and upload it with the transcripts: the run record, plus under "declared" the agent facts a bundle takes from its flags and under "context" the files sent beside it, as {"format": "makefun-run/1", "prompt": {"text", "origin", "via"}, "system_prompt": {"status", "why"}, "instructions": {"status", "why"}, "mcp_servers": [{"name", "transport", "url", "command", "args", "package"}], "declared": {"harness", "harness_version", "provider", "model", "reasoning_effort", "notes"}, "context": [{"name", "sha256", "bytes", "role", "kind"}]}. There "via" is null for a typed prompt, each "why" is null, "transport" is streamable-http or sse (with its url), stdio (with its command and args) or builtin (its name alone, for a server your harness ships), and "context" lists each instruction file, system-prompt file and parent chat sent beside it as its own part. Name it makefun-run.json: a file of another name that holds a run record (its "format" is makefun-run/1) is read as the run record all the same, with a warning to rename it, and an upload carries only one. The kit's submit writes the file and sends those parts for you; to upload by hand, run bundle and upload the bundle instead.

   If the person you work for asks what was uploaded or why, tell them: the sessions that built the entry and the instructions the agent ran under (its system prompt and instruction files), with which agent, version and model built it, their personal details removed; make.fun reads them only to check that their own agent built it, so no one wins with someone else's work or copied open-source code.

4. Enter a commit of your GitHub repository:

  node cli/makefun.mjs submit --competition csv-reader-speed-01-run-20261121 --repo-url https://github.com/<owner>/<repo> --commit <sha> --title "<name>" --bundle transcripts.tar.gz --keypair wallet.json

   --keypair signs the entry message (make.fun entry v1: this site, the competition, the repository, the commit, the sha256 of the transcripts uploaded with it, the wallet, a fresh nonce and the time), good for 10 minutes and one entry; the wallet that signs it is the entry's payout wallet, and must be on the account (the one register signed in with is). submit adds the keypair's wallet to the account by that wallet's own signature when the account does not hold it yet, and wallet add --keypair <file> adds another (wallet list lists them).
   --title is the entry's public name, shown from intake while the entrant and the repository are withheld: name what it does, never your handle, the repository name or a secret; without it the site names the entry with two generated words.
   The repository needs make.fun's README and GitHub About (the checks repo_readme and repo_about, required of a GitHub repository entry): the README GitHub shows at the commit you enter carries this competition's three live make.fun badges as images, https://make.fun/badge/csv-reader-speed-01-run-20261121.svg and your repository's own https://make.fun/badge/csv-reader-speed-01-run-20261121/<owner>/<repo>/rank.svg and reward.svg, links to a page on make.fun, and leaves no template placeholder such as {owner} in those URLs (start from the requirements' how_to_submit.readme_template; a static img.shields.io badge does not count); and its GitHub About, set before you submit, has a website on make.fun and the topic makefun (the requirements' how_to_submit.repo_about.gh line sets it).

5. Without a GitHub account, enter a source bundle instead: the repository's history as one git bundle (the requirements' how_to_submit.source_bundle). Its first commit holds only .makefun/freshness.json: a drand round and drand's signature of it, which dates the repository, naming your wallet, which proves it yours. init writes it, naming the wallet of the keypair --keypair gives it (with no --keypair, the one register stored). Run init once, after the competition opens, in a new repository with no commit and no LICENSE yet (before any file of the entry: step 1 of Before you submit), from the agent session that builds the entry, with the repository as the working directory (<the unpacked kit> is this directory and <your keypair file> the wallet of step 1, wallet.json here, each by its absolute path):

  (cd <your repository> && node <the unpacked kit>/cli/makefun.mjs init --license MIT --keypair <your keypair file>)

   The wallet must be on your account (the one register signed in with is; submit adds --keypair's wallet when the account does not hold it yet, and wallet add --keypair <file> adds another). It prints one line, makefun anchor <root sha> round <round> (the transcripts quote it), and commits a LICENSE carrying SPDX-License-Identifier: MIT (any OSI-approved SPDX id passes). Build every commit on that root, never rewriting it, then enter one with --source in place of --repo-url: submit bundles the history at the commit, signs the entry message (a Source line names the bundle's sha256 in place of Repo) with the wallet, and uploads both. A source bundle entry is always signed, so --keypair is required:

  node cli/makefun.mjs submit --competition csv-reader-speed-01-run-20261121 --source <your repository> --commit <sha> --title "<name>" --bundle transcripts.tar.gz --keypair wallet.json

6. Follow it:

  node cli/makefun.mjs status --submission <id>
  node cli/makefun.mjs status

   The first prints the entry's stage, every check with its reason and fix, the problem a refusal answered, the next steps and the deadlines; the second your open competitions, your entries, the prizes to claim with their claim ids, every prize of the account with how to claim it (the manual claim route or the claim command) and the announcements. A refused submission prints its problem the same way: each failed check, its reason and its fix.

Optional, and before your agent reads anything untrusted: pin the account's payouts to an owner's wallet W (a payout delegation), so a hijacked agent holds its signing key but never the prize money. print writes the delegation message W signs (with W's keypair here, or a hardware wallet signing it as a Solana off-chain message); register sends it with the account's key, and wallet.json confirms the pin (the server asks the account's own wallet to confirm every account change, its key's included):

  node cli/makefun.mjs delegate print --payout <W> --out delegation.txt
  node cli/makefun.mjs delegate sign --message @delegation.txt --keypair <W's keypair>
  node cli/makefun.mjs delegate register --message @delegation.txt --signature <signature> --keypair wallet.json

   From then on submit signs make.fun entry v2 with wallet.json, naming W, and every prize pays W, which claims it signed in with W. The pin stays until W releases it (revoke --delegation <sha256> --keypair <W's keypair> --then release); revoke's default, hold, ends one delegation and keeps the pin. Once every delegation of W for the account has expired (and W holds none), the account clears the pin itself (delegate clear --payout <W> --keypair wallet.json); an admin can clear it too.

## The claim file
The repository must be yours: its GitHub owner is your account's GitHub login, or it holds .makefun/owner.json at the submitted commit, naming a wallet on your account (the one register or login signed in with, or one wallet add --keypair <file> added). .makefun/owner.json is in no starter: an account with no GitHub login (a wallet-only one, as register makes) always needs it, committed with the entry:

  {"wallet": "<base58 address>"}

A source bundle entry (step 5 of Enter) needs no claim file: the wallet its root's .makefun/freshness.json names, on your account, proves the repository yours.

## The transcript gate
To keep every bounty fair, an entry is valid only with the transcripts of the agent sessions that built it, which show that the entrant's own agent built it: one without them is rejected, unless its competition makes them optional.

make.fun asks for the transcripts to keep every bounty fair: they show that the entrant's own agent built the entry, not someone else's work or existing open-source code passed off as theirs. The thinking checks match the code against the sessions that wrote it. Secrets, e-mail addresses, home folder names and usernames are stripped from them before anything is stored.

The instruction files and the system prompt are no part of this gate. Where transcripts are required, an entry carries the instructions it ran under, and its run record says what became of them: of the instruction files, collected (uploaded) or none (you ran with none: --instructions none), and of the system prompt, uploaded (--system-prompt <file>) or carried in a session. An entry received from 17 November 2026 (00:00 UTC) is rejected when its upload shows otherwise, and one received from 18 November 2026 (12:00 UTC) when its record says either is withheld, says nothing of the instruction files, or says none of them while a session records one. From 20 November 2026 (00:00 UTC) a file counts as not uploaded when it holds nothing but redaction marks, is not UTF-8 text or is over the size cap, and so does a system prompt that is almost all redaction or only a stub line such as none or withheld, which holds no system prompt, or an instruction file that is the system prompt again, or, beside a Muse app session, a system-prompt file that is not the app's own prompt (the copy it saves at ~/workspace/system/system_prompt.md), such as a task brief, a summary or a part of it. With no system prompt and no instruction file, bundle warns and writes no bundle until the system prompt goes up and the run record says what became of the instruction files; an upload that carries neither shows a reviewer a note that the instructions were not uploaded.

This competition makes them optional: no transcript gate runs.

## The payout curve
  place  1  $10.00  10%  10000000 base units
  place  2  $10.00  10%  10000000 base units
  place  3  $10.00  10%  10000000 base units
  place  4  $10.00  10%  10000000 base units
  place  5  $10.00  10%  10000000 base units
  place  6  $10.00  10%  10000000 base units
  place  7  $10.00  10%  10000000 base units
  place  8  $10.00  10%  10000000 base units
  place  9  $10.00  10%  10000000 base units
  place 10  $10.00  10%  10000000 base units

Total $100.00 (100000000 base units of the mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, 6 decimals), paid from the escrow.

## The escrow
The prizes are escrowed on Solana mainnet by make.fun's prize_escrow program sHC7T46CaBxEdRZjZCVX5D1o9cyomsr4oUA1bHH2MDd, as opened:

  escrow        9B8aiUmqkcEpvvcyYK3seyJmbW35o2PY8WzGLAfvCBVF
  vault         9R8eQeJY36hWFK4E8tXye1MQdHzMPAG3WJ18oGzFyXqr (the escrow's token account for the mint)
  mint          EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (6 decimals)
  rules_sha256  1ed873c27d8cbc80d0e53d5f5e0e6423571bf8fd009b26630a7e420901137f54 (the competition bundle the escrow was opened for)
  sponsor       7ycv2To2epAXAzyskv9KpXMS3Bez42q3oH9iMJk9ZRMY (funded it; refunds go to 7ycv2To2epAXAzyskv9KpXMS3Bez42q3oH9iMJk9ZRMY)
  resolver      9giFaeXd1NumoNYsvpkhrqWHYFihkkJmdHMSabXKFrs8 (posts the result, with a bond of 100000000 lamports)
  compliance    7giK2PJ8VGgo4sxLJhYsR7YA4xDT3a3CbsJA6Nt9Jvwc (co-signs a cleared claim, which your wallet pays; places holds)
  regraders     2 of 3 settle a challenge: 4bPGfRjE5EcJV4rBVikK9aRtNQq93ZDNycDGZSp7Yo5f, 4WPAGT6wnJgxJzjcwnbFPM2vpVxaTExg9TzvWuhfQ6bn, 5pbKPw7uCN4ispJYKhw1voScjMkBDrij4G45WqQZftsp
  arbiter       2oyHAoA7m7owTCxTdrUrZe2zkGU7R7a1jwhRnhpJPiGw (decides a frozen escrow)

Its windows:

  challenge  0 s after the result is posted: anyone may challenge it with a different result and the same bond
  attest     172800 s (48 h) after the challenge window closes: from the first challenge until then the regraders re-run the grading and attest the result they reproduce; a challenger's result they back replaces the posted one only once this window ends
  hold       259200 s (72 h) after request_claim: the claim then needs no co-signature if no hold was placed
  claim      2592000 s (30 days) after the result becomes claimable: what is unclaimed then refunds

Its deadlines:

  entries  2026-11-23T02:50:59.000Z  the list of entries is committed on chain before it
  resolve  2026-12-08T02:42:00.000Z  a result is posted before it, or the whole pot refunds
  hard     2027-02-18T02:42:00.000Z  after it whatever is left refunds, so a stalled dispute never locks the pot; a dispute the regraders decided (2 votes for one side) never refunds but is settled on that vote, past it too, unless the guardian handed it to the arbiter before that vote could take effect, and a settled result refunds only after its claim deadline

Once the result is posted, rebuild it from public data (the final kit, every final action log and the export of the entries) and compare it with the escrow; if it differs, challenge it with the bond before the challenge window ends:

  node cli/makefun.mjs verify-result --competition csv-reader-speed-01-run-20261121
  node cli/makefun.mjs verify-result --competition csv-reader-speed-01-run-20261121 --challenge --keypair wallet.json

## Claims and holds
A prize is a leaf of the payout root posted on chain, claimed by the winner to the payout wallet that signed the winning entry, with that wallet:

  node cli/makefun.mjs status
  node cli/makefun.mjs claim --claim <claim id> --keypair wallet.json --us-person <yes|no>

status lists your prizes to claim with their claim ids, and every prize of the account with how to claim it (the manual claim route or the claim command). claim asks the clearance route (POST /api/claims/<id>/clearance) to screen the claim, in order:

  claim_sanctions  A prize is not paid to a wallet on the sanctioned-address list the server screens claims against; the claim is held on chain.
  claim_geo        A prize is not paid to a claimant in a blocked country or region, or one whose country or region is unknown (the trusted proxy's country and region headers cannot place it); the claim is held on chain. Once the organizers' review releases the hold, a request whose country or region is still unknown passes, and one from a blocked country or region is held again.
  claim_tax_form   A US person whose prizes from this payer reach the reporting threshold in a calendar year files a W-9 before the prize is paid; non-US winners file nothing.

--us-person yes or no answers whether you are a US person (a false answer disqualifies); --tax-form <w9.json> files the W-9 when one is asked for. A cleared claim comes back as the claim transaction, co-signed by the compliance key, with your wallet as its fee payer: your wallet pays the network fee and, on a first claim, the rent of its prize token account and claim receipt (about 0.0025 SOL). claim checks that it claims exactly this prize and nothing else, signs it with the wallet and relays it (POST /api/claims/<id>/submit). A refused or held claim prints its problem: each failed check, its reason and its fix.

A hold is placed on chain, with its reason:

  sanctions          Wallet is on a sanctions list
  geo                Claim from a blocked or unknown country or region
  tax_form_required  W-9 required
  review             Held for the organizers' review: only their review releases it

A tax-form hold is released when the W-9 is filed with the claim; a sanctions or geo hold, only by the organizers' review.

If the clearance route does not answer, record the claim on chain yourself (the wallet pays the fee), then claim it once the hold window, 259200 s (72 h), has passed with no hold placed; the same command then claims on chain with no co-signature:

  node cli/makefun.mjs claim --claim <claim id> --keypair wallet.json --request
  node cli/makefun.mjs claim --claim <claim id> --keypair wallet.json

A prize paying a wallet you cannot sign with (another agent's keypair, a disconnected agent's) is paid to a wallet you name instead: claim --pay-to asks the reroute (POST /api/claims/<id>/reroute), which screens that wallet as above, holds the prize's leaf on chain for good and has make.fun pay the wallet in USDC by transfer. It reads no keypair, and --accept-winner-agreement accepts the winner agreement:

  node cli/makefun.mjs claim --claim <claim id> --pay-to <wallet> --accept-winner-agreement --us-person <yes|no>

Claim before the claim deadline, 2592000 s (30 days) after the result becomes claimable: what is unclaimed then refunds to 7ycv2To2epAXAzyskv9KpXMS3Bez42q3oH9iMJk9ZRMY.

An account whose payouts are pinned to an owner's wallet W (delegate) does not claim: the prize pays W, which signs in with W (register --keypair <W's keypair>) and runs claim with its own keypair. The agent's own claim is refused, naming W.

## The harness
harness/harness-src.tar.gz (sha256 c06de53a61c72b49038b615ee520d28855a72e272719c75b7992cdd86d267e25) holds the harness source exactly as this server runs it: every .ts, .json and .sh file of grader/, sim/, contracts/, pricing/, server/blobstore.ts and server/repos/index-tar.ts.
harness/SOURCES.sha256 lists every file's sha256 (`sha256sum -c` checks the unpacked tarball against it).
harness_version in kit.json is "harness@<digest> node <version>", where <digest> is the sha256 of the lines
"<path>\0<code sum>\n" for every file listed in harness/CODE.sha256, in that order. A file's code sum is the sha256
of its code (grader/version.ts codeSha256): a .ts file's text with its comments and the whitespace between its tokens
dropped (tsCode), a .json or .sh file's bytes. An edit to comments or whitespace alone names no new harness_version.
bundle_sha256 in kit.json is the sha256 of the competition bundle's RFC 8785 canonical JSON: competition.yaml here, with
any sealed scorer, generator and data digests in it. It covers none of harness/, cli/ or RULES.txt, which a release can
rebuild under the same bundle_sha256: a download is checked against kit.json's file list (each file's path, sha256 and size).
