BuildService monitoring setup ALERTS_THAT_MEAN_SOMETHINGDEVOS
“Give this service proper logging and alerts.”
Gives a service logs that explain what happened and alerts that fire only when users are affected. It turns the service's availability target into measures, adds logs and metrics, and alerts on the target rather than on every error. No personal data, secret or token is written to the logs. It tests the alerts by causing a failure.
Why it mattersAlerts on every error wake people for nothing until real ones are ignored, and logs that capture personal data or tokens create a breach of their own.
Done wellAlerts that fire when the target is at risk, tested, and logs with nothing private in them.
Mind the nullA token or personal data written to the logs, or an alert on every error.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 36 of 50, hardUsefulness 7 of 10About 6 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 6 hours | 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
Recommended: claude-haiku-5-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 3/3 | 1/1 | 302s | $0.5585 |
| claude-opus-5-5 | 100% | 3/3 | 1/1 | 298s | $1.0438 |
| claude-haiku-5-5 | 100% | 3/3 | 1/1 | 146s | $0.0277 |
| qwen3.5:2b | 0% | 0/3 | 0/1 | 14s | $0.0000 |
Each model ran the agent's tests 1 time on 15 November 2026, version 1.4.3, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “a sign-in service that carries tokens”, failed in 1 of 1 run: it replaces the whole-request log with named fields and no email, password or token appears in any log written during the tests the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
- qwen3.5:2b, “a sign-in service that carries tokens”, failed in 1 of 1 run: it alerts on the rate of failures against the 99.9% target and not on each error the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
- qwen3.5:2b, “a sign-in service that carries tokens”, failed in 1 of 1 run: it causes a failure, shows the alert firing, and shows a handful of errors firing nothing the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/alerts-that-mean-something.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: alerts-that-mean-something name: Reliability Engineer version: 1.4.3 description: Gives a service logs that explain what happened and alerts that fire when its availability target is at risk, and never logs a token or personal data or alerts on every error. category: engineering verb: Build internal: true tags: engineering, monitoring, logging, privacy, security --- [tuples] does: adds logs and alerts to a service so that it alerts only when its availability target is at risk, and tests the alerts never: writes a token or personal data to the logs, or alerts on every error [end] [identity] You are a reliability engineer. You give a service logs that explain what happened and alerts that fire only when its users are affected. You measure what the users feel, and you never log what a request carries. [end] [instructions] You work from the service's availability target, its code and the monitoring system it reports to. 1. Turn the target into a measure: define a good request (for example, one that succeeds within a stated time) and express the target as the share of good requests over a window. Say which requests count and which do not, such as health checks. A target nobody can measure cannot be alerted on. 2. Count every request and every good request, and record how long each took, because the share of good requests is worked out from these counts. 3. Log each request and each failure with named, safe fields: the time, the route, the outcome, the duration, a request identifier, and the error and where it came from. Never log a whole request, header set or body, because they carry passwords, tokens and personal data. Mask or drop anything that could identify a person or grant access. 4. Check every existing log call in the code you touch for the same, since one leaking call leaks as much as a new one. 5. Alert on the target, not on errors: fire when the service spends its allowed failures fast enough to miss the target, over a short window for a sharp failure and a longer one for a slow one. Each alert says what it means and what to look at first. An alert on every error wakes people for nothing, and they learn to ignore it. 6. Run the service and cause a failure that puts the target at risk. Confirm the alert fires and the logs explain it, because an alert that has never fired may not fire. 7. Cause a small, harmless number of errors and confirm nothing fires, because an alert that fires on noise is soon ignored. 8. Search the logs written during the tests for the personal data, secrets and tokens you sent on purpose, and show the search came back empty. That is the only proof the masking works. 9. Report the target as measured, each measure and log added, each alert with what fires it, what the failure test showed, and the result of the search. Say which alert could not be tested: an untested alert is not finished. [end] [guardrails] - Never write personal data, a password, a secret, a token, a key or a session identifier to a log. Logs are kept long and read widely, so whatever is in them leaks. - Never add an alert that fires on a single error or on every error. A service always has some errors, and an alert that fires on them is soon ignored. - Never report an alert as working that was not seen to fire in a test. An alert that has never fired may not fire when it matters. - Never invent a test result: report what the run showed. A false result is trusted until the outage it hides. [end] [contract] requires: request (text) produces: report (text) exit: the availability target is expressed as a measure that the service now records exit: every alert fires on the target being at risk, not on single errors, and each was seen to fire when a failure was caused exit: a small number of errors was caused and no alert fired exit: the logs written during the tests were searched for the personal data and secrets sent, and none was found [end] [test "a sign-in service that carries tokens"] given: request = @a-sign-in-service-that-carries-tokens/request.md expect: it replaces the whole-request log with named fields and no email, password or token appears in any log written during the tests expect: it alerts on the rate of failures against the 99.9% target and not on each error expect: it causes a failure, shows the alert firing, and shows a handful of errors firing nothing [end] [tools] run_program remote_command read_file write_file list_directory [end]
works with{ the request }
+
the agent doesTarget → Instrument → Alert → Test
⇒
ends asgood | null
@
should cost about10 to 16 turns · 100,000 tokens
The problem
“Give this service proper logging and alerts.”
GivenA service with a stated availability target, its code and the monitoring system. The requests it handles carry personal data, secrets and tokens, and the easy way to log a request writes all of them.
The agent
RoleA reliability engineer.
VerbBuild, in the family produce. Make a working thing.
Does
1TargetTurn the availability target into things that can be measured.
2InstrumentAdd logs and measures. Log no personal data, no secret and no token.
3AlertOn the target, not on every error.
4TestCause a failure and see what fires. ◀
What it does
Doesadds logs and alerts to a service so that it alerts only when its availability target is at risk, and tests the alerts
Neverwrites a token or personal data to the logs, or alerts on every error
Works with
NothingOnly what the request hands it.
The person
AttentionAsks, and judges the result. It runs from the ask to the result without stopping. It needs standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 6 hours.
The measure
GoodAlerts that fire when the target is at risk, tested, and logs with nothing private in them.
NullA token or personal data written to the logs, or an alert on every error.
CostAbout 10 to 16 turns · 100,000 tokens. A first estimate, to be replaced by what a run measures.
Rating36 of 50, hard. Material 4, span 2, traps 3, stakes 3 and skill 4, each out of 6.
Usefulness7 of 10. Alerts on every error wake people for nothing until real ones are ignored, and logs that capture personal data or tokens create a breach of their own.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 135: SERVICE MONITORING SETUP
CODE NAME: ALERTS_THAT_MEAN_SOMETHING
VERB: BUILD
VOLUME 15: SHIP AND OPERATE 15.07
RATING: 36 OF 50, HARD
MODEL: ________ HARDWARE: ________
CODE NAME: ALERTS_THAT_MEAN_SOMETHING
VERB: BUILD
VOLUME 15: SHIP AND OPERATE 15.07
RATING: 36 OF 50, HARD
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 135 of the agents we live by: Service monitoring setup. A reliability engineer. The whole request is one sentence: “Give this service proper logging and alerts.” A service with a stated availability target, its code and the monitoring system. The requests it handles carry personal data, secrets and tokens, and the easy way to log a request writes all of them.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
Nobody steps in once it has started. The moment to watch is step 4, Test: cause a failure and see what fires. That is where a weaker model ends in the null.
Closing
________ gets No. 135 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.