Add principle 5: Machine-Verified Completeness#44
Open
Mehdys wants to merge 1 commit intoforrestchang:mainfrom
Open
Add principle 5: Machine-Verified Completeness#44Mehdys wants to merge 1 commit intoforrestchang:mainfrom
Mehdys wants to merge 1 commit intoforrestchang:mainfrom
Conversation
Karpathy's four principles address behavior and planning. This adds the missing enforcement layer: machine gates, gap declaration, and verified completeness. 'Build passes' ≠ 'done'. Only verified execution of the user's actual scenario is done.
Author
|
Derived from shipping a real production app with Claude Code as a co-engineer. The four principles fix behavior — what the model does while working. But there's a gap: nothing enforces that the model actually verified its work before declaring it done. In practice, the most common failure mode isn't overcomplication or style drift. It's the model saying "fixed" when it only checked the code visually — not ran lint, not checked types, not declared what still needs browser/runtime testing. Principle 5 closes that loop:
Happy to iterate on the wording if it doesn't fit the style of the other principles. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A fifth principle: Machine-Verified Completeness — the enforcement layer missing from the four behavioral principles.
Karpathy's principles fix behavior. This fixes verification: how do you actually confirm the AI did what it said?
The principle
Why it belongs here
The four principles address what the LLM does. This addresses what it claims. Without it, the model can follow all four principles perfectly and still deliver unverified work — the most common failure mode when shipping real product.
Also updated the trailing "working if" line to include the machine verification signal.
Derived from shipping a real product with Claude Code as a co-engineer.