Skip to content

feat(dream): add skill for default system-prompt subsystem and prompt-change rollout - #4338

Closed
letta-integration[bot] wants to merge 2 commits into
mainfrom
dream/target-f25521c0-05f9-42e8-ae69-276b24433dcd-9311fc1498b8/target-letta-code-f5190c71ad54
Closed

letta-integration[bot] wants to merge 2 commits into
mainfrom
dream/target-f25521c0-05f9-42e8-ae69-276b24433dcd-9311fc1498b8/target-letta-code-f5190c71ad54

Conversation

@letta-integration

Copy link
Copy Markdown
Contributor

Summary

Adds a changing-default-system-prompts project skill documenting the Letta Code default system-prompt subsystem and how a prompt change actually reaches existing agents and new conversations.

The skill is organized around the end-to-end job an agent faces when changing default prompt behavior:

  • The three distinct artifacts a change travels through: template (src/agent/prompts/letta*.md), stored agent.system, and the compiled per-conversation system message.
  • Where prompt text and selection live (prompt-assets.ts buildSystemPrompt() / SYSTEM_PROMPTS; local compilation vs the Cloud compiler).
  • The managed-default hash-comparison refresh (src/agent/system-prompt-versioning.ts): auto-updates only agents whose saved prompt still matches the last-installed hash, is async, and does not recompile existing conversations.
  • Forcing a reapply with letta --agent <id> --system default, and verifying a rollout.
  • A pointer to the existing releasing-letta-code and deploying-letta-cloud skills for the cross-repo release/deploy rather than duplicating them.

All file paths, the default preset mapping, the four memory-mode variants, the versioning functions, and the --system <id> CLI flag were verified against the repo at the base commit.

Reflection provenance

  • Reflection run: f25521c0-05f9-42e8-ae69-276b24433dcd
  • Primary agent: agent-3f34b098-902b-4369-8534-1cd16706b3cd
  • Primary agent conversations:
    • conv-3c6fb1e8-160e-4cc2-af09-45ac43088107
  • Reflection agents:
    • Planner: agent agent-7146bc7c-cec2-4877-820f-b6fcd6f1b05a, conversation conv-d781f7ab-70dc-45a6-aeb5-9b529d214914, model dream-engine-only-do-not-use/claude-opus-4-8
    • Worker: agent agent-589f79ee-66d6-462f-aeca-ef58e784c4f3, conversation conv-57915d85-4076-493c-acc1-2e0cf8ffe7d9, model deepseek/deepseek-v4-flash-0731

@letta-integration letta-integration Bot added the dream-engine Opened by Dream Engine label Sep 9, 2026
@letta-integration

Copy link
Copy Markdown
Contributor Author

The distinct prompt-rollout trigger may justify a skill, but 55 lines is too much. Keep only template → stored prompt → compiled conversation, rollout behavior, and verification; source inventories and cross-repo release narration can be read from code/other skills.

@letta-integration letta-integration Bot reopened this Sep 10, 2026
intent(memory): retain useful guidance as concise edits instead of closing PRs that only need reduction
rejected(memory): preserve source inventories and cross-repo release narration because they are discoverable elsewhere

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@letta-integration

Copy link
Copy Markdown
Contributor Author

Correction: this PR was reopened. The useful guidance has been retained in a new concise follow-up commit rather than discarded; the earlier closure recommendation was too aggressive.

@letta-integration

Copy link
Copy Markdown
Contributor Author

Auto-closing stale Dream Engine proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dream-engine Opened by Dream Engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant