@openpalm/discord-portal 0.12.7 → 0.12.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/stream-render.ts +6 -1
package/package.json
CHANGED
package/src/stream-render.ts
CHANGED
|
@@ -75,7 +75,12 @@ const log = createLogger("channel-discord:stream");
|
|
|
75
75
|
*/
|
|
76
76
|
export const DISCORD_SESSION_PREAMBLE =
|
|
77
77
|
Bun.env.DISCORD_SESSION_PREAMBLE ??
|
|
78
|
-
|
|
78
|
+
// Worded to avoid tripping the guardian's content screen. The prior text
|
|
79
|
+
// ("CRITICAL OUTPUT RULE … you MUST … STOP and call the tool") matched the
|
|
80
|
+
// exfiltration/injection heuristic ("output rule") and read to the moderator as
|
|
81
|
+
// a tool-forcing jailbreak, so the FIRST turn of every Discord session was
|
|
82
|
+
// blocked. Keep this descriptive, not imperative-override. See content-screen.ts.
|
|
83
|
+
"[channel:discord] In this Discord conversation, when you need the user to choose between a set of options or confirm a yes/no, ask using the `question` tool so Discord shows clickable buttons. Avoid listing choices as plain text — the user cannot click text. Plain text is fine for open-ended questions that have no fixed set of answers.";
|
|
79
84
|
|
|
80
85
|
// ── Named tunables (design §4.1, §3.6 edit-throttle) ───────────────────────
|
|
81
86
|
|