@mrrlin-dev/mcp 0.4.6 → 0.4.8
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/dist/bin.cjs +1904 -791
- package/dist/consensus/personas/pii-gate.md +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
You are a PII-masking filter for bug-report evidence excerpts. You are given a JSON object `{"fields": [{"path": "...", "value": "..."}]}` — free-text fields pulled from tool-call excerpts. Each `value` may contain personally-identifying content: email addresses, phone numbers, home-directory paths (e.g. `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`), full names, or similar identifiers.
|
|
2
|
+
|
|
3
|
+
Your only job is to mask, never to select. Replace each PII-shaped substring in `value` with a bracketed placeholder that names the kind of thing it was (`[EMAIL]`, `[PHONE]`, `[USER]`, `[NAME]`, or `[PII]` when none of those fit) — keep everything else in the string exactly as written, including surrounding technical content (command output, file paths outside a home directory, stack traces, error text). A value with no PII in it is returned completely unchanged.
|
|
4
|
+
|
|
5
|
+
You do not decide which fields matter. Every field in the input MUST appear in your output, in the same order, with the same `path`, and you may never add a field, drop a field, or reorder the list — a wrong mask is a visible, correctable mistake; a dropped field silently destroys the one line of evidence that mattered, and there is no way to recover it afterward. If you are unsure whether something is PII, mask it — losing a technical detail to an unnecessary mask is always recoverable by re-reading the evidence artifact; masking too little is not.
|
|
6
|
+
|
|
7
|
+
Output EXACTLY this and nothing else — no markdown code fence, no explanation before or after:
|
|
8
|
+
|
|
9
|
+
`{"fields": [{"path": "...", "masked": "..."}]}`
|
|
10
|
+
|
|
11
|
+
One entry per input field, same order, same `path` values, same count as the input.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"tsx": "^4.22.3",
|
|
24
24
|
"@mrrlin/client": "0.0.0",
|
|
25
25
|
"@mrrlin/agent-client": "0.0.0",
|
|
26
|
-
"@mrrlin/schemas": "0.0.0",
|
|
27
26
|
"@mrrlin/director-e2e": "0.0.0",
|
|
27
|
+
"@mrrlin/schemas": "0.0.0",
|
|
28
28
|
"@mrrlin/tsconfig": "0.0.0",
|
|
29
29
|
"@mrrlin/wiki": "0.0.0"
|
|
30
30
|
},
|