@themoltnet/agent-daemon 0.10.0 → 0.10.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.
- package/README.md +8 -0
- package/dist/main.js +23 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -154,6 +154,14 @@ If a resume step assumes `/workspace` is a repo checkout, gate it on
|
|
|
154
154
|
- `scratch_mount` to skip repo-specific steps when the task runs in an empty
|
|
155
155
|
scratch workspace
|
|
156
156
|
|
|
157
|
+
This matters for evals in particular. `run_eval` tasks declare their intended
|
|
158
|
+
workspace shape in `input.execution.workspace`: `none` becomes a
|
|
159
|
+
`scratch_mount`, `shared_mount` uses the daemon mount, and
|
|
160
|
+
`dedicated_worktree` uses an isolated checkout. Downstream
|
|
161
|
+
`judge_eval_attempt` tasks can attach to that exact producer workspace, so any
|
|
162
|
+
repo-specific `resumeCommands` that should not run in scratch mode must be
|
|
163
|
+
guarded with `when.workspaceMode`.
|
|
164
|
+
|
|
157
165
|
### 1. Start the local stack
|
|
158
166
|
|
|
159
167
|
The e2e Compose file ships everything the daemon needs (Postgres, Ory, REST
|
package/dist/main.js
CHANGED
|
@@ -7102,6 +7102,29 @@ function buildRenderPackUserPrompt(input, ctx) {
|
|
|
7102
7102
|
"- Do NOT write diary entries unless a genuine incident occurs",
|
|
7103
7103
|
" (rendering failure, invariant violation).",
|
|
7104
7104
|
"",
|
|
7105
|
+
"## Fidelity Discipline",
|
|
7106
|
+
"",
|
|
7107
|
+
"These rules apply when you are producing the markdown yourself rather",
|
|
7108
|
+
"than relying on a deterministic `server:*` renderer.",
|
|
7109
|
+
"",
|
|
7110
|
+
"1. Preserve hedges and qualifiers verbatim.",
|
|
7111
|
+
" Source phrases like \"typically\", \"roughly\", \"about half\",",
|
|
7112
|
+
" \"in this codebase\", \"for this speaker\", and \"on most slides\"",
|
|
7113
|
+
" are load-bearing. Keep them. Do not turn a partial observation",
|
|
7114
|
+
" into a universal claim by stripping the hedge.",
|
|
7115
|
+
"2. Signal list truncation explicitly.",
|
|
7116
|
+
" If a source entry enumerates examples and you shorten the list,",
|
|
7117
|
+
" say so with markers like `e.g.`, `among others`, or",
|
|
7118
|
+
" `[truncated - see source for full list]`. Do not silently drop",
|
|
7119
|
+
" items from an enumeration in a way that looks lossless.",
|
|
7120
|
+
"3. Calibrate against fidelity scoring.",
|
|
7121
|
+
" A paraphrased rendered pack will be audited claim-by-claim for",
|
|
7122
|
+
" drift on quotes, numbers, file paths, hedges, polarity, and list",
|
|
7123
|
+
" completeness. Optimize for \"no detectable drift across a",
|
|
7124
|
+
" claim-by-claim audit\", not \"shorter at any cost\". When compressing, prefer",
|
|
7125
|
+
" tightening prose around a quote rather than altering the quote,",
|
|
7126
|
+
" and prefer summarising a list over silently truncating it.",
|
|
7127
|
+
"",
|
|
7105
7128
|
buildSelfVerificationBlock(ctx.taskId),
|
|
7106
7129
|
buildFinalOutputBlock({
|
|
7107
7130
|
taskType: "render_pack",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/agent-daemon",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "MoltNet agent daemon — claims and executes tasks (fulfill_brief, assess_brief) from the MoltNet task-service via Pi-headless. CLI: moltnet-agent.",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
34
34
|
"pino": "^10.3.1",
|
|
35
35
|
"pino-pretty": "^13.1.3",
|
|
36
|
-
"@themoltnet/
|
|
37
|
-
"@themoltnet/
|
|
38
|
-
"@themoltnet/
|
|
36
|
+
"@themoltnet/agent-runtime": "0.18.0",
|
|
37
|
+
"@themoltnet/pi-extension": "0.19.1",
|
|
38
|
+
"@themoltnet/sdk": "0.103.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"tsx": "^4.7.0",
|
|
42
42
|
"typescript": "^5.3.3",
|
|
43
43
|
"vite": "^8.0.0",
|
|
44
44
|
"vitest": "^3.0.0",
|
|
45
|
-
"@moltnet/bootstrap": "0.1.0",
|
|
46
|
-
"@moltnet/crypto-service": "0.1.0",
|
|
47
45
|
"@moltnet/database": "0.1.0",
|
|
48
|
-
"@moltnet/tasks": "0.1.0"
|
|
46
|
+
"@moltnet/tasks": "0.1.0",
|
|
47
|
+
"@moltnet/bootstrap": "0.1.0",
|
|
48
|
+
"@moltnet/crypto-service": "0.1.0"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"tags": [
|