Skip to content

Chore/rules cleanup - #19

Merged
makeitdouble merged 16 commits into
masterfrom
chore/rules_cleanup
Jun 17, 2026
Merged

makeitdouble merged 16 commits into
masterfrom
chore/rules_cleanup

Conversation

@makeitdouble

Copy link
Copy Markdown
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
- 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
@makeitdouble makeitdouble self-assigned this Jun 17, 2026
@makeitdouble
makeitdouble merged commit a7c5cc1 into master Jun 17, 2026
1 check passed
@makeitdouble
makeitdouble deleted the chore/rules_cleanup branch June 17, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant