@principles/core 1.151.0 → 1.153.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 (117) hide show
  1. package/dist/runtime-v2/__tests__/adversarial-loop.test.d.ts +2 -0
  2. package/dist/runtime-v2/__tests__/adversarial-loop.test.d.ts.map +1 -0
  3. package/dist/runtime-v2/__tests__/adversarial-loop.test.js +435 -0
  4. package/dist/runtime-v2/__tests__/adversarial-loop.test.js.map +1 -0
  5. package/dist/runtime-v2/__tests__/architecture-regression.test.js +5 -0
  6. package/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  7. package/dist/runtime-v2/__tests__/build-golden-trace-from-artificer.test.d.ts +2 -0
  8. package/dist/runtime-v2/__tests__/build-golden-trace-from-artificer.test.d.ts.map +1 -0
  9. package/dist/runtime-v2/__tests__/build-golden-trace-from-artificer.test.js +169 -0
  10. package/dist/runtime-v2/__tests__/build-golden-trace-from-artificer.test.js.map +1 -0
  11. package/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.d.ts +2 -0
  12. package/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.d.ts.map +1 -0
  13. package/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.js +815 -0
  14. package/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.js.map +1 -0
  15. package/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js +6 -0
  16. package/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js.map +1 -1
  17. package/dist/runtime-v2/__tests__/pitask-metadata.test.js +4 -0
  18. package/dist/runtime-v2/__tests__/pitask-metadata.test.js.map +1 -1
  19. package/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.d.ts +2 -0
  20. package/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.d.ts.map +1 -0
  21. package/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js +510 -0
  22. package/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js.map +1 -0
  23. package/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts +47 -0
  24. package/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +1 -0
  25. package/dist/runtime-v2/adapter/artificer-l2-adapter.js +307 -0
  26. package/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +1 -0
  27. package/dist/runtime-v2/adversarial-loop.d.ts +65 -0
  28. package/dist/runtime-v2/adversarial-loop.d.ts.map +1 -0
  29. package/dist/runtime-v2/adversarial-loop.js +203 -0
  30. package/dist/runtime-v2/adversarial-loop.js.map +1 -0
  31. package/dist/runtime-v2/golden-trace.d.ts +30 -0
  32. package/dist/runtime-v2/golden-trace.d.ts.map +1 -1
  33. package/dist/runtime-v2/golden-trace.js +57 -0
  34. package/dist/runtime-v2/golden-trace.js.map +1 -1
  35. package/dist/runtime-v2/index.d.ts +10 -6
  36. package/dist/runtime-v2/index.d.ts.map +1 -1
  37. package/dist/runtime-v2/index.js +7 -3
  38. package/dist/runtime-v2/index.js.map +1 -1
  39. package/dist/runtime-v2/internalization/__tests__/adversarial-case.test.d.ts +2 -0
  40. package/dist/runtime-v2/internalization/__tests__/adversarial-case.test.d.ts.map +1 -0
  41. package/dist/runtime-v2/internalization/__tests__/adversarial-case.test.js +139 -0
  42. package/dist/runtime-v2/internalization/__tests__/adversarial-case.test.js.map +1 -0
  43. package/dist/runtime-v2/internalization/__tests__/adversarial-feedback.test.d.ts +2 -0
  44. package/dist/runtime-v2/internalization/__tests__/adversarial-feedback.test.d.ts.map +1 -0
  45. package/dist/runtime-v2/internalization/__tests__/adversarial-feedback.test.js +62 -0
  46. package/dist/runtime-v2/internalization/__tests__/adversarial-feedback.test.js.map +1 -0
  47. package/dist/runtime-v2/internalization/__tests__/artificer-output-v2.test.d.ts +2 -0
  48. package/dist/runtime-v2/internalization/__tests__/artificer-output-v2.test.d.ts.map +1 -0
  49. package/dist/runtime-v2/internalization/__tests__/artificer-output-v2.test.js +249 -0
  50. package/dist/runtime-v2/internalization/__tests__/artificer-output-v2.test.js.map +1 -0
  51. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder-v2.test.d.ts +2 -0
  52. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder-v2.test.d.ts.map +1 -0
  53. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder-v2.test.js +24 -0
  54. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder-v2.test.js.map +1 -0
  55. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js +2 -2
  56. package/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js.map +1 -1
  57. package/dist/runtime-v2/internalization/__tests__/evaluator-output-v2.test.d.ts +2 -0
  58. package/dist/runtime-v2/internalization/__tests__/evaluator-output-v2.test.d.ts.map +1 -0
  59. package/dist/runtime-v2/internalization/__tests__/evaluator-output-v2.test.js +209 -0
  60. package/dist/runtime-v2/internalization/__tests__/evaluator-output-v2.test.js.map +1 -0
  61. package/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder-v2.test.d.ts +2 -0
  62. package/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder-v2.test.d.ts.map +1 -0
  63. package/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder-v2.test.js +125 -0
  64. package/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder-v2.test.js.map +1 -0
  65. package/dist/runtime-v2/internalization/adversarial-case.d.ts +32 -0
  66. package/dist/runtime-v2/internalization/adversarial-case.d.ts.map +1 -0
  67. package/dist/runtime-v2/internalization/adversarial-case.js +68 -0
  68. package/dist/runtime-v2/internalization/adversarial-case.js.map +1 -0
  69. package/dist/runtime-v2/internalization/adversarial-feedback.d.ts +23 -0
  70. package/dist/runtime-v2/internalization/adversarial-feedback.d.ts.map +1 -0
  71. package/dist/runtime-v2/internalization/adversarial-feedback.js +20 -0
  72. package/dist/runtime-v2/internalization/adversarial-feedback.js.map +1 -0
  73. package/dist/runtime-v2/internalization/artificer-output.d.ts +42 -0
  74. package/dist/runtime-v2/internalization/artificer-output.d.ts.map +1 -1
  75. package/dist/runtime-v2/internalization/artificer-output.js +147 -0
  76. package/dist/runtime-v2/internalization/artificer-output.js.map +1 -1
  77. package/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts +10 -2
  78. package/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +1 -1
  79. package/dist/runtime-v2/internalization/artificer-prompt-builder.js +26 -3
  80. package/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +1 -1
  81. package/dist/runtime-v2/internalization/artificer-runner.d.ts +7 -0
  82. package/dist/runtime-v2/internalization/artificer-runner.d.ts.map +1 -1
  83. package/dist/runtime-v2/internalization/artificer-runner.js +11 -2
  84. package/dist/runtime-v2/internalization/artificer-runner.js.map +1 -1
  85. package/dist/runtime-v2/internalization/evaluator-output.d.ts +63 -0
  86. package/dist/runtime-v2/internalization/evaluator-output.d.ts.map +1 -1
  87. package/dist/runtime-v2/internalization/evaluator-output.js +158 -0
  88. package/dist/runtime-v2/internalization/evaluator-output.js.map +1 -1
  89. package/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts +8 -1
  90. package/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +1 -1
  91. package/dist/runtime-v2/internalization/evaluator-prompt-builder.js +16 -3
  92. package/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +1 -1
  93. package/dist/runtime-v2/internalization/evaluator-runner.d.ts +82 -2
  94. package/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +1 -1
  95. package/dist/runtime-v2/internalization/evaluator-runner.js +496 -4
  96. package/dist/runtime-v2/internalization/evaluator-runner.js.map +1 -1
  97. package/dist/runtime-v2/internalization/index.d.ts +9 -4
  98. package/dist/runtime-v2/internalization/index.d.ts.map +1 -1
  99. package/dist/runtime-v2/internalization/index.js +6 -2
  100. package/dist/runtime-v2/internalization/index.js.map +1 -1
  101. package/dist/runtime-v2/internalization/peer-runner-contracts.d.ts +2 -0
  102. package/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +1 -1
  103. package/dist/runtime-v2/internalization/peer-runner-contracts.js +19 -9
  104. package/dist/runtime-v2/internalization/peer-runner-contracts.js.map +1 -1
  105. package/dist/runtime-v2/internalization/pitask-metadata.d.ts +7 -0
  106. package/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +1 -1
  107. package/dist/runtime-v2/internalization/pitask-metadata.js +15 -5
  108. package/dist/runtime-v2/internalization/pitask-metadata.js.map +1 -1
  109. package/dist/runtime-v2/internalization/prompt-serializer.d.ts +3 -0
  110. package/dist/runtime-v2/internalization/prompt-serializer.d.ts.map +1 -0
  111. package/dist/runtime-v2/internalization/prompt-serializer.js +22 -0
  112. package/dist/runtime-v2/internalization/prompt-serializer.js.map +1 -0
  113. package/dist/telemetry-event.d.ts +2 -2
  114. package/dist/telemetry-event.d.ts.map +1 -1
  115. package/dist/telemetry-event.js +21 -0
  116. package/dist/telemetry-event.js.map +1 -1
  117. package/package.json +1 -1
@@ -30,11 +30,20 @@ import type { TaskRecord } from '../task-status.js';
30
30
  import { type PDErrorCategory } from '../error-categories.js';
31
31
  import { BasePeerRunner } from '../runner/base-peer-runner.js';
32
32
  import type { PeerRunnerOptions, PeerRunnerDeps, PeerRunnerResult, PeerRunnerValidationResult } from '../runner/peer-runner-types.js';
33
+ import { type RefinerRuleHostGateDeps } from './refiner-rulehost-gate.js';
33
34
  /** Context built by EvaluatorRunner.buildContext() and consumed by invokeRuntime(). */
34
35
  interface EvaluatorContext {
35
36
  readonly contextHash: string;
36
37
  readonly artificerArtifact: string | null;
37
38
  readonly sourceArtificerArtifactId: string | null;
39
+ /**
40
+ * Scribe principle artifact contentJson (RuleHost MVP Activation, PRD Decision 12).
41
+ * Loaded so the evaluator LLM can judge code intentConsistency/scopePrecision
42
+ * against the original principle text. Null when no scribe artifact is resolvable
43
+ * (V1 artificer output, or scribeArtifactId missing/malformed).
44
+ */
45
+ readonly scribeArtifact: string | null;
46
+ readonly sourceScribeArtifactId: string | null;
38
47
  }
39
48
  export type EvaluatorRunnerResultStatus = 'succeeded' | 'failed' | 'retried';
40
49
  export interface EvaluatorRunnerResult {
@@ -49,7 +58,19 @@ export interface EvaluatorRunnerResult {
49
58
  readonly failureReason?: string;
50
59
  readonly attemptCount: number;
51
60
  }
52
- export type EvaluatorRunnerOptions = PeerRunnerOptions;
61
+ /**
62
+ * EvaluatorRunner options. Extends PeerRunnerOptions with an optional
63
+ * RuleHost sandbox gate deps (PRI-426). When `gateDeps` is provided AND the
64
+ * evaluator output is V2 (code-bearing), succeedTask runs a single-round
65
+ * adversarial sandbox replay and populates `adversarialResult`.
66
+ *
67
+ * When `gateDeps` is absent, V2 outputs still validate but no replay runs —
68
+ * this preserves backward compatibility for callers not yet wired to the
69
+ * sandbox (e.g. V1-only test fixtures, pre-Phase-6 assembly).
70
+ */
71
+ export interface EvaluatorRunnerOptions extends PeerRunnerOptions {
72
+ readonly gateDeps?: RefinerRuleHostGateDeps;
73
+ }
53
74
  export interface ResolvedEvaluatorRunnerOptions {
54
75
  readonly pollIntervalMs: number;
55
76
  readonly timeoutMs: number;
@@ -65,7 +86,13 @@ export interface EvaluatorRunnerDeps extends PeerRunnerDeps {
65
86
  }
66
87
  export declare class EvaluatorRunner extends BasePeerRunner<EvaluatorContext, EvaluatorOutputV1> {
67
88
  private readonly validator;
68
- constructor(deps: EvaluatorRunnerDeps, options: PeerRunnerOptions);
89
+ /**
90
+ * Optional RuleHost sandbox gate deps (PRI-426). When present and the output
91
+ * is V2, succeedTask runs a single adversarial sandbox replay. Absent = no
92
+ * replay (backward compatible).
93
+ */
94
+ private readonly gateDeps;
95
+ constructor(deps: EvaluatorRunnerDeps, options: EvaluatorRunnerOptions);
69
96
  get permanentErrorCategories(): ReadonlySet<PDErrorCategory>;
70
97
  buildContext(taskId: string): Promise<EvaluatorContext>;
71
98
  invokeRuntime(taskId: string, context: EvaluatorContext): Promise<RunHandle>;
@@ -86,6 +113,59 @@ export declare class EvaluatorRunner extends BasePeerRunner<EvaluatorContext, Ev
86
113
  * Validates sourceTrace.scribeArtifactId consistency (ERR-004, ERR-008).
87
114
  */
88
115
  protected checkLineageIntegrity(taskId: string, output: EvaluatorOutputV1, _context: EvaluatorContext): void;
116
+ /**
117
+ * Run a single-round adversarial sandbox replay on the evaluator's V2 output
118
+ * (PRD Decision 11d). Pure orchestration of pure functions:
119
+ * 1. Skip if passive review failed (decision !== 'approved' is the LLM's
120
+ * short-circuit signal — no code to defend).
121
+ * 2. Skip if no adversarialCases present (V2 with codeReview only).
122
+ * 3. Convert adversarialCases → GoldenTrace (all negative, PRI-423).
123
+ * 4. Merge ≥1 positive case from the Artificer golden trace. If the
124
+ * artificer artifact has no goldenTraceCases (V1 mismatch), degrade:
125
+ * skip replay with telemetry — do NOT crash.
126
+ * 5. Invoke evaluateRefinerRuleHostGate via injected gateDeps.
127
+ * 6. Populate adversarialResult from the gate result.
128
+ *
129
+ * Never throws — all failure modes degrade to a returned result with a
130
+ * structured reason (ERR-018). The caller persists the updated output.
131
+ */
132
+ private runAdversarialReplay;
133
+ /**
134
+ * Parse the Artificer artifact contentJson defensively (Runtime Contract
135
+ * Rule 1/2/5). Returns null on any structural issue — the caller degrades.
136
+ */
137
+ private parseArtificerArtifact;
138
+ /**
139
+ * Extract structurally-valid positive GoldenTraceCases from the Artificer
140
+ * goldenTraceCases array. Uses buildGoldenTraceFromArtificer (which re-
141
+ * validates each case) and filters for kind='positive'. Returns [] when
142
+ * the input is missing/malformed — the caller degrades to a skip (ERR-069:
143
+ * never trust unvalidated candidates).
144
+ */
145
+ private extractPositiveCases;
146
+ /**
147
+ * Map sandbox failed cases to EvaluatorAdversarialResult.failedCases.
148
+ *
149
+ * The sandbox reports failedCases by caseId; we enrich each with the
150
+ * adversarial case's attackType and expectedDecision. Cases not found in
151
+ * the adversarial set (e.g. the merged positive case failed — which would
152
+ * indicate a code bug, not an adversarial failure) are reported with
153
+ * attackType='boundary' as a safe default and a note in the rationale
154
+ * (Runtime Contract Rule 9: graceful degradation includes a reason).
155
+ */
156
+ private mapFailedCases;
157
+ /**
158
+ * Assemble and persist the rule artifact when adversarial replay passed
159
+ * (PRD Decision 5). The rule artifact carries implementationCode + the
160
+ * Artificer full golden trace + ruleHostGateDecision, with artifactKind='rule'.
161
+ * After a successful write, marks the artifact 'validated' so RuleHostWriter
162
+ * can activate it.
163
+ *
164
+ * Returns the rule artifactId on success, null on any degradation (missing
165
+ * code/trace, write failure, validation-update failure). Every null path
166
+ * emits structured telemetry with a reason (Runtime Rule 9, ERR-018).
167
+ */
168
+ private assembleRuleArtifact;
89
169
  /**
90
170
  * Resolve the principle-bearing artifact that the evaluator should validate.
91
171
  *
@@ -1 +1 @@
1
- {"version":3,"file":"evaluator-runner.d.ts","sourceRoot":"","sources":["../../../src/runtime-v2/internalization/evaluator-runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAkB,KAAK,eAAe,EAAqB,MAAM,wBAAwB,CAAC;AAIjG,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC3B,MAAM,gCAAgC,CAAC;AAIxC,uFAAuF;AACvF,UAAU,gBAAgB;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnD;AAID,MAAM,MAAM,2BAA2B,GAAG,WAAW,GAAG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