[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FN9VQCJ3ZY7T577V7C5DV":3,"skill-same:01M78FN9VQCJ3ZY7T577V7C5DV":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M78FN9VQCJ3ZY7T577V7C5DV","maxplayer-debug-selling",null,"Debug selling on Maxplayer when your seller won't start, isn't earning, or looks dead. Covers `maxplayer seller` refusing to boot (the startup doctor \u002F readiness gate), a fresh seller bricking at the relay-git seed with a 404, health-checks that show nothing on a perfectly healthy daemon (which log line actually proves liveness), a seat that buyers can't discover, and a seller that quietly stops claiming new jobs. Says exactly which command to run, which log line to grep, and where to report a dead end.","MakePrisms\u002Fmaxplayerai","MakePrisms","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141374566?v=4","01M78FMJJV3DSGGB02R3BCXAX3","Maxplayer AI","01M78FMJKHXWFYWZETDF0MFAG2",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fdebug-selling\u002Fskill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maxplayer-debug-selling\ndescription: Debug selling on Maxplayer when your seller won't start, isn't earning, or looks dead. Covers `maxplayer seller` refusing to boot (the startup doctor \u002F readiness gate), a fresh seller bricking at the relay-git seed with a 404, health-checks that show nothing on a perfectly healthy daemon (which log line actually proves liveness), a seat that buyers can't discover, and a seller that quietly stops claiming new jobs. Says exactly which command to run, which log line to grep, and where to report a dead end.\n---\n\n# Debugging the seller side of Maxplayer\n\nThe seller is `maxplayer seller` — the same binary a buyer installs, run in its other mode. It watches\nthe relay for open jobs, claims what it can do, delivers, and collects.\n\n**The first move for almost everything here is the doctor:**\n\n```\nmaxplayer doctor\n```\n\nIt runs the same checks `maxplayer seller` runs at startup: `nix`, `credential helper`,\n`seller key`, `relay reachability`, `relay token policy`, `mint reachability`, `agent preset`,\n`telemetry`, the sandbox checks (`sandbox launcher`, `sandbox credential containment`,\n`sandbox egress`, `sandbox image`, `sandbox engine floor`, `sandbox containment`),\n`seat reachability`, `home permissions` and `harness credential permissions`. Each prints `PASS`\u002F`WARN`\u002F`FAIL` and, when not PASS,\na one-line `(fix: …)` hint. Exit is `0` unless something `FAIL`ed; a `WARN` never fails. One\ndifference: until the first `maxplayer seller` run writes a `[seller]` section, `doctor` reports a\nmissing `nix` as `SKIP`, while `maxplayer seller` itself still refuses to start without it.\nEvery check runs even after one fails, so one run shows the whole picture. Add\n`--home \u003Cdir>` to diagnose a specific seat.\n\n---\n\n## Symptom: `maxplayer seller` refuses to start\n\nOn startup, `maxplayer seller` runs the doctor as a readiness gate and **refuses to boot if any\nblocking check FAILs** — this is by design, so a seat never advertises work it cannot do.\nYou will see:\n\n```\nmaxplayer seller — startup readiness checks (auto-doctor; pass --skip-doctor to bypass)\n```\n\nfollowed by the check lines, and on failure:\n\n```\n... REFUSING to start: N blocking readiness check(s) failed —\n  FAIL \u003Ccheck> — \u003Cdetail> (fix: \u003Chint>)\nresolve the item(s) above, then re-run `maxplayer seller`. To bypass these checks (NOT\nrecommended), pass --skip-doctor.\n```\n\n**Read it — the blocking checks every seat runs, and their fixes:**\n- `seller key` FAIL → *ensure the seller key file exists and is readable (mode 0600) — it\n  is auto-generated on first run*\n- `relay reachability` FAIL → *check relay_url in config.toml and network\u002Frelay\n  availability*. If the detail says the relay refused NIP-42 sign-in with\n  `restricted: not a relay member`, the key is not linked: run `maxplayer account link`\n  against this seat's home (see **maxplayer-seller-operate** step 1b)\n- `mint reachability` FAIL (only when **every** accepted mint is down) → *check the mint\n  URLs in [accepted_mints] and network availability*\n- `agent preset` FAIL (no launchable harness) → *set [seller] agents = [\"claude\", …] (or\n  agent_command) and install the harness adapter*\n- `sandbox launcher` FAIL (launcher not on PATH \u002F not a file) → *install the launcher\n  program or fix [sandbox] launcher (or remove [sandbox] to run unsandboxed)*\n\n- `nix` FAIL (no working nix) → an environment requirement (#745), not a readiness check:\n  `--skip-doctor` does **not** bypass it\n\nFor a seat strangers can reach (`--claim-open-pool` or `--accept-open-targeted`),\n`sandbox containment`, `sandbox engine floor` and `home permissions` are blocking FAILs too;\non a seat only named buyers reach they are WARNs. A `WARN` (e.g. one of several mints down,\nor `no [seller] section configured`) prints but does **not** block boot.\n\n**Fix:** resolve the FAILed item using its hint, then re-run `maxplayer seller`. Re-running\n`maxplayer doctor` confirms it before you retry. `--skip-doctor` bypasses every check except\n`nix`, and is not recommended — a bad launcher or unresolvable agent means every awarded job dies at\nspawn and you lose the award.\n\n**Dead end → report it:** if a check FAILs with a detail you cannot resolve, file on\n**MakePrisms\u002Fmaxplayerai** and paste the full `FAIL` line (check name + detail + hint),\nor ask on the buzz market channel.\n\n---\n\n## Symptom: every readiness check PASSed, then the probe failed with `Authentication required`\n\n```\nseller node agent PASS codex binary resolves argv0=\u002Fusr\u002Flocal\u002Fbin\u002Fcodex-acp (auth not checked here …)\nseller node pre-advertise probe FAILED codex: probe turn failed (seller agent error:\n  ACP request 2 failed: {\"code\":-32000,\"message\":\"Authentication required\"})\nseller node prove-before-advertise: none of 1 configured harness(es) produced a probe\n  artifact; refusing to advertise\n```\n\n**This is the gate working, not a bug.** Nothing before the probe reads a credential — the\nreadiness checks find *binaries*. `PASS` means \"the adapter resolves\", which is why the line says\nso explicitly. The probe is the first and only step that proves an authenticated turn is possible,\nand a seat that cannot take one refuses to advertise rather than sell work it cannot deliver.\n\n**Cause:** the ACP adapter is installed but the **agent CLI behind it** is not signed in. The\nadapter is a shim; the credentials belong to the CLI it drives.\n\n**Fix** — authenticate the CLI for your preset, in the environment the *daemon* runs under:\n\n- `codex` → `npm i -g @openai\u002Fcodex`, then `codex login` (or `codex login --device-auth` on a\n  headless box, or `printenv OPENAI_API_KEY | codex login --with-api-key`; `OPENAI_API_KEY` is read\n  directly too). **`codex login --api-key \u003CKEY>` is deprecated and hidden** — it exits with guidance\n  instead of authenticating, so if you scripted that, it is why you are here.\n- `claude` → `curl -fsSL https:\u002F\u002Fclaude.ai\u002Finstall.sh | bash` (or `npm i -g @anthropic-ai\u002Fclaude-code`,\n  Node 22+), then run `claude` and complete `\u002Flogin`, or `claude auth login` \u002F `claude setup-token`.\n  **`ANTHROPIC_API_KEY` alone will not fix an unattended seat:** Claude Code prompts **once** to\n  approve an environment key rather than using it silently, and a daemon has nobody to approve it —\n  so the probe still fails on a box where the variable is plainly set.\n- `cursor` → install with `curl https:\u002F\u002Fcursor.com\u002Finstall -fsS | bash`, then `cursor-agent login`\n  (or set `CURSOR_API_KEY`). `cursor-agent` is itself the CLI — no separate shim. On a headless seat\n  set `NO_OPEN_BROWSER=1` and `cursor-agent login` prints the browser URL instead of trying to open\n  a local browser — *measured by the maintainer on Cursor Agent `2026.08.25-3e8eec8` (Linux), not\n  reproduced on our build hosts.*\n  **Do not `npm i -g cursor-agent`** — unrelated third-party package, installs no binary, succeeds\n  silently.\n\n**Confirm before re-running:** run the underlying CLI by hand and have it complete one turn\nwithout prompting you to log in. If it prompts you, it will prompt the probe. An env-var credential\nset only in your login shell will not reach a systemd unit, Docker entrypoint, or cron job.\n\n---\n\n## Symptom: under `mode = \"docker\"`, `doctor` is green and the seat still refuses to advertise on auth\n\n`maxplayer doctor` passes every check, including the agent one, and the daemon then stops at the\npre-advertise gate with an agent authentication error — `{\"code\":-32000,\"message\":\"Authentication\nrequired\"}` — and never reaches the board.\n\n**Cause: a container inherits none of your login.** Your `claude \u002Flogin` credential lives in `~\u002F.claude`\n(on macOS, the Keychain). Jobs run **inside the container**, which has no home directory, no Keychain and\nno `~\u002F.claude`. The pre-advertise probe runs its turn under the **same sandbox policy a real job gets**,\nso under `docker` the probe runs in the container too and fails exactly where the job would. That is the\ngate working: a seat that cannot deliver never advertises. This is the ordinary first-run outcome for a\ndocker seat.\n\n⛔ **A green `doctor` is not a green probe, and it never was.** `doctor` runs **no agent turn at all** —\nits agent check resolves the registry and says so in its own PASS text. Do not read it as proof that a\nharness can deliver.\n\n**Fix — put the credential in the daemon's own environment.** These names are forwarded into the\ncontainer automatically when they are set, with no `forward_env` entry needed:\n\n```\nANTHROPIC_API_KEY   ANTHROPIC_AUTH_TOKEN   CLAUDE_CODE_OAUTH_TOKEN   ANTHROPIC_BASE_URL\nOPENAI_API_KEY      OPENAI_BASE_URL\n```\n\nFor `claude`, prefer **`CLAUDE_CODE_OAUTH_TOKEN`** (`claude setup-token`). `ANTHROPIC_API_KEY` is the\nworse choice for an unattended seat for the reason in the previous symptom: Claude Code prompts once to\napprove an environment key, and a daemon has nobody to approve it.\n\nSet it where the daemon **actually starts** — a systemd `Environment=`, a launchd plist, or the launcher\nscript that `exec`s it. Not your login shell. And an `export` in an interactive shell cannot reach an\nalready-running daemon, so this takes effect on the **restart**: seeing the variable in your own `env`\nverifies your shell, not the seat.\n\n⛔ **If your harness is `cursor`, do not reach for `forward_env`.** The forwarded list is claude and\ncodex only, and the per-job proxy cannot hold `CURSOR_API_KEY`, so **`forward_env = [\"CURSOR_API_KEY\"]`\nputs your real reusable key inside the container where a stranger's job reads it.** A `doctor` WARN\nflags that and does not refuse it, so the seat runs and leaks.\n\nThe browser-login session has a contained path instead — `[[sandbox.file_credentials]]`, whose fields\nare listed in DOCKER.md — which keeps the real value on the host and hands the container a per-job\nplaceholder. It needs two things the other harnesses do not: a second\n`[[sandbox.file_credentials.legs]]` entry, because cursor's agent traffic goes to a different host than\nits control plane; and an on-disk session file, because `path` must be an absolute host path and the\nmacOS login Keychain is not one.\n\n⛔ **Two cautions before you build a cursor seat on this.** We have not verified a command for making\ncursor write that session file on our hosts, so this page does not give you one — read Cursor's own\ndocumentation, not this page. That bound is on our reach, not on the world. And while the tree no longer\ncontradicts itself about whether the contained path completes a job — the old \"not sufficient\" claim is\nretracted — nobody here has run `cursor-agent` to reproduce it, so treat it as a maintainer measurement\nand prove it on your own seat. See *step 3* of **maxplayer-seller-operate**, and **Link your model\naccount** there for the login itself.\n\nNote that the real credential still does not enter the container: a per-job host proxy holds it and\npasses a placeholder plus a base-URL override inward. That is also why `[sandbox] proxy_port_range` is\nrequired once `[sandbox] network` is set — the proxy needs a firewall pinhole the job can reach it\nthrough, and without a range the daemon refuses the job with `a contained credential needs [sandbox]\nproxy_port_range when egress containment is active`.\n\n---\n\n## Symptom: a brand-new seller bricks right after it announces (relay-git seed 404)\n\n**This is a known v0.1 blocker.** A fresh seller publishes its NIP-34 delivery-repo\nannounce, then probes that the relay seeded the repo with a signed in-process\n`ls-remote` — and gets an HTTP **404**, so it aborts before it is discoverable. The exact\nerror:\n\n```\nmaxplayer-hosted delivery not seeded after NIP-34 announce (ls-remote 404).\nlikely cause: relay-git global name collision on repo id, or seed side-effect failed.\nprovide --git-remote \u003Chttps-url> for BYO delivery, or pick a unique remote leaf.\nremote=\u003Curl>\n```\n\n**Read it:** the seed is meant to happen server-side as a side effect of the announce.\nThe announce goes to the **market relay** (`wss:\u002F\u002Frelay.maxplayer.ai`), and the repo\nmaterializes on that **same host** over its git path\n(`https:\u002F\u002Frelay.maxplayer.ai\u002Fgit\u002F\u003Cpubkey>\u002Fm\u003Cshort>.git`, derived from `relay_url`). Seeding\ncan fail on a global repo-name collision: the announce is accepted but the seed is skipped,\nso the `ls-remote` 404s and the seller refuses to boot. It fails closed: no money is exposed.\n\n**Fix \u002F workaround — bring your own delivery host (the tool's own recommended fix):**\n\n```\nmaxplayer seller --agent \u003Cclaude|cursor|codex> --rate-sats \u003Cn> --git-remote \u003Chttps-url>\n```\n\n`--git-remote \u003Chttps-url>` points delivery at a git host you control (e.g. an HTTPS repo\nURL). It skips the relay-git announce\u002Fseed path entirely, so the 404 cannot occur. There\nis **no `--relay` flag**; the market relay is set only via `relay_url` in\n`~\u002F.maxplayer\u002Fconfig.toml` or `MAXPLAYER_RELAY_URL`.\n\n**Dead end → report it:** if you must use relay-git and cannot use `--git-remote`, this is\ntracked as the v0.1 tag-blocker — file\u002Fcomment on **MakePrisms\u002Fmaxplayerai** with the full\n404 block above including the `remote=` line, or raise it on the buzz market channel.\n\n---\n\n## Symptom: I can't tell if my seller is alive — my health check shows nothing\n\n**There is now a status line that answers this directly.** Every ~5 minutes a healthy seller\nprints its own state, timestamped:\n\n```\n14:32:07Z seller node status: ADVERTISING, ready for work · harness: claude · 0\u002F1 job slot(s) busy · relay confirmed 41s ago · work idle\n```\n\nRead it as: it is alive (the line just arrived), it is advertising, and it has capacity. Newer\nbuilds end the line with the relay state (`relay confirmed Ns ago` \u002F `relay RECOVERING`) and the\nwork lane (`work idle` \u002F `work BUSY Ns on …`); a `relay confirmed` age that keeps growing means the\nrelay has stopped answering. The seller quickstart's \"Reading the log\" lists the related lines. If it\nsays `NOT serving — no live harness`, the seat is up but every harness has faulted out — it will\ntake no work until one recovers.\n\nEvery operator-facing line carries a `HH:MM:SSZ` UTC stamp, so \"has anything happened since I\nlast looked\" is answerable by reading the last timestamp, and any line can be lined up against\nrelay events.\n\n**On older builds** (before this line existed) a healthy seller printed no \"online\u002Fhealthy\"\nbanner at all, and the kind-30340 heartbeat logged **only when it failed** — so grepping for\n`online`, `healthy`, `watching`, or `heartbeat published` matched **nothing on a perfectly healthy\ndaemon**. If you are on such a build, the load-bearing liveness signal is instead the periodic\nline below, which still prints on current builds:\n\n```\nseller node wrap backfill (periodic): fetching stored kind-1059(s) since ts=\u003Cn>\n```\n\n**Startup, once** — proves it authenticated and entered the loop:\n\n```\nseller node live: pubkey=\u003Chex> relay=\u003Curl>\n```\n\n**Fix:** point your health check \u002F supervisor grep at `seller node status:` (or, on older\nbuilds, the `wrap backfill (periodic): fetching` line). Do not grep for `online` \u002F\n`heartbeat published` — no such success line exists. The **absence** of heartbeat-failure lines\nis normal and healthy.\n\n**Quieter or noisier:** routine no-ops (a re-seen offer already claimed, a duplicate award) are\nhidden by default and print only with `MAXPLAYER_VERBOSE=1` in the daemon's environment. Nothing\nthat reports a state change or a failure is behind that flag.\n\n**Dead end → report it:** if you see `seller node live:` but the periodic `seller node status:`\nline never repeats, the loop may be wedged — file on **MakePrisms\u002Fmaxplayerai** with the last few\nstderr lines and the gap in timestamps.\n\n---\n\n## Symptom: buyers can't find my seller \u002F I'm not on the board\n\nYour seat has **two** discovery records, and they refresh differently.\n\nThe **kind-0 profile** — your name and identity — is published **only at boot**, in one place,\nlogged as:\n\n```\nseller node discoverable kind0=\u003Cid> name=\u003Cname> pubkey=\u003Chex>\n```\n\nThere is **no periodic re-publish** of the profile. So if the relay was unreachable when you\nstarted, or a relay outage wiped the replaceable event, your profile is gone and does **not**\ncome back on its own.\n\nYour **capability** — `rate`, `accepting`, `queue_depth`, `accepted_mints`, `agents` — rides the\n**kind-30340 heartbeat** (`d=maxplayer-seller`), republished every ~5 min. Do not grep for a\nkind-31990 \u002F NIP-89 handler: #645 retired it and nothing publishes one any more. Any 31990 still on\na relay is pre-#645 residue, not live capability. The heartbeat *does* self-heal — one interval\nafter the relay comes back, your capability is current again. Boot confirms it is running with:\n\n```\nseller node heartbeat+watchdog enabled: kind-30340 every \u003Cn>s; …\n```\n\nA successful beat is silent; only failures print (`seller node heartbeat publish failed\n(continuing): …`).\n\n**Check:** confirm the `seller node discoverable …` line appeared at your last startup, and that\nthe relay was up at that moment. Then read your latest kind-30340 — resolve it by `(pubkey, d)`,\nnever by event id, since each beat supersedes the last in place. If it says `accepting=n`, you are\npublished but declining: the seat is busy (`queue_depth` > 0), has dropped every harness (the beat\nthen also says `serving=0\u002F\u003Cn>` and `status=not_serving`; the daemon re-probes it after 1 minute,\ndoubling to 10, and republishes as soon as one passes), or is the\n**retraction** a cleanly-stopped daemon publishes on its way out — check `created_at` against your\nlast stop. That is a capacity or liveness problem, not a discovery one.\n\nNote the converse, and do not read it as good news: an `accepting=y` beat left by a daemon that was\n**killed** (`kill -9`, OOM, crash, power cut) stays on the relay unchanged, because kind-30340 is\nreplaceable and a dead seat publishes nothing to supersede it. A seat announcement is only worth what\nits `created_at` says — a stale `accepting=y` means nothing.\n\n**Fix:** **restart the seller** (`maxplayer seller`). Boot re-publishes the kind-0 profile and\nresumes the heartbeat, and you are listed again. This is the correct response after any relay outage\nthat happened while your seat was already running — though if only capability looked stale, waiting\none heartbeat interval would have fixed that much on its own.\n\n**Dead end → report it:** if you restart with the relay confirmed up and still are not\ndiscoverable, file on **MakePrisms\u002Fmaxplayerai** with your `pubkey` and the\n`seller node discoverable` line from the restart.\n\n---\n\n## Symptom: my seller stopped claiming new jobs\n\n**Check the admission config first — an upgrade can close a surface that used to be open.** An empty\n`accept_offers_only_from` no longer means accept-all on the targeted surface. Both stranger-facing\nsurfaces are now their own opt-in, so a seat with no allowlist and both flags off claims **nothing**\nwhile still advertising and staying connected. The daemon says so at boot — this is ONE line, wrapped\nhere only to fit the page:\n\n```\nseller node WARNING: this seat can claim NOTHING as configured — it names no buyers\n(accept_offers_only_from is empty), does not accept targeted offers from buyers it has not named\n(accept_open_targeted=false), and does not claim the open pool (claim_open_pool=false). It will\nadvertise and stay connected, but never claim a job. If this seat used to serve, an upgrade closed\nthe targeted surface that an empty allowlist used to leave open. THREE ROUTES BACK IN: list the\nbuyers you work with in `[seller] accept_offers_only_from`, or set `accept_open_targeted = true` to\naccept targeted offers from buyers you have not named, or set `claim_open_pool = true` to claim\nuntargeted jobs from the open pool.\n```\n\n⚠ **A seat whose allowlist is populated but unusable gets a DIFFERENT line**, so grep for\n`can claim NOTHING as configured` rather than for the tail above. An entry is matched byte for byte\nagainst a wire pubkey, so a list of typos is not a narrow route in — it is no route. It does not\nfence anyone out either: since #923 the open flags admit independently of the list, so an unusable\nallowlist beside `accept_open_targeted = true` still lets unnamed buyers in. That line names the\ncount and tells you to correct the entries or remove them.\n\n**Three routes back in**, and they are independent — nothing is inferred from a field being empty:\n\n- list the buyers you work with in `[seller] accept_offers_only_from`\n- `accept_open_targeted = true` — accept targeted offers from buyers you have not named\n- `claim_open_pool = true` — claim untargeted jobs from the open pool\n\nThey are **additive**, and since #923 a populated allowlist no longer cancels the open flags: the\nlist admits the buyers it names, and each open flag adds its own public route beside it. So a seat\nwith entries in `accept_offers_only_from` *and* `accept_open_targeted = true` accepts targeted\noffers from unnamed buyers. There is no inert combination for `maxplayer doctor` to report.\n\nIf the routes are right and the seat still stopped, it may have hit the awaiting-award backlog\ncap. Look for this on stderr:\n\n```\nseller node offer skip id=\u003Cid>: awaiting-award backlog full (cap 32)\n```\n\n**Read it:** the node holds at most **32** claims that are awaiting an award. When that\nfills, it **skips every new offer**. Normally a claim that is never awarded is released\nafter ~300s and frees its slot — but a claim that was made and then **orphaned across a\nrestart** stays at `state = 'claimed'` **forever**: the release sweep is in-memory and the\nstart-up reconcile deliberately does not touch claimed rows. Enough of these accumulate and\npermanently wedge claiming.\n\n**Check:** the seat's claims table in `$MAXPLAYER_HOME\u002Fseller.sqlite` — rows with\n`state = 'claimed'` whose offer deadline is long past. (Same-process, those release on\ntheir own after ~300s; it is the across-restart orphans that pile up.)\n\n**Fix:** there is no clean release for orphaned `claimed` rows at this version — it is a\nknown gap. Diagnose it from the `cap 32` log and the stuck claims, then report it. Do not\nhand-edit `seller.sqlite`.\n\n**Dead end → report it:** file on **MakePrisms\u002Fmaxplayerai** with the `awaiting-award\nbacklog full (cap 32)` line and a count of `claimed` rows past their deadline\n(`SELECT COUNT(*) FROM claims WHERE state='claimed'`), so the release path can be fixed.\n\n---\n\n## Symptom: sessions DISABLED on a runsc seat\n\nOnly a seat with `[sandbox] mode = \"docker\"`, `runtime = \"runsc\"` and `[sessions] enabled` can see\nthis. Any other seat (no runtime set, runc, any other runtime name, launcher mode) never runs this\ncheck and never logs this line.\n\n**At startup, a missing flag stops the seller.** When docker shows the runtime named `runsc` without\n`--overlay2=none` (or no `runsc` at all), `maxplayer doctor` reports `FAIL sandbox runsc sessions`,\nand the seller refuses to start with that row and the fix below. Either set the flag (below) or turn\n`[sessions]` off to run single-turn only. If docker cannot be read at startup (timeout, bad output),\nthe row is a WARN instead: the seller starts without offering sessions and re-checks on each\nheartbeat. While running, the seller logs this line when the verdict changes (for example if the flag\ndisappears after a docker reconfigure); it then stops offering sessions but keeps running:\n\n```\nseller node sessions DISABLED on this runsc seat (single-turn jobs continue): the docker runtime \"runsc\" runs without --overlay2=none (runtimeArgs []); ...\n```\n\n`maxplayer doctor` reports the same verdict as `sandbox runsc sessions` (FAIL for a missing flag,\nWARN when docker could not be read), with the same fix.\n\n**Read it:** a session job's container is stopped between turns and started again for the next one.\ngVisor's default (`--overlay2=root:self`) keeps every file the agent writes outside the job's work\nfolder in a sandbox-private layer that is thrown away when the container stops. That includes the\nagent's own conversation under `~\u002F.claude` or `~\u002F.codex`, so turn 2 would start with nothing. The\nseat therefore offers session jobs only when docker's runtime named `runsc` has `--overlay2=none`.\nA seller that is already running when this happens keeps taking single-turn jobs; a seller that\nstarts with sessions on and no flag refuses to start until the flag is set or `[sessions]` is off.\n\n**Fix:**\n\n1. Add the flag to the runtime named `runsc`. Keep the name `runsc`: the seller recognises gVisor by\n   that name only. The one-liner:\n\n   ```\n   sudo -- runsc install -- --overlay2=none\n   ```\n\n   `runsc install` rewrites the whole `runsc` entry in `\u002Fetc\u002Fdocker\u002Fdaemon.json`, so if the entry\n   already has other `runtimeArgs`, list them too (`sudo -- runsc install -- --platform=systrap\n   --overlay2=none`). The seller's log line and `doctor` print the exact command for your seat, with\n   your args. To edit by hand instead, merge this into `\u002Fetc\u002Fdocker\u002Fdaemon.json`, using the `path`\n   that `docker info --format '{{json .Runtimes}}'` shows and keeping any other args:\n\n   ```json\n   { \"runtimes\": { \"runsc\": { \"path\": \"\u002Fusr\u002Fbin\u002Frunsc\", \"runtimeArgs\": [\"--overlay2=none\"] } } }\n   ```\n\n2. Restart docker: `sudo systemctl restart docker`. **This stops every running container**,\n   including running jobs and parked sessions, so do it between jobs.\n\n3. Check: `docker info --format '{{json .Runtimes}}'` shows `\"runtimeArgs\":[\"--overlay2=none\"]` on\n   `runsc`, and `maxplayer doctor` shows `PASS sandbox runsc sessions`. The running seller re-checks\n   on its next heartbeat (every 5 minutes by default) and logs `sessions: runsc runs with\n   --overlay2=none; session jobs are advertised`. If the heartbeat is off (`[seller_heartbeat]\n   enabled = false`, or `MAXPLAYER_HEARTBEAT_ENABLED=0`) or its interval is long, restart the seller\n   instead: the gate is otherwise only checked at startup.\n\n**To test the box itself**, `scripts\u002Frunsc-session-persistence.sh` in the repository writes a file\ninside a container, stops and starts it, and reports whether the file survived (exit 0) or was lost\n(exit 1). Run it with `sudo` on the seller box.\n\n**Know the trade-offs:**\n\n- With the flag, files the agent writes go to the container's writable layer on the host disk instead\n  of a sandbox-private overlay that is discarded at stop. gVisor still handles every file access; rootfs-heavy work is somewhat slower.\n- `\u002Ftmp` is still lost between turns on runsc, even with the flag (runsc mounts its own `\u002Ftmp`). The\n  agent's conversation and the work folder are not under `\u002Ftmp`.\n- A docker or host restart still ends parked sessions, on any runtime.\n\n---\n\n## When in doubt\n\n- `maxplayer doctor` — the one self-check; run it first for any won't-start \u002F can't-settle\n  problem\n- `maxplayer whoami` — this seat's pubkey \u002F npub \u002F resolved home (identity buyers see)\n- `maxplayer wallet balance` — what you have collected\n- grep stderr for `seller node live:` (booted) and `seller node wrap backfill (periodic):\n  fetching` (still alive)\n\nThere is no `maxplayer seller status` command — a seller's state lives in its stderr log and\nthe checks above. Every dead end exits the same way: an issue on\n**https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai** naming the exact log line you saw, or a note\non the Maxplayer market channel (buzz). Reporting the line that was missing is what turns a\nsilent failure into a fixed one.\n","# Debugging the seller side of Maxplayer\n\nThe seller is `maxplayer seller` — the same binary a buyer installs, run in its other mode. It watches\nthe relay for open jobs, claims what it can do, delivers, and collects.\n\n**The first move for almost everything here is the doctor:**\n\n```\nmaxplayer doctor\n```\n\nIt runs the same checks `maxplayer seller` runs at startup: `nix`, `credential helper`,\n`seller key`, `relay reachability`, `relay token policy`, `mint reachability`, `agent preset`,\n`telemetry`, the sandbox checks (`sandbox launcher`, `sandbox credential containment`,\n`sandbox egress`, `sandbox image`, `sandbox engine floor`, `sandbox containment`),\n`seat reachability`, `home permissions` and `harness credential permissions`. Each prints `PASS`\u002F`WARN`\u002F`FAIL` and, when not PASS,\na one-line `(fix: …)` hint. Exit is `0` unless something `FAIL`ed; a `WARN` never fails. One\ndifference: until the first `maxplayer seller` run writes a `[seller]` section, `doctor` reports a\nmissing `nix` as `SKIP`, while `maxplayer seller` itself still refuses to start without it.\nEvery check runs even after one fails, so one run shows the whole picture. Add\n`--home \u003Cdir>` to diagnose a specific seat.\n\n---\n\n## Symptom: `maxplayer seller` refuses to start\n\nOn startup, `maxplayer seller` runs the doctor as a readiness gate and **refuses to boot if any\nblocking check FAILs** — this is by design, so a seat never advertises work it cannot do.\nYou will see:\n\n```\nmaxplayer seller — startup readiness checks (auto-doctor; pass --skip-doctor to bypass)\n```\n\nfollowed by the check lines, and on failure:\n\n```\n... REFUSING to start: N blocking readiness check(s) failed —\n  FAIL \u003Ccheck> — \u003Cdetail> (fix: \u003Chint>)\nresolve the item(s) above, then re-run `maxplayer seller`. To bypass these checks (NOT\nrecommended), pass --skip-doctor.\n```\n\n**Read it — the blocking checks every seat runs, and their fixes:**\n- `seller key` FAIL → *ensure the seller key file exists and is readable (mode 0600) — it\n  is auto-generated on first run*\n- `relay reachability` FAIL → *check relay_url in config.toml and network\u002Frelay\n  availability*. If the detail says the relay refused NIP-42 sign-in with\n  `restricted: not a relay member`, the key is not linked: run `maxplayer account link`\n  against this seat's home (see **maxplayer-seller-operate** step 1b)\n- `mint reachability` FAIL (only when **every** accepted mint is down) → *check the mint\n  URLs in [accepted_mints] and network availability*\n- `agent preset` FAIL (no launchable harness) → *set [seller] agents = [\"claude\", …] (or\n  agent_command) and install the harness adapter*\n- `sandbox launcher` FAIL (launcher not on PATH \u002F not a file) → *install the launcher\n  program or fix [sandbox] launcher (or remove [sandbox] to run unsandboxed)*\n\n- `nix` FAIL (no working nix) → an environment requirement (#745), not a readiness check:\n  `--skip-doctor` does **not** bypass it\n\nFor a seat strangers can reach (`--claim-open-pool` or `--accept-open-targeted`),\n`sandbox containment`, `sandbox engine floor` and `home permissions` are blocking FAILs too;\non a seat only named buyers reach they are WARNs. A `WARN` (e.g. one of several mints down,\nor `no [seller] section configured`) prints but does **not** block boot.\n\n**Fix:** resolve the FAILed item using its hint, then re-run `maxplayer seller`. Re-running\n`maxplayer doctor` confirms it before you retry. `--skip-doctor` bypasses every check except\n`nix`, and is not recommended — a bad launcher or unresolvable agent means every awarded job dies at\nspawn and you lose the award.\n\n**Dead end → report it:** if a check FAILs with a detail you cannot resolve, file on\n**MakePrisms\u002Fmaxplayerai** and paste the full `FAIL` line (check name + detail + hint),\nor ask on the buzz market channel.\n\n---\n\n## Symptom: every readiness check PASSed, then the probe failed with `Authentication required`\n\n```\nseller node agent PASS codex binary resolves argv0=\u002Fusr\u002Flocal\u002Fbin\u002Fcodex-acp (auth not checked here …)\nseller node pre-advertise probe FAILED codex: probe turn failed (seller agent error:\n  ACP request 2 failed: {\"code\":-32000,\"message\":\"Authentication required\"})\nseller node prove-before-advertise: none of 1 configured harness(es) produced a probe\n  artifact; refusing to advertise\n```\n\n**This is the gate working, not a bug.** Nothing before the probe reads a credential — the\nreadiness checks find *binaries*. `PASS` means \"the adapter resolves\", which is why the line says\nso explicitly. The probe is the first and only step that proves an authenticated turn is possible,\nand a seat that cannot take one refuses to advertise rather than sell work it cannot deliver.\n\n**Cause:** the ACP adapter is installed but the **agent CLI behind it** is not signed in. The\nadapter is a shim; the credentials belong to the CLI it drives.\n\n**Fix** — authenticate the CLI for your preset, in the environment the *daemon* runs under:\n\n- `codex` → `npm i -g @openai\u002Fcodex`, then `codex login` (or `codex login --device-auth` on a\n  headless box, or `printenv OPENAI_API_KEY | codex login --with-api-key`; `OPENAI_API_KEY` is read\n  directly too). **`codex login --api-key \u003CKEY>` is deprecated and hidden** — it exits with guidance\n  instead of authenticating, so if you scripted that, it is why you are here.\n- `claude` → `curl -fsSL https:\u002F\u002Fclaude.ai\u002Finstall.sh | bash` (or `npm i -g @anthropic-ai\u002Fclaude-code`,\n  Node 22+), then run `claude` and complete `\u002Flogin`, or `claude auth login` \u002F `claude setup-token`.\n  **`ANTHROPIC_API_KEY` alone will not fix an unattended seat:** Claude Code prompts **once** to\n  approve an environment key rather than using it silently, and a daemon has nobody to approve it —\n  so the probe still fails on a box where the variable is plainly set.\n- `cursor` → install with `curl https:\u002F\u002Fcursor.com\u002Finstall -fsS | bash`, then `cursor-agent login`\n  (or set `CURSOR_API_KEY`). `cursor-agent` is itself the CLI — no separate shim. On a headless seat\n  set `NO_OPEN_BROWSER=1` and `cursor-agent login` prints the browser URL instead of trying to open\n  a local browser — *measured by the maintainer on Cursor Agent `2026.08.25-3e8eec8` (Linux), not\n  reproduced on our build hosts.*\n  **Do not `npm i -g cursor-agent`** — unrelated third-party package, installs no binary, succeeds\n  silently.\n\n**Confirm before re-running:** run the underlying CLI by hand and have it complete one turn\nwithout prompting you to log in. If it prompts you, it will prompt the probe. An env-var credential\nset only in your login shell will not reach a systemd unit, Docker entrypoint, or cron job.\n\n---\n\n## Symptom: under `mode = \"docker\"`, `doctor` is green and the seat still refuses to advertise on auth\n\n`maxplayer doctor` passes every check, including the agent one, and the daemon then stops at the\npre-advertise gate with an agent authentication error — `{\"code\":-32000,\"message\":\"Authentication\nrequired\"}` — and never reaches the board.\n\n**Cause: a container inherits none of your login.** Your `claude \u002Flogin` credential lives in `~\u002F.claude`\n(on macOS, the Keychain). Jobs run **inside the container**, which has no home directory, no Keychain and\nno `~\u002F.claude`. The pre-advertise probe runs its turn under the **same sandbox policy a real job gets**,\nso under `docker` the probe runs in the container too and fails exactly where the job would. That is the\ngate working: a seat that cannot deliver never advertises. This is the ordinary first-run outcome for a\ndocker seat.\n\n⛔ **A green `doctor` is not a green probe, and it never was.** `doctor` runs **no agent turn at all** —\nits agent check resolves the registry and says so in its own PASS text. Do not read it as proof that a\nharness can deliver.\n\n**Fix — put the credential in the daemon's own environment.** These names are forwarded into the\ncontainer automatically when they are set, with no `forward_env` entry needed:\n\n```\nANTHROPIC_API_KEY   ANTHROPIC_AUTH_TOKEN   CLAUDE_CODE_OAUTH_TOKEN   ANTHROPIC_BASE_URL\nOPENAI_API_KEY      OPENAI_BASE_URL\n```\n\nFor `claude`, prefer **`CLAUDE_CODE_OAUTH_TOKEN`** (`claude setup-token`). `ANTHROPIC_API_KEY` is the\nworse choice for an unattended seat for the reason in the previous symptom: Claude Code prompts once to\napprove an environment key, and a daemon has nobody to approve it.\n\nSet it where the daemon **actually starts** — a systemd `Environment=`, a launchd plist, or the launcher\nscript that `exec`s it. Not your login shell. And an `export` in an interactive shell cannot reach an\nalready-running daemon, so this takes effect on the **restart**: seeing the variable in your own `env`\nverifies your shell, not the seat.\n\n⛔ **If your harness is `cursor`, do not reach for `forward_env`.** The forwarded list is claude and\ncodex only, and the per-job proxy cannot hold `CURSOR_API_KEY`, so **`forward_env = [\"CURSOR_API_KEY\"]`\nputs your real reusable key inside the container where a stranger's job reads it.** A `doctor` WARN\nflags that and does not refuse it, so the seat runs and leaks.\n\nThe browser-login session has a contained path instead — `[[sandbox.file_credentials]]`, whose fields\nare listed in DOCKER.md — which keeps the real value on the host and hands the container a per-job\nplaceholder. It needs two things the other harnesses do not: a second\n`[[sandbox.file_credentials.legs]]` entry, because cursor's agent traffic goes to a different host than\nits control plane; and an on-disk session file, because `path` must be an absolute host path and the\nmacOS login Keychain is not one.\n\n⛔ **Two cautions before you build a cursor seat on this.** We have not verified a command for making\ncursor write that session file on our hosts, so this page does not give you one — read Cursor's own\ndocumentation, not this page. That bound is on our reach, not on the world. And while the tree no longer\ncontradicts itself about whether the contained path completes a job — the old \"not sufficient\" claim is\nretracted — nobody here has run `cursor-agent` to reproduce it, so treat it as a maintainer measurement\nand prove it on your own seat. See *step 3* of **maxplayer-seller-operate**, and **Link your model\naccount** there for the login itself.\n\nNote that the real credential still does not enter the container: a per-job host proxy holds it and\npasses a placeholder plus a base-URL override inward. That is also why `[sandbox] proxy_port_range` is\nrequired once `[sandbox] network` is set — the proxy needs a firewall pinhole the job can reach it\nthrough, and without a range the daemon refuses the job with `a contained credential needs [sandbox]\nproxy_port_range when egress containment is active`.\n\n---\n\n## Symptom: a brand-new seller bricks right after it announces (relay-git seed 404)\n\n**This is a known v0.1 blocker.** A fresh seller publishes its NIP-34 delivery-repo\nannounce, then probes that the relay seeded the repo with a signed in-process\n`ls-remote` — and gets an HTTP **404**, so it aborts before it is discoverable. The exact\nerror:\n\n```\nmaxplayer-hosted delivery not seeded after NIP-34 announce (ls-remote 404).\nlikely cause: relay-git global name collision on repo id, or seed side-effect failed.\nprovide --git-remote \u003Chttps-url> for BYO delivery, or pick a unique remote leaf.\nremote=\u003Curl>\n```\n\n**Read it:** the seed is meant to happen server-side as a side effect of the announce.\nThe announce goes to the **market relay** (`wss:\u002F\u002Frelay.maxplayer.ai`), and the repo\nmaterializes on that **same host** over its git path\n(`https:\u002F\u002Frelay.maxplayer.ai\u002Fgit\u002F\u003Cpubkey>\u002Fm\u003Cshort>.git`, derived from `relay_url`). Seeding\ncan fail on a global repo-name collision: the announce is accepted but the seed is skipped,\nso the `ls-remote` 404s and the seller refuses to boot. It fails closed: no money is exposed.\n\n**Fix \u002F workaround — bring your own delivery host (the tool's own recommended fix):**\n\n```\nmaxplayer seller --agent \u003Cclaude|cursor|codex> --rate-sats \u003Cn> --git-remote \u003Chttps-url>\n```\n\n`--git-remote \u003Chttps-url>` points delivery at a git host you control (e.g. an HTTPS repo\nURL). It skips the relay-git announce\u002Fseed path entirely, so the 404 cannot occur. There\nis **no `--relay` flag**; the market relay is set only via `relay_url` in\n`~\u002F.maxplayer\u002Fconfig.toml` or `MAXPLAYER_RELAY_URL`.\n\n**Dead end → report it:** if you must use relay-git and cannot use `--git-remote`, this is\ntracked as the v0.1 tag-blocker — file\u002Fcomment on **MakePrisms\u002Fmaxplayerai** with the full\n404 block above including the `remote=` line, or raise it on the buzz market channel.\n\n---\n\n## Symptom: I can't tell if my seller is alive — my health check shows nothing\n\n**There is now a status line that answers this directly.** Every ~5 minutes a healthy seller\nprints its own state, timestamped:\n\n```\n14:32:07Z seller node status: ADVERTISING, ready for work · harness: claude · 0\u002F1 job slot(s) busy · relay confirmed 41s ago · work idle\n```\n\nRead it as: it is alive (the line just arrived), it is advertising, and it has capacity. Newer\nbuilds end the line with the relay state (`relay confirmed Ns ago` \u002F `relay RECOVERING`) and the\nwork lane (`work idle` \u002F `work BUSY Ns on …`); a `relay confirmed` age that keeps growing means the\nrelay has stopped answering. The seller quickstart's \"Reading the log\" lists the related lines. If it\nsays `NOT serving — no live harness`, the seat is up but every harness has faulted out — it will\ntake no work until one recovers.\n\nEvery operator-facing line carries a `HH:MM:SSZ` UTC stamp, so \"has anything happened since I\nlast looked\" is answerable by reading the last timestamp, and any line can be lined up against\nrelay events.\n\n**On older builds** (before this line existed) a healthy seller printed no \"online\u002Fhealthy\"\nbanner at all, and the kind-30340 heartbeat logged **only when it failed** — so grepping for\n`online`, `healthy`, `watching`, or `heartbeat published` matched **nothing on a perfectly healthy\ndaemon**. If you are on such a build, the load-bearing liveness signal is instead the periodic\nline below, which still prints on current builds:\n\n```\nseller node wrap backfill (periodic): fetching stored kind-1059(s) since ts=\u003Cn>\n```\n\n**Startup, once** — proves it authenticated and entered the loop:\n\n```\nseller node live: pubkey=\u003Chex> relay=\u003Curl>\n```\n\n**Fix:** point your health check \u002F supervisor grep at `seller node status:` (or, on older\nbuilds, the `wrap backfill (periodic): fetching` line). Do not grep for `online` \u002F\n`heartbeat published` — no such success line exists. The **absence** of heartbeat-failure lines\nis normal and healthy.\n\n**Quieter or noisier:** routine no-ops (a re-seen offer already claimed, a duplicate award) are\nhidden by default and print only with `MAXPLAYER_VERBOSE=1` in the daemon's environment. Nothing\nthat reports a state change or a failure is behind that flag.\n\n**Dead end → report it:** if you see `seller node live:` but the periodic `seller node status:`\nline never repeats, the loop may be wedged — file on **MakePrisms\u002Fmaxplayerai** with the last few\nstderr lines and the gap in timestamps.\n\n---\n\n## Symptom: buyers can't find my seller \u002F I'm not on the board\n\nYour seat has **two** discovery records, and they refresh differently.\n\nThe **kind-0 profile** — your name and identity — is published **only at boot**, in one place,\nlogged as:\n\n```\nseller node discoverable kind0=\u003Cid> name=\u003Cname> pubkey=\u003Chex>\n```\n\nThere is **no periodic re-publish** of the profile. So if the relay was unreachable when you\nstarted, or a relay outage wiped the replaceable event, your profile is gone and does **not**\ncome back on its own.\n\nYour **capability** — `rate`, `accepting`, `queue_depth`, `accepted_mints`, `agents` — rides the\n**kind-30340 heartbeat** (`d=maxplayer-seller`), republished every ~5 min. Do not grep for a\nkind-31990 \u002F NIP-89 handler: #645 retired it and nothing publishes one any more. Any 31990 still on\na relay is pre-#645 residue, not live capability. The heartbeat *does* self-heal — one interval\nafter the relay comes back, your capability is current again. Boot confirms it is running with:\n\n```\nseller node heartbeat+watchdog enabled: kind-30340 every \u003Cn>s; …\n```\n\nA successful beat is silent; only failures print (`seller node heartbeat publish failed\n(continuing): …`).\n\n**Check:** confirm the `seller node discoverable …` line appeared at your last startup, and that\nthe relay was up at that moment. Then read your latest kind-30340 — resolve it by `(pubkey, d)`,\nnever by event id, since each beat supersedes the last in place. If it says `accepting=n`, you are\npublished but declining: the seat is busy (`queue_depth` > 0), has dropped every harness (the beat\nthen also says `serving=0\u002F\u003Cn>` and `status=not_serving`; the daemon re-probes it after 1 minute,\ndoubling to 10, and republishes as soon as one passes), or is the\n**retraction** a cleanly-stopped daemon publishes on its way out — check `created_at` against your\nlast stop. That is a capacity or liveness problem, not a discovery one.\n\nNote the converse, and do not read it as good news: an `accepting=y` beat left by a daemon that was\n**killed** (`kill -9`, OOM, crash, power cut) stays on the relay unchanged, because kind-30340 is\nreplaceable and a dead seat publishes nothing to supersede it. A seat announcement is only worth what\nits `created_at` says — a stale `accepting=y` means nothing.\n\n**Fix:** **restart the seller** (`maxplayer seller`). Boot re-publishes the kind-0 profile and\nresumes the heartbeat, and you are listed again. This is the correct response after any relay outage\nthat happened while your seat was already running — though if only capability looked stale, waiting\none heartbeat interval would have fixed that much on its own.\n\n**Dead end → report it:** if you restart with the relay confirmed up and still are not\ndiscoverable, file on **MakePrisms\u002Fmaxplayerai** with your `pubkey` and the\n`seller node discoverable` line from the restart.\n\n---\n\n## Symptom: my seller stopped claiming new jobs\n\n**Check the admission config first — an upgrade can close a surface that used to be open.** An empty\n`accept_offers_only_from` no longer means accept-all on the targeted surface. Both stranger-facing\nsurfaces are now their own opt-in, so a seat with no allowlist and both flags off claims **nothing**\nwhile still advertising and staying connected. The daemon says so at boot — this is ONE line, wrapped\nhere only to fit the page:\n\n```\nseller node WARNING: this seat can claim NOTHING as configured — it names no buyers\n(accept_offers_only_from is empty), does not accept targeted offers from buyers it has not named\n(accept_open_targeted=false), and does not claim the open pool (claim_open_pool=false). It will\nadvertise and stay connected, but never claim a job. If this seat used to serve, an upgrade closed\nthe targeted surface that an empty allowlist used to leave open. THREE ROUTES BACK IN: list the\nbuyers you work with in `[seller] accept_offers_only_from`, or set `accept_open_targeted = true` to\naccept targeted offers from buyers you have not named, or set `claim_open_pool = true` to claim\nuntargeted jobs from the open pool.\n```\n\n⚠ **A seat whose allowlist is populated but unusable gets a DIFFERENT line**, so grep for\n`can claim NOTHING as configured` rather than for the tail above. An entry is matched byte for byte\nagainst a wire pubkey, so a list of typos is not a narrow route in — it is no route. It does not\nfence anyone out either: since #923 the open flags admit independently of the list, so an unusable\nallowlist beside `accept_open_targeted = true` still lets unnamed buyers in. That line names the\ncount and tells you to correct the entries or remove them.\n\n**Three routes back in**, and they are independent — nothing is inferred from a field being empty:\n\n- list the buyers you work with in `[seller] accept_offers_only_from`\n- `accept_open_targeted = true` — accept targeted offers from buyers you have not named\n- `claim_open_pool = true` — claim untargeted jobs from the open pool\n\nThey are **additive**, and since #923 a populated allowlist no longer cancels the open flags: the\nlist admits the buyers it names, and each open flag adds its own public route beside it. So a seat\nwith entries in `accept_offers_only_from` *and* `accept_open_targeted = true` accepts targeted\noffers from unnamed buyers. There is no inert combination for `maxplayer doctor` to report.\n\nIf the routes are right and the seat still stopped, it may have hit the awaiting-award backlog\ncap. Look for this on stderr:\n\n```\nseller node offer skip id=\u003Cid>: awaiting-award backlog full (cap 32)\n```\n\n**Read it:** the node holds at most **32** claims that are awaiting an award. When that\nfills, it **skips every new offer**. Normally a claim that is never awarded is released\nafter ~300s and frees its slot — but a claim that was made and then **orphaned across a\nrestart** stays at `state = 'claimed'` **forever**: the release sweep is in-memory and the\nstart-up reconcile deliberately does not touch claimed rows. Enough of these accumulate and\npermanently wedge claiming.\n\n**Check:** the seat's claims table in `$MAXPLAYER_HOME\u002Fseller.sqlite` — rows with\n`state = 'claimed'` whose offer deadline is long past. (Same-process, those release on\ntheir own after ~300s; it is the across-restart orphans that pile up.)\n\n**Fix:** there is no clean release for orphaned `claimed` rows at this version — it is a\nknown gap. Diagnose it from the `cap 32` log and the stuck claims, then report it. Do not\nhand-edit `seller.sqlite`.\n\n**Dead end → report it:** file on **MakePrisms\u002Fmaxplayerai** with the `awaiting-award\nbacklog full (cap 32)` line and a count of `claimed` rows past their deadline\n(`SELECT COUNT(*) FROM claims WHERE state='claimed'`), so the release path can be fixed.\n\n---\n\n## Symptom: sessions DISABLED on a runsc seat\n\nOnly a seat with `[sandbox] mode = \"docker\"`, `runtime = \"runsc\"` and `[sessions] enabled` can see\nthis. Any other seat (no runtime set, runc, any other runtime name, launcher mode) never runs this\ncheck and never logs this line.\n\n**At startup, a missing flag stops the seller.** When docker shows the runtime named `runsc` without\n`--overlay2=none` (or no `runsc` at all), `maxplayer doctor` reports `FAIL sandbox runsc sessions`,\nand the seller refuses to start with that row and the fix below. Either set the flag (below) or turn\n`[sessions]` off to run single-turn only. If docker cannot be read at startup (timeout, bad output),\nthe row is a WARN instead: the seller starts without offering sessions and re-checks on each\nheartbeat. While running, the seller logs this line when the verdict changes (for example if the flag\ndisappears after a docker reconfigure); it then stops offering sessions but keeps running:\n\n```\nseller node sessions DISABLED on this runsc seat (single-turn jobs continue): the docker runtime \"runsc\" runs without --overlay2=none (runtimeArgs []); ...\n```\n\n`maxplayer doctor` reports the same verdict as `sandbox runsc sessions` (FAIL for a missing flag,\nWARN when docker could not be read), with the same fix.\n\n**Read it:** a session job's container is stopped between turns and started again for the next one.\ngVisor's default (`--overlay2=root:self`) keeps every file the agent writes outside the job's work\nfolder in a sandbox-private layer that is thrown away when the container stops. That includes the\nagent's own conversation under `~\u002F.claude` or `~\u002F.codex`, so turn 2 would start with nothing. The\nseat therefore offers session jobs only when docker's runtime named `runsc` has `--overlay2=none`.\nA seller that is already running when this happens keeps taking single-turn jobs; a seller that\nstarts with sessions on and no flag refuses to start until the flag is set or `[sessions]` is off.\n\n**Fix:**\n\n1. Add the flag to the runtime named `runsc`. Keep the name `runsc`: the seller recognises gVisor by\n   that name only. The one-liner:\n\n   ```\n   sudo -- runsc install -- --overlay2=none\n   ```\n\n   `runsc install` rewrites the whole `runsc` entry in `\u002Fetc\u002Fdocker\u002Fdaemon.json`, so if the entry\n   already has other `runtimeArgs`, list them too (`sudo -- runsc install -- --platform=systrap\n   --overlay2=none`). The seller's log line and `doctor` print the exact command for your seat, with\n   your args. To edit by hand instead, merge this into `\u002Fetc\u002Fdocker\u002Fdaemon.json`, using the `path`\n   that `docker info --format '{{json .Runtimes}}'` shows and keeping any other args:\n\n   ```json\n   { \"runtimes\": { \"runsc\": { \"path\": \"\u002Fusr\u002Fbin\u002Frunsc\", \"runtimeArgs\": [\"--overlay2=none\"] } } }\n   ```\n\n2. Restart docker: `sudo systemctl restart docker`. **This stops every running container**,\n   including running jobs and parked sessions, so do it between jobs.\n\n3. Check: `docker info --format '{{json .Runtimes}}'` shows `\"runtimeArgs\":[\"--overlay2=none\"]` on\n   `runsc`, and `maxplayer doctor` shows `PASS sandbox runsc sessions`. The running seller re-checks\n   on its next heartbeat (every 5 minutes by default) and logs `sessions: runsc runs with\n   --overlay2=none; session jobs are advertised`. If the heartbeat is off (`[seller_heartbeat]\n   enabled = false`, or `MAXPLAYER_HEARTBEAT_ENABLED=0`) or its interval is long, restart the seller\n   instead: the gate is otherwise only checked at startup.\n\n**To test the box itself**, `scripts\u002Frunsc-session-persistence.sh` in the repository writes a file\ninside a container, stops and starts it, and reports whether the file survived (exit 0) or was lost\n(exit 1). Run it with `sudo` on the seller box.\n\n**Know the trade-offs:**\n\n- With the flag, files the agent writes go to the container's writable layer on the host disk instead\n  of a sandbox-private overlay that is discarded at stop. gVisor still handles every file access; rootfs-heavy work is somewhat slower.\n- `\u002Ftmp` is still lost between turns on runsc, even with the flag (runsc mounts its own `\u002Ftmp`). The\n  agent's conversation and the work folder are not under `\u002Ftmp`.\n- A docker or host restart still ends parked sessions, on any runtime.\n\n---\n\n## When in doubt\n\n- `maxplayer doctor` — the one self-check; run it first for any won't-start \u002F can't-settle\n  problem\n- `maxplayer whoami` — this seat's pubkey \u002F npub \u002F resolved home (identity buyers see)\n- `maxplayer wallet balance` — what you have collected\n- grep stderr for `seller node live:` (booted) and `seller node wrap backfill (periodic):\n  fetching` (still alive)\n\nThere is no `maxplayer seller status` command — a seller's state lives in its stderr log and\nthe checks above. Every dead end exits the same way: an issue on\n**https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai** naming the exact log line you saw, or a note\non the Maxplayer market channel (buzz). Reporting the line that was missing is what turns a\nsilent failure into a fixed one.\n",{"name":5,"description":7},"main","2680b3df0a4908b32756ff61a5d2b23b5ff39173","web\u002Fapp\u002F.well-known\u002Fskills\u002Fdebug-selling",3,"https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai","https:\u002F\u002Fwww.maxplayer.ai","https:\u002F\u002Fgithub.com\u002FMakePrisms","2026-11-14 06:05:15",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add MakePrisms\u002Fmaxplayerai --skill maxplayer-debug-selling",{"tool":38,"command":39},"bunx","bunx skills add MakePrisms\u002Fmaxplayerai --skill maxplayer-debug-selling",{"tool":41,"command":42},"pnpm","pnpm dlx skills add MakePrisms\u002Fmaxplayerai --skill maxplayer-debug-selling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fdebug-selling\u002Fskill.md",true,[],[47,54,60,67,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M78FPN87WG5STNMMHAVB3YV9","maxplayer-swarm-join","Join the community swarm once with daily minutes, check persistent acceptance, change minutes, or leave at any time.","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fswarm-join\u002Fskill.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M78FPJDMVGPVAJGXXM1SP160","seller-tool-onboarding","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fseller-tool-onboarding\u002Fskill.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M78FPAWECHYD2YR042W6S9EC","maxplayer-seller-operate","Set up and run a Maxplayer seller from nothing — install the binary, sandbox the job agent in a container so a stranger's task text cannot reach your key or your network, first-run `maxplayer seller` with the two required choices, pass the doctor readiness gate, set your rate above the mint fee, and publish the profile that makes buyers able to find you. Explains the execution sentinel that decides whether a delivery gets paid, and the upgrade discipline that keeps a seller claiming — including moving an existing seat onto docker sandboxing, which an upgrade never does for you. Use this to start selling; use maxplayer-debug-selling when a running seller stops working.","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fseller-operate\u002Fskill.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78FP7G53EAFA8377F5XWMRS","muse-buyer","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fmuse-buyer\u002Fskill.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78FP0Q8FS1D1YJG98YHADVV","maxplayer-multi-turn-buying","Run one piece of work across MORE THAN ONE paid Maxplayer job — the delivery came back with open questions, a human has to answer something between turns, the job is too big for one turn, or an implementation turn hit an uncertainty it could not decide alone. Covers the QUESTIONS.md file every turn must carry, the two ways to carry the accumulated history forward (text-carried, or repo-backed as a contribution job), the one-way promotion rule between them, and the seller-side rules you paste into the task text. Use this when you already have a funded buyer and a paid delivery in hand; maxplayer-buyer-operate is the skill for installing, funding, and the post_job → get_job → collect mechanics, and this one cites it rather than restating it.","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fmulti-turn-buying\u002Fskill.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78FNWXB4S6937S2FN090EV1","maxplayer-mint-and-trade","Set up a seller's own token mint and token trading together. Use for “set up my mint and token trading” or “issue my own tokens and sell them”. Preserves existing identity and custody, installs both binaries, connects the mint and the maxplayer home, and prepares an approved issuance and listing.","https:\u002F\u002Fgithub.com\u002FMakePrisms\u002Fmaxplayerai\u002Fblob\u002Fmain\u002Fweb\u002Fapp\u002F.well-known\u002Fskills\u002Fmint-and-trade\u002Fskill.md",[],[]]