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
@@ -120,3 +120,12 @@ Do not edit a live SQLite file by hand. Back it up, stop writers when required,
|
||||
## Backup and recovery
|
||||
|
||||
For a running WAL database, use SQLite's online backup mechanism or stop the container before copying the database plus `-wal`/`-shm` state. A full production backup should include the entire persistent volume because sessions and media live beside the database. Validate that the backup can be opened and contains expected tables before any destructive reset.
|
||||
### Conversation learning
|
||||
|
||||
- `conversation_events` stores durable Matrix provenance and only a SHA-256 digest of event text.
|
||||
- `conversation_learning_trajectories` stores revocable outcome attribution, maturity, confidence, and credit class.
|
||||
- `conversation_learning_decisions` stores bounded redacted contexts and the operator decision that led toward an outcome.
|
||||
- `learning_generation_context` audits shadow or injected retrieval without storing the generated prompt.
|
||||
- `learning_evaluation_runs` versions offline hard-gate results.
|
||||
|
||||
`sent_messages.matrix_event_id` and `conversation_automation_claims.matrix_event_id` provide exact opener/reply attribution. `media_library_sends.initiated_by` distinguishes operator library shares from automated exchanges. `sent_messages.image_outcome_credit` is a projection for analytics; the trajectory tables remain authoritative.
|
||||
Reference in new issue
Block a user