Skip to content

fix(money-bots): show the strategies, keep the reasons (v0.24.1) - #110

Merged
rayketcham merged 1 commit into
mainfrom
fix/money-bots-show-the-work
Aug 14, 2026
Merged

fix(money-bots): show the strategies, keep the reasons (v0.24.1)#110
rayketcham merged 1 commit into
mainfrom
fix/money-bots-show-the-work

Conversation

@rayketcham

Copy link
Copy Markdown
Collaborator

The problem

The board sat empty and told the operator a probe had run.

That was wrong twice: it copied /pki's "storing nothing is a feature" design onto a board whose entire job is to answer how do I make money with a bot, and it discarded the most useful thing the engine produced — a specific, quantified reason a plausible-looking strategy does not work — into a log nobody reads.

What changed

  • A knocked-down draft is FLAGGED, not deleted. panel_verdict (vetted / below-bar / flagged) rides on the spec, and the card shows it alongside the objection that killed it. Only two things still block storage: the legality veto, and no spec at all.
  • Page order follows what the operator actually wants: strategies first (vetted, then flagged with exactly why), mechanism corpus collapsed at the bottom.
  • "Churn Now" → "Generate one now", and it says what it's doing — a full probe cycle takes minutes, and a silent button looked broken.
  • Admit rate still counts only vetted strategies, so storing flagged ones cannot inflate it.

Veto false positive (found live)

An honest enumerated disclaimer — "this is not market manipulation, wash trading, or front-running" — put the negation cue 30+ characters from the last term and vetoed a clean strategy, costing a full generation plus a four-lens panel.

The legality note now uses sentence-scoped negation, because that field exists to say what the strategy does not do. Prose keeps the tight window, which is what catches "places orders it never intends to fill to move the price — spoofing".

First stored strategy

A Hyperliquid perp-perp funding spread carry — flagged, because the draft quoted a one-way fee as a round trip:

~0.035% round-trip if both legs fill post-only is HL maker 0.015% + Binance maker 0.020% — that is ONE fill on each venue, entry only. True round trip = (0.015+0.020)×2 = 0.070%.

That correction makes every trade net-negative. It's on the board with that reasoning attached, which is the point.

Verification

  • 2121 passing, 1 skipped; ruff check + ruff format --check clean
  • live board renders strategies first, mechanisms collapsed at the bottom
  • new tests: flagged strategies render with their reason, the mechanism corpus is always available, enumerated disclaimers don't trip the veto, and a legality note that admits wash trading still does

Generated with Claude Code

The board sat empty and told the operator a probe had run. That was the
wrong call twice over: it copied /pki's "storing nothing is a feature"
design onto a board whose entire job is to answer "how do I make money
with a bot", and it threw away the most useful thing the engine produced
— a specific, quantified reason a plausible-looking strategy does not
work — into a log nobody reads.

- a knocked-down draft is now FLAGGED, not deleted. panel_verdict rides
  on the spec (vetted / below-bar / flagged) and the card shows it, with
  the objection that killed it. Only two things still block storage: the
  legality veto, and no spec at all
- the page leads with the strategies (vetted, then flagged and exactly
  why); the mechanism corpus moved back to a collapsed block at the
  bottom where the operator asked for it
- "Churn Now" is now "Generate one now", and says what it is doing —
  it runs a full probe cycle, which takes minutes
- admit rate still counts only vetted strategies, so storing the flagged
  ones cannot inflate it

Also fixes a live false positive in the legality veto: an honest
enumerated disclaimer ("this is not market manipulation, wash trading, or
front-running") put the negation cue 30+ chars from the last term and
vetoed a clean strategy. The legality note now uses sentence-scoped
negation — that field exists to say what the strategy does NOT do — while
prose keeps the tight window that catches "never intends to fill... i.e.
spoofing".

First strategy the reworked pipeline stored: a Hyperliquid perp-perp
funding spread carry, flagged because the draft quoted a one-way fee as a
round trip and the correction makes every trade net-negative.

2121 tests passing.

Co-Authored-By: Claude <[email protected]>
@rayketcham
rayketcham merged commit 800bc6a into main Aug 14, 2026
6 checks passed
@rayketcham
rayketcham deleted the fix/money-bots-show-the-work branch August 14, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant