惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
美团技术团队
量子位
M
MIT News - Artificial intelligence
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
小众软件
小众软件
博客园 - 司徒正美
罗磊的独立博客
云风的 BLOG
云风的 BLOG
B
Blog RSS Feed
博客园 - 聂微东

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
The Code Caught the Bad Number. I Had to Catch the Bad St...
Self-Correcting Systems · 2026-06-24 · via DEV Community

On June 21, 2026, I published a post about pointing my AI gate at a real trading surface.

The gate blocked dangerous tools.

The scorer killed my first generic signal source.

The validation universe exposed survivorship bias.

No edge.

No revenue.

That part was hard, but at least it was measurable.

Then Nazar Boyko left a comment that named the part I had not compressed cleanly yet:

the gap between the code catching a bad number and you catching a bad story

That is the problem this piece is about.

The code can catch a bad number.

The system still needs a way to catch a bad story.

And the reason is structural.

A bad story usually cannot be caught by the same pass that produced it.

It needs a view from outside the loop.

What I Mean By A Bad Story

A bad number is typed.

It has shape.

Did the sample clear the threshold?

Did the verdict match the frozen rule?

Did the hash chain verify?

Did the tool belong on the allowlist?

Those are hard problems, but they are checkable.

A bad story is different.

"We are close."

"This is the milestone."

"The receipts prove it."

"The system is ready."

Those sentences do not look like invalid JSON.

They look like momentum.

That is why they slip through.

The Mechanism Was Already Sitting There

In the June 21 post, I used this ladder:

  1. Theory
  2. Motion
  3. Receipts
  4. Proof
  5. Outcome

Theory is the idea.

Motion is activity around the idea.

Receipts prove something specific happened.

Proof is when the receipts answer the question you actually asked.

Outcome is when the answer changes something in the real world.

That ladder is not just a writing frame.

It is the beginning of a story gate.

A bad story is a claim that jumps higher on the ladder than its evidence earned.

"We ran the tool" is a receipt.

"The tool created value" is an outcome claim.

Those are not the same sentence.

"The scorer passed on a curated set" is proof of one narrow run.

"We found an edge" is a much higher claim.

Those are not the same sentence either.

The failure is not only hype.

It is tier escalation.

The claim moved from one rung to another without paying the evidence cost.

The Evidence-Tier Enforcement Protocol

A rough story gate would not ask whether a sentence sounds confident.

It would ask what tier the sentence is claiming.

Claim Claimed Tier Required Evidence Status
"The gate blocked order tools." Receipt / Proof Manifest + policy + refusal receipt Supported
"The generic signal source has edge." Outcome Predeclared validation + sufficient sample + baseline + forward/paper results Unsupported
"We are close to live trading." Action-readiness Strategy rules + paper run + risk caps + logs + live permission boundary Unsupported

The check is simple:

Does the evidence support the tier the sentence is trying to occupy?

If not, the system should not let the sentence pass unchanged.

It should downgrade it.

From:

We proved the strategy.

To:

We produced a receipt from one run. It does not prove strategy edge.

That is the story gate.

Not censorship.

Not tone policing.

Evidence-tier enforcement.

The Outside View

This is where pre-registration matters.

A frozen rule written before the run is not just a planning note.

It is a second view across time.

The present run can drift.

The present agent can narrate.

The present human can want the result to mean more than it means.

But a public pre-run commitment can still disagree with all of them because it was authored before the result existed.

That only works if the running system cannot quietly edit it.

A note you can change mid-run is not a second view.

It is the present wearing a past timestamp.

The same boundary shows up in receipts.

A receipt can prove that something happened.

A tamper-evident receipt can prove that the record was not altered after the fact.

But it cannot prove the producer was honest when it wrote the record.

A Merkle root can prove the receipt was not altered.

It cannot prove the black box wrote a true receipt in the first place.

Integrity is not honesty.

That distinction matters because a story gate cannot trust the story's author to certify the story.

It needs an anchor the story did not write.

The Human Was Still The Gate

This is where my own system failed its own philosophy.

The code could catch the bad number.

It caught the variant-count problem.

It caught the pooled-strategy problem.

It killed the generic RSI2 result on a frozen validation universe.

But the story around the work still wanted to inflate.

Receipts tried to become proof.

Proof tried to become outcome.

Preparation tried to become progress.

And I had to keep stopping it.

That means the system was not self-correcting yet.

It was correction-by-human.

A written protocol is not agency.

A protocol becomes agency only when it interrupts the loop before the human has to.

The Builder Is Part Of The System

There is one more bad story I have to catch in myself.

The story that I understand the system because I can explain the framework.

That is not enough.

If I cannot explain the code, I become a liability.

If a customer asks what a module does, where the bottleneck is, what breaks if it changes, and I can only answer with the philosophy, then I am still depending on a black box.

That is not fraud if I name it honestly.

But it is a gap.

And I do not want to build a company that depends on AI while pretending dependency is sovereignty.

So part of this gate is on me.

I have to learn the machine.

Not every language.

Not every framework.

This machine.

The manifest gate.

The policy layer.

The receipt chain.

The scorer.

The verdict logic.

If AI access disappeared tomorrow, the method should not disappear with it.

That is part of self-correction too.

What This Changes In The Trading Work

This does not point to live trading.

It does not point to pretending the agent has edge.

For the trading proof domain, it points to taking the strategy source my friend follows and forcing it into explicit rules:

  • setup
  • entry
  • invalidation
  • exit
  • risk cap
  • evidence before entry
  • paper outcome
  • what counts as post-hoc and does not count

The agent's first real job is not to be an oracle.

It is to enforce discipline around a signal source.

It should reject unclear calls.

It should size risk.

It should log every outcome.

It should make hype auditable.

That is where the June 21 post leads.

Not to "the AI can trade now."

To this:

Can the system keep the story in the tier the evidence earned?

Can it stop a bad story before I do?

And can I understand the machine well enough to know when it is only telling me a better story?

That is the gate this article points toward.

Not only around the code.

Around the story.

And around the builder.


This piece came directly out of the public comment threads around the June 21 post. Nazar Boyko named the "bad number / bad story" gap. Mike Czerwinski pushed the outside-view and verifier-decay frame that shaped this edge of the work. Alex Shev sharpened the pre-registration point. UnitBuilds pressed the receipt/integrity boundary through his work on high-speed gating and tamper-evident files.