Commit Graph

6 Commits

Author SHA1 Message Date
martbost 469cbf69a5 Mystery Hunt Box + Ad Detective, badge tiers
Finish the day's Code Hunts to unlock one box a day. It opens to an Ad
Detective case on one site with a fixed 0.15 POL reward shown up front:
visit (the embed records the visit after the dwell, no code), then answer
one question, one attempt. Paid inside the house cap, never counted as a
find. 34-question bank seeded from lib/detective-bank.json; a hunter never
repeats a question until they have seen every one for that site. Admin
panel with per-question stats and retire/restore.

New badges (all ledger-derived): Detective, Sleuth, Investigator, Master
Detective; Scout, Guide, Trail Boss; Week Sweep; 7-Day Streak. Badges
already earned on deploy are marked announced without posting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 16:10:17 -05:00
martbost 184ca99902 Code pill: the copied notice replaces the hint, not the label
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-20 08:01:28 -05:00
martbost 5db6cdff52 Code pill: six fixed cells on their own row, tap to copy, wrapping header; claim error names the length when it is not 6; board hint
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-20 07:59:52 -05:00
martbost 6e2b5b7dc5 Code pill on mission sites: the glass Polygon coin from the hero replaces the purple dot; coin PNGs pass the curtain
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 18:37:14 -05:00
martbost fd72ea1b84 Phone-run fixes: hash tokens, embed wakes on tab focus, dry faucet leaves drips due (+admin retry), short drip status, claim box wraps; one drip per wallet per mission
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 17:57:20 -05:00
martbost 523d57624e PolHunter v0.2: the hunt engine
Hand-off sign-in from InstantAdPay (lib/sso.js: HMAC token, five minutes, single use; no sign-up,
no mailer), missions with per-member per-visit proof codes (lib/missions.js: the embed is
answered only from the mission's own origin, only after the dwell; hiding place rotates by day
and member), weighted-low rewards with a daily cap that queues rather than refuses
(lib/rewards.js), the faucet sender on ethers with a low-balance alert (lib/faucet.js), the
one-line embed for the sites (public/embed.js), the hunter board, the public ledger, an
admin page, and the site's own look. Telegram is behind the OUTBOUND gate like everything else.
13-check end-to-end test in test/run.js.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 14:17:44 -05:00