v1 slice 1: record_lesson and lesson_status, stored as written (walking skeleton, no model) #4
Loading…
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?
Purpose (feature): a member can record a lesson and read its state, end to end on the mesh, with no model configured.
From the design (#1,
architecture/README.mdon266b15a8). This is the no-model path the design already names, built first so every later slice adds to a running service.mcl_om_serviceOTP 28 release in one OCI image: identity key onmcl-scribe-secrets, pinned station dial, realm boot claim, a grant per procedure,/healthon/run/mcl/health.sock.MCL_DATA_DIR. Read models are rebuilt at boot.record_lessonappends the lesson as written and returns at once with{lesson_id, queued}.add_knowledgeand isstored. The final state is an event in the log.lesson_status: lesson id in,queued/stored/refused(why) out.Done when:
stored, and it is found by mcl-raganswer_query.refusednaming it, and mcl-rag holds nothing of it. Shown with a mutant of the scan.record_lessonanswers before the worker runs (worker held in the test).Refs #1
Landed: PR 13 → main
302381de(tipde376b2, 2026-11-25 19:59Z).Purpose (feature) MET: a member records a lesson and reads its state end to end, no model configured. Done-when, each on main:
answer_query:mcl_scribe_lessons_tests:a_clean_lesson_is_stored_and_found_by_answer_query(rag stand-in).a_leaking_lesson_is_refused_by_name_and_rag_holds_nothing; scan mutants killed (incl. the bare-CR fold).record_answers_before_the_filer_runs(filer held).a_restart_keeps_every_lesson_and_state.rag_stand_in, no mesh dial in tests.Tag CI:
.github/workflows/build-push.yml; release secrets and publisher account set up (forge-setup b8588b6c). No tag yet.