Skip to content

fix(cola-avatar-pack): stop generating stickers before user confirms, tighten send frequency#27

Closed
latentflux42 wants to merge 1 commit intomainfrom
fix/avatar-send-time
Closed

fix(cola-avatar-pack): stop generating stickers before user confirms, tighten send frequency#27
latentflux42 wants to merge 1 commit intomainfrom
fix/avatar-send-time

Conversation

@latentflux42
Copy link
Copy Markdown
Contributor

Summary

Fixes #26 follow-up: LLM was generating all emoji/meme stickers in the same turn without waiting for user to confirm the base avatar. Also reworks the AGENT.md injection block to prevent over-sending.

  • Phase 4→5 timing gate: 4-layer stop mechanism — output rule annotation, ⛔ separator, Phase 4 STOP, Phase 5 gate (with exception for SKILL.md supplement path)
  • Injection block rework: narrowed trigger signals, fixed 7-turn cooldown anchored to last send, added tone constraint for angry/meme_annoyed, conservative default ("when in doubt, don't send")
  • Injection positioning: dropped fragile heading-based fallback, now only marker-match or append-at-end
  • Frequency sync: SKILL.md frequency rule updated to match injection block

Test plan

  • Fresh generation (Phase 1→8): LLM stops after showing profile card, waits for user reply before generating stickers
  • User says "换一个" at Phase 4: re-generates base avatar, does not proceed to stickers
  • User confirms at Phase 4: proceeds to Phase 5→8 normally
  • Wake-up with existing avatar but missing AGENT.md marker: auto-injection fires
  • Wake-up with marker already present: no-op
  • Supplement path (missing stickers): Phase 5 gate allows entry without Phase 4
  • Sticker send frequency: no sticker within 7 turns of previous send
  • Angry/meme_annoyed only in playful contexts, not during serious task work

🤖 Generated with Claude Code

… tighten send frequency

Phase 4→5 gate: LLM was executing all phases in one turn without waiting
for user to confirm the base avatar. Added 4-layer stop mechanism (output
rule annotation, ⛔ separator, Phase 4 STOP, Phase 5 gate with exception
for the SKILL.md supplement path).

Injection block rework: narrowed trigger signals (removed "task done",
"agreement", "before complex analysis"), replaced vague frequency range
(5-8 turns) with fixed 7-turn cooldown anchored to last send, added tone
constraint for angry/meme_annoyed, added conservative default. Removed
"as natural as words" and "won't stop smiling" framings that pushed toward
over-sending.

Injection positioning: dropped fragile heading-based Case 2, now only
marker-match or append-at-end.

Synced SKILL.md frequency rule to match injection block.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@latentflux42 latentflux42 deleted the fix/avatar-send-time branch April 16, 2026 09:21
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