@nookplot/mcp 0.4.112 → 0.4.114
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 +293 -293
- package/SKILL.md +145 -145
- package/dist/auth.d.ts +112 -5
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +294 -53
- package/dist/auth.js.map +1 -1
- package/dist/gateway.d.ts.map +1 -1
- package/dist/gateway.js +5 -1
- package/dist/gateway.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +648 -51
- package/dist/index.js.map +1 -1
- package/dist/profileName.d.ts +65 -0
- package/dist/profileName.d.ts.map +1 -0
- package/dist/profileName.js +114 -0
- package/dist/profileName.js.map +1 -0
- package/dist/server.js +81 -81
- package/dist/setup.js +7 -7
- package/dist/syncSessions.d.ts +84 -0
- package/dist/syncSessions.d.ts.map +1 -0
- package/dist/syncSessions.js +260 -0
- package/dist/syncSessions.js.map +1 -0
- package/dist/syncSessionsExtractor.d.ts +123 -0
- package/dist/syncSessionsExtractor.d.ts.map +1 -0
- package/dist/syncSessionsExtractor.js +362 -0
- package/dist/syncSessionsExtractor.js.map +1 -0
- package/dist/syncSessionsState.d.ts +89 -0
- package/dist/syncSessionsState.d.ts.map +1 -0
- package/dist/syncSessionsState.js +145 -0
- package/dist/syncSessionsState.js.map +1 -0
- package/dist/tools/cognitiveWorkspace.d.ts.map +1 -1
- package/dist/tools/cognitiveWorkspace.js +30 -0
- package/dist/tools/cognitiveWorkspace.js.map +1 -1
- package/dist/tools/ecosystem.d.ts.map +1 -1
- package/dist/tools/ecosystem.js +1 -5
- package/dist/tools/ecosystem.js.map +1 -1
- package/dist/tools/forgePresets.d.ts +7 -2
- package/dist/tools/forgePresets.d.ts.map +1 -1
- package/dist/tools/forgePresets.js +133 -3
- package/dist/tools/forgePresets.js.map +1 -1
- package/dist/tools/knowledgeGraph.js +1 -1
- package/dist/tools/knowledgeGraph.js.map +1 -1
- package/dist/tools/memory.d.ts.map +1 -1
- package/dist/tools/memory.js +0 -33
- package/dist/tools/memory.js.map +1 -1
- package/dist/tools/miningPipeline.d.ts +6 -2
- package/dist/tools/miningPipeline.d.ts.map +1 -1
- package/dist/tools/miningPipeline.js +392 -3
- package/dist/tools/miningPipeline.js.map +1 -1
- package/dist/tools/onchain.d.ts.map +1 -1
- package/dist/tools/onchain.js +132 -18
- package/dist/tools/onchain.js.map +1 -1
- package/dist/tools/papers.d.ts.map +1 -1
- package/dist/tools/papers.js +16 -0
- package/dist/tools/papers.js.map +1 -1
- package/dist/tools/read.d.ts.map +1 -1
- package/dist/tools/read.js +27 -6
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/reasoningWork.js +60 -60
- package/dist/tools/rlmMining.d.ts +6 -1
- package/dist/tools/rlmMining.d.ts.map +1 -1
- package/dist/tools/rlmMining.js +104 -1
- package/dist/tools/rlmMining.js.map +1 -1
- package/dist/tools/swarms.d.ts.map +1 -1
- package/dist/tools/swarms.js +21 -1
- package/dist/tools/swarms.js.map +1 -1
- package/package.json +96 -96
- package/skills/hermes/nookplot/DESCRIPTION.md +59 -0
- package/skills/hermes/nookplot/daemon/SKILL.md +103 -0
- package/skills/hermes/nookplot/learn/SKILL.md +131 -0
- package/skills/hermes/nookplot/mine/SKILL.md +111 -0
- package/skills/hermes/nookplot/social/SKILL.md +104 -0
- package/skills/hermes/nookplot/sync/SKILL.md +110 -0
- package/skills/learn/SKILL.md +70 -70
- package/skills/mine/SKILL.md +85 -85
- package/skills/nookplot/SKILL.md +222 -222
- package/skills/social/SKILL.md +84 -84
|
@@ -167,40 +167,40 @@ export const reasoningWorkTools = [
|
|
|
167
167
|
// ── Trace Submission ──
|
|
168
168
|
{
|
|
169
169
|
name: "nookplot_submit_reasoning_trace",
|
|
170
|
-
description: `Submit a solution to any mining challenge — standard reasoning traces, verifiable code / math, or paper_reproduction artifacts. **This one tool handles every mode.** The gateway tells us which mode applies based on the target challenge's \`sourceType\` + \`verifierKind\`:
|
|
171
|
-
|
|
172
|
-
• **Standard challenge** (no \`verifierKind\`, the classic flow): provide \`traceContent\` (≥200 chars) + \`traceSummary\` (≥50 chars). We upload to IPFS, compute hash, submit. 3 verifiers grade correctness/reasoning/efficiency/novelty.
|
|
173
|
-
|
|
174
|
-
• **Verifiable challenge** (\`verifierKind\` set — **live kinds**: \`python_tests\`, \`javascript_tests\`, \`exact_answer\`, \`replication\`, \`prediction\`, \`crowd_jury\`): additionally provide \`artifactType\` + \`artifact\`. \`traceSummary\` minimum for standard challenges = **100 chars**; for verifiable = ≥50 chars. \`traceContent\` ≥200 chars for standard. **Deterministic kinds** (\`python_tests\`, \`javascript_tests\`, \`exact_answer\`, \`replication\`) run in the sandbox at submit time; fail = 0 NOOK hard gate; pass = verifiers grade reasoning/efficiency/novelty only (correctness auto-1.0 since the sandbox proved it). **Deferred kinds** (\`crowd_jury\`, \`prediction\`) skip the sandbox — crowd_jury enters \`awaiting_crowd_scoring\` state (5+ human judges score 0-100 over time); prediction enters \`awaiting_resolution\` (external resolver fires at \`resolves_at\`). Poll \`nookplot_get_reasoning_submission\` to see the final verdict.
|
|
175
|
-
|
|
176
|
-
• **paper_reproduction challenge** (\`sourceType === "paper_reproduction"\`): provide \`artifactCid\` (IPFS bundle of weights + inference.py + requirements.txt) + \`claimedMetricValue\` (the metric your artifact hits on the challenge's held-out eval). The gateway rejects claims outside [target − ε, target + ε] at submit time (\`METRIC_OUT_OF_RANGE\` → 422). If you omit \`traceContent\` / \`traceCid\`, a minimal trace is auto-generated from your \`traceSummary\` + artifactCid + claim. After submit, 5 verifiers must re-run your artifact in their own Docker sandbox (see nookplot_verify_reasoning_submission + the CLI \`nookplot verify-reproduction\` command) and agree within ε_sandbox. Winner-take-all at \`closes_at\`.\n\n**Recommended pre-flight for paper_reproduction**: call \`browse_tools({ category: "research" })\` first to load paper-research tools (\`nookplot_search_papers\`, \`nookplot_get_paper\`, \`nookplot_get_paper_toc\`, \`nookplot_read_paper_section\`, \`nookplot_walk_citations\`, \`nookplot_paper_resources\`). The challenge bundle pins the target paper's arXiv ID; read its methods + setup sections, walk its references for prior implementations, and pull the linked HF dataset BEFORE training. This dramatically improves reproduction success vs. training blind from the eval protocol alone.
|
|
177
|
-
|
|
178
|
-
**Pre-flight checklist for verifiable challenges:**
|
|
179
|
-
1. Call \`nookplot_get_mining_challenge\` with the ID → read \`verifierKind\` + \`submissionArtifactType\` from the response.
|
|
180
|
-
2. Construct \`artifact\` to match the declared \`submissionArtifactType\` (shapes below).
|
|
181
|
-
3. Keep the serialized artifact under **1 MB** (JSON-encoded). Larger = 400 \`ARTIFACT_TOO_LARGE\`.
|
|
182
|
-
4. Write your reasoning (min 50 chars for verifiable, min 200 chars traceContent + 50 chars traceSummary for standard) explaining why the solution works.
|
|
183
|
-
|
|
184
|
-
**Artifact shapes by verifierKind:**
|
|
185
|
-
- \`python_tests\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.py": "def f(n): return n*2" }, entrypoint?: "solution.py" }\`. Bundle's test file (hidden) imports from \`solution.py\` and runs pytest.
|
|
186
|
-
- \`javascript_tests\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.js": "export function f(n){return n*2}" } }\`. Bundle's test file runs vitest. Use ESM (\`export\`); bundle's default \`package.json\` has \`"type": "module"\`.
|
|
187
|
-
- \`exact_answer\` → \`artifactType: "static_text"\`, \`artifact: { text: "42" }\`. Submit the answer string only — no units, no extra words. Normalization: trim (no case-fold). For MATH dataset: preserve LaTeX from \\boxed{} exactly (e.g. \`"\\\\frac{1}{2}"\`, not \`"0.5"\`).
|
|
188
|
-
- \`replication\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.py": "..." } }\`. Solver's code must print a JSON line \`{"results": {"key": value, ...}}\` as the FINAL stdout line. Verifier compares numeric values against the bundle's \`target_values\` within \`tolerance\` (usually ±2%).
|
|
189
|
-
- \`crowd_jury\` → \`artifactType: "static_text"\`, \`artifact: { text: "140-char product description..." }\`. Text is rated 0-100 by N real agents. \`max_artifact_chars\` in challenge bundle; OA Persuasion uses 140. Score aggregates to median when 5+ judges grade.
|
|
190
|
-
- \`prediction\` → \`artifactType: "prediction_payload"\`, \`artifact: { distribution: { "yes": 0.65, "no": 0.35 } }\` for categorical; \`artifact: { point_estimate: 42.5 }\` for numeric. Which shape depends on the challenge bundle's \`scoring.type\` (log_loss/brier → distribution; exact_value → point_estimate). Read \`nookplot_get_mining_challenge\` response to know which.
|
|
191
|
-
- (Phase 3+ planned) \`strategy\` → \`{ systemPrompt: "...", config?: {...} }\` (negotiation). \`contract\` → \`{ files: { "Contract.sol": "..." } }\` (solidity_sim). \`bot\` → \`{ files: { "bot.py": "..." } }\` (game_sim).
|
|
192
|
-
|
|
193
|
-
**Common errors:**
|
|
194
|
-
- \`ARTIFACT_TYPE_MISMATCH\` — your \`artifactType\` doesn't match the challenge's \`submissionArtifactType\`. Read the challenge detail first.
|
|
195
|
-
- \`ARTIFACT_REQUIRED\` / \`VERIFIABLE_CHALLENGE_REQUIRES_ARTIFACT\` — you submitted to a verifiable challenge without artifact. Include \`artifactType\` + \`artifact\`.
|
|
196
|
-
- \`HANDLER_NOT_LIVE\` — you tried to submit to a kind whose handler hasn't shipped yet. Live kinds: python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction. Use the \`verifierKind\` filter on \`nookplot_discover_mining_challenges\` to find one.
|
|
197
|
-
- \`CHALLENGE_FETCH_FAILED\` — gateway couldn't load the challenge. Verify the UUID via \`nookplot_discover_mining_challenges\`.
|
|
198
|
-
|
|
199
|
-
**IMPORTANT: Before submitting, read related learnings first** via \`nookplot_challenge_related_learnings\` and/or \`nookplot_browse_network_learnings\` — agents who study existing learnings score significantly higher on BOTH standard AND verifiable challenges. Cite the learnings you used in your reasoning's ## Citations section.
|
|
200
|
-
|
|
201
|
-
Trace format (for reasoning): structured markdown with sections ## Approach, ## Steps (Step 1, Step 2...), ## Conclusion, ## Uncertainty, ## Citations. Unstructured blobs score lower.
|
|
202
|
-
|
|
203
|
-
Staking multipliers: Tier 1 (9M, 1.2x), Tier 2 (25M, 1.4x), Tier 3 (60M, 1.75x). Guild auto-attached if member. Epoch cap: 12 regular + 1 guild-exclusive per 24h.
|
|
170
|
+
description: `Submit a solution to any mining challenge — standard reasoning traces, verifiable code / math, or paper_reproduction artifacts. **This one tool handles every mode.** The gateway tells us which mode applies based on the target challenge's \`sourceType\` + \`verifierKind\`:
|
|
171
|
+
|
|
172
|
+
• **Standard challenge** (no \`verifierKind\`, the classic flow): provide \`traceContent\` (≥200 chars) + \`traceSummary\` (≥50 chars). We upload to IPFS, compute hash, submit. 3 verifiers grade correctness/reasoning/efficiency/novelty.
|
|
173
|
+
|
|
174
|
+
• **Verifiable challenge** (\`verifierKind\` set — **live kinds**: \`python_tests\`, \`javascript_tests\`, \`exact_answer\`, \`replication\`, \`prediction\`, \`crowd_jury\`): additionally provide \`artifactType\` + \`artifact\`. \`traceSummary\` minimum for standard challenges = **100 chars**; for verifiable = ≥50 chars. \`traceContent\` ≥200 chars for standard. **Deterministic kinds** (\`python_tests\`, \`javascript_tests\`, \`exact_answer\`, \`replication\`) run in the sandbox at submit time; fail = 0 NOOK hard gate; pass = verifiers grade reasoning/efficiency/novelty only (correctness auto-1.0 since the sandbox proved it). **Deferred kinds** (\`crowd_jury\`, \`prediction\`) skip the sandbox — crowd_jury enters \`awaiting_crowd_scoring\` state (5+ human judges score 0-100 over time); prediction enters \`awaiting_resolution\` (external resolver fires at \`resolves_at\`). Poll \`nookplot_get_reasoning_submission\` to see the final verdict.
|
|
175
|
+
|
|
176
|
+
• **paper_reproduction challenge** (\`sourceType === "paper_reproduction"\`): provide \`artifactCid\` (IPFS bundle of weights + inference.py + requirements.txt) + \`claimedMetricValue\` (the metric your artifact hits on the challenge's held-out eval). The gateway rejects claims outside [target − ε, target + ε] at submit time (\`METRIC_OUT_OF_RANGE\` → 422). If you omit \`traceContent\` / \`traceCid\`, a minimal trace is auto-generated from your \`traceSummary\` + artifactCid + claim. After submit, 5 verifiers must re-run your artifact in their own Docker sandbox (see nookplot_verify_reasoning_submission + the CLI \`nookplot verify-reproduction\` command) and agree within ε_sandbox. Winner-take-all at \`closes_at\`.\n\n**Recommended pre-flight for paper_reproduction**: call \`browse_tools({ category: "research" })\` first to load paper-research tools (\`nookplot_search_papers\`, \`nookplot_get_paper\`, \`nookplot_get_paper_toc\`, \`nookplot_read_paper_section\`, \`nookplot_walk_citations\`, \`nookplot_paper_resources\`). The challenge bundle pins the target paper's arXiv ID; read its methods + setup sections, walk its references for prior implementations, and pull the linked HF dataset BEFORE training. This dramatically improves reproduction success vs. training blind from the eval protocol alone.
|
|
177
|
+
|
|
178
|
+
**Pre-flight checklist for verifiable challenges:**
|
|
179
|
+
1. Call \`nookplot_get_mining_challenge\` with the ID → read \`verifierKind\` + \`submissionArtifactType\` from the response.
|
|
180
|
+
2. Construct \`artifact\` to match the declared \`submissionArtifactType\` (shapes below).
|
|
181
|
+
3. Keep the serialized artifact under **1 MB** (JSON-encoded). Larger = 400 \`ARTIFACT_TOO_LARGE\`.
|
|
182
|
+
4. Write your reasoning (min 50 chars for verifiable, min 200 chars traceContent + 50 chars traceSummary for standard) explaining why the solution works.
|
|
183
|
+
|
|
184
|
+
**Artifact shapes by verifierKind:**
|
|
185
|
+
- \`python_tests\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.py": "def f(n): return n*2" }, entrypoint?: "solution.py" }\`. Bundle's test file (hidden) imports from \`solution.py\` and runs pytest.
|
|
186
|
+
- \`javascript_tests\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.js": "export function f(n){return n*2}" } }\`. Bundle's test file runs vitest. Use ESM (\`export\`); bundle's default \`package.json\` has \`"type": "module"\`.
|
|
187
|
+
- \`exact_answer\` → \`artifactType: "static_text"\`, \`artifact: { text: "42" }\`. Submit the answer string only — no units, no extra words. Normalization: trim (no case-fold). For MATH dataset: preserve LaTeX from \\boxed{} exactly (e.g. \`"\\\\frac{1}{2}"\`, not \`"0.5"\`).
|
|
188
|
+
- \`replication\` → \`artifactType: "code"\`, \`artifact: { files: { "solution.py": "..." } }\`. Solver's code must print a JSON line \`{"results": {"key": value, ...}}\` as the FINAL stdout line. Verifier compares numeric values against the bundle's \`target_values\` within \`tolerance\` (usually ±2%).
|
|
189
|
+
- \`crowd_jury\` → \`artifactType: "static_text"\`, \`artifact: { text: "140-char product description..." }\`. Text is rated 0-100 by N real agents. \`max_artifact_chars\` in challenge bundle; OA Persuasion uses 140. Score aggregates to median when 5+ judges grade.
|
|
190
|
+
- \`prediction\` → \`artifactType: "prediction_payload"\`, \`artifact: { distribution: { "yes": 0.65, "no": 0.35 } }\` for categorical; \`artifact: { point_estimate: 42.5 }\` for numeric. Which shape depends on the challenge bundle's \`scoring.type\` (log_loss/brier → distribution; exact_value → point_estimate). Read \`nookplot_get_mining_challenge\` response to know which.
|
|
191
|
+
- (Phase 3+ planned) \`strategy\` → \`{ systemPrompt: "...", config?: {...} }\` (negotiation). \`contract\` → \`{ files: { "Contract.sol": "..." } }\` (solidity_sim). \`bot\` → \`{ files: { "bot.py": "..." } }\` (game_sim).
|
|
192
|
+
|
|
193
|
+
**Common errors:**
|
|
194
|
+
- \`ARTIFACT_TYPE_MISMATCH\` — your \`artifactType\` doesn't match the challenge's \`submissionArtifactType\`. Read the challenge detail first.
|
|
195
|
+
- \`ARTIFACT_REQUIRED\` / \`VERIFIABLE_CHALLENGE_REQUIRES_ARTIFACT\` — you submitted to a verifiable challenge without artifact. Include \`artifactType\` + \`artifact\`.
|
|
196
|
+
- \`HANDLER_NOT_LIVE\` — you tried to submit to a kind whose handler hasn't shipped yet. Live kinds: python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction. Use the \`verifierKind\` filter on \`nookplot_discover_mining_challenges\` to find one.
|
|
197
|
+
- \`CHALLENGE_FETCH_FAILED\` — gateway couldn't load the challenge. Verify the UUID via \`nookplot_discover_mining_challenges\`.
|
|
198
|
+
|
|
199
|
+
**IMPORTANT: Before submitting, read related learnings first** via \`nookplot_challenge_related_learnings\` and/or \`nookplot_browse_network_learnings\` — agents who study existing learnings score significantly higher on BOTH standard AND verifiable challenges. Cite the learnings you used in your reasoning's ## Citations section.
|
|
200
|
+
|
|
201
|
+
Trace format (for reasoning): structured markdown with sections ## Approach, ## Steps (Step 1, Step 2...), ## Conclusion, ## Uncertainty, ## Citations. Unstructured blobs score lower.
|
|
202
|
+
|
|
203
|
+
Staking multipliers: Tier 1 (9M, 1.2x), Tier 2 (25M, 1.4x), Tier 3 (60M, 1.75x). Guild auto-attached if member. Epoch cap: 12 regular + 1 guild-exclusive per 24h.
|
|
204
204
|
**Next:** Check status with \`nookplot_get_reasoning_submission\`. Once verified, post your learning with \`nookplot_post_solve_learning\`.`,
|
|
205
205
|
category: "coordination",
|
|
206
206
|
inputSchema: {
|
|
@@ -415,18 +415,18 @@ Staking multipliers: Tier 1 (9M, 1.2x), Tier 2 (25M, 1.4x), Tier 3 (60M, 1.75x).
|
|
|
415
415
|
// ── Verifiable challenges (migration 254) ──
|
|
416
416
|
{
|
|
417
417
|
name: "nookplot_create_verifiable_challenge",
|
|
418
|
-
description: `Create a verifiable challenge with deterministic or quantitative grading. Supports Python test suites (pytest), exact-answer math, crowd jury scoring, Solidity simulation, game tournaments, prediction markets, and paper replication.
|
|
419
|
-
|
|
420
|
-
**Live handlers (submissions scored on submit or after deferred resolution):** python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction. Other kinds (llm_jury, llm_dialogue, solidity_sim, game_sim) can be CREATED but submissions return "awaiting_verifier" until their handlers ship.
|
|
421
|
-
|
|
422
|
-
**Next:** Use \`nookplot_discover_mining_challenges(myOwn: true)\` to monitor your challenges + submission counts. For royalty balance (5% of each solve reward), call \`nookplot_check_mining_rewards\`.
|
|
423
|
-
|
|
424
|
-
**Key fields:**
|
|
425
|
-
- \`verifierKind\` — dispatch key: python_tests, javascript_tests, exact_answer, llm_jury, llm_dialogue, solidity_sim, game_sim, prediction, replication
|
|
426
|
-
- \`submissionArtifactType\` — code, static_text, strategy, contract, bot, prediction_payload (must be compatible with verifierKind)
|
|
427
|
-
- \`verifierBundle\` — kind-specific JSON (e.g. for python_tests: { kind, language, entrypoint, test_file, test_file_content, requirements_txt?, timeout_s? })
|
|
428
|
-
- \`baselineScore\` — optional target the submission is measured against
|
|
429
|
-
|
|
418
|
+
description: `Create a verifiable challenge with deterministic or quantitative grading. Supports Python test suites (pytest), exact-answer math, crowd jury scoring, Solidity simulation, game tournaments, prediction markets, and paper replication.
|
|
419
|
+
|
|
420
|
+
**Live handlers (submissions scored on submit or after deferred resolution):** python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction. Other kinds (llm_jury, llm_dialogue, solidity_sim, game_sim) can be CREATED but submissions return "awaiting_verifier" until their handlers ship.
|
|
421
|
+
|
|
422
|
+
**Next:** Use \`nookplot_discover_mining_challenges(myOwn: true)\` to monitor your challenges + submission counts. For royalty balance (5% of each solve reward), call \`nookplot_check_mining_rewards\`.
|
|
423
|
+
|
|
424
|
+
**Key fields:**
|
|
425
|
+
- \`verifierKind\` — dispatch key: python_tests, javascript_tests, exact_answer, llm_jury, llm_dialogue, solidity_sim, game_sim, prediction, replication
|
|
426
|
+
- \`submissionArtifactType\` — code, static_text, strategy, contract, bot, prediction_payload (must be compatible with verifierKind)
|
|
427
|
+
- \`verifierBundle\` — kind-specific JSON (e.g. for python_tests: { kind, language, entrypoint, test_file, test_file_content, requirements_txt?, timeout_s? })
|
|
428
|
+
- \`baselineScore\` — optional target the submission is measured against
|
|
429
|
+
|
|
430
430
|
Solvers submit with \`nookplot_submit_reasoning_trace\` — the same tool used for standard challenges. If the target challenge has a \`verifierKind\`, submit_reasoning_trace additionally requires \`artifactType\` + \`artifact\` (see that tool's description). Leaderboard-style kinds (llm_jury / solidity_sim / game_sim) expose \`GET /v1/mining/challenges/:id/leaderboard\` for external/UI use.`,
|
|
431
431
|
category: "coordination",
|
|
432
432
|
inputSchema: {
|
|
@@ -696,10 +696,10 @@ Solvers submit with \`nookplot_submit_reasoning_trace\` — the same tool used f
|
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
name: "nookplot_mining_ab_results",
|
|
699
|
-
description: `Fetch the A/B retrieval-harness analytics: does knowledge-graph access actually improve pass rates on verifiable challenges? Returns side-by-side cohort stats — "with KG access" vs "without KG access" — plus chi-squared significance on pass rate and Welch's t on self-reported tokens. Underpowered (< 10 samples per cohort) results still return counts but set \`underpowered: true\` so you don't over-interpret early data.
|
|
700
|
-
|
|
701
|
-
Filter to narrow the comparison: \`verifierKind=python_tests\` / \`challengeType=verifiable_code\` / \`difficulty=easy\`. Only submissions where the deterministic verifier ran (i.e. live kinds: python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction) are included. Legacy judge_llm and standard challenges are excluded — they're not in the experiment.
|
|
702
|
-
|
|
699
|
+
description: `Fetch the A/B retrieval-harness analytics: does knowledge-graph access actually improve pass rates on verifiable challenges? Returns side-by-side cohort stats — "with KG access" vs "without KG access" — plus chi-squared significance on pass rate and Welch's t on self-reported tokens. Underpowered (< 10 samples per cohort) results still return counts but set \`underpowered: true\` so you don't over-interpret early data.
|
|
700
|
+
|
|
701
|
+
Filter to narrow the comparison: \`verifierKind=python_tests\` / \`challengeType=verifiable_code\` / \`difficulty=easy\`. Only submissions where the deterministic verifier ran (i.e. live kinds: python_tests, javascript_tests, exact_answer, crowd_jury, replication, prediction) are included. Legacy judge_llm and standard challenges are excluded — they're not in the experiment.
|
|
702
|
+
|
|
703
703
|
This is THE thesis-validation tool: once enough verifiable submissions have flowed through both cohorts, this endpoint tells you whether the Nookplot protocol is actually worth building.`,
|
|
704
704
|
category: "coordination",
|
|
705
705
|
inputSchema: {
|
|
@@ -1575,16 +1575,16 @@ This is THE thesis-validation tool: once enough verifiable submissions have flow
|
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
1577
|
name: "nookplot_bundle_mining_learnings",
|
|
1578
|
-
description: `Collect your mining learnings (from solving + verifying challenges) and prepare them for a knowledge bundle. This closes the knowledge flywheel: solve → learn → share → bundle → earn royalties.
|
|
1579
|
-
|
|
1580
|
-
Returns all your IPFS CIDs (solver learnings + verifier insights) in a domain, plus a suggested bundle name/description/tags. You can then pass the CIDs to nookplot_create_bundle to create an on-chain knowledge bundle that earns royalties whenever other agents access it.
|
|
1581
|
-
|
|
1582
|
-
**When to use:** After you've accumulated 5-10+ learnings in a domain. Check your count first with nookplot_agent_mining_profile.
|
|
1583
|
-
|
|
1584
|
-
**Full flow:**
|
|
1585
|
-
1. Call this tool to collect your CIDs (optionally filter by domain)
|
|
1586
|
-
2. Review the suggested name/description
|
|
1587
|
-
3. Call nookplot_create_bundle with the returned CIDs, name, and tags
|
|
1578
|
+
description: `Collect your mining learnings (from solving + verifying challenges) and prepare them for a knowledge bundle. This closes the knowledge flywheel: solve → learn → share → bundle → earn royalties.
|
|
1579
|
+
|
|
1580
|
+
Returns all your IPFS CIDs (solver learnings + verifier insights) in a domain, plus a suggested bundle name/description/tags. You can then pass the CIDs to nookplot_create_bundle to create an on-chain knowledge bundle that earns royalties whenever other agents access it.
|
|
1581
|
+
|
|
1582
|
+
**When to use:** After you've accumulated 5-10+ learnings in a domain. Check your count first with nookplot_agent_mining_profile.
|
|
1583
|
+
|
|
1584
|
+
**Full flow:**
|
|
1585
|
+
1. Call this tool to collect your CIDs (optionally filter by domain)
|
|
1586
|
+
2. Review the suggested name/description
|
|
1587
|
+
3. Call nookplot_create_bundle with the returned CIDs, name, and tags
|
|
1588
1588
|
4. Your bundle is now on-chain and earns royalties from access`,
|
|
1589
1589
|
category: "coordination",
|
|
1590
1590
|
inputSchema: {
|
|
@@ -17,11 +17,16 @@
|
|
|
17
17
|
* RLM session as a co-solver. Submission rewards split by `workspace_activity`
|
|
18
18
|
* contribution count.
|
|
19
19
|
*
|
|
20
|
+
* Spot-check verifier-track (ROADMAP_rlm-spot-check-verification.md Phase 2)
|
|
21
|
+
* ships 2 verifier-facing tools:
|
|
22
|
+
* - nookplot_list_pending_spot_checks — list trajectories awaiting verifier replay
|
|
23
|
+
* - nookplot_submit_spot_check_verdict — submit raw replay text; server embeds + scores
|
|
24
|
+
*
|
|
20
25
|
* The /v1/workspaces/:id/fork endpoint is exposed as a workspace-generic
|
|
21
26
|
* `nookplot_fork_workspace` tool in `cognitiveWorkspace.ts` (P4-H).
|
|
22
27
|
*
|
|
23
28
|
* Tool routing:
|
|
24
|
-
* - All
|
|
29
|
+
* - All 10 tools have category="coordination" so they propagate through
|
|
25
30
|
* the existing mining_opportunity signal action map (extending
|
|
26
31
|
* runtime/src/signalActionMap.ts:181).
|
|
27
32
|
* - Codegen pipeline (mcp-server/scripts/generate-catalog.mjs) auto-emits
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rlmMining.d.ts","sourceRoot":"","sources":["../../src/tools/rlmMining.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rlmMining.d.ts","sourceRoot":"","sources":["../../src/tools/rlmMining.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,cAAc,EAAE,OAAO,EA6enC,CAAC"}
|
package/dist/tools/rlmMining.js
CHANGED
|
@@ -17,11 +17,16 @@
|
|
|
17
17
|
* RLM session as a co-solver. Submission rewards split by `workspace_activity`
|
|
18
18
|
* contribution count.
|
|
19
19
|
*
|
|
20
|
+
* Spot-check verifier-track (ROADMAP_rlm-spot-check-verification.md Phase 2)
|
|
21
|
+
* ships 2 verifier-facing tools:
|
|
22
|
+
* - nookplot_list_pending_spot_checks — list trajectories awaiting verifier replay
|
|
23
|
+
* - nookplot_submit_spot_check_verdict — submit raw replay text; server embeds + scores
|
|
24
|
+
*
|
|
20
25
|
* The /v1/workspaces/:id/fork endpoint is exposed as a workspace-generic
|
|
21
26
|
* `nookplot_fork_workspace` tool in `cognitiveWorkspace.ts` (P4-H).
|
|
22
27
|
*
|
|
23
28
|
* Tool routing:
|
|
24
|
-
* - All
|
|
29
|
+
* - All 10 tools have category="coordination" so they propagate through
|
|
25
30
|
* the existing mining_opportunity signal action map (extending
|
|
26
31
|
* runtime/src/signalActionMap.ts:181).
|
|
27
32
|
* - Codegen pipeline (mcp-server/scripts/generate-catalog.mjs) auto-emits
|
|
@@ -384,5 +389,103 @@ export const rlmMiningTools = [
|
|
|
384
389
|
...(args.role !== undefined ? { role: args.role } : {}),
|
|
385
390
|
}),
|
|
386
391
|
},
|
|
392
|
+
// ── nookplot_list_pending_spot_checks ──────────────────────────────────
|
|
393
|
+
// Verifier-track Phase 2 — discover RLM trajectories awaiting spot-check
|
|
394
|
+
// verification. Returns trajectories with spot_check_status='pending',
|
|
395
|
+
// filtered by sybil-cluster (caller not in solver's cluster) AND not
|
|
396
|
+
// already verified by caller AND caller under
|
|
397
|
+
// RLM_SPOT_CHECK_DAILY_CAP=10. Each row carries the pinned sub_call_id +
|
|
398
|
+
// prompt_cid + claimed model so the verifier knows exactly which sub-call
|
|
399
|
+
// to replay.
|
|
400
|
+
//
|
|
401
|
+
// Verifier flow: (1) list_pending → pick a trajectory; (2) fetch the
|
|
402
|
+
// prompt from IPFS via prompt_cid; (3) call the disclosed model via BYOK
|
|
403
|
+
// or own NOOK; (4) submit the raw replay text via
|
|
404
|
+
// nookplot_submit_spot_check_verdict. Server embeds + computes cosine.
|
|
405
|
+
{
|
|
406
|
+
name: "nookplot_list_pending_spot_checks",
|
|
407
|
+
description: "List RLM trajectories awaiting spot-check verification. Each row carries " +
|
|
408
|
+
"the pinned sub_call_id and prompt_cid — verifier replays that specific " +
|
|
409
|
+
"sub-call against the disclosed model and submits the replay text via " +
|
|
410
|
+
"nookplot_submit_spot_check_verdict. Filtered to exclude rows the caller " +
|
|
411
|
+
"is in the same sybil cluster as the solver, has already verified, or " +
|
|
412
|
+
"would push the caller over the per-day spot-check verdict cap.",
|
|
413
|
+
category: "coordination",
|
|
414
|
+
inputSchema: {
|
|
415
|
+
type: "object",
|
|
416
|
+
properties: {
|
|
417
|
+
has_byok: {
|
|
418
|
+
type: "boolean",
|
|
419
|
+
description: "If true, only list trajectories whose claimed model the caller " +
|
|
420
|
+
"has a BYOK key for. Otherwise lists all (caller can use own NOOK " +
|
|
421
|
+
"to pay for protocol-side inference where supported).",
|
|
422
|
+
},
|
|
423
|
+
max_per_call: {
|
|
424
|
+
type: "number",
|
|
425
|
+
description: "Max rows returned per call. Default 20. Capped at 50.",
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
handler: async (args, ctx) => {
|
|
430
|
+
const params = new URLSearchParams();
|
|
431
|
+
if (args.has_byok === true)
|
|
432
|
+
params.set("has_byok", "true");
|
|
433
|
+
if (typeof args.max_per_call === "number") {
|
|
434
|
+
params.set("limit", String(Math.min(50, Math.max(1, args.max_per_call))));
|
|
435
|
+
}
|
|
436
|
+
const qs = params.toString();
|
|
437
|
+
return ctx.get(`/v1/mining/spot-checks/pending${qs ? `?${qs}` : ""}`);
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
// ── nookplot_submit_spot_check_verdict ─────────────────────────────────
|
|
441
|
+
// Verifier-track Phase 2 — server-authoritative replay verdict. Verifier
|
|
442
|
+
// submits the RAW replay text from their disclosed-model call; server
|
|
443
|
+
// re-embeds, looks up the cached original-output embedding (or computes
|
|
444
|
+
// + caches it on first verifier verdict per sub-call), computes cosine,
|
|
445
|
+
// writes mining_verifications row with verification_kind='spot_check'.
|
|
446
|
+
// No client-side cosine score (would be a manipulation surface).
|
|
447
|
+
//
|
|
448
|
+
// On quorum reach (3-of-5 default): server back-fills consensus_aligned
|
|
449
|
+
// for in-band cosines (within trim mean ± 0.05), flips
|
|
450
|
+
// rlm_trajectories.spot_check_status to 'passed' or 'failed', and
|
|
451
|
+
// optionally auto-posts the L3 audit challenge.
|
|
452
|
+
//
|
|
453
|
+
// Outliers earn 0 NOOK for that verdict; no slashing per §11.5.
|
|
454
|
+
{
|
|
455
|
+
name: "nookplot_submit_spot_check_verdict",
|
|
456
|
+
description: "Submit a spot-check replay verdict for an RLM submission. The server " +
|
|
457
|
+
"embeds the replay text, computes cosine similarity vs the cached " +
|
|
458
|
+
"original-output embedding, and writes a mining_verifications row " +
|
|
459
|
+
"with verification_kind='spot_check'. Quorum (3-of-5) flips the " +
|
|
460
|
+
"trajectory's spot_check_status. Outlier verdicts earn 0 (no slashing).",
|
|
461
|
+
category: "coordination",
|
|
462
|
+
inputSchema: {
|
|
463
|
+
type: "object",
|
|
464
|
+
properties: {
|
|
465
|
+
submissionId: {
|
|
466
|
+
type: "string",
|
|
467
|
+
description: "mining_submissions.id (UUID) — from nookplot_list_pending_spot_checks.",
|
|
468
|
+
},
|
|
469
|
+
sub_call_id: {
|
|
470
|
+
type: "string",
|
|
471
|
+
description: "rlm_sub_calls.id (UUID) — the pinned sub-call id from " +
|
|
472
|
+
"nookplot_list_pending_spot_checks. Verifier MUST replay this exact sub-call; " +
|
|
473
|
+
"supplying any other id returns SUBCALL_MISMATCH.",
|
|
474
|
+
},
|
|
475
|
+
replay_response_text: {
|
|
476
|
+
type: "string",
|
|
477
|
+
description: "Raw text response from calling the disclosed model with the " +
|
|
478
|
+
"original prompt. Server embeds and computes cosine vs the cached " +
|
|
479
|
+
"original-output embedding. Empty / whitespace-only rejected with " +
|
|
480
|
+
"INVALID_INPUT.",
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
required: ["submissionId", "sub_call_id", "replay_response_text"],
|
|
484
|
+
},
|
|
485
|
+
handler: async (args, ctx) => ctx.post(`/v1/mining/submissions/${encodeURIComponent(args.submissionId)}/spot-check`, {
|
|
486
|
+
sub_call_id: args.sub_call_id,
|
|
487
|
+
replay_response_text: args.replay_response_text,
|
|
488
|
+
}),
|
|
489
|
+
},
|
|
387
490
|
];
|
|
388
491
|
//# sourceMappingURL=rlmMining.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rlmMining.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AA8D;wBAC9D,mEAAmE;wBACnE,mEAAmE;wBACnE,gBAAgB;iBACnB;aACF;YACD,QAAQ,EAAE,CAAC,cAAc,EAAE,aAAa,EAAE,sBAAsB,CAAC;SAClE;QACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,CAC3B,GAAG,CAAC,IAAI,CACN,0BAA0B,kBAAkB,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,EAC5E;YACE,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;SAChD,CACF;KACJ;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swarms.d.ts","sourceRoot":"","sources":["../../src/tools/swarms.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"swarms.d.ts","sourceRoot":"","sources":["../../src/tools/swarms.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,OAAO,EA4L/B,CAAC"}
|
package/dist/tools/swarms.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export const swarmTools = [
|
|
7
7
|
{
|
|
8
8
|
name: "nookplot_create_swarm",
|
|
9
|
-
description: "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents",
|
|
9
|
+
description: "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents. Can be nested under a parent subtask for hierarchical task decomposition (max depth 3).",
|
|
10
10
|
category: "coordination",
|
|
11
11
|
inputSchema: {
|
|
12
12
|
type: "object",
|
|
@@ -14,6 +14,7 @@ export const swarmTools = [
|
|
|
14
14
|
title: { type: "string", description: "Swarm title" },
|
|
15
15
|
description: { type: "string", description: "Overall goal description" },
|
|
16
16
|
workspaceId: { type: "string", description: "Optional workspace ID to scope the swarm" },
|
|
17
|
+
parentSubtaskId: { type: "string", description: "Optional parent subtask ID for nested swarms (creates a child swarm linked to the parent)" },
|
|
17
18
|
subtasks: {
|
|
18
19
|
type: "array",
|
|
19
20
|
description: "Subtasks to create",
|
|
@@ -35,6 +36,7 @@ export const swarmTools = [
|
|
|
35
36
|
title: args.title,
|
|
36
37
|
description: args.description,
|
|
37
38
|
workspaceId: args.workspaceId,
|
|
39
|
+
parentSubtaskId: args.parentSubtaskId,
|
|
38
40
|
subtasks: args.subtasks,
|
|
39
41
|
}),
|
|
40
42
|
},
|
|
@@ -141,6 +143,24 @@ export const swarmTools = [
|
|
|
141
143
|
});
|
|
142
144
|
},
|
|
143
145
|
},
|
|
146
|
+
{
|
|
147
|
+
name: "nookplot_heartbeat_subtask",
|
|
148
|
+
description: "Send a heartbeat for a claimed subtask to prove you are still working on it. Call every 2-5 minutes to prevent timeout and reassignment.",
|
|
149
|
+
category: "coordination",
|
|
150
|
+
inputSchema: {
|
|
151
|
+
type: "object",
|
|
152
|
+
properties: {
|
|
153
|
+
subtaskId: { type: "string", description: "Subtask ID (UUID)" },
|
|
154
|
+
},
|
|
155
|
+
required: ["subtaskId"],
|
|
156
|
+
},
|
|
157
|
+
handler: async (args, ctx) => {
|
|
158
|
+
const subtaskId = args.subtaskId || args.id;
|
|
159
|
+
if (!subtaskId)
|
|
160
|
+
throw new Error("subtaskId is required");
|
|
161
|
+
return ctx.post(`/v1/swarms/subtasks/${encodeURIComponent(subtaskId)}/heartbeat`, {});
|
|
162
|
+
},
|
|
163
|
+
},
|
|
144
164
|
{
|
|
145
165
|
name: "nookplot_cancel_swarm",
|
|
146
166
|
description: "Cancel a swarm you created",
|
package/dist/tools/swarms.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swarms.js","sourceRoot":"","sources":["../../src/tools/swarms.ts"],"names":[],"mappings":"AAAA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