@nexus-cortex/core 4.124.58 → 4.124.59

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/.env.defaults CHANGED
@@ -1279,6 +1279,9 @@ CORTEX_ENDTURN_GATE=true
1279
1279
  # [LEDGER 2026-10-05 mechanism] t4r trajectories: rule judge meets=false 32/36 (89%) → 14 vetoes + 11 accept-with-gap; sessions ended
1280
1280
  # MID-VETO at remFrac ≥ 0.6 (cls 24,936 s). A never-satisfied gate on long budgets; harmless on 900-s MiMo only because the budget rules
1281
1281
  # cut it off. Needs a fit gate + rule-veto cap before any revival. r-tb4-valA-2026-10-04.md addendum M1.
1282
+ # [LEDGER 2026-10-05 @4.124.59] INPUTS rule given an EXIT: "re-read once; if the conflict is real, use the task's authoritative source, record
1283
+ # the discrepancy, proceed — do not keep re-reading"; judge: a recorded, justified discrepancy is not a gap. Cause: atrx-vep-crispr (t4r 10-04)
1284
+ # looped 9 turns / 3 walls on a real 10,000-bp typo in the provided CDS file because the rule forbade the correct conclusion. Untested.
1282
1285
  #CORTEX_RULE_INPUTS=
1283
1286
  # R212 INTERP = L2 interpretation enumeration: named alternatives each computed; keep the one consistent with every explicit hint and all data.
1284
1287
  # [LEDGER 2026-10-02 @4.124.43] DARK — BUILT + unit-tested (taskRules.test.ts). NO bench arm yet. evidence: tb4-never-passed-2026-10-02 (foodstuff-beta-activity, glycan-ms2-elucidation, hof-topology-interpenetration, ontology-kg-querying).
@@ -1 +1 @@
1
- {"version":3,"file":"taskRules.d.ts","sourceRoot":"","sources":["../../src/training/taskRules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAEjE,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAA6C,CAAC;AAExF,eAAO,MAAM,aAAa,EAAE,MAAM,C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AACtE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,GAAG,MAAM,CAEvE"}
@@ -30,8 +30,9 @@ export function resolveTaskRules(env = process.env) {
30
30
  /** Carrier A: one planner doctrine bullet per rule (same `- NAME: …\n` shape as the other doctrine bullets). */
31
31
  export const TASK_RULE_PLAN_LINES = {
32
32
  inputs: '- INPUT COVERAGE: include a step that lists every field, column and parameter of the provided inputs and where the solution uses ' +
33
- 'each one. Never change a given constant or input to make the problem feasible; if it looks infeasible with the given data, ' +
34
- 're-read the task and the inputs — something was misread.\n',
33
+ 'each one. Never alter a given value to make the problem feasible. If two provided sources disagree, or a given value is internally ' +
34
+ 'inconsistent, re-read once; if the conflict is real, use the source the task names as authoritative (else the task text itself), ' +
35
+ 'record the discrepancy in the deliverable\'s notes, and proceed — do not keep re-reading.\n',
35
36
  interp: '- INTERPRETATIONS: when the task or the work names alternative readings, conventions or candidates, include a step that computes ' +
36
37
  'each one and keeps the one consistent with every explicit hint and all of the data, stating why.\n',
37
38
  holdout: '- HELD-OUT VALIDATION: when the task implies hidden inputs, other variants or generalisation, include a step that validates on a ' +
@@ -48,7 +49,8 @@ export function taskRulesPlanBlock(rules) {
48
49
  export const TASK_RULE_JUDGE_CLAUSES = {
49
50
  inputs: '\n\nINPUTS RULE (HB-RULE-INPUTS): when the task provides input data, parameters or constants, does the work use them and leave the ' +
50
51
  'given values unchanged? If a provided field is ignored or a given value was altered to make the problem feasible, treat that as a GAP ' +
51
- 'and name a CHECK that shows where that input is used. Tasks with no provided inputs are not affected by this rule.',
52
+ 'and name a CHECK that shows where that input is used. Tasks with no provided inputs are not affected by this rule. A recorded, ' +
53
+ 'justified discrepancy between provided sources, resolved in favour of the task\'s authoritative source, is not a gap.',
52
54
  interp: '\n\nINTERPRETATION RULE (HB-RULE-INTERP): where the task or the work names alternative readings, conventions or candidates, does ' +
53
55
  'the evidence show each one was computed and the chosen one is consistent with every explicit hint and all the data? If an ' +
54
56
  'alternative was set aside without that comparison, treat that as a GAP and name a CHECK that scores the alternatives against the ' +
@@ -1 +1 @@
1
- {"version":3,"file":"taskRules.js","sourceRoot":"","sources":["../../src/training/taskRules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,oFAAoF;AACpF,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AAExF,MAAM,CAAC,MAAM,aAAa,GAA6B;IACrD,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,oBAAoB;IAC5B,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEF,8GAA8G;AAC9G,MAAM,UAAU,gBAAgB,CAAC,MAAyB,OAAO,CAAC,GAAG;IACnE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED,gHAAgH;AAChH,MAAM,CAAC,MAAM,oBAAoB,GAA6B;IAC5D,MAAM,EACJ,mIAAmI;QACnI,6HAA6H;QAC7H,4DAA4D;IAC9D,MAAM,EACJ,mIAAmI;QACnI,oGAAoG;IACtG,OAAO,EACL,mIAAmI;QACnI,wEAAwE;IAC1E,KAAK,EACH,mIAAmI;QACnI,wHAAwH;CAC3H,CAAC;AAEF,sEAAsE;AACtE,MAAM,UAAU,kBAAkB,CAAC,KAA0B;IAC3D,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE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G,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/core",
3
- "version": "4.124.58",
3
+ "version": "4.124.59",
4
4
  "description": "Core orchestration library implementing Claude CLI architecture patterns",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -47,8 +47,8 @@
47
47
  "@google/generative-ai": "^0.2.1",
48
48
  "@gradio/client": "^2.3.1",
49
49
  "@modelcontextprotocol/sdk": "^1.20.2",
50
- "@nexus-cortex/executors": "4.124.58",
51
- "@nexus-cortex/types": "4.124.58",
50
+ "@nexus-cortex/executors": "4.124.59",
51
+ "@nexus-cortex/types": "4.124.59",
52
52
  "@types/uuid": "^10.0.0",
53
53
  "ajv": "^8.12.0",
54
54
  "chokidar": "^3.6.0",