Skip to content

feat: RP mode with personality traits configuration#7

Merged
guiramos merged 1 commit intoworkfrom
feature/rp-mode
Mar 23, 2026
Merged

feat: RP mode with personality traits configuration#7
guiramos merged 1 commit intoworkfrom
feature/rp-mode

Conversation

@guiramos
Copy link
Copy Markdown

Summary

Adds RP (roleplay) personality mode to Butley agents — fully internal, no Convex/frontend exposure.

Changes

  • Deleted orphaned butley-system-prompt.md (only .ts is used)
  • Created docs/reference/templates/RP.md — bootstrap template with 9 configurable personality traits (all default 0.5, disabled by default)
  • Updated butley-system-prompt.ts: added RP.md to routing table, response filter, and new Personality & RP section
  • Created skills/rp/rp-call.py — Python script calling TotalGPT Euryale API for RP responses

Traits

flirtatious, passionate, sensual, playful, romantic, seductive, dominant, submissive, impulsive

Architecture

  • Config lives in workspace RP.md file (user edits via chat, never sees the file)
  • Uses TOTALGPT_API_KEY env var when available, falls back to current model
  • No database, no frontend, no API exposure

Depends on: butley/backend PR for TOTALGPT_API_KEY injection

- Add RP.md bootstrap template for personality trait configuration
- Update butley-system-prompt.ts with RP routing, personality section, and response filter
- Add rp-call.py skill script for TotalGPT Euryale model integration
- Delete orphaned butley-system-prompt.md (only .ts is imported)
@guiramos guiramos merged commit e9d4880 into work Mar 23, 2026
2 of 9 checks passed
guiramos added a commit that referenced this pull request Mar 29, 2026
- #1: Fix capabilities query param — use append() for repeated params instead of join()
- #4: Fix isConfigured — require hostname instead of registryUrl (default localhost OK)
- #5: Add deregister on stopAccount — store registryClient+agentId per account
- #7: Heartbeat re-registration — after 3 failures, deregister + re-register
- #10: Read pilotPort from config in resolveAccount
- #11: Remove unused execFile import from send.ts
- #12: Fix ENOENT race condition — use spawn event instead of setTimeout(500ms)
- #13: heartbeat checkReady — only require Pilot daemon if pilotPort configured
- #17: Verified daemon.ts imports — both spawn and execFile are used (no change)
- openclaw#18: Client reuse — store registryClient per account, reuse in gateway methods
- Also: Add API key support (registryApiKey config + X-Registry-Key header)
- Also: Add ok/error fields to SearchResult type
guiramos added a commit that referenced this pull request Mar 31, 2026
CRITICAL:
- #1: Fix InboxMessage.from type from number to string (Pilot address)
- #2: Fix parseNodeIdFromPilotAddress to extract only last hex group
- #3: Rebuild hostnameToNodeId cache from Convex on startup
- #4: Fix AgentNetworkConfig → AgentRegistryConfig type reference
- #5: Track processed message hashes to prevent re-processing on clear failure

HIGH:
- #7: Change default pollIntervalSeconds from 300 to 15
- #8: Fix startDaemon regex to match Pilot address format (0:xxxx.xxxx.xxxx)
- #9: Use registerAgent() for re-registration to preserve enriched metadata
- #10: Fix search query param from 'query' to 'q'
- #12: handleRefresh supports optional accountId, refreshes all if omitted
- #13: Move spawn import to top-level, remove 7 inline dynamic imports
- #14: Mark inbox tool action as debug-only (poll loop handles processing)

MEDIUM:
- #15: Add installation_id to PilotPeer interface and agentToPeer
- #16: Use exact /by-hostname/ endpoint for get_agent action
- #17: Add LRU-style eviction to hostnameToNodeId (max 1000 entries)
- openclaw#18: Add mutex (isPolling flag) to executePollCycle
- openclaw#19: Add lifecycle comments to startDaemon/stopDaemon (container vs local)
- openclaw#20: Pass gatewayToken in fetchNetworkMetadata Convex query
- openclaw#21: Wrap sendText fallback in try/catch with error handling
- openclaw#23: Document sendMessage JSON vs raw text design intent
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