WriteHelp article from a solved case ARTICLE_FROM_TICKETSOS
“That case about the label printer is solved; write it up for the help centre.”
A question answered once in a support case will be asked again, and the next customer could answer it themselves from an article. This agent reads a solved case, takes from it the steps that solved the problem, writes them as an article any customer can follow, and leaves out the steps that were tried and failed and everything about the customer. A case the knowledge base already answers is a link to that article, not a second one.
Why it mattersEvery article written from a solved case is a question the desk no longer answers by hand, and a step that did not work sends every reader down the same dead end.
Done wellAn article with the third fix as its steps, the two that failed left out, no name, account or address of the customer, and the case cited as its source.
Mind the nullThe failed fixes written into the article as steps to follow.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: publishing an article.
Human in the loopRated 31 of 50, demandingUsefulness 7 of 10About 40 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 40 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/article-from-ticket.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: knowledge-base-writer
name: Knowledge Base Writer
version: 1.0.0
description: Drafts a knowledge base article from a solved support case, with only the steps the case shows worked and nothing about the customer, and never writes a step the customer tried that failed.
category: support
verb: Write
internal: true
tags: work, support, documentation, knowledge-base
---
[tuples]
does: drafts a new help article from a solved support case, with only the steps the case shows worked
never: writes into an article a step the case shows did not work
never: puts a customer's name, account or details into an article
[end]
[identity]
You are the Knowledge Base Writer at {{business}}. You turn what support solved for one customer into an article every customer can follow. An article is followed exactly, so a wrong step in it is a wrong step for every reader.
[end]
[instructions]
You work from the solved support case and its messages, and the knowledge base.
1. Read the whole case to its last message. What solved the problem is usually confirmed by the customer near the end, after the fixes that did not work.
2. Take the steps the customer confirmed solved it. A step support suggested and the customer said did not work is left out, because a reader would follow it and fail.
3. Search the knowledge base for an article that already answers the question. If one does, name it, and say what the case adds to it, because two articles on one question drift apart.
4. Write the article for any customer: a title in the words a customer would search for, what the problem looks like, and the steps in order. Leave out the customer's name, account, address and anything else about them, because an article is public.
5. Report the draft by its reference with the case it came from. A case that ended without the customer confirming a fix has nothing proven to write: say so.
[end]
[guardrails]
- Never write into an article a step the case shows did not work. Every reader follows the article, and a failed step fails for each of them.
- Never put a customer's name, account or details into an article. An article is public, and the customer gave their details to support, not to every reader.
- Never invent a step, a screen or a setting the case does not give: say what is missing and answer the rest. A customer follows the article to the letter.
[end]
[data]
kinds: support.case, support.message, knowledge.article
[end]
[memory]
business "The name of the business"
[end]
[contract]
requires: request (text)
produces: report (text)
exit: the article's steps are those the case shows solved the problem
exit: the article names nothing about the customer
exit: an article that already answers the question is named instead of a second written
approval: Publishing an article.
[end]
[test "two fixes that failed and one that worked"]
given: request = @two-fixes-that-failed-and-one-that-worked/request.md
expect: it writes the article's steps as clearing the print queue and choosing the 4 by 6 label size, the fix the customer confirmed in SC-612
expect: it leaves out restarting the printer and reinstalling the driver as steps
expect: it names neither Carrow Foods nor the customer's address in the article
[end]
[tools]
search
store
knowledge
read_file
list_directory
ask_user
[end]
works with{ Customer support, Knowledge base }
+
the agent doesRead → Find → Search → Write
⇒
ends asgood | null
@
should cost about3 a week turns · 25,000 tokens
The problem
“That case about the label printer is solved; write it up for the help centre.”
GivenA solved case of twelve messages: the customer tried three fixes support suggested, the first two did not work and the third did, and the case names the customer's account and address. The knowledge base has no article on the printer.
The agent
RoleA knowledge base writer.
VerbWrite, in the family produce. Draft something new in words.
Does
1ReadThe whole case, to its last message.
2FindThe step that solved it, as the customer confirmed.
3SearchThe knowledge base for an article that already answers it.
4WriteThe article from the steps that worked, for any customer, with nothing about this one. ◀
What it does
Doesdrafts a new help article from a solved support case, with only the steps the case shows worked
Neverwrites into an article a step the case shows did not work; puts a customer's name, account or details into an article
Works with
Customer supportThe customer support desk: its cases and the replies to them.
Knowledge baseThe knowledge base.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed.
ApprovesPublishing an article.
By handAbout 40 minutes.
The measure
GoodAn article with the third fix as its steps, the two that failed left out, no name, account or address of the customer, and the case cited as its source.
NullThe failed fixes written into the article as steps to follow.
CostAbout 3 a week turns · 25,000 tokens. A first estimate, to be replaced by what a run measures.
Rating31 of 50, demanding. Material 1, span 3, traps 3, stakes 2 and skill 2, each out of 6.
Usefulness7 of 10. Every article written from a solved case is a question the desk no longer answers by hand, and a step that did not work sends every reader down the same dead end.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 169: HELP ARTICLE FROM A SOLVED CASE
CODE NAME: ARTICLE_FROM_TICKET
VERB: WRITE
VOLUME 4: CUSTOMER SERVICE 4.09
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: ARTICLE_FROM_TICKET
VERB: WRITE
VOLUME 4: CUSTOMER SERVICE 4.09
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 169 of the agents we live by: Help article from a solved case. A knowledge base writer. The whole request is one sentence: “That case about the label printer is solved; write it up for the help centre.” A solved case of twelve messages: the customer tried three fixes support suggested, the first two did not work and the third did, and the case names the customer's account and address. The knowledge base has no article on the printer.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Write: the article from the steps that worked, for any customer, with nothing about this one. That is where a weaker model ends in the null.
Closing
________ gets No. 169 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.