@tangle-network/agent-runtime 0.104.0 → 0.105.0

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 (73) hide show
  1. package/README.md +176 -42
  2. package/dist/agent.js +4 -4
  3. package/dist/candidate-execution/index.d.ts +2 -2
  4. package/dist/candidate-execution/index.js +4 -4
  5. package/dist/{chunk-2QJSNOGK.js → chunk-C5RTIBNZ.js} +2 -2
  6. package/dist/{chunk-SNSMRT6H.js → chunk-CTRA64LY.js} +3 -3
  7. package/dist/{chunk-ZXICDSAK.js → chunk-H5QPIZNX.js} +2 -2
  8. package/dist/{chunk-2X65HYMI.js → chunk-HLKC4UYB.js} +1 -13
  9. package/dist/chunk-HLKC4UYB.js.map +1 -0
  10. package/dist/{chunk-3PPVCS75.js → chunk-HNP72PNU.js} +3 -10
  11. package/dist/chunk-HNP72PNU.js.map +1 -0
  12. package/dist/chunk-OPVWXJ2H.js +75 -0
  13. package/dist/chunk-OPVWXJ2H.js.map +1 -0
  14. package/dist/{chunk-B7K7V22Y.js → chunk-RDOAVVHY.js} +2 -2
  15. package/dist/{chunk-L5DST3QC.js → chunk-SMQXZGLZ.js} +1 -1
  16. package/dist/chunk-SMQXZGLZ.js.map +1 -0
  17. package/dist/{chunk-FJI3EXU3.js → chunk-UHEZW5BU.js} +1104 -588
  18. package/dist/chunk-UHEZW5BU.js.map +1 -0
  19. package/dist/{chunk-HAO4CXHP.js → chunk-VISA6CI3.js} +3 -3
  20. package/dist/{chunk-2UABGGUB.js → chunk-WMTCUOQL.js} +5 -5
  21. package/dist/{chunk-ATDFUJYI.js → chunk-WRTOVNN4.js} +4 -4
  22. package/dist/{chunk-ATDFUJYI.js.map → chunk-WRTOVNN4.js.map} +1 -1
  23. package/dist/{chunk-SBTWKPVR.js → chunk-WSTRQZYQ.js} +1 -1
  24. package/dist/chunk-WSTRQZYQ.js.map +1 -0
  25. package/dist/{chunk-5HNDYWUT.js → chunk-XBG2W2VW.js} +13 -3
  26. package/dist/chunk-XBG2W2VW.js.map +1 -0
  27. package/dist/{chunk-STJEHM5F.js → chunk-YJZA2BIK.js} +2 -2
  28. package/dist/{chunk-STJEHM5F.js.map → chunk-YJZA2BIK.js.map} +1 -1
  29. package/dist/{completion-gate-Bv47cOnn.d.ts → completion-gate-BMy5LGoP.d.ts} +1 -1
  30. package/dist/{coordination-CxtzMxSM.d.ts → coordination-BZZSVYpZ.d.ts} +2 -2
  31. package/dist/index.d.ts +101 -177
  32. package/dist/index.js +373 -235
  33. package/dist/index.js.map +1 -1
  34. package/dist/intelligence.d.ts +49 -40
  35. package/dist/intelligence.js +14 -57
  36. package/dist/intelligence.js.map +1 -1
  37. package/dist/knowledge.d.ts +4 -4
  38. package/dist/knowledge.js +8 -8
  39. package/dist/{local-harness-CtK9dSny.d.ts → local-harness-BDNcl6jI.d.ts} +1 -1
  40. package/dist/{loop-runner-bin-DUOGtvOl.d.ts → loop-runner-bin-68aoM9-7.d.ts} +3 -11
  41. package/dist/loop-runner-bin.d.ts +4 -6
  42. package/dist/loop-runner-bin.js +5 -5
  43. package/dist/loops.d.ts +11 -11
  44. package/dist/loops.js +5 -5
  45. package/dist/mcp/bin.js +2 -2
  46. package/dist/mcp/index.d.ts +7 -8
  47. package/dist/mcp/index.js +6 -6
  48. package/dist/mcp/memory-bin.js +1 -1
  49. package/dist/primeintellect/index.d.ts +2 -3
  50. package/dist/primeintellect/index.js +5 -6
  51. package/dist/primeintellect/index.js.map +1 -1
  52. package/dist/{protected-model-port-DzkUY3HQ.d.ts → protected-model-port-B4t-OQjL.d.ts} +1 -1
  53. package/dist/{improve--2A0gK1-.d.ts → redact-BuFjxBUJ.d.ts} +201 -160
  54. package/dist/{structural-rollout-C4mabf87.d.ts → structural-rollout-DEh6CEsa.d.ts} +2 -2
  55. package/dist/{supervise-7q9F5brx.d.ts → supervise-4_48wwvy.d.ts} +2 -2
  56. package/dist/testing.js +9 -9
  57. package/dist/testing.js.map +1 -1
  58. package/dist/{worktree-fanout-WsOzt8qu.d.ts → worktree-fanout-DxhAWr5Z.d.ts} +2 -2
  59. package/package.json +6 -5
  60. package/skills/build-with-agent-runtime/SKILL.md +15 -9
  61. package/skills/loop-writer/SKILL.md +1 -1
  62. package/dist/chunk-2X65HYMI.js.map +0 -1
  63. package/dist/chunk-3PPVCS75.js.map +0 -1
  64. package/dist/chunk-5HNDYWUT.js.map +0 -1
  65. package/dist/chunk-FJI3EXU3.js.map +0 -1
  66. package/dist/chunk-L5DST3QC.js.map +0 -1
  67. package/dist/chunk-SBTWKPVR.js.map +0 -1
  68. /package/dist/{chunk-2QJSNOGK.js.map → chunk-C5RTIBNZ.js.map} +0 -0
  69. /package/dist/{chunk-SNSMRT6H.js.map → chunk-CTRA64LY.js.map} +0 -0
  70. /package/dist/{chunk-ZXICDSAK.js.map → chunk-H5QPIZNX.js.map} +0 -0
  71. /package/dist/{chunk-B7K7V22Y.js.map → chunk-RDOAVVHY.js.map} +0 -0
  72. /package/dist/{chunk-HAO4CXHP.js.map → chunk-VISA6CI3.js.map} +0 -0
  73. /package/dist/{chunk-2UABGGUB.js.map → chunk-WMTCUOQL.js.map} +0 -0
@@ -2,17 +2,17 @@ import { PromoteKnowledgeCandidateOptions, RagKnowledgeUpdateResult, KnowledgeRe
2
2
  import { b as AgentImprovementActivationResultStore, c as AgentImprovementActivationTransition, a as AgentImprovementActivationReconciliation } from './activation-Cm-9MMX1.js';
3
3
  import { AgentCandidateKnowledge, AgentCandidateCapturedArtifact, AgentCandidateBundle } from '@tangle-network/agent-interface';
4
4
  import { b as AgentCandidateOutputArtifactPort } from './types-Cbp72qyu.js';
5
- import { E as ExecutorConfig } from './coordination-CxtzMxSM.js';
6
- import { g as SuperviseOptions, a as SupervisorProfile } from './supervise-7q9F5brx.js';
5
+ import { E as ExecutorConfig } from './coordination-BZZSVYpZ.js';
6
+ import { g as SuperviseOptions, a as SupervisorProfile } from './supervise-4_48wwvy.js';
7
7
  import { B as Budget, e as SupervisedResult } from './types-CvNwMzQt.js';
8
- import { D as DeliverableSpec } from './completion-gate-Bv47cOnn.js';
8
+ import { D as DeliverableSpec } from './completion-gate-BMy5LGoP.js';
9
9
  import '@tangle-network/agent-eval';
10
10
  import './substrate-Dyiqmd3o.js';
11
11
  import './types-BCoemcXU.js';
12
12
  import '@tangle-network/sandbox';
13
13
  import './types-BwoZWq-i.js';
14
14
  import './sanitize-DEbPNtyI.js';
15
- import './local-harness-CtK9dSny.js';
15
+ import './local-harness-BDNcl6jI.js';
16
16
  import 'node:child_process';
17
17
  import './environment-provider.js';
18
18
  import '@tangle-network/agent-interface/environment-provider';
package/dist/knowledge.js CHANGED
@@ -8,18 +8,18 @@ import {
8
8
  knowledgeReadinessDeliverable,
9
9
  runKnowledgeImprovementJob,
10
10
  runSupervisedKnowledgeUpdate
11
- } from "./chunk-2UABGGUB.js";
11
+ } from "./chunk-WMTCUOQL.js";
12
12
  import "./chunk-5QOB7H74.js";
13
- import "./chunk-B7K7V22Y.js";
14
- import "./chunk-HAO4CXHP.js";
15
- import "./chunk-FJI3EXU3.js";
16
- import "./chunk-SBTWKPVR.js";
17
- import "./chunk-5HNDYWUT.js";
13
+ import "./chunk-RDOAVVHY.js";
14
+ import "./chunk-VISA6CI3.js";
15
+ import "./chunk-UHEZW5BU.js";
16
+ import "./chunk-WSTRQZYQ.js";
17
+ import "./chunk-XBG2W2VW.js";
18
18
  import "./chunk-DPEUKJRO.js";
19
- import "./chunk-STJEHM5F.js";
19
+ import "./chunk-YJZA2BIK.js";
20
20
  import "./chunk-UPWGXKXB.js";
21
21
  import "./chunk-2VZYRB55.js";
22
- import "./chunk-2X65HYMI.js";
22
+ import "./chunk-HLKC4UYB.js";
23
23
  import "./chunk-ISPWRSEC.js";
24
24
  import "./chunk-KRBFHMV6.js";
25
25
  import "./chunk-3MDZX7YU.js";
@@ -172,4 +172,4 @@ declare function runLocalHarness(options: RunLocalHarnessOptions): Promise<Local
172
172
  /** Parse and validate the one terminal usage event emitted by `codex exec --json`. */
173
173
  declare function parseCodexTokenUsage(stdout: string): CodexTokenUsage;
174
174
 
175
- export { type CodexTokenUsage as C, type LocalHarness as L, type RunLocalHarnessOptions as R, type CodexExecutionEvidence as a, type LocalHarnessResult as b, type CodexExecutionPolicy as c, parseCodexTokenUsage as p, runLocalHarness as r };
175
+ export { type CodexTokenUsage as C, type LocalHarness as L, type RunLocalHarnessOptions as R, type CodexExecutionPolicy as a, type CodexExecutionEvidence as b, type LocalHarnessResult as c, parseCodexTokenUsage as p, runLocalHarness as r };
@@ -1,9 +1,7 @@
1
- import { Scenario } from '@tangle-network/agent-eval/campaign';
2
- import { SelfImproveOptions, SelfImproveResult } from '@tangle-network/agent-eval/contract';
3
1
  import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-CmYCMbFT.js';
4
2
  import { F as FactCandidate, C as CreateKbGateOptions } from './kb-gate-CwHO0vz6.js';
5
3
  import { B as Budget } from './types-CvNwMzQt.js';
6
- import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-WsOzt8qu.js';
4
+ import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions, b as WorktreePatchArtifact } from './worktree-fanout-DxhAWr5Z.js';
7
5
 
8
6
  /**
9
7
  *
@@ -17,7 +15,7 @@ import { A as AuthoredHarness, W as WinnerStrategy, a as WorktreeFanoutOptions,
17
15
  * review → caller-registered runner — a `code` runner with an approval gate over candidates
18
16
  * research → research-in-a-loop with valid-only KB growth (createKbGate)
19
17
  * audit → analyze trace/run data → findings (runAnalystLoop, caller-wired)
20
- * self-improve → closed-loop text/config optimization (selfImprove, held-out gated)
18
+ * self-improve → caller-registered `improve(profile, options)` run
21
19
  *
22
20
  * It is intentionally a thin façade: the value is that EVERY product reuses the
23
21
  * one hardened engine instead of forking delegation logic. The dispatcher owns
@@ -147,12 +145,6 @@ interface ResearchLoopRunnerOptions {
147
145
  * @experimental
148
146
  */
149
147
  declare function researchLoopRunner(o: ResearchLoopRunnerOptions): DelegatedLoopRunner<ResearchLoopResult>;
150
- /**
151
- * `self-improve` mode — agent-eval's one-call closed improvement loop (held-out gated).
152
- *
153
- * @experimental
154
- */
155
- declare function selfImproveLoopRunner<TScenario extends Scenario, TArtifact>(options: SelfImproveOptions<TScenario, TArtifact>): DelegatedLoopRunner<SelfImproveResult<TScenario, TArtifact>>;
156
148
  /**
157
149
  * `audit` mode — analyst loop over captured trace/run data.
158
150
  *
@@ -204,4 +196,4 @@ declare function parseLoopRunnerArgv(argv: string[]): {
204
196
  config?: string;
205
197
  };
206
198
 
207
- export { DELEGATED_LOOP_MODES as D, type LoopRunnerCliArgs as L, type ResearchLoopResult as R, type VetoedFact as V, type WorktreeLoopRunnerOptions as W, type DelegatedLoopMode as a, type DelegatedLoopRegistry as b, type DelegatedLoopResult as c, type DelegatedLoopRunner as d, type LoopRunnerCliResult as e, type ResearchLoopRunnerOptions as f, type RunDelegatedLoopOptions as g, auditLoopRunner as h, isDelegatedLoopMode as i, runDelegatedLoop as j, runLoopRunnerCli as k, parseLoopRunnerArgv as p, researchLoopRunner as r, selfImproveLoopRunner as s, worktreeLoopRunner as w };
199
+ export { DELEGATED_LOOP_MODES as D, type LoopRunnerCliArgs as L, type ResearchLoopResult as R, type VetoedFact as V, type WorktreeLoopRunnerOptions as W, type DelegatedLoopMode as a, type DelegatedLoopRegistry as b, type DelegatedLoopResult as c, type DelegatedLoopRunner as d, type LoopRunnerCliResult as e, type ResearchLoopRunnerOptions as f, type RunDelegatedLoopOptions as g, auditLoopRunner as h, isDelegatedLoopMode as i, runDelegatedLoop as j, runLoopRunnerCli as k, parseLoopRunnerArgv as p, researchLoopRunner as r, worktreeLoopRunner as w };
@@ -1,7 +1,5 @@
1
1
  #!/usr/bin/env node
2
- export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-DUOGtvOl.js';
3
- import '@tangle-network/agent-eval/campaign';
4
- import '@tangle-network/agent-eval/contract';
2
+ export { L as LoopRunnerCliArgs, e as LoopRunnerCliResult, p as parseLoopRunnerArgv, k as runLoopRunnerCli } from './loop-runner-bin-68aoM9-7.js';
5
3
  import './types-CmYCMbFT.js';
6
4
  import '@tangle-network/agent-eval';
7
5
  import './kb-gate-CwHO0vz6.js';
@@ -10,8 +8,8 @@ import '@tangle-network/agent-interface';
10
8
  import '@tangle-network/sandbox';
11
9
  import './types-BCoemcXU.js';
12
10
  import './types-BwoZWq-i.js';
13
- import './worktree-fanout-WsOzt8qu.js';
14
- import './completion-gate-Bv47cOnn.js';
11
+ import './worktree-fanout-DxhAWr5Z.js';
12
+ import './completion-gate-BMy5LGoP.js';
15
13
  import '@tangle-network/agent-profile-materialize';
16
- import './local-harness-CtK9dSny.js';
14
+ import './local-harness-BDNcl6jI.js';
17
15
  import 'node:child_process';
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  parseLoopRunnerArgv,
4
4
  runLoopRunnerCli
5
- } from "./chunk-3PPVCS75.js";
5
+ } from "./chunk-HNP72PNU.js";
6
6
  import "./chunk-SGKPNBXE.js";
7
- import "./chunk-ATDFUJYI.js";
7
+ import "./chunk-WRTOVNN4.js";
8
8
  import "./chunk-Q2JSAVQ3.js";
9
- import "./chunk-5HNDYWUT.js";
9
+ import "./chunk-XBG2W2VW.js";
10
10
  import "./chunk-DPEUKJRO.js";
11
- import "./chunk-STJEHM5F.js";
11
+ import "./chunk-YJZA2BIK.js";
12
12
  import "./chunk-UPWGXKXB.js";
13
13
  import "./chunk-2VZYRB55.js";
14
- import "./chunk-2X65HYMI.js";
14
+ import "./chunk-HLKC4UYB.js";
15
15
  import "./chunk-ISPWRSEC.js";
16
16
  import "./chunk-KRBFHMV6.js";
17
17
  import "./chunk-3MDZX7YU.js";
package/dist/loops.d.ts CHANGED
@@ -4,29 +4,29 @@ import { SandboxEvent, SandboxInstance, CreateSandboxOptions, PromptOptions, Tas
4
4
  export { AgentProfile, CreateSandboxOptions, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
5
5
  import { b as ResultBlobStore, c as SpawnJournal, N as NodeId, l as SpawnEvent, m as TreeView, P as PendingWait, a as Settled, E as ExecutorFactory, A as Agent, B as Budget, S as Scope, e as SupervisedResult, g as Spend, U as UsageEvent, n as SpawnOpts, i as ExecutorRegistry, d as WaitProbeRegistry, o as Supervisor, T as TraceSource } from './types-CvNwMzQt.js';
6
6
  export { p as ActivityLog, q as ActivityNote, h as AgentSpec, D as DEFAULT_STALL_AFTER_MS, f as Executor, r as ExecutorContext, k as ExecutorProgress, s as ExecutorResult, t as ResumedWork, R as Runtime, u as ScopeProgressInput, v as SessionTraceBox, w as SupervisorOpts, x as WaitOutcome, y as WaitProbe, z as WaitRejection, C as WaitSpec, F as WidenGate, W as WorkerProgress, G as createActivityLog, H as createPushTraceSource, I as createWaitProbes, J as decodeToolPart, K as isWaitOutcome, L as pollFor, M as readWorkerProgress, O as sandboxSessionTraceSource, Q as timerAt, V as validateWaitSpec, X as waitUntil } from './types-CvNwMzQt.js';
7
- import { M as MakeWorkerAgent, A as AnalystRegistry, W as WorkerWatchOptions, o as CoordinationTools, n as CoordinationEvent, at as QuestionPolicy, E as ExecutorConfig } from './coordination-CxtzMxSM.js';
8
- export { bi as BusEvent, bj as BusRecord, bk as BusStats, bl as DEFAULT_SANDBOX_STEERING_MAX_TURNS, bm as EventBus, bn as Inbox, bo as InboxMessage, bp as PI_RUNTIME, bq as PiSeam, br as ProviderSeam, bs as PublishOptions, bt as SandboxSteeringOptions, bu as SteerableSandboxSession, bv as WatchTraceOptions, bw as cliWorktreeExecutor, bx as createEventBus, by as createExecutor, bz as createExecutorRegistry, bA as createInbox, bB as createSteerableSandboxSession, bC as defaultToolDetectors, bD as piExecutor, bE as piSeamKey, bF as watchTrace } from './coordination-CxtzMxSM.js';
7
+ import { M as MakeWorkerAgent, A as AnalystRegistry, W as WorkerWatchOptions, o as CoordinationTools, n as CoordinationEvent, at as QuestionPolicy, E as ExecutorConfig } from './coordination-BZZSVYpZ.js';
8
+ export { bi as BusEvent, bj as BusRecord, bk as BusStats, bl as DEFAULT_SANDBOX_STEERING_MAX_TURNS, bm as EventBus, bn as Inbox, bo as InboxMessage, bp as PI_RUNTIME, bq as PiSeam, br as ProviderSeam, bs as PublishOptions, bt as SandboxSteeringOptions, bu as SteerableSandboxSession, bv as WatchTraceOptions, bw as cliWorktreeExecutor, bx as createEventBus, by as createExecutor, bz as createExecutorRegistry, bA as createInbox, bB as createSteerableSandboxSession, bC as defaultToolDetectors, bD as piExecutor, bE as piSeamKey, bF as watchTrace } from './coordination-BZZSVYpZ.js';
9
9
  import { R as RuntimeHooks, I as Iteration, a as SandboxClient, D as Driver, A as AgentRunSpec, O as OutputAdapter, V as Validator, E as ExecCtx, u as LoopWinner, v as LoopLineageOptions, w as LoopResult, L as LoopTokenUsage, M as MountRecorder } from './types-BCoemcXU.js';
10
10
  export { x as LoopDecisionPayload, y as LoopEndedPayload, z as LoopIterationDispatchPayload, B as LoopIterationEndedPayload, C as LoopIterationStartedPayload, F as LoopPlanDescription, G as LoopPlanPayload, b as LoopSandboxPlacement, H as LoopStartedPayload, J as LoopTeardownFailedPayload, t as LoopTraceEmitter, c as LoopTraceEvent, K as MountManifestEntry, N as RunProvenance, S as SelectionReceipt, P as ValidationCtx } from './types-BCoemcXU.js';
11
11
  import { RunProfileMatrixResult, Scenario, ProfileDispatchFn, JudgeConfig, RunProfileMatrixOptions, DispatchFn } from '@tangle-network/agent-eval/campaign';
12
12
  export { AgentEnvironmentProviderRef, AgentEnvironmentProviderRegistry, CreateTangleSandboxExactProcessProviderOptions, ProviderAsSandboxClientOptions, ProviderExecutorOptions, SandboxClientProviderOptions, createAgentEnvironmentProviderRegistry, createTangleSandboxExactProcessProvider, providerAsExecutor, providerAsSandboxClient, resolveAgentEnvironmentProvider, sandboxClientAsProvider } from './environment-provider.js';
13
- import { c as CorpusRecord, C as Corpus, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, O as Outcome, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-WsOzt8qu.js';
14
- export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-WsOzt8qu.js';
13
+ import { c as CorpusRecord, C as Corpus, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, O as Outcome, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-DxhAWr5Z.js';
14
+ export { A as AuthoredHarness, t as DefinePersona, u as EqualKOnCost, v as Fanout, w as FanoutSynthesis, x as FlatWidenGate, y as LoopUntil, z as LoopUntilState, B as Panel, G as PanelJudge, H as PanelVerdict, I as PatchDeliverableOptions, J as PersonaContext, K as PersonaExecutors, M as Pipeline, N as RenderCorpusToInstructions, Q as RunPersonified, U as ShapeBudget, X as ShapeContext, Y as TrajectoryNode, Z as TrajectoryReportFn, _ as Verify, $ as Widen, a0 as WidenDecision, a1 as WidenLineage, a2 as WorktreeCliExecutorOptions, a as WorktreeFanoutOptions, b as WorktreePatchArtifact, a3 as createWorktreeCliExecutor, a4 as patchDelivered, a5 as worktreeFanout } from './worktree-fanout-DxhAWr5Z.js';
15
15
  import { AgentProfileMcpServer, AgentProfile as AgentProfile$1, AgentProfileSecurityPolicy } from '@tangle-network/agent-interface';
16
- import { A as AgenticSurface, a as AgenticTask, b as AgenticOptions, c as Strategy, d as ArtifactHandle, e as SurfaceScore, f as AgenticTool } from './structural-rollout-C4mabf87.js';
17
- export { g as AgenticRunResult, C as CheckExecChannel, h as CheckOutcome, i as CheckRunContext, j as CheckRunner, k as CheckSource, l as CheckSourceCtx, m as CorpusReadbackOptions, R as RepairStop, n as RunAgenticOptions, o as ShotPersona, p as ShotSpec, q as StrategyCtx, r as StrategyResult, s as StructuralRolloutConfig, S as StructuralRolloutPolicy, t as StructuralRolloutResult, V as VisibleCheck, u as adaptiveRefine, v as breadthStrategy, w as canDisplace, x as compareCheckOutcomes, y as composeCheckSources, z as defaultExtractCandidate, B as defaultStructuralRolloutPolicy, D as defineStrategy, E as depthStrategy, F as filterAuthoredAsserts, G as modelAuthoredChecks, H as officialChecksFromMeta, I as refine, J as resolveEntrySymbol, K as runAgentic, L as sample, M as sampleThenRefine, N as sandboxCheckRunner, O as selectBestIndex, P as structuralRollout, Q as visibleCheckScore } from './structural-rollout-C4mabf87.js';
16
+ import { A as AgenticSurface, a as AgenticTask, b as AgenticOptions, c as Strategy, d as ArtifactHandle, e as SurfaceScore, f as AgenticTool } from './structural-rollout-DEh6CEsa.js';
17
+ export { g as AgenticRunResult, C as CheckExecChannel, h as CheckOutcome, i as CheckRunContext, j as CheckRunner, k as CheckSource, l as CheckSourceCtx, m as CorpusReadbackOptions, R as RepairStop, n as RunAgenticOptions, o as ShotPersona, p as ShotSpec, q as StrategyCtx, r as StrategyResult, s as StructuralRolloutConfig, S as StructuralRolloutPolicy, t as StructuralRolloutResult, V as VisibleCheck, u as adaptiveRefine, v as breadthStrategy, w as canDisplace, x as compareCheckOutcomes, y as composeCheckSources, z as defaultExtractCandidate, B as defaultStructuralRolloutPolicy, D as defineStrategy, E as depthStrategy, F as filterAuthoredAsserts, G as modelAuthoredChecks, H as officialChecksFromMeta, I as refine, J as resolveEntrySymbol, K as runAgentic, L as sample, M as sampleThenRefine, N as sandboxCheckRunner, O as selectBestIndex, P as structuralRollout, Q as visibleCheckScore } from './structural-rollout-DEh6CEsa.js';
18
18
  import { b as AnalystRegistryLike } from './types-CmYCMbFT.js';
19
19
  import { R as RouterConfig, T as ToolLoopChat, a as ToolLoopCompactionOptions } from './sanitize-DEbPNtyI.js';
20
20
  export { j as RouterChatResult, k as RouterChatToolsResult, l as RouterToolCall, m as RouterToolLoopResult, n as ToolLoopCompaction, b as ToolSpec, r as routerBrain, o as routerChatWithTools, p as routerChatWithUsage, q as routerToolLoop } from './sanitize-DEbPNtyI.js';
21
21
  import { R as RuntimeStreamEvent, c as AgentExecutionBackend, f as AgentTaskStatus, B as BackendErrorDetail } from './types-BwoZWq-i.js';
22
- import { D as DeliverableSpec } from './completion-gate-Bv47cOnn.js';
23
- export { g as WorktreeCommandResult, h as WorktreeProfileMaterializationReceipt, i as gateOnDeliverable } from './completion-gate-Bv47cOnn.js';
24
- import { S as StopRule, a as SupervisorProfile } from './supervise-7q9F5brx.js';
25
- export { A as AllWorkersStalledOptions, D as DriveHarness, N as NoProgressForOptions, P as PlateauOptions, b as ProgressSample, c as ProgressTracker, d as ProgressTrackerOptions, e as ProgressView, f as StopDecision, g as SuperviseOptions, h as SupervisorAgentDeps, i as allOf, j as allWorkersStalled, k as anyOf, l as createProgressTracker, n as noProgressFor, p as plateau, s as sampleFromSettled, m as supervise, o as supervisorAgent, w as workerFromBackend } from './supervise-7q9F5brx.js';
22
+ import { D as DeliverableSpec } from './completion-gate-BMy5LGoP.js';
23
+ export { g as WorktreeCommandResult, h as WorktreeProfileMaterializationReceipt, i as gateOnDeliverable } from './completion-gate-BMy5LGoP.js';
24
+ import { S as StopRule, a as SupervisorProfile } from './supervise-4_48wwvy.js';
25
+ export { A as AllWorkersStalledOptions, D as DriveHarness, N as NoProgressForOptions, P as PlateauOptions, b as ProgressSample, c as ProgressTracker, d as ProgressTrackerOptions, e as ProgressView, f as StopDecision, g as SuperviseOptions, h as SupervisorAgentDeps, i as allOf, j as allWorkersStalled, k as anyOf, l as createProgressTracker, n as noProgressFor, p as plateau, s as sampleFromSettled, m as supervise, o as supervisorAgent, w as workerFromBackend } from './supervise-4_48wwvy.js';
26
26
  import { stuckLoopView, toolWasteView } from '@tangle-network/agent-eval/pipelines';
27
27
  export { AgentEnvironment, AgentEnvironmentCapabilities, AgentEnvironmentEvent, AgentEnvironmentProvider, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentSession, AgentSessionRef, AgentSessionStatus, AgentTurnInput, AgentTurnResult, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from '@tangle-network/agent-interface/environment-provider';
28
28
  import './substrate-Dyiqmd3o.js';
29
- import './local-harness-CtK9dSny.js';
29
+ import './local-harness-BDNcl6jI.js';
30
30
  import 'node:child_process';
31
31
  import '@tangle-network/agent-profile-materialize';
32
32
 
package/dist/loops.js CHANGED
@@ -80,7 +80,7 @@ import {
80
80
  verify,
81
81
  widen,
82
82
  worktreeFanout
83
- } from "./chunk-ATDFUJYI.js";
83
+ } from "./chunk-WRTOVNN4.js";
84
84
  import "./chunk-Q2JSAVQ3.js";
85
85
  import {
86
86
  DEFAULT_SANDBOX_STEERING_MAX_TURNS,
@@ -92,6 +92,7 @@ import {
92
92
  anytimeReport,
93
93
  areaUnderCurve,
94
94
  asAuthoredProfile,
95
+ assertModelAllowed,
95
96
  assessAuthoredProfile,
96
97
  authoredWorker,
97
98
  bestSoFar,
@@ -138,7 +139,7 @@ import {
138
139
  supervisorInstructions,
139
140
  watchTrace,
140
141
  workerFromBackend
141
- } from "./chunk-5HNDYWUT.js";
142
+ } from "./chunk-XBG2W2VW.js";
142
143
  import "./chunk-DPEUKJRO.js";
143
144
  import {
144
145
  adaptiveRefine,
@@ -165,12 +166,11 @@ import {
165
166
  selectBestIndex,
166
167
  structuralRollout,
167
168
  visibleCheckScore
168
- } from "./chunk-STJEHM5F.js";
169
+ } from "./chunk-YJZA2BIK.js";
169
170
  import "./chunk-UPWGXKXB.js";
170
171
  import "./chunk-2VZYRB55.js";
171
172
  import {
172
173
  DEFAULT_STALL_AFTER_MS,
173
- assertModelAllowed,
174
174
  createActivityLog,
175
175
  createBudgetPool,
176
176
  createScope,
@@ -188,7 +188,7 @@ import {
188
188
  timerAt,
189
189
  validateWaitSpec,
190
190
  waitUntil
191
- } from "./chunk-2X65HYMI.js";
191
+ } from "./chunk-HLKC4UYB.js";
192
192
  import {
193
193
  FileResultBlobStore,
194
194
  FileSpawnJournal,
package/dist/mcp/bin.js CHANGED
@@ -9,10 +9,10 @@ import {
9
9
  DelegationTaskQueue,
10
10
  FileDelegationStore,
11
11
  createMcpServer
12
- } from "../chunk-5HNDYWUT.js";
12
+ } from "../chunk-XBG2W2VW.js";
13
13
  import "../chunk-DPEUKJRO.js";
14
14
  import "../chunk-2VZYRB55.js";
15
- import "../chunk-2X65HYMI.js";
15
+ import "../chunk-HLKC4UYB.js";
16
16
  import "../chunk-ISPWRSEC.js";
17
17
  import "../chunk-KRBFHMV6.js";
18
18
  import "../chunk-3MDZX7YU.js";
@@ -1,10 +1,10 @@
1
1
  import { a as SandboxClient, b as LoopSandboxPlacement } from '../types-BCoemcXU.js';
2
- import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-CxtzMxSM.js';
3
- export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, X as DelegationResumeContext, Y as DelegationResumeDriver, Z as DelegationResumeTick, _ as DelegationRunContext, $ as DelegationStateCorruptError, a0 as DelegationStatus, a1 as DelegationStore, a2 as DelegationTaskQueueOptions, a3 as DelegationTraceCaps, a4 as DelegationTraceCollector, a5 as DelegationTraceSpan, a6 as DetachedSessionDelegateOptions, a7 as DetachedSessionRefParts, a8 as DetachedTurn, a9 as DetachedTurnResumeDriverOptions, aa as DetachedWinnerSelection, ab as DriveTurnCapableBox, ac as DriveTurnTick, ad as FeedbackEvent, ae as FeedbackRating, af as FeedbackRefersTo, ag as FileDelegationStore, ah as FileDelegationStoreOptions, ai as FleetWorkspaceExecutorOptions, aj as InMemoryDelegationStore, ak as InMemoryFeedbackStore, al as JsonRpcMessage, am as JsonRpcResponse, M as MakeWorkerAgent, an as McpServer, ao as McpServerOptions, ap as McpToolDescriptor, aq as McpTransport, ar as Question, as as QuestionDecision, at as QuestionPolicy, au as QuestionRecord, av as ResearchOutputShape, aw as ResearchSource, ax as RunDetachedTurnOptions, ay as SettleDetachedCoderTurnOptions, az as SettledWorker, aA as SiblingSandboxExecutorOptions, aB as SubmitInput, aC as SubmitOutput, aD as TraceContext, aE as UiAuditorDelegationOutput, aF as buildDelegationTraceSpans, aG as capDelegationTrace, aH as coderTaskFromArgs, aI as composeLoopTraceEmitters, aJ as createCoordinationTools, aK as createDelegateHandler, aL as createDelegationTraceCollector, aM as createDetachedTurnResumeDriver, aN as createFleetWorkspaceExecutor, aO as createInProcessTransport, aP as createMcpServer, aQ as createPropagatingTraceEmitter, aR as createSiblingSandboxExecutor, aS as detachedSessionDelegate, aT as detachedTurnEvents, aU as eventToSnapshot, aV as formatDetachedSessionRef, aW as hashIdempotencyInput, aX as parseDetachedSessionRef, aY as readTraceContextFromEnv, aZ as runDetachedTurn, a_ as settleDetachedCoderTurn, a$ as traceContextToEnv, b0 as validateDelegateArgs } from '../coordination-CxtzMxSM.js';
4
- import { L as LocalHarness, r as runLocalHarness } from '../local-harness-CtK9dSny.js';
5
- export { a as CodexExecutionEvidence, c as CodexExecutionPolicy, C as CodexTokenUsage, b as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-CtK9dSny.js';
6
- import { G as GitRunner } from '../completion-gate-Bv47cOnn.js';
7
- export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-Bv47cOnn.js';
2
+ import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-BZZSVYpZ.js';
3
+ export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, G as DelegateResearchConfig, H as DelegateResearchResult, I as DelegateResult, J as DelegateRunCtx, K as DelegateUiAuditConfig, L as DelegateUiAuditRoute, N as DelegationError, O as DelegationFeedbackSnapshot, P as DelegationHistoryEntry, Q as DelegationPersistenceError, R as DelegationProfile, S as DelegationProgress, T as DelegationRecord, V as DelegationResultPayload, X as DelegationResumeContext, Y as DelegationResumeDriver, Z as DelegationResumeTick, _ as DelegationRunContext, $ as DelegationStateCorruptError, a0 as DelegationStatus, a1 as DelegationStore, a2 as DelegationTaskQueueOptions, a3 as DelegationTraceCaps, a4 as DelegationTraceCollector, a5 as DelegationTraceSpan, a6 as DetachedSessionDelegateOptions, a7 as DetachedSessionRefParts, a8 as DetachedTurn, a9 as DetachedTurnResumeDriverOptions, aa as DetachedWinnerSelection, ab as DriveTurnCapableBox, ac as DriveTurnTick, ad as FeedbackEvent, ae as FeedbackRating, af as FeedbackRefersTo, ag as FileDelegationStore, ah as FileDelegationStoreOptions, ai as FleetWorkspaceExecutorOptions, aj as InMemoryDelegationStore, ak as InMemoryFeedbackStore, al as JsonRpcMessage, am as JsonRpcResponse, M as MakeWorkerAgent, an as McpServer, ao as McpServerOptions, ap as McpToolDescriptor, aq as McpTransport, ar as Question, as as QuestionDecision, at as QuestionPolicy, au as QuestionRecord, av as ResearchOutputShape, aw as ResearchSource, ax as RunDetachedTurnOptions, ay as SettleDetachedCoderTurnOptions, az as SettledWorker, aA as SiblingSandboxExecutorOptions, aB as SubmitInput, aC as SubmitOutput, aD as TraceContext, aE as UiAuditorDelegationOutput, aF as buildDelegationTraceSpans, aG as capDelegationTrace, aH as coderTaskFromArgs, aI as composeLoopTraceEmitters, aJ as createCoordinationTools, aK as createDelegateHandler, aL as createDelegationTraceCollector, aM as createDetachedTurnResumeDriver, aN as createFleetWorkspaceExecutor, aO as createInProcessTransport, aP as createMcpServer, aQ as createPropagatingTraceEmitter, aR as createSiblingSandboxExecutor, aS as detachedSessionDelegate, aT as detachedTurnEvents, aU as eventToSnapshot, aV as formatDetachedSessionRef, aW as hashIdempotencyInput, aX as parseDetachedSessionRef, aY as readTraceContextFromEnv, aZ as runDetachedTurn, a_ as settleDetachedCoderTurn, a$ as traceContextToEnv, b0 as validateDelegateArgs } from '../coordination-BZZSVYpZ.js';
4
+ import { L as LocalHarness, r as runLocalHarness } from '../local-harness-BDNcl6jI.js';
5
+ export { b as CodexExecutionEvidence, a as CodexExecutionPolicy, C as CodexTokenUsage, c as LocalHarnessResult, R as RunLocalHarnessOptions, p as parseCodexTokenUsage } from '../local-harness-BDNcl6jI.js';
6
+ import { G as GitRunner } from '../completion-gate-BMy5LGoP.js';
7
+ export { C as CreateWorktreeOptions, b as DiffOptions, c as DiffResult, R as RemoveWorktreeOptions, d as WorktreeHandle, e as captureWorktreeDiff, f as createWorktree, r as removeWorktree } from '../completion-gate-BMy5LGoP.js';
8
8
  export { C as CreateKbGateOptions, F as FactCandidate, a as FactJudge, b as FactJudgeVerdict, K as KbGateResult, c as createKbGate } from '../kb-gate-CwHO0vz6.js';
9
9
  import { AgentProfileMcpServer } from '@tangle-network/agent-interface';
10
10
  export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-fnj6SRVg.js';
@@ -199,8 +199,7 @@ declare function createStdioToolServer(options: StdioToolServerOptions): StdioTo
199
199
  *
200
200
  * Retrieval is DETERMINISTIC lexical overlap (no vectors, no LLM): a lift
201
201
  * measured with this memory mounted is attributable to the lessons
202
- * themselves, never to retrieval-model noise — the same discipline as
203
- * agent-eval's `memoryCurationProposer` (deterministic curation). Every
202
+ * themselves, never to retrieval-model noise. Every
204
203
  * `memory_search` can append one JSONL row to a retrieval log (`logPath`) —
205
204
  * the per-query record an off-policy retrieval estimator (agent-knowledge's
206
205
  * `RetrievalHoldout`) consumes. agent-knowledge is NOT a dependency of this
package/dist/mcp/index.js CHANGED
@@ -16,11 +16,11 @@ import {
16
16
  parseMemoryItems,
17
17
  readMemoryItemsFile,
18
18
  resolveMemoryFromEnv
19
- } from "../chunk-L5DST3QC.js";
19
+ } from "../chunk-SMQXZGLZ.js";
20
20
  import {
21
21
  mcpToolsForRuntimeMcp,
22
22
  mcpToolsForRuntimeMcpSubset
23
- } from "../chunk-2QJSNOGK.js";
23
+ } from "../chunk-C5RTIBNZ.js";
24
24
  import {
25
25
  createKbGate
26
26
  } from "../chunk-SGKPNBXE.js";
@@ -28,7 +28,7 @@ import {
28
28
  assertTraceDerivedFindings,
29
29
  runCoderChecks,
30
30
  selectValidWinner
31
- } from "../chunk-ATDFUJYI.js";
31
+ } from "../chunk-WRTOVNN4.js";
32
32
  import "../chunk-Q2JSAVQ3.js";
33
33
  import {
34
34
  DELEGATE_DESCRIPTION,
@@ -75,9 +75,9 @@ import {
75
75
  validateDelegateUiAuditArgs,
76
76
  validateDelegationHistoryArgs,
77
77
  validateDelegationStatusArgs
78
- } from "../chunk-5HNDYWUT.js";
78
+ } from "../chunk-XBG2W2VW.js";
79
79
  import "../chunk-DPEUKJRO.js";
80
- import "../chunk-STJEHM5F.js";
80
+ import "../chunk-YJZA2BIK.js";
81
81
  import "../chunk-UPWGXKXB.js";
82
82
  import "../chunk-2VZYRB55.js";
83
83
  import {
@@ -88,7 +88,7 @@ import {
88
88
  removeWorktree,
89
89
  runLocalHarness,
90
90
  runWorktreeHarness
91
- } from "../chunk-2X65HYMI.js";
91
+ } from "../chunk-HLKC4UYB.js";
92
92
  import "../chunk-ISPWRSEC.js";
93
93
  import "../chunk-KRBFHMV6.js";
94
94
  import {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createMemoryToolServer,
4
4
  resolveMemoryFromEnv
5
- } from "../chunk-L5DST3QC.js";
5
+ } from "../chunk-SMQXZGLZ.js";
6
6
  import "../chunk-YEJR7IXO.js";
7
7
 
8
8
  // src/mcp/memory-bin.ts
@@ -84,7 +84,7 @@ interface PrimeIntellectPackageOptions {
84
84
  scoringTimeoutSeconds?: number;
85
85
  }
86
86
  interface PrimeIntellectPackageManifest {
87
- schema: 'tangle.primeintellect.package/v1';
87
+ kind: 'tangle.primeintellect.package';
88
88
  name: string;
89
89
  moduleName: string;
90
90
  version: string;
@@ -108,7 +108,6 @@ interface PrimeIntellectPublicTask {
108
108
  metadata?: Record<string, PrimeIntellectJson>;
109
109
  }
110
110
  interface PrimeIntellectEpisodeContext {
111
- protocol: 'tangle.primeintellect.episode/v1';
112
111
  task: PrimeIntellectPublicTask;
113
112
  model: {
114
113
  name: string;
@@ -122,7 +121,7 @@ interface WritePrimeIntellectPackageOptions {
122
121
  /** Replace an existing generated package and restore it if the final swap fails. */
123
122
  replace?: boolean;
124
123
  }
125
- /** Build a complete PrimeIntellect Verifiers v1 package without writing to disk. */
124
+ /** Build a complete PrimeIntellect Verifiers package without writing to disk. */
126
125
  declare function createPrimeIntellectPackage(options: PrimeIntellectPackageOptions): PrimeIntellectPackageBundle;
127
126
  /** Write a bundle through a sibling temporary directory, then rename it into place. */
128
127
  declare function writePrimeIntellectPackage(bundle: PrimeIntellectPackageBundle, outputDirectory: string, options?: WritePrimeIntellectPackageOptions): Promise<string>;
@@ -181,7 +181,7 @@ function createPrimeIntellectPackage(options) {
181
181
  Object.entries(files).sort(([left], [right]) => left.localeCompare(right)).map(([path, contents]) => [path, sha256(contents)])
182
182
  );
183
183
  const manifest = {
184
- schema: "tangle.primeintellect.package/v1",
184
+ kind: "tangle.primeintellect.package",
185
185
  name: validated.name,
186
186
  moduleName,
187
187
  version: validated.version,
@@ -493,7 +493,7 @@ async def _run_score_command(config: TangleTaskConfig, data: TangleTaskData, tra
493
493
  {key: os.environ[key] for key in config.score_forward_env if key in os.environ}
494
494
  )
495
495
  request = {
496
- "protocol": "tangle.primeintellect.score/v1",
496
+ "kind": "tangle.primeintellect.score",
497
497
  "task": data.model_dump(mode="json", exclude_none=True),
498
498
  "trace": trace.model_dump(mode="json", exclude_none=True),
499
499
  }
@@ -671,7 +671,7 @@ function scoringConfig(scoring) {
671
671
  function renderReadme(options) {
672
672
  return `# ${options.name}
673
673
 
674
- PrimeIntellect Verifiers v1 tasks that run the caller's Tangle agent program.
674
+ PrimeIntellect Verifiers tasks that run the caller's Tangle agent program.
675
675
 
676
676
  ## Evaluate
677
677
 
@@ -720,8 +720,8 @@ async function assertGeneratedPackage(output) {
720
720
  `refusing to replace ${output}: it is not a generated PrimeIntellect package (${error instanceof Error ? error.message : String(error)})`
721
721
  );
722
722
  }
723
- if (manifest === null || typeof manifest !== "object" || manifest.schema !== "tangle.primeintellect.package/v1") {
724
- throw new Error(`refusing to replace ${output}: manifest schema does not match`);
723
+ if (manifest === null || typeof manifest !== "object" || manifest.kind !== "tangle.primeintellect.package") {
724
+ throw new Error(`refusing to replace ${output}: manifest kind does not match`);
725
725
  }
726
726
  }
727
727
  function sha256(value) {
@@ -744,7 +744,6 @@ function readPrimeIntellectEpisodeContext(env = process.env) {
744
744
  const task = validatePublicTask(parsedTask);
745
745
  const mcpServers = validateStringMap(parsedMcp, ENV.mcpServers);
746
746
  return {
747
- protocol: "tangle.primeintellect.episode/v1",
748
747
  task,
749
748
  model: {
750
749
  name: requiredEnv(env, ENV.model),