addedInput schema / properties / data
Added value: +{
+ "description": "The entry data to store.",
+ "type": "object"
+}
addedInput schema / properties / id
Added value: +{
+ "description": "Unique identifier for the entry.",
+ "type": "string"
+}
removedInput schema / properties / reset_gap_seen_counts
Removed value: -{
- "description": "Set true when the user signals their design system was updated. Resets seen_count to 0 on ALL gap-type rules, causing Mimic AI to re-run DS search for those patterns on the next run and discover any newly added components.",
- "type": "boolean"
-}
removedInput schema / properties / rule_updates
Removed value: -{
- "description": "Array of explicit DS rule updates: gaps (no component exists), substitutions (use this instead), or conventions (DS usage rules).",
- "items": {
- "properties": {
- "dismissed": {
- "description": "Set true to permanently suppress this gap from DS recommendations. Use when the user acknowledges the gap and decides not to add the component.",
- "type": "boolean"
- },
- "increment_seen": {
- "description": "Set true to increment seen_count by 1. Use for gap/substitution rules — not for conventions.",
- "type": "boolean"
- },
- "notes": {
- "description": "Optional context about this rule.",
- "type": "string"
- },
- "reason": {
- "description": "Why this rule exists.",
- "type": "string"
- },
- "reset_seen_count": {
- "description": "Set true to reset seen_count to 0. Use when a correction is made (paired with increment_correction on the pattern update) or when demoting a stale rule.",
- "type": "boolean"
- },
- "rule_key": {
- "description": "Required. Pattern key this rule applies to (e.g. \"label/chip\"). Must match the Pattern Key Taxonomy.",
- "type": "string"
- },
- "state": {
- "description": "Set \"resolved\" when a previously missing DS component now exists. Removes the rule from future recommendations and re-enables DS search.",
- "enum": [
- "active",
- "resolved"
- ],
- "type": "string"
- },
- "substitution_key": {
- "description": "Component key to use as fallback when pattern has no direct DS match.",
- "type": "string"
- },
- "substitution_name": {
- "description": "Human-readable name of the substitution component.",
- "type": "string"
- },
- "type": {
- "description": "gap = no DS component; substitution = use substitution_key instead; convention = DS usage rule.",
- "enum": [
- "gap",
- "substitution",
- "convention"
- ],
- "type": "string"
- }
- },
- "required": [
- "rule_key"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedInput schema / properties / type
Added value: +{
+ "description": "Type of knowledge entry to save. Use \"rule\" for user-defined design rules that should be followed on every build (e.g., color semantics, card structure, component usage patterns).",
+ "enum": [
+ "component",
+ "pattern",
+ "gap",
+ "rule"
+ ],
+ "type": "string"
+}
removedInput schema / properties / updates
Removed value: -{
- "description": "Array of pattern entry updates to apply.",
- "items": {
- "properties": {
- "component_key": {
- "description": "Figma component key hash for the mapped DS component.",
- "type": "string"
- },
- "component_name": {
- "description": "Human-readable component name.",
- "type": "string"
- },
- "dismissed_conflicts": {
- "description": "Component keys to suppress in future DS evolution conflict scans.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "increment_correction": {
- "description": "Set true when the user corrected this mapping. Increments correction_count and demotes VERIFIED→CANDIDATE. Also write a rule_update with reset_seen_count=true for any associated rule.",
- "type": "boolean"
- },
- "increment_use": {
- "description": "Set true to increment use_count by 1 for an existing entry.",
- "type": "boolean"
- },
- "library_key": {
- "description": "Library key from Figma search. Tracks which DS library this component belongs to.",
- "type": "string"
- },
- "library_name": {
- "description": "Human-readable library name (e.g., \"My Team Library\").",
- "type": "string"
- },
- "notes": {
- "description": "Optional context note.",
- "type": "string"
- },
- "pattern_key": {
- "description": "Required. Canonical taxonomy key (e.g. \"metric/kpi\", \"label/chip\"). Must match the Pattern Key Taxonomy.",
- "type": "string"
- },
- "state": {
- "description": "Explicit state override. Omit to let promotion logic handle CANDIDATE→VERIFIED automatically.",
- "enum": [
- "CANDIDATE",
- "VERIFIED",
- "REJECTED",
- "EXPIRED"
- ],
- "type": "string"
- }
- },
- "required": [
- "pattern_key"
- ],
- "type": "object"
- },
- "type": "array"
-}
changedInput schema / required
Previous value: -[
- "updates"
-]New value: +[
+ "type",
+ "id",
+ "data"
+]