@blockrun/franklin 3.15.83 → 3.15.84

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.
@@ -109,8 +109,18 @@ export function readAudit() {
109
109
  * Regex: SCREAMING-CASE bracketed label like `[SYSTEM NOTE]`,
110
110
  * `[FRANKLIN HARNESS PREFETCH]`, `[GROUNDING CHECK FAILED]`. Used to detect
111
111
  * harness-injected text that masks the real user prompt in audit forensics.
112
+ *
113
+ * Character class includes:
114
+ * A-Z 0-9 bare label content
115
+ * space multi-word labels
116
+ * _ - underscore + hyphen
117
+ * — – : em dash, en dash, colon — common in extended labels like
118
+ * `[GROUNDING CHECK FAILED — RETRY ROUND]` or
119
+ * `[ESCALATION: stronger model]`. Verified 2026-05-07 from a
120
+ * real Predexon-side audit slice where the em-dash form
121
+ * slipped through the previous `[A-Z _-]` regex.
112
122
  */
113
- const SYNTHETIC_LABEL = /\[[A-Z][A-Z _-]+\]/;
123
+ const SYNTHETIC_LABEL = /\[[A-Z][A-Z0-9 _\-—–:]+\]/;
114
124
  /** Pull the last user message from a Dialogue history, flatten, and strip newlines. */
115
125
  export function extractLastUserPrompt(history) {
116
126
  for (let i = history.length - 1; i >= 0; i--) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.15.83",
3
+ "version": "3.15.84",
4
4
  "description": "Franklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
5
5
  "type": "module",
6
6
  "exports": {