- Kind
- Engineering Note
- Products
- theStandards
- Evidence
- 1 reported · 1 merged
Illustration Among the sources opened, none records how strong the evidence is for each rule. Two optional fields, vulnerableConditions and enforcement, were taken from them on 20 November.
theStandards is my catalog of engineering rules for apps that use AI models, harvested from my own apps. Each rule carries a level (MUST, SHOULD, MAY) and, separately, an evidence level from E0 to E3 that says how much the apps and outside sources actually support it. I wanted to know what comparable public guidance looks like, and whether I am rebuilding something that exists.
What was read
A research agent opened the public sources directly where it could. They were:
- Microsoft’s Guidelines for Human-AI Interaction and Google’s People + AI Guidebook;
- Apple’s Human Interface Guidelines on generative AI;
- the OWASP Top 10 for LLM Applications, and OWASP’s material on agents;
- NIST’s AI Risk Management Framework and its Generative AI profile;
- Google’s Secure AI Framework;
- Anthropic’s and OpenAI’s guidance on agents;
- the Model Context Protocol specification and its security page;
- the AGENTS.md and Agent Skills formats, and community rule collections for coding agents.
Every source in the file has its URL and the access date. Most pages were read through a summarising fetch tool rather than raw, and some only in part: two of six chapters of Google’s guidebook, and one entry of the OWASP list in this session (three more a month earlier).
What they have that I lacked
Two habits stood out.
Saying when the failure happens. The MCP security page describes each attack, then the conditions under which it works, then the mitigation; its guidance on permission scopes also lists common mistakes. My records had a failure mode and a list of anti-patterns, which serve as the common mistakes, but no list of the conditions a reviewer can check one by one.
Saying what the text cannot enforce. The MCP specification says of its own principles:
MCP itself cannot enforce these security principles at the protocol level
Anthropic’s documentation for Claude Code says the same about its instruction file: it is “context, not enforced configuration”, and a hard block belongs in a hook. My rules said what must hold, but not where that is actually enforced: a server check, a test, or a person’s review.
What I took
They were the top two of ten suggestions in the research, and I approved both the same day. The record format got two optional fields: vulnerableConditions and enforcement. The research had said the conditions could fit into the existing failure-mode field; a separate field was chosen so that each condition can be checked on its own. They are optional, so no accepted rule and none of its review digests changed. The first use is the candidate rule about repeated requests, filled only from what that record already said. Sous is my cooking app and Domio my household inventory; a sender in Sous retries a shopping card to Domio:
"vulnerableConditions": [ "An acknowledgment is lost after the receiver applied the effect, and the sender retries.", "The receiver accepts a call that carries no key and runs it with no deduplication."],"enforcement": [ "That a sender keeps one key across retries lives in the sender's code and tests, such as Sous's stable outbox keys and atomic enqueue (tests/outbox.test.ts).", "That a repeated delivery produces one effect end to end is shown by a test or an observed duplicate send; none was observed live between Sous and Domio (entry [1])."]The audit of that first use removed two lines. One was a condition about a retry after the receiver has forgotten the key: earlier that day I had decided that keeping keys is good practice, not part of this rule. The other stated a position of the whole catalog, not a fact of this record, and the auditor doubted it was even accurate.
What none of them has
Among the sources the agent opened, none records per rule how strong the evidence for it is. Microsoft’s guidelines were validated as a set, in a user study. NIST’s generative-AI profile ties each suggested action to risks, but gives it no evidence level; its evidence is the public consultation behind the whole document. OWASP’s entries give example attack scenarios and references. The one community collection of rules for coding agents that was opened states no review process in its README. My catalog’s evidence levels, and the known disagreements each rule lists against my own apps’ code, have no counterpart there.
That does not make the catalog better than those sources. They cover far more ground, written by many people for many products. Mine holds 21 rules, 5 accepted and 16 candidates, from six apps of one owner, and every one is at E1, the lowest level of real evidence.
What is not known
- The research is one agent’s reading in one session, not audited. Several sources could not be opened, and wording marked as fetched may be slightly off.
- No open, widely used catalog of engineering rules for LLM apps was found, but only one search was run for it, with a search tool that covers the US only.
- Most of Google’s guidebook and most entries of the OWASP list were not read in this session.
- The risks those sources cover that my catalog does not, such as limits on cost and number of model calls, are listed in the research and left open: drafting rules for them is not planned yet.
- Whether the two new fields make reviews better is not measured. They are filled in one candidate so far.
Evidence
The sources are private, so each item is described in words, with the state it is in.
Reported
The research file
An agent's reading of public pages, kept in the catalog with every URL and the access date. Quotes marked as read raw are exact; the rest came through a summarising fetch tool. Nobody audited the file, and some sources could not be opened (ISO's own pages, the per-guideline HAX pages, OWASP's agentic list entries).
Stated by the project itself. Not checked independently.
Merged
Two optional fields in the record format
Added to the schema with tests on 20 November and filled in one candidate rule as a worked example, then corrected after an audit. No accepted rule uses them yet.
In the main branch. Not necessarily deployed.
