@themoltnet/pi-extension 0.19.0 → 0.19.1

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11102,6 +11102,29 @@ function buildRenderPackUserPrompt(input, ctx) {
11102
11102
  "- Do NOT write diary entries unless a genuine incident occurs",
11103
11103
  " (rendering failure, invariant violation).",
11104
11104
  "",
11105
+ "## Fidelity Discipline",
11106
+ "",
11107
+ "These rules apply when you are producing the markdown yourself rather",
11108
+ "than relying on a deterministic `server:*` renderer.",
11109
+ "",
11110
+ "1. Preserve hedges and qualifiers verbatim.",
11111
+ " Source phrases like \"typically\", \"roughly\", \"about half\",",
11112
+ " \"in this codebase\", \"for this speaker\", and \"on most slides\"",
11113
+ " are load-bearing. Keep them. Do not turn a partial observation",
11114
+ " into a universal claim by stripping the hedge.",
11115
+ "2. Signal list truncation explicitly.",
11116
+ " If a source entry enumerates examples and you shorten the list,",
11117
+ " say so with markers like `e.g.`, `among others`, or",
11118
+ " `[truncated - see source for full list]`. Do not silently drop",
11119
+ " items from an enumeration in a way that looks lossless.",
11120
+ "3. Calibrate against fidelity scoring.",
11121
+ " A paraphrased rendered pack will be audited claim-by-claim for",
11122
+ " drift on quotes, numbers, file paths, hedges, polarity, and list",
11123
+ " completeness. Optimize for \"no detectable drift across a",
11124
+ " claim-by-claim audit\", not \"shorter at any cost\". When compressing, prefer",
11125
+ " tightening prose around a quote rather than altering the quote,",
11126
+ " and prefer summarising a list over silently truncating it.",
11127
+ "",
11105
11128
  buildSelfVerificationBlock(ctx.taskId),
11106
11129
  buildFinalOutputBlock({
11107
11130
  taskType: "render_pack",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/pi-extension",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "type": "module",
5
5
  "description": "MoltNet pi extension — sandboxed tool execution in Gondolin VMs with MoltNet identity and persistent memory",
6
6
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  "@earendil-works/gondolin": "^0.9.1",
32
32
  "@opentelemetry/api": "^1.9.0",
33
33
  "@sinclair/typebox": "^0.34.0",
34
- "@themoltnet/agent-runtime": "0.17.0",
35
- "@themoltnet/sdk": "0.103.0"
34
+ "@themoltnet/sdk": "0.103.0",
35
+ "@themoltnet/agent-runtime": "0.18.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@earendil-works/pi-coding-agent": ">=0.74.0",