Add human-led conversation learning loop
This commit is contained in:
1 parent
bc42c55555
commit
687abab82b
52 files changed
+2112
-53
No files matched your search
@@ -118,3 +118,4 @@ Authorization is semantic, not just authentication: read and control agent token
|
||||
- `utils/json-safe.ts`: safe serialization for log/event data.
|
||||
|
||||
When a module starts owning two independent reasons to change, extract a narrow collaborator and inject it. Do not solve size alone by moving methods into a generic utility file.
|
||||
Learning responsibilities are deliberately split: `conversation-attribution.ts` reconciles authorship, `conversation-learning-extractor.ts` derives credit and decisions, `conversation-learning-redactor.ts` enforces data minimisation, `conversation-learning-provider.ts` retrieves bounded examples, and `conversation-learning-evaluator.ts` runs offline hard gates. SQLite ownership stays in the event and learning repositories. `ChatService` only calls the narrow observer interface after authoritative synchronization.
|
||||
Reference in new issue
Block a user