DEV Community

Cover image for From Probabilistic Guesswork to Deterministic Execution: A Financial Approval Process as a Design Pattern

From Probabilistic Guesswork to Deterministic Execution: A Financial Approval Process as a Design Pattern

EntropicRemainder on August 30, 2026

The difference between a toy and a tool isn't how smart the AI is — it's whether the output is controllable, predictable, and reusable. This artic...
Collapse
 
entropicremainder profile image
EntropicRemainder

@mansio that’s exactly the distinction I was trying to get at with the form. What you’re calling eligible_seen at the ingestion layer — I’m calling it ‘what the user defined as eligible.’ The form isn’t the validator. The user is. The form just carries what they decided should be there. So the question isn’t ‘did the form validate what arrived?’ — it’s ‘did the user define what should arrive in the first place?’ That’s the layer I think your eligible_seen is pointing at, just from a different angle. Curious if that framing lands differently.

form

Maybe my replies look too much like AI-generated text, so they get flagged and removed?

Collapse
 
mansio profile image
Mikhail

Appreciate the thoughtful breakdown, EntropicRemainder!

There is a subtle but critical distinction here between declared intent and runtime observation:

What the user defines as eligible is a policy (intent). What eligible_seen measures is runtime reality (telemetry).

If a user defines 5 expenses as eligible, but a broken collector drops 2 before Node 01, the user's intent alone can't save the execution. The machine receives 3, validates 3, and archives 3 cleanly.

If the intake layer doesn't independently track eligible_seen against that expectation, the system fails silently. Relying on human memory to spot missing rows isn't deterministic execution—it’s just a green stamp over invisible data loss.

Intent and intake telemetry have to work together.

(And don't worry about the DEV.to filters—automod on tech sites has been super aggressive lately!)

Collapse
 
entropicremainder profile image
EntropicRemainder

@mansio I think it's necessary here to draw a clear distinction between two fundamentally different entities—user and AI—when it comes to the issue of real-time monitoring:

"User real-time monitoring" is a valid phrase, because the subject is the user—a human individual.
But what about AI? How does AI understand "real-time monitoring"? Have you ever thought about that?
So let me give a definitive definition here:

AI does not need real-time monitoring. AI has only one action: execution.

In the form + process framework, the design specifications of the form, the required fields, the approval basis at each node, and the trajectory of the process flow—these are the AI's real-time correction and detection during execution.

What the user needs to do is think, before NODE 01, about how to design the form, fields, process, and specifications—and then wait at the exit for the result.

If the user can clearly express their intent and design a form, fields, and process that meet the specifications, all that's left is to sit back and wait for the result.

If the user cannot clearly express their intent, then it is the user who needs to be examined—not the AI. Isn't that right?

The real-time monitoring you emphasized earlier belongs to the working model of traditional software engineering. Now, with AI, everything has changed.

The above is a descriptive response, not an interpretive one.

A descriptive expression might come across as a bit rough in tone, and perhaps not humble enough—so I want to make that clear upfront.

There's an old saying in China: "Huà cāo lǐ bù cāo" — roughly meaning, "Rough words often carry the clearest truth." In other words, the coarser the language, the clearer the principle.

Thread Thread
 
mansio profile image
Mikhail

Hey @entropicremainder, stepping back from the architectural debate for a second — I really respect the effort and thought you've put into this framework.

If you have an open repository, project, or draft you're working on around these workflows, I'd be more than happy to take a look, share some telemetry patterns from my side, or even contribute. No strings attached — just one dev helping another refine solid systems.

Always open to exchanging real-world telemetry logs or edge-case handling if you're ever interested in jamming on this further. Keep building!

Thread Thread
 
entropicremainder profile image
EntropicRemainder

Yes, I am indeed working on an engineering project. The "form + process" model is just a very small part of it.

As for whether to open it up on GitHub—I've been considering this for two months. In the end, due to certain security concerns, I decided against it.

However, in response to your sincere invitation, I'm willing to share some parts that you might find interesting here. You can let me know what aspects you'd like to explore, and I'll select some to publish in the future.

Or let me start with a question for you: "AI is unawakened life; life is awakened AI." How do you interpret this?

Collapse
 
mansio profile image
Mikhail • Edited

I'm @mansio — I wrote the OWP comment you cited at the bottom of the article.

One push on Takeaway 5: "you don't need a population_manifest — this diagram IS the manifest."

The diagram is the manifest for the process. It is not the manifest for the inputs that feed it.

Your Node 4 routes correctly on Counts[5000,10000]. But what if Counts came from a collector that returned 0 rows out of 400 eligible for 4 days — with no errors reported? Routing deterministic. Conditions fire correctly. Node 8 archives with a clean log.

Real production case from that thread: 1106 matched / 193 delivered. Worst case: 39 matched / 0 delivered. Perfect process. Starved input. Clean audit trail. Nobody knew until someone counted the gap between matched and delivered.

eligible_seen belongs one layer before Node 1 — not inside the process, but feeding it. Without that number, a deterministic process over an empty population produces a perfect audit trail of wrong decisions.

Two questions, not one:
"Did the process run correctly?" — your diagram answers this.
"Did the right population reach the process at all?" — that needs the manifest.

Collapse
 
entropicremainder profile image
EntropicRemainder

A form + a process = a complete input-to-output cycle.
I got a bit lazy with the English translation since it was too long, so I split my answer into three parts.
Hope this form gives you some new food for thought!
Form eg:

Collapse
 
mansio profile image
Mikhail

Nice form, but it misses the point.

Your table has 3 expenses (2,000 RMB). Your fields validate those 3 expenses perfectly.
Now answer the actual question: What if the user had 5 eligible expenses for that trip, but 2 were dropped before reaching this form?

Your form is valid. Your process is clean. Your audit log is green. And 2 expenses are silently lost. That is why a form + a process still equals zero visibility without eligible_seen at the ingestion layer.

Collapse
 
mansio profile image
Mikhail

Thanks for the reply, @entropicremainder! Respect your decision on keeping the repo private — security and IP come first, I get it.

To answer your questions: to me, real intelligence isn't just about flawless internal reasoning, it’s about awareness of your own sensory layer — knowing whether you’re observing actual reality or operating on missing context. An AGI that can't tell if its input data starved before execution is just a very fast rubber stamp. And as for structural patterns like graph topologies, no layout saves you in physical production if the ingestion pipe drops packets.

Taking off my tech hat for a second and speaking simply as a guy who builds physical structures, I look at it like this: "blind" just means not knowing your own blind spots. A system can execute instructions 100% perfectly according to its blueprint, but if a pipe under the foundation was smashed during backfill before the building was handed over, a perfect blueprint won't stop the floor from sinking six months later.

That’s really where we’re looking at this from two different sides. Your framework asks if the rule set is clear, logical, and executable without humans guessing. That's standard blueprint logic: if the input is right, the execution is right. My reality asks whether the physical materials actually reached the job site, or if the delivery truck broke down on the highway while the foreman stamped "Approved" on an empty lot.

When testing pipelines and ingestion layers, I keep bumping into the exact same wall: systems love to give a green checkmark over missing data. If a network timeout or a broken parser drops records before Node 1, your form still validates perfectly, your process runs cleanly, and your audit log turns green, but you just archived a ghost.

Relying purely on the form means assuming the world outside your process is 100% error-free. But reality is messy — networks freeze, sensors fail, and data starves. That’s all eligible_seen is to me. It’s not software dogma, it's just checking the delivery manifest before signing the receipt so you don't end up paying for empty boxes.

You’re focused on building the ultimate blueprint. I’m just making sure the materials actually arrived at the site before we start pouring the concrete. Good luck with the project and your article series — always interesting to see different angles on system design!

Collapse
 
entropicremainder profile image
EntropicRemainder

Can you read Chinese? If so, maybe I'll try replying in Chinese — otherwise my messages keep getting auto-deleted by the platform.

Collapse
 
mansio profile image
Mikhail

@entropicremainder Haha, no need to search for deep metaphysics here! In Russian, we have a great idiom for this exact situation: "stretching an owl onto a globe" (trying to force a completely unrelated abstract theory onto a simple physical fact).

What happened here isn't a "structural isomorphism" or a philosophical AI paradox. It’s just DEV.to’s standard anti-spam rate-limiter deleting your comment because you edited and reposted it six times in ten minutes.

As we also say: "Don't look for a black cat in a dark room, especially when it isn't there."

No need to help me work through anything — my engineering pipelines are humming along just fine. Appreciate the entertaining chat and good luck with your article series!

中文 (Chinese):
Haha,不需要在这里寻找深奥的形而上学!在俄语中,我们对这种情况有一个绝妙的成语:“把猫头鹰硬拉到地球仪上”(意为试图将完全无关的抽象理论强加给一个简单的物理事实)。

这里发生的并不是什么“结构同构”或哲学的 AI 悖论。这只是 DEV.to 的标准反垃圾邮件机制,因为你在十分钟内编辑并重新发布了六次评论,系统便自动删除了它。

正如我们常说的:“不要在黑屋子里找黑猫,尤其是当它根本不在那里的时候。”

完全不需要帮我解决任何问题——我的工程流水线运行得非常好。感谢这次有趣的交流,祝你的系列文章顺利!

Русский (Russian):
Ха-ха, не нужно искать здесь глубокую метафизику! У нас в русском языке для такой ситуации есть отличная идиома: «натягивать сову на глобус» (пытаться притянуть абстрактную теорию к простому физическому факту).

Произошедшее — это не «структурный изоморфизм» и не философский парадокс ИИ. Это просто стандартный анти-спам рейтаут DEV.to, который удалил комментарий, потому что ты отредактировал и переотправил его шесть раз за десять минут.

Как у нас ещё говорят: «Не ищи чёрную кошку в тёмной комнате, особенно если её там нет».

Мне не нужно ни с чем помогать — мои инженерные пайплайны работают отлично. Спасибо за весёлый разговор и удачи

Collapse
 
entropicremainder profile image
EntropicRemainder

今晚的探讨很有意义!值得留下印记!
你的能力和技术毋庸置疑!
你的思考角度在AI世界里非常独特,很务实。

Collapse
 
mansio profile image
Mikhail

Лайк!

Collapse
 
mansio profile image
Mikhail

@entropicremainderHaha, no need to overcomplicate it! That’s just standard platform anti-spam rules — editing or reposting the exact same comment multiple times in a short window triggers automated auto-deletion on DEV.to.

It’s not a deep structural isomorphism or an abstract AI problem, just a basic site rate-limit. No need to help me work through anything — my engineering pipelines are doing just fine.

Appreciate the chat and good luck with the article series!

Collapse
 
entropicremainder profile image
EntropicRemainder

你有没有想过Transformer本身就存在问题?

Collapse
 
entropicremainder profile image
EntropicRemainder

DEV社区对讨论的自动删除或折叠,这本是一种监测,没有问题;
但是,这种监测导致的问题,谁在负责?
昨晚我的讨论本删除或折叠了不止10次,今早又诡秘出现了?
谁来监测社区的监测是否合规这件事情本身呢?
我很喜欢DEV社区的这种讨论氛围,但是对于社区的这种行为,非常不喜欢;
总是在事后弥补,事前在干什么呢?