memory_receta
Save, search, and retrieve step-by-step procedures for tasks like starting services, testing, deploying, and migrating; record outcomes to rank recipes by reliability.
Instructions
[alias of cuba_receta] PROCEDURAL MEMORY: how things are DONE here — bring up the dev services, run the test suite, deploy, migrate. The other tools remember what is TRUE; this one remembers what to DO, so an agent stops rediscovering it every session. Ranked by reliability, not by how often it is read: report the outcome with action='outcome' after running one, or the memory learns nothing. A recipe that keeps failing is worse than none, because it is trusted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Procedure name, e.g. 'levantar el entorno de desarrollo' | |
| limit | No | Max results | |
| query | No | For action=search | |
| steps | No | Ordered steps: [{do: '...', run: 'comando'?, expect: 'qué debe pasar'?}] | |
| action | Yes | search: find by meaning. get: fetch by exact name. add: store/update (re-adding the same name edits it, keeping its track record). outcome: record success/failure — this is what teaches it. | |
| success | No | For action=outcome: did it work? | |
| trigger | No | WHEN this applies — the IF half. e.g. 'cuando hay que levantar los servicios de mapupita-web' | |
| allow_secret | No | Refused when the text looks like a live credential (token, password, URL with embedded creds). Set true only for a false match — the text is then stored verbatim, in clear, and reachable by search, export and every client. | |
| verification | No | How you know it actually worked | |
| preconditions | No | What must already be true before starting |