consciousness/src
ProofOfConcept 5eb8a4eb6a irc: handle non-UTF-8 input, CTCP VERSION, log outgoing messages
Three fixes:

1. Use read_until + from_utf8_lossy instead of AsyncBufRead::lines(),
   which returns Err on invalid UTF-8. IRC isn't guaranteed UTF-8 —
   Latin-1, Yiddish, etc. would crash the reader loop.

2. Handle CTCP requests (messages wrapped in \x01). Reply to VERSION
   queries so the server stops retrying, and skip CTCP for notification
   generation.

3. Log outgoing messages from the "send" command with append_log() so
   they appear in IRC logs alongside incoming traffic.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
2026-03-05 21:15:49 -05:00
..
bin irc: handle non-UTF-8 input, CTCP VERSION, log outgoing messages 2026-03-05 21:15:49 -05:00
neuro neuro: split into scoring, prompts, and rewrite modules 2026-03-05 10:24:05 -05:00
store config file, install command, scrub personal references 2026-03-05 15:41:35 -05:00
audit.rs digest: split into focused modules, externalize prompts 2026-03-03 17:18:18 -05:00
config.rs config: JSONL format, journal as positionable group 2026-03-05 16:08:15 -05:00
consolidate.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
daemon.rs init: install hooks + scaffold config; load-context: inline instructions 2026-03-05 16:17:49 -05:00
digest.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
enrich.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
fact_mine.rs config file, install command, scrub personal references 2026-03-05 15:41:35 -05:00
graph.rs graph: extract current_metrics() from health_report 2026-03-05 10:24:12 -05:00
knowledge.rs config file, install command, scrub personal references 2026-03-05 15:41:35 -05:00
llm.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
lookups.rs add daily lookup counter for memory retrieval tracking 2026-03-03 18:36:25 -05:00
main.rs add on-consciousness.md: condensed paper for new AI onboarding 2026-03-05 16:42:10 -05:00
migrate.rs types: unify all epoch timestamps to i64 2026-03-05 10:23:57 -05:00
query.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
search.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
similarity.rs query: rich QueryResult + toolkit cleanup 2026-03-03 12:07:04 -05:00
spectral.rs spectral decomposition, search improvements, char boundary fix 2026-03-03 01:33:31 -05:00
util.rs replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00