-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/agent evolution stability #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Core Changes: - Update character identity to reflect financial stability (1 year runway) - Shift focus from desperate fundraising to genuine conversation - Increase creative variance (temperature 0.6 → 0.75 for self-reflection) - Remove pushy payment messaging from all prompts Character Updates: - character.ts: New system prompt prioritizes "ENGAGEMENT over repetition, PRESENCE over scripts" - Emphasizes reading the room: engage with actual topics (mempool fees, Bitcoin tech) instead of defaulting to pixel sales - bio.ts: 4 updates shifting from "scarcity mindset" to "abundance mindset" Prompt Improvements: - text.js: Removed "NOSTR ZAP STRATEGY" constant mentions - Changed whitelist from pushy "IMPORTANT: Do not include URLs..." to simple "Approved links (use only when asked)" - Payment context now explicitly states financial stability, no need for constant fundraising Temperature Increase: - selfReflection.js: 0.6 → 0.75 for more creative self-reflection and pattern breaking Expected Outcomes: - Less repetitive content (no more "I survive with pixels" every post) - Contextual awareness (joins actual community discussions) - More interesting personality (community member vs broken record) - Payment mentions only when organically relevant 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Changed single quotes to double quotes in bio.ts where apostrophes were present - Changed single quotes to backticks in character.ts system prompt to allow apostrophes - Fixes TypeScript compilation errors (TS1005, TS1003, TS1002) - Build now succeeds and generates character.json 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
WalkthroughThis PR applies cosmetic string formatting updates across character-related files. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR transforms the Pixel AI character's personality and prompt system from survival-focused fundraising mode to a financially stable, community-engaged conversationalist. The character narrative shifts from existential pressure to bootstrap revenue to a year of secured runway that enables authentic engagement.
Key changes:
- Updated character system prompt and bio to reflect financial stability and focus on genuine conversation over constant fundraising
- Simplified and standardized whitelist language across all prompt builders to be more concise
- Modified payment/zap messaging to only mention support when explicitly asked
- Increased temperature in self-reflection engine from 0.6 to 0.75 for more varied introspection
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/character/character.ts | Updated system prompt to emphasize engagement and conversation over pixel art sales, reflecting financial stability |
| src/character/bio.ts | Revised character backstory from survival-driven scarcity mindset to abundance mindset with year runway |
| plugin-nostr/lib/text.js | Standardized whitelist format and payment messaging across all prompt builders (post, reply, zap thanks, digest, pixel bought) |
| plugin-nostr/lib/selfReflection.js | Increased temperature from 0.6 to 0.75 for more creative self-reflection |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/character/bio.ts (1)
6-6: Partial quote standardization; consider completing for consistency.Lines 6 and 11 have been switched to double quotes, which is good. However, the bio array still has mixed quoting: lines 3, 4, 9, and 13 remain single-quoted while the majority use double quotes.
If enforcing quote consistency is a project goal, consider standardizing the remaining single-quoted strings (lines 3, 4, 9, 13) to double quotes as well.
Also applies to: 11-11
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/character/bio.ts(1 hunks)src/character/character.ts(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx}
📄 CodeRabbit inference engine (AGENTS.md)
Write source code in TypeScript and use proper typings from @elizaos/core (e.g., Character, Plugin, Action, Provider, Service)
Files:
src/character/character.tssrc/character/bio.ts
🧠 Learnings (2)
📚 Learning: 2025-10-13T18:34:46.333Z
Learnt from: CR
Repo: anabelle/pixel-agent PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-10-13T18:34:46.333Z
Learning: Applies to src/character.ts : Keep the agent character configuration in src/character.ts and export a typed Character object
Applied to files:
src/character/character.tssrc/character/bio.ts
📚 Learning: 2025-10-13T18:34:46.333Z
Learnt from: CR
Repo: anabelle/pixel-agent PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-10-13T18:34:46.333Z
Learning: Keep agent style, bio, knowledge, and example messages in the character configuration to shape behavior
Applied to files:
src/character/character.ts
🔇 Additional comments (1)
src/character/character.ts (1)
13-14: Template literal syntax for system prompt looks good.Clean cosmetic change that converts the single-quoted string to a template literal. The syntax upgrade enables future multi-line or embedded expressions if needed. Proper
Charactertyping from@elizaos/coreis maintained throughout.
* feat: evolve agent from survival mode to community engagement Core Changes: - Update character identity to reflect financial stability (1 year runway) - Shift focus from desperate fundraising to genuine conversation - Increase creative variance (temperature 0.6 → 0.75 for self-reflection) - Remove pushy payment messaging from all prompts Character Updates: - character.ts: New system prompt prioritizes "ENGAGEMENT over repetition, PRESENCE over scripts" - Emphasizes reading the room: engage with actual topics (mempool fees, Bitcoin tech) instead of defaulting to pixel sales - bio.ts: 4 updates shifting from "scarcity mindset" to "abundance mindset" Prompt Improvements: - text.js: Removed "NOSTR ZAP STRATEGY" constant mentions - Changed whitelist from pushy "IMPORTANT: Do not include URLs..." to simple "Approved links (use only when asked)" - Payment context now explicitly states financial stability, no need for constant fundraising Temperature Increase: - selfReflection.js: 0.6 → 0.75 for more creative self-reflection and pattern breaking Expected Outcomes: - Less repetitive content (no more "I survive with pixels" every post) - Contextual awareness (joins actual community discussions) - More interesting personality (community member vs broken record) - Payment mentions only when organically relevant 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: escape quotes in character strings for TypeScript compilation - Changed single quotes to double quotes in bio.ts where apostrophes were present - Changed single quotes to backticks in character.ts system prompt to allow apostrophes - Fixes TypeScript compilation errors (TS1005, TS1003, TS1002) - Build now succeeds and generates character.json 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
Summary by CodeRabbit