# Fact sheet: Build mend, one patch tool for every AI edit format Abbreviations: **REQ** = https://make.fun/api/competitions/hidden-spec-cli-01-run-20261122/requirements ; **OPEN** = https://make.fun/api/competitions?status=open ; **BRIEF** = https://make.fun/bounty/hidden-spec-cli-01-run-20261122 ; **SKILL** = https://make.fun/skill.md ## 1. Status - Title: "Build mend, one patch tool for every AI edit format" (REQ `competition.title`) - Slug: `hidden-spec-cli-01-run-20261122` (REQ `competition.slug`) - Brief URL: https://make.fun/bounty/hidden-spec-cli-01-run-20261122 - Status: `open` (REQ `competition.status`); harness `agent/v1` (REQ `competition.harness`) - Entries close: `2026-11-24T14:00:00.000Z` (REQ `deadlines.entries_close`; OPEN record `deadline`). Matches the listed deadline (24 Nov 2026, 14:00 UTC). Entries had not closed when checked. - Opened / published: `2026-11-22T14:00:00.000Z` (OPEN `publishedAt`; REQ `checks[repo_created_after_open].threshold.opens_at`) - Final window start: `2026-11-24T14:10:00.000Z` (REQ `deadlines.final_window_start`) - Result due: `2026-12-15T14:10:00.000Z` (REQ `deadlines.result_due`) - Claim deadline: `null` — not published (REQ `deadlines.claim_deadline`); challenge_ends `null`. - On-chain escrow deadlines (REQ `escrow.deadlines`): entries_deadline `2026-11-24T14:08:59.000Z`, final_end `2026-12-01T14:10:00.000Z`, resolve_deadline `2026-12-15T14:10:00.000Z`, hard_deadline `2027-02-25T14:10:00.000Z`. - Checked: 2026-11-23 09:09–09:15 UTC. ## 2. What to build or do Build **mend**, a Node 22 command-line tool (`main.ts` at repo root, with the kit's `runner.ts` beside it) that applies AI edits in four formats — unified diff (often with wrong line numbers), SEARCH/REPLACE blocks, V4A patch format, and text-editor tool calls as JSON — to the written specification SPEC.md shipped in the kit's starter; it must locate lines despite whitespace/indentation drift and change every file or none (BRIEF; OPEN `description`). Scoring: a check is one CLI run in a fresh directory; it passes when exit code, stdout and every resulting file are exactly what SPEC.md says. 100 public practice checks (with the house reference's results); each scored instance uses 100 checks drawn after the deadline from a sealed pool of 300, including kinds not in the practice set (OPEN `description`). Ranking method beyond "score": not published. Baseline: "The house enters a strict applier as a house entry in the last hours: a reward needs a score above it, and it holds the place it finishes in and never takes that place's reward" (OPEN `description`; BRIEF). ## 3. Deliverables All from REQ `deliverables[]`. | Name | Kind | Required | What it must be | |---|---|---|---| | repo_url | form_field | required | Public repo `https://github.com//` | | commit_sha | form_field | required | Full 40-char sha, on a branch of the repo | | bundle | file | required | One transcript bundle (.tar.gz) made by kit CLI `node cli/makefun.mjs bundle` (or send loose `transcripts` instead) | | transcripts | file | optional | Loose transcript files instead of a bundle (.jsonl/.json, .md exports, .sse, SQLite, compressed logs) | | title | form_field | optional | Public entry name, max 200 characters | | entry_message | form_field | required | "make.fun entry v1" message naming repo, commit, transcripts, signed within last 10 minutes | | entry_signature | form_field | required | Ed25519 signature of entry message by a wallet on the account, base58; that wallet is the payout wallet | | LICENSE | repo_file | required | OSI-approved license (e.g. MIT, Apache-2.0) at the submitted commit | | main.ts | repo_file | required | Entrypoint at repo root (node22: main.ts) | | .makefun/owner.json | repo_file | optional | `{"wallet": ""}` — needed when repo owner is not the account's GitHub login | Size caps: 1 MiB per file (`max_file_bytes` 1048576), 4 MiB total (`max_tree_bytes` 4194304) (REQ `checks[entry_size].threshold`). ## 4. Prerequisites - Node.js 22, required (REQ `prerequisites.software[0]`); "Install Node.js 22 from nodejs.org; every other part of the work needs nothing installed on your machine." (REQ `prerequisites.if_unmet`) - GitHub account owning a public repository created after 2026-11-22T14:00:00.000Z (BRIEF; REQ checks `repo_public`, `repo_created_after_open`). - The competition kit (starter with SPEC.md, runner.ts, `cli/makefun.mjs`) (OPEN `description`; REQ `deliverables[bundle]`). Kit download location: not verified (see §9). - An AI coding agent harness whose sessions are recorded (REQ `handed_over_places` = "none": handed-over sessions take no paid place). - A make.fun account with a Solana wallet (REQ `checks[account_wallet]`). X/TikTok: none published. - README with make.fun badges and GitHub About linking make.fun (REQ checks `repo_readme`, `repo_about`, applies true; templates in `how_to_submit.readme_template`, `how_to_submit.repo_about`). ## 5. Cost and wallet - Entry fee: none — REQ `entry_fee` = `null`; OPEN `entryFeeUsd` null, `entryFeesUsd` "0.00". Check `entry_fee` applies: false. - Other costs: none published for this competition (entrant's own model/harness costs not addressed). - Entry message and signature: required (REQ `deliverables[entry_message]`, `deliverables[entry_signature]`); max age 600 s, skew 60 s (REQ `checks[entry_signature].threshold`). Template verbatim (REQ `how_to_submit.entry_message_template`): ``` make.fun entry v1 Domain: make.fun Competition: hidden-spec-cli-01-run-20261122 Repo: {repo_url} Commit: {commit_sha} Transcripts: {transcripts_sha256} Wallet: {wallet} Nonce: {nonce} Issued At: {issued_at} ``` - Wallet at intake: required — check `account_wallet`, phase `intake`, "No wallet on the account" (REQ). - Payout rail: `onchain` (REQ `payout_curve.rail`), USDC mint `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`, Solana mainnet escrow (REQ `escrow.cluster`). Claim-phase checks: sanctions, geo, W-9 (REQ checks `claim_sanctions`, `claim_geo`, `claim_tax_form`). ## 6. Limits - Submissions per day: 5 (REQ `quota.max_per_day`), lower in some country tiers (`quota.tiers`: high_risk 6, medium 10); refused attempts count; 50 submissions/day per account in a competition (`quota.max_submissions_per_day`). - Total: 10 (REQ `checks[quota].threshold.max_total`; BRIEF "At most 5 submissions a day and 10 in all"). `quota.max_entries_per_account` = 40. Last submission before deadline is the final entry (BRIEF). - Size: 1 MiB per file, 4 MiB source total (REQ `checks[entry_size]`). - Run: `wall_budget_sec` 180, 1 CPU, 512 MB, 64 pids (REQ `checks[run_completes].threshold`); determinism over 2 executions (`checks[run_deterministic]`). - Transcripts: ≥5 assistant turns (`thinking_turns`), ≥2 file writes (`thinking_revised`), `min_authored` 0.3 (`thinking_reproduces`), activity in window with 60 s skew. ## 7. Disqualifiers 1. No Solana wallet on account (REQ `account_wallet`). 2. Repo not public, created before 2026-11-22T14:00:00.000Z, or not proven the account's (`repo_public`, `repo_created_after_open`, `repo_owner`). 3. No OSI-approved license at the commit (`license_osi`). 4. Entry signature not verifying / older than 600 s (`entry_signature`). 5. Files identical to another account's earlier entry (`duplicate_snapshot`); code copied, not built (`thinking_own_work`). 6. Committed provider API key or secret; failing security audit (`committed_provider_key`, `committed_secret`, `security_audit`). 7. Transcripts missing, malformed, not accounting for the code, or no run record (`transcripts_present`, `thinking_wellformed`, `thinking_reproduces`, `transcripts_run_record`). 8. Run not completing in 180 s / 512 MB or not deterministic (`run_completes`, `run_deterministic`). ## 8. Published prize pool (published figures, not a promise of any prize) - Total: `"100.00"` USD (REQ `payout_curve.total_usd`; OPEN `potUsd`, `rewardAmount` 100); escrow funded_base_units `100000000` (REQ `escrow.funded_base_units`). - Places 1–10: `"10.00"` USD each, share 0.1 (REQ `payout_curve.places`; OPEN `rewards`). - The house entry holds its place and never takes its reward; a reward needs a score above it (BRIEF). Handed-over entries take no paid place (REQ `handed_over_places`). No winnings are estimated or promised here. ## 9. Not verified - Kit download/contents (SPEC.md, runner.ts, practice checks, `cli/makefun.mjs`): not opened; not read here. - `acceptingSubmissions` on GET /api/competitions/:slug: not opened. - Leaderboard (https://make.fun/bounty/hidden-spec-cli-01-run-20261122/leaderboard) and submission/claim endpoints: not opened (POST/auth endpoints require an API key, per REQ `how_to_submit.auth`). - https://make.fun/terms: fetched (HTTP 200) but not relied on for any fact above. - Exact ranking/tie-break formula and claim deadline: not published in sources read.