Skip to content

v2026.6.18-1 — Insight system: identity, emotion, diversity

Latest

Choose a tag to compare

@Kaiji-Z Kaiji-Z released this 17 Jun 16:19
· 38 commits to main since this release

Insight system overhaul

Identity injection

  • IDENTITY.md + USER.md now injected into insight prompts (not just SOUL.md/preset)
  • Bot knows who it is, who the user is — insights feel like a friend talking, not a system analyzing

Task reframe: analytical → conversational

  • Task definition changed from 'analyze user and connect web findings' to 'you just thought of something, tell your friend'
  • First person allowed and encouraged
  • Questions allowed (previously banned in generation + refine)

Emotional stance rotation

  • 6 emotional stances (excited sharing, questioning, observing, uncertain, challenging, helpful)
  • Cooldown rotation prevents repetition
  • Generic — works with any soul personality, no hardcoded MBTI types

Pipeline fixes

  • All maxTokens increased to 4096 (was 200-500, glm-5.2 reasoning tokens need more)
  • Critique prompt accepts conversational style (specificity/actionability dimensions updated)
  • [N] source index references stripped from delivered content
  • Critique voiceMatch scores personality diversity positively

Diversity improvements

  • Few-shot examples rewritten: 4 structurally distinct genres (provocative question, direct action, data impact, cross-domain transfer) — no em-dash monoculture, no 'not X but Y' pattern
  • PROMPT_FRAMES de-contaminated (removed 'not X but Y' from 4 frames)
  • PATTERN_PROMPT_FRAMES rewritten to 4 distinct rhetorical acts
  • BASE_WEIGHTS adjusted: pattern 60%→20%, surprise 30%→50%, extend 10%→30%
  • Fixed hardcoded frameIndex=0 (81% of traffic was using same frame)

Quality gate

  • Phase 0: removed recommendation ban, fixed fake source attachment, active hours, cross-day logic, C_FN unification, regex bug
  • Phase 1: source tracking (citedSourceIndices), prompt rewrite (web findings as primary), verification upgrade (isNewsSummary rejection), search query optimization
  • Phase 2: feedback loop wired (messageId capture, reply detection, no-response timer), refine retries 1→2, mode weights, personaChange domains
  • SOUL.md voice seed: per-agent loading, preset override, MBTI weight modifiers

Infrastructure

  • Fixed all 43 pre-existing tsgo errors in extension tests
  • Fixed lint errors (711→0)
  • pnpm check fully passes for the first time

Live test results (full pipeline)

  • Quality: 9/10 (best), 6.5/10 (avg)
  • First person: 50-100%
  • [N] leak: 0%
  • Em-dash rate: 0-50% (was 100%)
  • Pattern mode: uncertainty expression appeared ('不确定是不是直接原因')