AIToday
Large Language ModelsAI Coding AssistantsQiita 機械学習Published: Dec 4, 2026, 10:01 JST

ServiceNow design docs by AI: only 29 of 159 errors from the LLM

Send on LINE
ServiceNow design docs by AI: only 29 of 159 errors from the LLM

3 Key Points

  1. What happened

    In roughly one month of read-only AI-generated ServiceNow design documents, 159 errors were logged. Tool code caused 73 (46%), procedure manuals 38 (24%), LLM output 29 (18%), ServiceNow behavior 13 (8%) and the author's own assumptions 6 (4%).

  2. Why it matters

    Most failures came from the harness around the model — the tool code and written procedures — not the LLM itself, suggesting that fixing the surrounding system may be more effective than making the model smarter, the author concludes.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

The author, who has five years of AI and computer-vision experience in Brazil and started working on ServiceNow × AI after moving to Japan this year, built the harness with six parts: a read-only safety fence using snc_read_only, a step-by-step procedure manual with STOP points, Python tools that grew past 10,000 lines, Skills and rules for Japanese writing style, session notes, and verification through tests and rehearsals. A core rule was to let code, not the LLM, decide what to read, so the same data and summary produce the same design document every time. The author cites Thinking Machines Lab's finding that 1,000 runs at temperature 0 produced 80 different outputs, and an Anthropic example where moving tool processing into code cut token consumption from 150,000 to 2,000.

The error analysis used about one month of work records from early November to early December, with 170 recorded errors and 159 analyzed after excluding aggregate rows. Labels were assigned along five dimensions, and a different vendor's model (GPT) labeled the same summaries with Cohen's κ of 0.77 for type, 0.76 for stage and 0.69 for source — above the 0.60 threshold McHugh says is needed to trust results, though both annotators were AI, not humans.

One striking example of a silent error: when the author tried to filter sys_choice by scope using sys_scope.scope=X, the same 114 records were returned with no condition, with =X, and with !=X, because sys_choice has no sys_scope and the condition was silently dropped. Another was a design document stating "no View Rules (0 records)" because the AI only checked UI16's sysrule_view and never looked at Workspace View Rules — a closed-world assumption error that no automated check caught. The author notes that measured precision and recall were not possible, and lists limits: one app, one person, about three weeks of data, labels assigned after the fact from notes, and rehearsal findings mostly excluded from the analysis.

FAQ
What was the goal of the AI-generated design document?
The goal was for a general ServiceNow engineer to be able to recreate the same app in the GUI using only the design document. The author says this has not yet been verified because no one has actually built the app from the document alone.
How were the errors labeled and checked?
Each error was labeled by type, pipeline stage, source, whether it raised an error, and who first noticed it. A different vendor's model (GPT) labeled the same summaries, and inter-rater agreement (Cohen's κ) was 0.77 for type, 0.76 for stage and 0.69 for source.
Did the author measure precision and recall of the design documents?
No. The author says there are no correct labels for what should be in a design document, and recall cannot be measured because missing content is only discovered when someone points it out. The only quantitative figure outside the error dataset was a diff table where 4–5 of 41 AI-generated rows were not actual differences (about 10–12% false positives, or roughly 88–90% precision).
Qiita 機械学習Read Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next article13 AI answers to one question: Fugu Max, DeepSeek and peers align