Repository navigation
Chore/rules cleanup - #19
Merged
Merged
Conversation
makeitdouble
commented
Jun 17, 2026
Owner
- centralize L1/L2/L3 memory constants, prompt text, regex patterns, and rule text in rules modules
- move deterministic L1/L2/L3 memory helpers into utils modules
- simplify L1/L2/L3 prompt builders and separate prompt assembly from logical blocks
- tighten L2 pattern/evidence handling and repeated-input activation rules
- add front-end repeated-input counter and pass repetition/runtime state through context
- improve runtime UI states, layering, shading, and image assets
- update recall behavior probe and secret word recall handling
- relax brittle prompt tests so wording polish does not break cleanup tests
- remove stale rule accessors/imports and align identity/runtime rule organization
- remove unused rule accessors/imports - collapse prompt assembly around identity/runtime rules - tighten loop-pattern activation wording - update recall behavior probe expectation
- add secret word leaked check for word_recall probe test - polishing identity rules
- polishing identity rules
…o chore/rules_cleanup
- count repeated normalized user input on frontend - pass runtime pattern counter through chat payload/context - load loop rules only after repeated input crosses threshold - tighten loop-breaking rules and response-shape guidance
- add layered ui images reflecting state - replace png with jpg for README.md
- fix for cluttered ui
- add repeated input counter to runtime context - emit [ repeated: N ] starting from the second repeat - remove stale occurrences from L2 pattern evidence
- align z-index for ui shading
- handle runtime fields with empty values
- move L1 prompt builder from utils to rules - clean and separate prompt into logical blocks - add repetition rules for memory slots
- polishing L1 rules - disabled deterministic collapse for memory keys
- centralize L1 constants in rules - move deterministic L1 helpers into utils - move memory text mutation helpers into utils - remove legacy duplicate collapse/canonicalization code
- centralize L2 constants in rules - move deterministic L2 helpers into utils
- centralize L3 constants in rules - move deterministic L3 helpers into utils
- fix tests
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.