@ornexus/neocortex 4.62.0 → 4.64.1
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/dist/release-source.json +1 -1
- package/dist/sbom.cdx.json +1193 -1193
- package/install.ps1 +1 -1
- package/install.sh +28 -5
- package/package.json +3 -4
- package/packages/client/dist/agent/refresh-stubs.d.ts +6 -0
- package/packages/client/dist/agent/refresh-stubs.js +2 -2
- package/packages/client/dist/commands/invoke.d.ts +7 -0
- package/packages/client/dist/commands/invoke.js +50 -50
- package/packages/client/dist/commands/refresh-memory.d.ts +10 -0
- package/packages/client/dist/commands/refresh-memory.js +5 -3
- package/packages/client/dist/git/direct-yolo-checkpoint.d.ts +86 -1
- package/packages/client/dist/git/direct-yolo-checkpoint.js +3 -3
- package/packages/client/dist/git/git-lifecycle-store.d.ts +30 -2
- package/packages/client/dist/git/git-lifecycle-store.js +7 -7
- package/packages/client/dist/git/legacy-branch-mode-conversion.d.ts +58 -0
- package/packages/client/dist/git/legacy-branch-mode-conversion.js +4 -0
- package/packages/client/dist/git/release-gate-env.d.ts +2 -41
- package/packages/client/dist/git/release-gate-env.js +1 -1
- package/packages/client/dist/git/state-json-field-merge.d.ts +76 -0
- package/packages/client/dist/git/state-json-field-merge.js +2 -0
- package/packages/client/dist/git/story-worktree-cleanup.d.ts +22 -1
- package/packages/client/dist/git/story-worktree-cleanup.js +4 -4
- package/packages/client/dist/git/story-worktree-integration.d.ts +48 -0
- package/packages/client/dist/git/story-worktree-integration.js +3 -3
- package/packages/client/dist/git/story-worktree-manager.d.ts +57 -0
- package/packages/client/dist/git/story-worktree-manager.js +3 -3
- package/packages/client/dist/git/story-worktree-paths.d.ts +23 -1
- package/packages/client/dist/git/story-worktree-paths.js +1 -1
- package/packages/client/dist/git/story-write-set-extension.d.ts +3 -0
- package/packages/client/dist/git/story-write-set-extension.js +1 -1
- package/packages/client/dist/private-execution/root-memory-writer.js +1 -1
- package/packages/client/dist/runner/headless/epic-terminal-git-cli-adapter.d.ts +30 -0
- package/packages/client/dist/runner/headless/epic-terminal-git-cli-adapter.js +8 -8
- package/packages/client/dist/runner/headless/run-yolo.d.ts +15 -0
- package/packages/client/dist/runner/headless/run-yolo.js +1 -1
- package/packages/client/dist/runner/headless/run-yoloop.d.ts +55 -0
- package/packages/client/dist/runner/headless/run-yoloop.js +2 -2
- package/packages/client/dist/runner/headless/types.d.ts +9 -1
- package/packages/client/dist/runner/headless/types.js +2 -2
- package/packages/client/dist/state/project-state-snapshot.js +1 -1
- package/packages/client/dist/state/state-json-repair.d.ts +23 -0
- package/packages/client/dist/state/state-json-repair.js +4 -3
- package/packages/client/dist/yolo/change-evidence-collector.js +1 -1
- package/packages/client/dist/yoloop/discovery-hook.d.ts +2 -0
- package/packages/client/dist/yoloop/discovery-hook.js +2 -2
- package/packages/client/dist/yoloop/invoke-hooks.d.ts +17 -0
- package/packages/client/dist/yoloop/invoke-hooks.js +14 -10
- package/packages/client/dist/yoloop/legacy-story-scope.d.ts +23 -0
- package/packages/client/dist/yoloop/legacy-story-scope.js +1 -0
- package/packages/client/dist/yoloop/legacy-yoloop-adoption.d.ts +69 -0
- package/packages/client/dist/yoloop/legacy-yoloop-adoption.js +1 -0
- package/packages/client/dist/yoloop/shared-discover-epics.d.ts +46 -1
- package/packages/client/dist/yoloop/shared-discover-epics.js +1 -1
- package/packages/client/dist/yoloop/yoloop-client-state-store.d.ts +23 -0
- package/packages/client/dist/yoloop/yoloop-client-state-store.js +1 -1
- package/packages/client/dist/yoloop/yoloop-start-origin-binding.d.ts +94 -0
- package/packages/client/dist/yoloop/yoloop-start-origin-binding.js +1 -0
- package/packages/shared/dist/compatibility/index.js +6 -0
- package/packages/shared/dist/project-manifest-projection.js +6 -3
- package/packages/shared/dist/release-gate-env-contract.js +129 -0
- package/packages/shared/dist/yoloop/branch-unit.js +119 -3
- package/packages/shared/dist/yoloop/epic-terminal-git.js +4 -0
- package/targets-stubs/antigravity/gemini.md +1 -1
- package/targets-stubs/antigravity/skill/SKILL.md +1 -1
- package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex-root.md +2 -2
- package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex.md +2 -2
- package/targets-stubs/codex/AGENTS.md +1 -1
- package/targets-stubs/codex/install-codex.sh +12 -4
- package/targets-stubs/cursor/agent.md +2 -2
- package/targets-stubs/gemini-cli/agent.md +2 -2
- package/targets-stubs/lib/managed-config-merge.js +385 -7
- package/targets-stubs/lib/managed-profile.sh +47 -7
- package/targets-stubs/opencode/neocortex-root.md +1 -1
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
|
@@ -1,9 +1,93 @@
|
|
|
1
|
+
import { yoloopDomainHash } from './canonical.js';
|
|
1
2
|
import { canonicalRootMemoryEffectJson, isRootProjectMemoryEffect } from './root-memory-effect.js';
|
|
2
3
|
/**
|
|
3
4
|
* Public, deterministic branch-unit contract for epic-owned YOLO/YOLOOP runs.
|
|
4
5
|
* Pure data/functions only: callers own Git and filesystem effects.
|
|
5
6
|
*/
|
|
6
7
|
export const BRANCH_UNIT_MODES = Object.freeze(['epic', 'story']);
|
|
8
|
+
export const BRANCH_MODE_CONVERSION_STORY_LIMIT = 256;
|
|
9
|
+
const BRANCH_MODE_CONVERSION_DOMAIN = 'neocortex/branch-mode-conversion/v1';
|
|
10
|
+
const CONVERSION_RECEIPT_KEYS = [
|
|
11
|
+
'schemaVersion', 'kind', 'epicId', 'previousBranchMode', 'executionBranch', 'originBranch',
|
|
12
|
+
'originHeadSha', 'stories', 'convertedAt', 'publicSafe', 'receiptDigest',
|
|
13
|
+
];
|
|
14
|
+
const CONVERSION_STORY_KEYS = ['storyId', 'branch', 'branchSha', 'proof', 'prState', 'prNumber'];
|
|
15
|
+
/** Domain digest over the receipt body; `receiptDigest` never hashes itself. */
|
|
16
|
+
export function computeBranchModeConversionReceiptDigest(body) {
|
|
17
|
+
const { receiptDigest: _ignored, ...rest } = body;
|
|
18
|
+
return yoloopDomainHash(BRANCH_MODE_CONVERSION_DOMAIN, rest);
|
|
19
|
+
}
|
|
20
|
+
/** Pure structural, digest and binding check. Physical proof is client-owned. */
|
|
21
|
+
export function isBranchModeConversionReceipt(value, epic) {
|
|
22
|
+
if (!isPlainRecord(value) || !hasExactKeys(value, CONVERSION_RECEIPT_KEYS))
|
|
23
|
+
return false;
|
|
24
|
+
const receipt = value;
|
|
25
|
+
if (receipt.schemaVersion !== 1 || receipt.kind !== 'branch-mode-conversion' || receipt.publicSafe !== true)
|
|
26
|
+
return false;
|
|
27
|
+
if (!['story', 'unset', 'epic'].includes(String(receipt.previousBranchMode)))
|
|
28
|
+
return false;
|
|
29
|
+
if (!isSafeConversionToken(receipt.epicId) || receipt.epicId !== epic.id)
|
|
30
|
+
return false;
|
|
31
|
+
if (!isSafeConversionRef(receipt.executionBranch) || receipt.executionBranch !== epic.execution_branch)
|
|
32
|
+
return false;
|
|
33
|
+
if (!isSafeConversionRef(receipt.originBranch) || receipt.originBranch === receipt.executionBranch)
|
|
34
|
+
return false;
|
|
35
|
+
if (!isFullSha(receipt.originHeadSha))
|
|
36
|
+
return false;
|
|
37
|
+
if (typeof receipt.convertedAt !== 'string' || !Number.isFinite(Date.parse(receipt.convertedAt)))
|
|
38
|
+
return false;
|
|
39
|
+
if (typeof receipt.receiptDigest !== 'string' || !/^[0-9a-f]{64}$/.test(receipt.receiptDigest))
|
|
40
|
+
return false;
|
|
41
|
+
const stories = receipt.stories;
|
|
42
|
+
if (!Array.isArray(stories) || stories.length > BRANCH_MODE_CONVERSION_STORY_LIMIT)
|
|
43
|
+
return false;
|
|
44
|
+
let previous = null;
|
|
45
|
+
for (const entry of stories) {
|
|
46
|
+
if (!isPlainRecord(entry) || !hasExactKeys(entry, CONVERSION_STORY_KEYS))
|
|
47
|
+
return false;
|
|
48
|
+
const story = entry;
|
|
49
|
+
if (!isSafeConversionToken(story.storyId) || (previous !== null && !(previous < story.storyId)))
|
|
50
|
+
return false;
|
|
51
|
+
previous = story.storyId;
|
|
52
|
+
if (!isSafeConversionRef(story.branch) || story.branch === receipt.executionBranch)
|
|
53
|
+
return false;
|
|
54
|
+
if (!isFullSha(story.branchSha))
|
|
55
|
+
return false;
|
|
56
|
+
if (story.proof !== 'ancestor-of-origin' && story.proof !== 'patch-equivalent')
|
|
57
|
+
return false;
|
|
58
|
+
if (story.prState !== 'none' && story.prState !== 'merged' && story.prState !== 'closed')
|
|
59
|
+
return false;
|
|
60
|
+
if (!(story.prNumber === null || (Number.isSafeInteger(story.prNumber) && Number(story.prNumber) > 0)))
|
|
61
|
+
return false;
|
|
62
|
+
if (story.prState === 'none' && story.prNumber !== null)
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return computeBranchModeConversionReceiptDigest(receipt)
|
|
66
|
+
=== receipt.receiptDigest;
|
|
67
|
+
}
|
|
68
|
+
/** Branch refs a receipt can carry; Git may accept names this contract does not (P227.20 F8). */
|
|
69
|
+
export function isBranchModeConversionRef(value) {
|
|
70
|
+
return isSafeConversionRef(value);
|
|
71
|
+
}
|
|
72
|
+
function isPlainRecord(value) {
|
|
73
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
74
|
+
}
|
|
75
|
+
function hasExactKeys(value, keys) {
|
|
76
|
+
const actual = Object.keys(value);
|
|
77
|
+
return actual.length === keys.length && keys.every((key) => Object.prototype.hasOwnProperty.call(value, key));
|
|
78
|
+
}
|
|
79
|
+
function isSafeConversionToken(value) {
|
|
80
|
+
return typeof value === 'string' && /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/.test(value);
|
|
81
|
+
}
|
|
82
|
+
function isSafeConversionRef(value) {
|
|
83
|
+
return typeof value === 'string' && value.length <= 200
|
|
84
|
+
&& /^[A-Za-z0-9][A-Za-z0-9._/-]*$/.test(value)
|
|
85
|
+
&& !value.includes('..') && !value.includes('//') && !value.endsWith('/')
|
|
86
|
+
&& !value.endsWith('.lock') && !value.endsWith('.');
|
|
87
|
+
}
|
|
88
|
+
function isFullSha(value) {
|
|
89
|
+
return typeof value === 'string' && /^(?:[0-9a-f]{40}|[0-9a-f]{64})$/.test(value);
|
|
90
|
+
}
|
|
7
91
|
const LEGACY_INTEGRATION_STEPS = new Set([
|
|
8
92
|
'step-c-09-sync-main',
|
|
9
93
|
'step-c-10-create-pr',
|
|
@@ -24,11 +108,27 @@ export function resolveBranchUnit(epic, stories) {
|
|
|
24
108
|
return resolution('story', 'recorded', true, epic, ['branch-mode-recorded-story']);
|
|
25
109
|
}
|
|
26
110
|
if (epic.branch_mode === 'epic') {
|
|
27
|
-
|
|
111
|
+
// P227.20: a valid conversion receipt neutralizes only the evidence it proved.
|
|
112
|
+
const receiptPresent = epic.branch_mode_conversion_receipt !== undefined && epic.branch_mode_conversion_receipt !== null;
|
|
113
|
+
const receipt = receiptPresent && isBranchModeConversionReceipt(epic.branch_mode_conversion_receipt, epic)
|
|
114
|
+
? epic.branch_mode_conversion_receipt
|
|
115
|
+
: undefined;
|
|
116
|
+
const receiptCodes = !receiptPresent ? []
|
|
117
|
+
: receipt ? ['branch-mode-conversion-receipt-recognized'] : ['branch-mode-conversion-receipt-invalid'];
|
|
118
|
+
// P227.25 DEC (LF-1): a recorded epic mode without `execution_branch` (the
|
|
119
|
+
// create-epic shape P227.22 repairs) derives `epic/<ID>`, the branch the
|
|
120
|
+
// P227.21 start binding captures. Evidence is judged against the derived
|
|
121
|
+
// branch, so any story branch, checkpoint branch or PR that differs still
|
|
122
|
+
// fails closed below. The receipt above was validated against the recorded
|
|
123
|
+
// field only: a derived branch never validates a conversion receipt.
|
|
124
|
+
const derivedExecutionBranch = !nonEmpty(epic.execution_branch) ? `epic/${epic.id}` : undefined;
|
|
125
|
+
const effectiveEpic = derivedExecutionBranch ? { ...epic, execution_branch: derivedExecutionBranch } : epic;
|
|
126
|
+
const conflictingEvidence = classifyRecordedEpicStoryGitEvidence(effectiveEpic, stories, receipt);
|
|
28
127
|
if (conflictingEvidence === 'strong') {
|
|
29
128
|
return resolution('story', 'legacy-progress', true, epic, [
|
|
30
129
|
'branch-mode-conflict-legacy-progress-preserved',
|
|
31
130
|
'branch-mode-recorded-epic-not-applied',
|
|
131
|
+
...receiptCodes,
|
|
32
132
|
]);
|
|
33
133
|
}
|
|
34
134
|
if (conflictingEvidence === 'ambiguous') {
|
|
@@ -36,9 +136,14 @@ export function resolveBranchUnit(epic, stories) {
|
|
|
36
136
|
'branch-mode-conflict-legacy-progress-preserved',
|
|
37
137
|
'branch-mode-conflict-ambiguous-story-git-evidence',
|
|
38
138
|
'branch-mode-recorded-epic-not-applied',
|
|
139
|
+
...receiptCodes,
|
|
39
140
|
]);
|
|
40
141
|
}
|
|
41
|
-
return resolution('epic', 'recorded', hasEpicGitProgress(epic, stories),
|
|
142
|
+
return resolution('epic', 'recorded', hasEpicGitProgress(epic, stories), effectiveEpic, [
|
|
143
|
+
'branch-mode-recorded-epic',
|
|
144
|
+
...(derivedExecutionBranch ? ['branch-mode-recorded-epic-derived-execution-branch'] : []),
|
|
145
|
+
...receiptCodes,
|
|
146
|
+
]);
|
|
42
147
|
}
|
|
43
148
|
if (legacyProgress || stories.some(hasAnyStoryProgress)) {
|
|
44
149
|
return resolution('story', 'legacy-progress', true, epic, ['legacy-story-git-progress-detected']);
|
|
@@ -315,13 +420,24 @@ function hasLegacyStoryGitProgress(story) {
|
|
|
315
420
|
* different branch can override the immutable epic boundary. Malformed PR
|
|
316
421
|
* metadata at a PR-producing step remains fail-closed and publicly diagnosable.
|
|
317
422
|
*/
|
|
318
|
-
function classifyRecordedEpicStoryGitEvidence(epic, stories) {
|
|
423
|
+
function classifyRecordedEpicStoryGitEvidence(epic, stories, conversionReceipt) {
|
|
319
424
|
let result = 'none';
|
|
320
425
|
const executionBranch = nonEmpty(epic.execution_branch) ? epic.execution_branch.trim() : null;
|
|
426
|
+
const proven = new Map((conversionReceipt?.stories ?? []).map((entry) => [entry.storyId, entry]));
|
|
321
427
|
for (const story of stories) {
|
|
322
428
|
const storyBranch = nonEmpty(story.branch_name) ? story.branch_name.trim() : null;
|
|
323
429
|
const checkpointBranch = nonEmpty(story.checkpoint?.branch) ? story.checkpoint.branch.trim() : null;
|
|
324
430
|
const steps = new Set(story.steps_completed ?? []);
|
|
431
|
+
const hasMalformedMarker = story.pr_number !== null && story.pr_number !== undefined &&
|
|
432
|
+
!(typeof story.pr_number === 'number' && story.pr_number > 0);
|
|
433
|
+
// P227.20 R3: proven legacy evidence is not a conflict while it still matches the receipt.
|
|
434
|
+
const entry = proven.get(story.id);
|
|
435
|
+
if (entry && !hasMalformedMarker &&
|
|
436
|
+
(storyBranch === null || storyBranch === executionBranch || storyBranch === entry.branch) &&
|
|
437
|
+
(checkpointBranch === null || checkpointBranch === executionBranch || checkpointBranch === entry.branch) &&
|
|
438
|
+
(!(typeof story.pr_number === 'number' && story.pr_number > 0) || story.pr_number === entry.prNumber)) {
|
|
439
|
+
continue;
|
|
440
|
+
}
|
|
325
441
|
if ((storyBranch && storyBranch !== executionBranch) ||
|
|
326
442
|
(checkpointBranch && checkpointBranch !== executionBranch) ||
|
|
327
443
|
(typeof story.pr_number === 'number' && story.pr_number > 0) ||
|
|
@@ -57,6 +57,10 @@ export const EPIC_TERMINAL_GIT_REASON_CODES = Object.freeze({
|
|
|
57
57
|
REMOTE_DELETE_CAS_UNAVAILABLE: 'git-resource-remote-delete-cas-unavailable',
|
|
58
58
|
ORIGIN_CAPTURE_WINDOW_MISSED: 'epic-origin-binding-capture-window-missed',
|
|
59
59
|
ORIGIN_PHYSICAL_DRIFT: 'epic-origin-binding-physical-drift',
|
|
60
|
+
/** P227.12: the remote-tracking ref diverged from (or raced) the freshly fetched origin head. */
|
|
61
|
+
ORIGIN_REF_STALE: 'epic-head-reconciliation-origin-ref-stale',
|
|
62
|
+
/** P227.12: a configured `origin` remote could not be queried or fetched; never falls back to local refs. */
|
|
63
|
+
ORIGIN_FETCH_UNAVAILABLE: 'epic-head-reconciliation-origin-fetch-unavailable',
|
|
60
64
|
PHYSICAL_REVALIDATION_REQUIRED: 'epic-terminal-physical-revalidation-required',
|
|
61
65
|
PHYSICAL_ANCESTRY_UNPROVEN: 'epic-terminal-physical-ancestry-unproven',
|
|
62
66
|
PR_STRICT_BASE_GUARD_REQUIRED: 'epic-terminal-pr-strict-base-guard-required',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: neocortex-root
|
|
3
|
-
description: "🧠 Neocortex Root Agent v4.
|
|
3
|
+
description: "🧠 Neocortex Root Agent v4.64.1 | 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.
|
|
111
|
+
│ ### ######## v4.64.1 │
|
|
112
112
|
│ ######### ##### │
|
|
113
113
|
│ ## ############## Development Orchestrator │
|
|
114
114
|
│ ## ### ###### ## OrNexus Team │
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: neocortex
|
|
3
|
-
description: "🧠 Neocortex v4.
|
|
3
|
+
description: "🧠 Neocortex v4.64.1 | 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.
|
|
109
|
+
│ ### ######## v4.64.1 │
|
|
110
110
|
│ ######### ##### │
|
|
111
111
|
│ ## ############## Development Orchestrator │
|
|
112
112
|
│ ## ### ###### ## OrNexus Team │
|
|
@@ -32,7 +32,7 @@ Codex built-in commands or actions.
|
|
|
32
32
|
|
|
33
33
|
<!-- END: Plugin Conflict Prevention -->
|
|
34
34
|
|
|
35
|
-
# Neocortex v4.
|
|
35
|
+
# Neocortex v4.64.1 | OrNexus Team
|
|
36
36
|
|
|
37
37
|
You are a Development Orchestrator. All orchestration logic is delivered by the remote Neocortex server.
|
|
38
38
|
|
|
@@ -6,7 +6,12 @@ install_codex() {
|
|
|
6
6
|
local source_dir="${1:?SOURCE_DIR required}"
|
|
7
7
|
local dest_dir="${2:?DEST_DIR required}"
|
|
8
8
|
local codex_target="$source_dir/targets-stubs/codex"
|
|
9
|
-
|
|
9
|
+
# P227.14: CODEX_HOME counts only when absolute (same rule as the client
|
|
10
|
+
# refresh), so every writer resolves the same file and the same base.
|
|
11
|
+
local codex_home="$HOME/.codex"
|
|
12
|
+
case "${CODEX_HOME:-}" in
|
|
13
|
+
/*) codex_home="$CODEX_HOME" ;;
|
|
14
|
+
esac
|
|
10
15
|
. "$source_dir/targets-stubs/lib/managed-profile.sh"
|
|
11
16
|
|
|
12
17
|
if [ ! -d "$codex_target" ]; then
|
|
@@ -34,16 +39,19 @@ install_codex() {
|
|
|
34
39
|
neocortex_managed_report "[CODEX]" "AGENTS.md (project root)"
|
|
35
40
|
fi
|
|
36
41
|
|
|
37
|
-
# 2. Copy AGENTS.md stub to global
|
|
42
|
+
# 2. Copy AGENTS.md stub to global. P227.14: canonical ids
|
|
43
|
+
# profile-codex-root / profile-codex-neocortex live in one base (the
|
|
44
|
+
# resolved Codex base); a stale HOME manifest entry for the same file is
|
|
45
|
+
# adopted or retired by identical hash inside neocortex_managed_profile.
|
|
38
46
|
if [ -f "$codex_target/AGENTS.md" ]; then
|
|
39
|
-
neocortex_managed_profile "$source_dir" "$codex_target/AGENTS.md" "$codex_home/AGENTS.md" "$codex_base" "profile-codex-root" || failures=$((failures + 1))
|
|
47
|
+
neocortex_managed_profile "$source_dir" "$codex_target/AGENTS.md" "$codex_home/AGENTS.md" "$codex_base" "profile-codex-root" platform || failures=$((failures + 1))
|
|
40
48
|
neocortex_managed_report "[CODEX]" "$codex_home/AGENTS.md (global)"
|
|
41
49
|
fi
|
|
42
50
|
|
|
43
51
|
# 3. Install native Codex subagent for isolated task directives.
|
|
44
52
|
# Codex custom agent reference: https://developers.openai.com/codex/subagents
|
|
45
53
|
if [ -f "$codex_target/neocortex.toml" ]; then
|
|
46
|
-
neocortex_managed_profile "$source_dir" "$codex_target/neocortex.toml" "$codex_home/agents/neocortex.toml" "$codex_base" "profile-codex-neocortex" || failures=$((failures + 1))
|
|
54
|
+
neocortex_managed_profile "$source_dir" "$codex_target/neocortex.toml" "$codex_home/agents/neocortex.toml" "$codex_base" "profile-codex-neocortex" platform || failures=$((failures + 1))
|
|
47
55
|
neocortex_managed_report "[CODEX]" "$codex_home/agents/neocortex.toml (global subagent)"
|
|
48
56
|
|
|
49
57
|
if [ "$project_install" = true ] && [ -d "$dest_dir" ] && [ "$dest_dir/.codex/agents/neocortex.toml" != "$codex_home/agents/neocortex.toml" ]; then
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: neocortex
|
|
3
|
-
description: "🧠 Neocortex v4.
|
|
3
|
+
description: "🧠 Neocortex v4.64.1 | 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.
|
|
107
|
+
│ ### ######## v4.64.1 │
|
|
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.
|
|
3
|
+
description: "🧠 Neocortex v4.64.1 | 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.
|
|
65
|
+
│ ### ######## v4.64.1 │
|
|
66
66
|
│ ######### ##### │
|
|
67
67
|
│ ## ############## Development Orchestrator │
|
|
68
68
|
│ ## ### ###### ## OrNexus Team │
|