CLAUDEMD_SYSTEM_PROMPT missing type emoji mappings #294
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
CLAUDEMD_SYSTEM_PROMPTinpackages/worker/src/handlers/prompts.tsonly provides emoji mappings for 6 observation types, butObservationTypedefines 21 types.Current State (Lines 165-172)
Missing Mappings
The following types have no emoji mapping:
docsconfigtestsecurityperformancedeployinframigrationresearchapiintegrationdependencytaskplannotesession-requestImpact
When generating CLAUDE.md files, observations with unmapped types will either:
This reduces the visual clarity and scannability of CLAUDE.md files.
Solution
ObservationTypeConfigfrompackages/types/src/database.tswhich already defines emoji/icon for typesNote
The UI already has
getTypeBadge()function with type-to-color/icon mappings. The prompt should be consistent with the UI representation.Related
Fixed in commit
6d0e113Added all 21 type emoji mappings to CLAUDEMD_SYSTEM_PROMPT: