Fable
There were two sets of drills for defending the city: one used catapults to smash, the other found veterans to come to the door and cause trouble
The royal city built a new treasury, and its door lock had twelve mechanisms. Before handing over the work, the craftsman brought out a bronze disc that tests locks. The disc struck the door, turned the handle and tried keys in the wrong positions according to the checklist, and quickly found three loose points.
The treasurer was satisfied, thinking the vault could now withstand bad actors. But the city guard captain frowned and said the bronze disk would only test against a known checklist; it would not disguise itself as a porter, nor watch who got drunk on the day of the banquet, nor exploit the gatekeeper's reputation.
The treasurer did not believe it, so he had the bronze plate tested for seven nights in a row. The checklist grew longer, and the keyhole was indeed more secure. But on the eighth day, an old thief got into the courtyard through a charcoal cart, holding a forged maintenance badge, and made the new gatekeeper open the side door on his own initiative.
The craftsman hurriedly added a "side door check" to the copper plate. The old thief laughed and said that next time he might start from account books, banquets or kinship relations. The problem with the vault was not only the lock, but also that someone would carry a purpose and treat the city's habits as an entrance too.
The captain therefore arranged two kinds of checks in parallel. The bronze plate was tested repeatedly against the rules every day to ensure common mechanisms would not regress; the red-clad squad changed identities, routes and pretexts every quarter, specifically devising crooked tricks the vault keepers had not thought of.
The captain also had both sides learn from each other. Loose locks found by the bronze plate were handed to the red team to exploit, and the door-deceiving scripts the red team devised became part of the next bronze plate checklist. One was responsible for stable coverage, the other for approaching real malice.
A few months later, when the finance officer read reports, he no longer just counted how many holes were found. He would look at whether these holes came from fixed mechanisms, staff habits, or process gaps; weaknesses from different sources require different fixes. The finance officer also learned to look at failure modes. If a door could be rammed open by the bronze plate every day, it meant the craftsmen's basic checks were inadequate; if only the red-clad squad could trick the door open, it meant the vault-watching process and human judgment needed remedial work. Both reports were called dangerous, yet they pointed to completely different corrections. The problems found on both sides were also graded: those that could be repeatedly rammed open were fixed immediately; those that occurred only under special scams required training guards and patching the process.
Later the vault would still be found faulty, but the treasurer finally distinguished two things: one was using a stable checklist to continuously press out known weaknesses, and the other was letting motivated people stand in the opponent's position and look for opportunities outside the rules. The former is like a whetstone, the latter like a real nighttime probe.