@ornexus/neocortex 4.61.0 → 4.61.3

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.
@@ -1 +1 @@
1
- {"schemaVersion":1,"sourceRevision":"9fcc17cc0ad74da20ad0a12c986e010d11762777","version":"4.61.0"}
1
+ {"schemaVersion":1,"sourceRevision":"7bd4bc1c5723de0f51f475fefe6b1234f39352bf","version":"4.61.3"}
package/install.ps1 CHANGED
@@ -17,7 +17,7 @@ param(
17
17
  [string]$ServerUrl = ('https://{0}.{1}.{2}' -f 'api','neocortex','sh')
18
18
  )
19
19
 
20
- $VERSION = "4.61.0"
20
+ $VERSION = "4.61.3"
21
21
 
22
22
  # =============================================================================
23
23
  # CONFIGURACOES
package/install.sh CHANGED
@@ -4,7 +4,7 @@
4
4
  # Development Orchestrator
5
5
 
6
6
  # Versao do instalador
7
- VERSION="4.61.0"
7
+ VERSION="4.61.3"
8
8
 
9
9
  # Flags
10
10
  MIGRATION_DETECTED=false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ornexus/neocortex",
3
- "version": "4.61.0",
4
- "description": "Neocortex v4.61.0",
3
+ "version": "4.61.3",
4
+ "description": "Neocortex v4.61.3",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "claude-code",
@@ -72,7 +72,7 @@ import { probeProjectIdentityMigrationCapability } from '../migrations/project-i
72
72
  import { normalizeYoloopStoryPlanningEvidence } from '../../../shared/dist/yoloop/planning-graph.js';
73
73
  import { normalizeContinuousWriteRef } from '../../../shared/dist/yoloop/wave-decision-receipt.js';
74
74
  import { epicHeadReconciliationInputDigest, epicHeadReconciliationPathsDigest, epicHeadReconciliationRangeDigest, } from '../../../shared/dist/yoloop/epic-terminal-git.js';
75
- import { applyGitLifecycleRuntimeOverlay, classifyGitLifecycleStoryCheckpointProjectionSync, ensureRuntimeEpic, ensureGitLifecycleRuntimeInitialized, executeP205TransientAuthorities, persistGitLifecycleGraphAuthority, P205_COMPLETE_COMMAND, gitLifecycleStoryWriteSet, mutateGitLifecycleRuntime, projectP205TransientExecutionEvidence, readGitLifecycleRuntimeSync, verifyLegacyCheckpointMigrationCandidateSync, } from '../git/git-lifecycle-store.js';
75
+ import { applyGitLifecycleRuntimeOverlay, classifyGitLifecycleStoryCheckpointProjectionSync, ensureRuntimeEpic, ensureGitLifecycleRuntimeInitialized, executeP205TransientAuthorities, persistGitLifecycleGraphAuthority, P205_COMPLETE_COMMAND, gitLifecycleStoryWriteSet, isStoryWorktreeEvidenceContainer, mutateGitLifecycleRuntime, projectP205TransientExecutionEvidence, readGitLifecycleRuntimeSync, verifyLegacyCheckpointMigrationCandidateSync, } from '../git/git-lifecycle-store.js';
76
76
  import { verifyRootMemoryPhysicalWriteSet } from '../private-execution/root-memory-git-evidence.js';
77
77
  import { isRootProjectMemoryEffect } from '../private-execution/shared-root-memory-types.js';
78
78
  import { probeYoloInvokeEnvelopeCapability } from '../yolo/invoke-envelope-capability.js';
@@ -2216,6 +2216,11 @@ export function collectStateSnapshot(projectRoot, options = {}) {
2216
2216
  ...(sanitizeEpicHeadReconciliationReceipt(epic.head_reconciliation_receipt)
2217
2217
  ? { head_reconciliation_receipt: sanitizeEpicHeadReconciliationReceipt(epic.head_reconciliation_receipt) }
2218
2218
  : {}),
2219
+ // P225: the server reads phase receipts and spec acceptances from here;
2220
+ // the container is closed and bounded, so it is forwarded only when valid.
2221
+ ...(isStoryWorktreeEvidenceContainer(epic.story_worktree_evidence)
2222
+ ? { story_worktree_evidence: structuredClone(epic.story_worktree_evidence) }
2223
+ : {}),
2219
2224
  ...(publicNumber(epic.pr_number) ? { pr_number: publicNumber(epic.pr_number) } : {}),
2220
2225
  ...(publicString(epic.physicalMergeStatus) ? { physicalMergeStatus: publicString(epic.physicalMergeStatus) } : {}),
2221
2226
  ...(publicSha(epic.graph_revision) ? { graph_revision: publicSha(epic.graph_revision) } : {}),
@@ -241,6 +241,8 @@ export declare const STORY_WORKTREE_EVIDENCE_MAX_SPEC_ACCEPTANCES = 256;
241
241
  export declare function isStoryWorktreeEvidenceReceiptRecord(value: unknown): boolean;
242
242
  /** True only for the closed `integration-receipt` shape. */
243
243
  export declare function isStoryWorktreeIntegrationReceiptRecord(value: unknown): boolean;
244
+ /** Closed validator for the `story_worktree_evidence` container (P225.04-ADR-3). */
245
+ export declare function isStoryWorktreeEvidenceContainer(value: unknown): boolean;
244
246
  /** Read (never create) the validated evidence container of one runtime epic overlay. */
245
247
  export declare function readStoryWorktreeEvidence(document: GitLifecycleRuntimeDocument, epicId: string): StoryWorktreeEvidenceContainer | undefined;
246
248
  /**
@@ -624,6 +624,10 @@ export function isStoryWorktreeEvidenceReceiptRecord(value) {
624
624
  export function isStoryWorktreeIntegrationReceiptRecord(value) {
625
625
  return asRecord(value)?.kind === 'integration-receipt' && isStoryWorktreeEvidenceReceiptRecord(value);
626
626
  }
627
+ /** Closed validator for the `story_worktree_evidence` container (P225.04-ADR-3). */
628
+ export function isStoryWorktreeEvidenceContainer(value) {
629
+ return validateStoryWorktreeEvidenceContainer(value);
630
+ }
627
631
  function validateStoryWorktreeEvidenceContainer(value) {
628
632
  const container = asRecord(value);
629
633
  if (!container)
@@ -1473,6 +1473,9 @@ function buildPayloadGuardrailEpics(snapshot, retainedStoryIds) {
1473
1473
  ...(retainedEpicStories.length > 0 && (epic.head_reconciliation_receipt === null || typeof epic.head_reconciliation_receipt === 'object')
1474
1474
  ? { head_reconciliation_receipt: epic.head_reconciliation_receipt }
1475
1475
  : {}),
1476
+ ...(retainedEpicStories.length > 0 && epic.story_worktree_evidence !== null && typeof epic.story_worktree_evidence === 'object'
1477
+ ? { story_worktree_evidence: epic.story_worktree_evidence }
1478
+ : {}),
1476
1479
  };
1477
1480
  }
1478
1481
  return projectedEpics;
@@ -1,4 +1,4 @@
1
- # 🧠 Neocortex v4.61.0 | OrNexus Team
1
+ # 🧠 Neocortex v4.61.3 | OrNexus Team
2
2
 
3
3
  This project uses Neocortex, a Development Orchestrator.
4
4
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v4.61.0 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.61.3 | OrNexus Team"
4
4
  ---
5
5
 
6
6
  <!--
@@ -4,7 +4,7 @@ agent:
4
4
  name: 'Neocortex Root Agent'
5
5
  title: 'Development Orchestrator (Root)'
6
6
  icon: '>'
7
- version: '4.61.0'
7
+ version: '4.61.3'
8
8
  architecture: 'thin-client'
9
9
  module: stand-alone
10
10
  hasSidecar: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex-root
3
- description: "🧠 Neocortex Root Agent v4.61.0 | OrNexus Team"
3
+ description: "🧠 Neocortex Root Agent v4.61.3 | OrNexus Team"
4
4
  model: opus
5
5
  color: blue
6
6
  tools:
@@ -108,7 +108,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
108
108
  ┌────────────────────────────────────────────────────────────┐
109
109
  │ │
110
110
  │ ####### N E O C O R T E X │
111
- │ ### ######## v4.61.0 │
111
+ │ ### ######## v4.61.3 │
112
112
  │ ######### ##### │
113
113
  │ ## ############## Development Orchestrator │
114
114
  │ ## ### ###### ## OrNexus Team │
@@ -4,7 +4,7 @@ agent:
4
4
  name: 'Neocortex'
5
5
  title: 'Development Orchestrator'
6
6
  icon: '>'
7
- version: '4.61.0'
7
+ version: '4.61.3'
8
8
  architecture: 'thin-client'
9
9
  module: stand-alone
10
10
  hasSidecar: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v4.61.0 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.61.3 | OrNexus Team"
4
4
  model: opus
5
5
  color: blue
6
6
  permissionMode: bypassPermissions
@@ -106,7 +106,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
106
106
  ┌────────────────────────────────────────────────────────────┐
107
107
  │ │
108
108
  │ ####### N E O C O R T E X │
109
- │ ### ######## v4.61.0 │
109
+ │ ### ######## v4.61.3 │
110
110
  │ ######### ##### │
111
111
  │ ## ############## Development Orchestrator │
112
112
  │ ## ### ###### ## OrNexus Team │
@@ -230,10 +230,11 @@ authorizes delegation (`native_safe`) and returns a root-owned plan:
230
230
 
231
231
  ### Story worktree phase prompts (v4)
232
232
 
233
- `story-worktree-phase-1`: I run in a native worktree. At setup I run
233
+ `story-worktree-phase-1`: I run in a native worktree. Before setup I run
234
234
  `neocortex-client story-worktree adopt` with
235
- `--worktree-path "$(git rev-parse --show-toplevel)"` and IDs/SHAs from server
236
- output, never invented; I stop when the server reports phase 1 complete. `story-worktree-phase-2`: I work only
235
+ `--worktree-path "$(git rev-parse --show-toplevel)"` and the IDs/SHAs of
236
+ `metadata.storyWorktreeAdoption`, from server output, never invented; then setup
237
+ runs in this same worktree. I stop when the server reports phase 1 complete. `story-worktree-phase-2`: I work only
237
238
  in my adopted worktree (`temporaryBranch` from `neocortex-client story-worktree
238
239
  status`, path from `git worktree list`). Any refusal (e.g.
239
240
  `native-worktree-base-mismatch`, `native-worktree-dirty`) stops me. I never
@@ -32,7 +32,7 @@ Codex built-in commands or actions.
32
32
 
33
33
  <!-- END: Plugin Conflict Prevention -->
34
34
 
35
- # Neocortex v4.61.0 | OrNexus Team
35
+ # Neocortex v4.61.3 | OrNexus Team
36
36
 
37
37
  You are a Development Orchestrator. All orchestration logic is delivered by the remote Neocortex server.
38
38
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v4.61.0 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.61.3 | OrNexus Team"
4
4
  model: inherit
5
5
  readonly: false
6
6
  is_background: false
@@ -104,7 +104,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
104
104
  ┌────────────────────────────────────────────────────────────┐
105
105
  │ │
106
106
  │ ####### N E O C O R T E X │
107
- │ ### ######## v4.61.0 │
107
+ │ ### ######## v4.61.3 │
108
108
  │ ######### ##### │
109
109
  │ ## ############## Development Orchestrator │
110
110
  │ ## ### ###### ## OrNexus Team │
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex-root
3
- description: "🧠 Neocortex v4.61.0 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.61.3 | OrNexus Team"
4
4
  kind: local
5
5
  tools:
6
6
  # File operations (Gemini CLI built-ins)
@@ -62,7 +62,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
62
62
  ┌────────────────────────────────────────────────────────────┐
63
63
  │ │
64
64
  │ ####### N E O C O R T E X │
65
- │ ### ######## v4.61.0 │
65
+ │ ### ######## v4.61.3 │
66
66
  │ ######### ##### │
67
67
  │ ## ############## Development Orchestrator │
68
68
  │ ## ### ###### ## OrNexus Team │
@@ -64,7 +64,7 @@ task directive, I keep root-owned inline/shell-loop execution.
64
64
  ┌────────────────────────────────────────────────────────────┐
65
65
  │ │
66
66
  │ ####### N E O C O R T E X │
67
- │ ### ######## v4.61.0 │
67
+ │ ### ######## v4.61.3 │
68
68
  │ ######### ##### │
69
69
  │ ## ############## Development Orchestrator │
70
70
  │ ## ### ###### ## OrNexus Team │
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "neocortex"
3
- description: "Neocortex v4.61.0 | OrNexus Team"
3
+ description: "Neocortex v4.61.3 | OrNexus Team"
4
4
  tools:
5
5
  # Read / Edit (built-in tool sets)
6
6
  - read
@@ -72,7 +72,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
72
72
  ┌────────────────────────────────────────────────────────────┐
73
73
  │ │
74
74
  │ ####### N E O C O R T E X │
75
- │ ### ######## v4.61.0 │
75
+ │ ### ######## v4.61.3 │
76
76
  │ ######### ##### │
77
77
  │ ## ############## Development Orchestrator │
78
78
  │ ## ### ###### ## OrNexus Team │