feat: leg_corpus disk export + PEFT train/eval scripts - #58
Open
staticroostermedia-arch wants to merge 16 commits into
Open
feat: leg_corpus disk export + PEFT train/eval scripts#58staticroostermedia-arch wants to merge 16 commits into
staticroostermedia-arch wants to merge 16 commits into
Conversation
Write full leg_block packs to data/lora-export (disk_export_path) so MCP chat stays token-lean; add export/train/eval/grow scripts for Gemma LoRA path.
Approved design for process verify packets, parent/child fire goals, typed loop gates, and LEG Browser split-home glass box. Spec only; implementation follows writing-plans after user review.
Task breakdown for schemas, loop prompts v2, parent goal runbook, LEG ?view=glassbox split home, and PR #58 CI follow-up.
Parent/fire clicks use an in-view detail panel (layout overlay is hidden in ?view=glassbox). Strip now shows hub_crs, hermies, and CI honesty pill.
Dual RSI Track S: scoreboard for glassbox schemas, fixture, eval_gate, and SFT path without chat packs or PEFT retrain.
Operator surface: ./scripts/leg --live --glassbox prints and opens the Glass-Box dual_loop / parent / last-fire UI without chat archaeology.
CI flake: verify_turn_record_llm_mcp_entrypoint fell back to heuristic when parallel tests clobbered ENGRAM_LLM_URL. Hold CONTINUITY_TEST_LOCK, save/restore env, harden mock server for multi-request serve.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
leg_corpuspacks to disk (disk_export_pathunderdata/lora-export/) so MCP responses omit large pack arrays (token-lean PEFT path).export_leg_corpus_jsonl.py,peft_leg_geometry_train.py(QLoRA),eval_leg_geometry_gate.py,grow_leg_sft.sh.Dual-loop stage pointer
helper:rsi_dual_loop_state— Gemma stageeval_gate(passed); Track S grew SFT to ~51 rows; next open: GGUF--loraserve, optional retrain.Test plan
cargo test -p engram-server --tests— 249 unit tests + store integration ok (local ship gate)leg_corpusreturnsdisk_export_pathandpacks: []