Save Gerbil discoveries as cookbook recipes, suggest tooling improvements, and add security patterns
Review what was learned during this session and save it in three ways:
For each non-trivial Gerbil pattern, workaround, or API discovery made during this session:
gerbil_howto with relevant keywords to check if a recipe already existsgerbil_howto_add with:
id: kebab-case identifiertitle: human-readable titletags: 4-6 search keywords (module name, task, alternative phrasings)imports: all required imports (use [] if none)code: complete, copy-pasteable working examplenotes: gotchas, alternatives, or non-obvious detailsSkip trivial one-liners and project-specific business logic.
For each workflow friction point or missing tool capability noticed during this session:
gerbil_list_features with relevant keywords to check for duplicatesgerbil_vote_feature with its id to upvote itgerbil_suggest_feature with:
id: kebab-case identifiertitle: short descriptiondescription: detailed explanationimpact: high (saves many tokens regularly), medium (useful but less frequent), or low (nice-to-have)tags: 3-5 search keywordsuse_case: when this would be usefulexample_scenario: concrete example of the problemestimated_token_reduction: specific estimate (e.g. "~500 tokens per invocation", "eliminates 3 tool calls")For each new vulnerability pattern, unsafe coding practice, or FFI misuse discovered during this session:
gerbil_security_scan on relevant files to check if the pattern is already detectedgerbil_security_pattern_add with:
id: kebab-case identifier (e.g., "shell-injection-format-string")title: human-readable titleseverity: critical, high, medium, or lowscope: scheme (.ss files), c-shim (.c/.h files), or ffi-boundary (.ss c-lambda)pattern: regex to detect the vulnerability in source linesmessage: explanation of the vulnerabilityremediation: how to fix the issuetags: search keywords for discoverabilityrelated_recipe: cookbook recipe ID with the safe alternativeSkip patterns that are too project-specific to generalize.
Recipes to save:
Features to suggest or vote for:
gerbil_eval or bashSecurity patterns to add:
open-processunwind-protectReport what was saved, suggested, voted for, and security patterns added when done.