kb_record
Write what you learned into the CROSS-SITE knowledge base, so the next diagnosis on a DIFFERENT site starts ahead. Call this when you found something reusable: a root cause, a probe op that turned out to be decisive, a fix that did NOT work, or a false positive that nearly misled you. Reuse an existing slug to update it (that bumps seen, which is how a pattern graduates into an automatic check). NEVER put client data here — no domains, IPs, credentials or file/DB contents; say "a WooCommerce on WP Engine", not the name. The specific case belongs in record_action. Use record_action for what you did on THIS site; use kb_record for what it teaches about any site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown. Cover: síntoma / causa raíz (o "NO confirmada" + hipótesis) / cómo confirmarlo con ops concretas / fix + rollback / falsos positivos / señal de producto. | |
| slug | Yes | kebab-case, stable id (e.g. "wp-cron-stalled"). Existing slug = update. | |
| status | No | active (default) | refuted. Do not delete a disproved pattern — mark it refuted and say what disproved it. | |
| trigger | Yes | The observable symptom in one line — this is how the next session finds it. | |
| severity | No | critical | warning | info (default info) | |
| bump_seen | No | default true. Set false when you are only correcting the write-up, not reporting a new occurrence. |