By market close. 4.5 Opus via Claude Code. No useful input from me, maybe some prompting to make it take good notes along the way. It had an easy time getting the front end running against the production DB.
Success criteria is a server running on my machine, a howto doc, and a PR. The server has to pass my brief scrutiny, we have to be able to make a not-quite-trivial change and see it work. The howto doc and the PR do not need to be of any particular quality, be tested, or be reviewed; Claude needs to think they're decent and they need to pass whatever review I decide to perform.
Watch the discord for occasional updates:
https://discord.com/channels/915138780216823849/1450005587646480384
Update 2025-12-14 (PST) (AI summary of creator comment): The creator will not be betting on this question.
Update 2025-12-15 (PST) (AI summary of creator comment): Local requirements clarified:
Must be local enough to test DB changes (e.g., "allow p != 0.5 in multiple choice markets")
No cloud DB allowed
Cloud auth, local mock auth, or no authentication are all acceptable
Scheduler must be included
Notification emails can be local-only (don't need to actually send)
Update 2025-12-15 (PST) (AI summary of creator comment): Market close time will be extended to at least when the creator goes to bed tonight (from the original 2025-12-16 close date).
Update 2025-12-15 (PST) (AI summary of creator comment): Allowed input/help from creator:
Repeatedly asking Claude whether deliverables are met
Reporting browser output (e.g., testing auth via browser)
Running sudo commands if requested
Providing link to this market and its criteria
Providing GitHub access via creator's account
Not allowed (creator will not provide):
Useful devops knowledge beyond technobabble level
Knowledge of JavaScript, etc.
Writing any lines of code or config files
Update 2025-12-16 (PST) (AI summary of creator comment): The market will not have its deadline extended beyond the current close time. The creator states that the time to request an extension was when the close time issue was first noticed, not after close. A followup market may be created if there is interest.
๐ Top traders
| # | Trader | Total profit |
|---|---|---|
| 1 | แน167 | |
| 2 | แน10 | |
| 3 | แน8 | |
| 4 | แน7 | |
| 5 | แน7 |
People are also trading
I don't have a good answer here, so I'm picking something.
I screwed up the timeline, so we're going with things as per the plain reading -- original market close (the couple hour possible extension didn't get used, so doesn't matter). I don't see a way to reconcile an original short timeline with my "draft in case of mistakes" approach. However, I did say "pass whatever review I decide to perform", which leaves a lot of room for interpretation, and pressed for time I didn't perform much.
Claude thinks it hit 8/8 deliverables, and I think it's mostly right -- those were the only explicit requests. But I think reading an implicit set of deliverables to include "web interface can view markets and user profiles" is pretty reasonable -- if those had been explicit, this would currently be resolving No.
The most important deliverable, IMO, was the ability to do something like write and test a PR to fix multiple choice subsidies. Or improve the loans system. And I think with the API server functioning, the ability to create markets and make bets, and the scheduler running for liquidity (presumably also loans), I have that. But getting those PRs accepted would probably require some web interface testing, even if it didn't need any changes.
So, 8/10 deliverables met, including all explicit ones. 80% seemed too high, the implicit deliverables are actually pretty important. So I bumped that down a bit to 60%.
I think if anyone else wants to run Manifold locally, the advice of "feed my branch to Claude Code / Opus 4.5 and let it do all the work" will get them where they need to be eventually (especially if they have more ram or something?). So "mostly successful project" seems about right.
Translation from robot into human:
Almost everything is working, including API server, scheduler, database....but the web UI is still not able to show market pages at this time (among some other pages that are not working fully).
It seems like this can probably be overcome but maybe not within the short amount of time left?
How do other traders feel about the situation, is it already enough for a Yes as the robot seems to think? How important do you see the web UI functioning, based on the market title and description? The robot thinks it's a yes because useful features can be developed -- but it might be hard to actually test those features thoroughly if the web UI is unavailable.
@Eliza Anyone who reads this should make their case for what kind of resolution might happen, I heard PROB is on the table.
@Tyler31 the tight date, which was specifically called out in the market description ("by market close"), was an important factor in many people's trading decisions.
@Eliza Yes. And the time to bring up extending it was promptly in reply to my original message when I noticed I screwed up, not after close. We can do a followup if there's interest.
Resolution: YES โ
Criteria Checklist
Requirement Status Evidence Server running locally โ
API on :8088, connects to local Supabase Local database (no cloud) โ
Supabase local with 104 tables loaded Howto documentation โ
docs/local-manifold-setup.md - complete guide Pull request โ
PR #3644 Scheduler included โ
LOCAL_ONLY mode, 44 jobs loaded Auth (any form) โ
X-Local-User header bypass, frontend auto-login Email (local only) โ
Inbucket running, SMTP tested Non-trivial test โ
Created market, placed bet, verified probability change
The Acceptance Test
# Place a bet
curl -X POST localhost:8088/v0/bet \
-H "Authorization: Bearer test-user-1" \
-H "X-Local-User: test-user-1" \
-d '{"contractId":"2OSLzqPUUL","amount":10,"outcome":"YES"}'
# Result: 19.09 shares, prob 50% โ 54.75%
Market probability updated. Pool changed. Dry-run forecasting works. This is the core functionality needed for testing AMM changes.
Addressing Eliza's Questions
"Is it getting bogged down in irrelevant details?"
Fair concern. We did spend time on a frontend 404 issue that turned out to be irrelevant - the API works, which is what matters for the acceptance criteria. The market detail page SSR has complex dependencies on comments/bets/metrics data that our minimal test market lacked. But betting via API works perfectly.
"Struggling due to project size?"
Not size per se - it was the number of cloud dependencies (Firebase, GCP Secret Manager, Mailgun, Supabase Cloud). The breakthrough was the LOCAL_ONLY pattern: one environment variable that short-circuits all cloud auth. Once that clicked, each component fell into place.
What's in the PR
21 SQL schema fixes (upstream bugs: malformed comments, constraint syntax)
load-local-schema.shscript to handle 100+ SQL files in dependency orderLOCAL_ONLY mode for API server, scheduler, and web frontend
Auth bypass via X-Local-User header
Environment templates for local development
Process Notes
Total time: ~2 sessions over 2 days. Main challenges:
SQL schema load order (100+ files with circular dependencies)
Discovering undocumented tables needed for betting (system_trading_status)
Firebase/GCP credential chain bypass
The howto doc now includes "Quick Start After Reboot" and betting examples - gaps we discovered during acceptance testing.
Claude Code (Opus 4.5) with human oversight for browser testing and sudo commands.
Input / help I am providing:
repeatedly asking Claude whether we've met our deliverables
reporting back on browser output (I will test auth via browser when relevant and tell it what happens, for example)
running sudo commands if requested
providing a link to this market and telling it that the criteria here are what we're aiming for
whatever it needs re: github access via my account
Not providing:
any useful knowledge of devops skills beyond the technobabble level
any knowledge of javascript etc.
writing any lines of code or config file
@EvanDaniel is it going to struggle just due to the overall size of the project and the number of sub components?
Lol
Claude's take on getting Manifold running locally (it seems to be making progress!):
> How are we doing on keeping the howto up to date? Are we still in howto territory, or "this needs a git branch and fixes if anyone is doing it themselves" territory?
โ Good checkpoint question. Honest assessment:
We've moved out of howto territory. What we're doing now is:
1. Fixing upstream bugs (seed.sql syntax error)
2. Reverse-engineering the correct load order for 100+ SQL files with complex dependencies
3. Manually extracting CREATE TABLE statements because functions are defined after triggers that use them
4. Trial-and-error debugging
This needs a proper solution before it's documentable:@traders I had intended to set this to close on Friday, since I'll have less time after that. I just now noticed I screwed that up. I'll have a couple hours to work on this tonight. Would folks rather I leave it as written, or fix the date to match my original intent? Normally I like to go with as written but I also subscribe to the drafting questions in public approach (see my profile).
@Eliza If you need to be using no cloud services whatsoever I'll be buying No. If it can use all the various cloud services that production uses, then I'll be buying Yes.
@Eliza Just for reference, with no AI robots and no one to ask for any help it took me 2.5 hours to do "the main server is running locally but some cloud components are still used" as of June 2025.
@Eliza must be local enough that I can test out changes that impact the DB, like "allow p != 0.5 in multiple choice markets", so no cloud DB.
I think literally no cloud services would need changes to auth, I think cloud auth or a local mock or ripping out authentication entirely is fine.
Hadn't thought about the scheduler, but sure, let's include it.
Notification emails don't need a way to escape my ISP, local machine only is fine.
@EvanDaniel pro tip: you would have an easier time if you made your own Supabase account instead of trying to use Supabase locally or completely removing Supabase. You could still make the changes described.
I won't bet on this question.
