| name | new-modality |
| description | Add a new data modality to the lifelog system (proto, schema, collector module) |
| disable-model-invocation | true |
Add a new data modality called: $ARGUMENTS.
Follow this checklist in order:
- Proto definition: Add message type to
proto/lifelog.proto and enum variant to DataModality in proto/lifelog_types.proto
- Rebuild proto:
just check to regenerate code
- Proto impls: Add
DataType + Modality trait impls in common/lifelog-proto/src/lib.rs (follow existing patterns like ScreenFrame)
- DB schema: Add
TableSchema entry in server/src/schema.rs with fields and indexes
- Collector module: Create
collector/src/modules/<name>.rs with the collection logic
- Register module: Add
pub mod <name>; in collector/src/modules/mod.rs and wire into collector startup
- Validate: Run
just validate to ensure everything compiles and tests pass