@ornexus/neocortex 4.60.63 → 4.60.65
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 +31 -38
- package/install.js +1 -0
- package/install.ps1 +34 -3
- package/install.sh +35 -3
- package/package.json +5 -3
- package/packages/client/dist/cli.js +8 -3
- package/packages/client/dist/commands/activate.js +8 -8
- package/packages/client/dist/commands/architecture-memory-terminal.js +4 -2
- package/packages/client/dist/commands/architecture-non-ui-continuation.d.ts +3 -0
- package/packages/client/dist/commands/architecture-non-ui-continuation.js +1 -0
- package/packages/client/dist/commands/invoke.d.ts +19 -16
- package/packages/client/dist/commands/invoke.js +80 -75
- package/packages/client/dist/commands/mutation-qa-run.js +2 -2
- package/packages/client/dist/commands/planning-generation.js +1 -1
- package/packages/client/dist/commands/planning-memory.d.ts +1 -0
- package/packages/client/dist/commands/planning-memory.js +1 -0
- package/packages/client/dist/commands/private-session.d.ts +1 -0
- package/packages/client/dist/commands/private-session.js +1 -0
- package/packages/client/dist/commands/qa-control.d.ts +4 -0
- package/packages/client/dist/commands/qa-control.js +1 -0
- package/packages/client/dist/commands/qa-scan-browser-launch.d.ts +8 -0
- package/packages/client/dist/commands/qa-scan-browser-launch.js +1 -0
- package/packages/client/dist/commands/qa-scan-browser-route.d.ts +3 -0
- package/packages/client/dist/commands/qa-scan-browser-route.js +1 -0
- package/packages/client/dist/commands/qa-scan-capture.d.ts +43 -0
- package/packages/client/dist/commands/qa-scan-capture.js +5 -5
- package/packages/client/dist/commands/qa-scan-discovery.d.ts +7 -0
- package/packages/client/dist/commands/qa-scan-discovery.js +3 -3
- package/packages/client/dist/commands/qa-scan-review.d.ts +8 -1
- package/packages/client/dist/commands/qa-scan-review.js +5 -5
- package/packages/client/dist/commands/qa-synthetic-backend-capture.d.ts +62 -0
- package/packages/client/dist/commands/qa-synthetic-backend-capture.js +1 -0
- package/packages/client/dist/commands/qa-synthetic-backend-review.d.ts +104 -0
- package/packages/client/dist/commands/qa-synthetic-backend-review.js +1 -0
- package/packages/client/dist/commands/qa-synthetic-backend.d.ts +52 -0
- package/packages/client/dist/commands/qa-synthetic-backend.js +7 -0
- package/packages/client/dist/commands/qa-synthetic-broker-port.d.ts +30 -0
- package/packages/client/dist/commands/qa-synthetic-broker-port.js +1 -0
- package/packages/client/dist/commands/qa-synthetic-browser.d.ts +1 -0
- package/packages/client/dist/commands/qa-synthetic-browser.js +1 -0
- package/packages/client/dist/commands/refactor-characterization.d.ts +4 -2
- package/packages/client/dist/commands/refactor-characterization.js +21 -12
- package/packages/client/dist/commands/refactor-control.d.ts +9 -0
- package/packages/client/dist/commands/refactor-control.js +3 -0
- package/packages/client/dist/commands/refactor-cpp-assertions.d.ts +4 -0
- package/packages/client/dist/commands/refactor-cpp-assertions.js +3 -0
- package/packages/client/dist/commands/refactor-review.js +5 -5
- package/packages/client/dist/commands/refactor-root.d.ts +8 -1
- package/packages/client/dist/commands/refactor-root.js +7 -7
- package/packages/client/dist/commands/refresh-memory.d.ts +1 -0
- package/packages/client/dist/commands/refresh-memory.js +3 -3
- package/packages/client/dist/commands/shared-architecture-non-ui.d.ts +18 -0
- package/packages/client/dist/commands/shared-architecture-non-ui.js +1 -0
- package/packages/client/dist/errors/error-messages.js +1 -1
- package/packages/client/dist/git/direct-yolo-checkpoint.d.ts +5 -1
- package/packages/client/dist/git/direct-yolo-checkpoint.js +4 -4
- package/packages/client/dist/git/git-lifecycle-store.d.ts +2 -0
- package/packages/client/dist/git/git-lifecycle-store.js +9 -8
- package/packages/client/dist/license/license-client.d.ts +3 -1
- package/packages/client/dist/license/license-client.js +1 -1
- package/packages/client/dist/memory/project-memory-path-scope.d.ts +4 -0
- package/packages/client/dist/memory/project-memory-path-scope.js +1 -0
- package/packages/client/dist/memory/project-memory-writer.d.ts +4 -1
- package/packages/client/dist/memory/project-memory-writer.js +16 -16
- package/packages/client/dist/private-execution/codex-executor.d.ts +24 -4
- package/packages/client/dist/private-execution/codex-executor.js +4 -2
- package/packages/client/dist/private-execution/codex-host-runtime.d.ts +10 -0
- package/packages/client/dist/private-execution/codex-host-runtime.js +1 -0
- package/packages/client/dist/private-execution/codex-lifecycle-guard.d.ts +4 -0
- package/packages/client/dist/private-execution/codex-lifecycle-guard.js +1 -0
- package/packages/client/dist/private-execution/codex-scoped-permissions.d.ts +8 -0
- package/packages/client/dist/private-execution/codex-scoped-permissions.js +1 -0
- package/packages/client/dist/private-execution/delivery.d.ts +17 -1
- package/packages/client/dist/private-execution/delivery.js +11 -3
- package/packages/client/dist/private-execution/diagnosis-root-review.d.ts +112 -0
- package/packages/client/dist/private-execution/diagnosis-root-review.js +2 -0
- package/packages/client/dist/private-execution/frozen-handoff.d.ts +2 -0
- package/packages/client/dist/private-execution/frozen-handoff.js +6 -0
- package/packages/client/dist/private-execution/implementation-validation.d.ts +15 -0
- package/packages/client/dist/private-execution/implementation-validation.js +2 -0
- package/packages/client/dist/private-execution/isolated-admission.d.ts +11 -7
- package/packages/client/dist/private-execution/isolated-admission.js +17 -10
- package/packages/client/dist/private-execution/isolated-session.d.ts +68 -0
- package/packages/client/dist/private-execution/isolated-session.js +5 -2
- package/packages/client/dist/private-execution/pact-test-source.d.ts +1 -1
- package/packages/client/dist/private-execution/pact-test-source.js +1 -1
- package/packages/client/dist/private-execution/planning-diagnosis-checkpoint.d.ts +2 -0
- package/packages/client/dist/private-execution/planning-diagnosis-checkpoint.js +5 -5
- package/packages/client/dist/private-execution/planning-generation-checkpoint.d.ts +13 -0
- package/packages/client/dist/private-execution/planning-generation-checkpoint.js +4 -3
- package/packages/client/dist/private-execution/planning-memory-checkpoint.d.ts +32 -0
- package/packages/client/dist/private-execution/planning-memory-checkpoint.js +3 -0
- package/packages/client/dist/private-execution/planning-research-checkpoint.js +4 -4
- package/packages/client/dist/private-execution/root-checkpoint.js +1 -1
- package/packages/client/dist/private-execution/root-memory-git-evidence.d.ts +30 -0
- package/packages/client/dist/private-execution/root-memory-git-evidence.js +3 -0
- package/packages/client/dist/private-execution/root-memory-recovery.d.ts +16 -0
- package/packages/client/dist/private-execution/root-memory-recovery.js +1 -0
- package/packages/client/dist/private-execution/root-memory-request.d.ts +28 -0
- package/packages/client/dist/private-execution/root-memory-request.js +1 -0
- package/packages/client/dist/private-execution/root-memory-scope.d.ts +28 -0
- package/packages/client/dist/private-execution/root-memory-scope.js +1 -0
- package/packages/client/dist/private-execution/root-memory-writer.d.ts +22 -0
- package/packages/client/dist/private-execution/root-memory-writer.js +1 -0
- package/packages/client/dist/private-execution/session-lease.d.ts +19 -0
- package/packages/client/dist/private-execution/session-lease.js +1 -0
- package/packages/client/dist/private-execution/shared-private-admission-types.d.ts +34 -0
- package/packages/client/dist/private-execution/shared-private-admission-types.js +1 -0
- package/packages/client/dist/private-execution/shared-project-validation.d.ts +17 -0
- package/packages/client/dist/private-execution/shared-project-validation.js +1 -0
- package/packages/client/dist/private-execution/shared-root-memory-types.d.ts +37 -0
- package/packages/client/dist/private-execution/shared-root-memory-types.js +1 -0
- package/packages/client/dist/runner/binary.d.ts +1 -1
- package/packages/client/dist/runner/binary.js +1 -1
- package/packages/client/dist/runner/headless/opencode-adapter.js +2 -2
- package/packages/client/dist/yolo/change-evidence-collector.d.ts +2 -2
- package/packages/client/dist/yolo/change-evidence-collector.js +1 -1
- package/packages/client/dist/yolo/spec-envelope-collector.js +2 -2
- package/packages/shared/dist/planning/diagnosis-state.js +5 -2
- package/packages/shared/dist/project-memory-targets.js +243 -0
- package/packages/shared/dist/yolo/change-evidence.js +35 -0
- package/packages/shared/dist/yoloop/branch-unit.js +10 -1
- package/packages/shared/dist/yoloop/root-memory-effect.js +57 -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/cursor/agent.md +2 -2
- package/targets-stubs/deepseek-harness/SKILL.md +64 -0
- package/targets-stubs/gemini-cli/agent.md +2 -2
- package/targets-stubs/opencode/neocortex-root.md +1 -1
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license FSL-1.1
|
|
3
|
-
* Copyright (c) 2026 OrNexus AI
|
|
4
|
-
*
|
|
5
|
-
* This file is part of Neocortex CLI, licensed under the
|
|
6
|
-
* Functional Source License, Version 1.1 (FSL-1.1).
|
|
7
|
-
*
|
|
8
|
-
* Change Date: February 20, 2029
|
|
9
|
-
* Change License: MIT
|
|
10
|
-
*
|
|
11
|
-
* See the LICENSE file in the project root for full license text.
|
|
12
|
-
*/
|
|
13
1
|
import { type PactAnswerReceipt } from './architecture-answers.js';
|
|
14
2
|
import type { YoloopPersistedState } from '../yoloop/shared-yoloop-types.js';
|
|
15
3
|
import { type StateMigrationAuthorityV1 } from '../migrations/state-json.js';
|
|
@@ -19,7 +7,7 @@ import { type ContinuityProcessingSummaryCursorTarget } from '../continuity/cont
|
|
|
19
7
|
import type { ProjectEvidenceEnvelope } from '../evidence/types.js';
|
|
20
8
|
import { detectNativeHostAttestation } from '../adapters/platform-detector.js';
|
|
21
9
|
import type { YoloSpecEnvelopeV1 } from '../../../shared/dist/yolo/spec-envelope.js';
|
|
22
|
-
import type {
|
|
10
|
+
import type { YoloChangeEvidence } from '../../../shared/dist/yolo/change-evidence.js';
|
|
23
11
|
import { type InvokeEffectContext, type StrictReadOnlyInvokeEnvelope } from '../../../shared/dist/strict-readonly.js';
|
|
24
12
|
import { type InvokeInputEvidenceV1, type InvokeInputEnvelopeV2, type InvokeInputSourceV2, type InvocationMalformedInputReasonV1, type InvocationAdmissionResultV1, type ProjectIdentityMigrationRequestV1 } from '../../../shared/dist/invocation/index.js';
|
|
25
13
|
import { type P205TransientExecutionAuthority } from '../git/git-lifecycle-store.js';
|
|
@@ -31,7 +19,7 @@ export declare function getOrCreatePendingEpicIdempotencyKey(projectRoot: string
|
|
|
31
19
|
readonly fingerprint: string;
|
|
32
20
|
};
|
|
33
21
|
export declare function clearPendingEpicIdempotencyKey(projectRoot: string, fingerprint: string): void;
|
|
34
|
-
export declare function recordPendingEpicReservation(projectRoot: string, fingerprint: string, claimId: string, epicId: string): void;
|
|
22
|
+
export declare function recordPendingEpicReservation(projectRoot: string, fingerprint: string, claimId: string, epicId: string, planningProtocol?: 'root-staged-v1'): void;
|
|
35
23
|
export interface InvokeOptions {
|
|
36
24
|
/** Raw args from the user (e.g., "*yolo @docs/stories/1.1.story.md") */
|
|
37
25
|
readonly args: string;
|
|
@@ -59,6 +47,10 @@ export interface InvokeOptions {
|
|
|
59
47
|
readonly strictReadOnly?: boolean;
|
|
60
48
|
/** Explicit P222.16 beta; never inferred from Codex being installed. */
|
|
61
49
|
readonly privateExecutionBeta?: boolean;
|
|
50
|
+
/** Explicit local subscription model override; never part of server args or a fallback. */
|
|
51
|
+
readonly privateExecutionModel?: string;
|
|
52
|
+
/** Host-only safe failure observation; never serialized to HTTP or agent input. */
|
|
53
|
+
readonly onPrivateExecutionWorkspaceFailure?: (observation: import('../private-execution/codex-executor.js').PrivateCodexWorkspaceEffectFailureV1) => void;
|
|
62
54
|
/** Test-only parent for root-owned private YOLO/planning clones; CLI leaves unset. */
|
|
63
55
|
readonly privateExecutionWorkspaceParent?: string;
|
|
64
56
|
}
|
|
@@ -245,6 +237,7 @@ export interface InvokeCliParsedOptions {
|
|
|
245
237
|
readonly platformTarget?: string;
|
|
246
238
|
readonly strictReadOnly: boolean;
|
|
247
239
|
readonly privateExecutionBeta: boolean;
|
|
240
|
+
readonly privateExecutionModel?: string;
|
|
248
241
|
}
|
|
249
242
|
type InvokeCommandLevelWatchCommand = 'goal' | 'loop' | 'jobs';
|
|
250
243
|
type InvokeCommandLevelWatchOperation = 'create' | 'start' | 'resume' | 'run-once' | 'watch';
|
|
@@ -516,7 +509,7 @@ interface InvokeRequestBodyBase {
|
|
|
516
509
|
readonly hostKind: 'codex-cli';
|
|
517
510
|
readonly hostVersion: string;
|
|
518
511
|
readonly sandboxProof: {
|
|
519
|
-
readonly schemaVersion:
|
|
512
|
+
readonly schemaVersion: 6;
|
|
520
513
|
readonly trust: 'client-self-attested';
|
|
521
514
|
readonly credentialKind: 'chatgpt-subscription';
|
|
522
515
|
readonly authIsolation: 'passed';
|
|
@@ -526,6 +519,7 @@ interface InvokeRequestBodyBase {
|
|
|
526
519
|
readonly mcpIsolation: 'passed';
|
|
527
520
|
readonly environmentIsolation: 'passed';
|
|
528
521
|
readonly networkDenied: 'passed';
|
|
522
|
+
readonly webSearchDisabled: 'passed';
|
|
529
523
|
readonly observedAtMs: number;
|
|
530
524
|
};
|
|
531
525
|
};
|
|
@@ -538,7 +532,7 @@ interface InvokeRequestBodyBase {
|
|
|
538
532
|
readonly registryChecksum: string;
|
|
539
533
|
readonly strictReadOnly?: StrictReadOnlyInvokeEnvelope;
|
|
540
534
|
readonly yoloSpecEnvelope?: YoloSpecEnvelopeV1;
|
|
541
|
-
readonly yoloChangeEvidence?:
|
|
535
|
+
readonly yoloChangeEvidence?: YoloChangeEvidence;
|
|
542
536
|
}
|
|
543
537
|
export type InvokeRequestBody = InvokeRequestBodyBase & ({
|
|
544
538
|
readonly args: string;
|
|
@@ -612,6 +606,8 @@ export declare function __resetSchemaDriftWarnedForTests(): void;
|
|
|
612
606
|
export interface StateSnapshotCollectionOptions {
|
|
613
607
|
readonly epicAware?: boolean;
|
|
614
608
|
readonly projectless?: boolean;
|
|
609
|
+
/** Opt-in physical P03 reopening for private root planning, never ordinary dashboards. */
|
|
610
|
+
readonly verifyPlanningGeneration?: boolean;
|
|
615
611
|
/** Process-local proof keyed by story; never read from or written to JSON. */
|
|
616
612
|
readonly p205Authorities?: Readonly<Record<string, P205TransientExecutionAuthority>>;
|
|
617
613
|
}
|
|
@@ -699,6 +695,10 @@ export declare function sendEpicClaimAcknowledgement(serverUrl: string, authToke
|
|
|
699
695
|
readonly projectId: string;
|
|
700
696
|
readonly epicId: string;
|
|
701
697
|
readonly status: 'materialized' | 'abandoned';
|
|
698
|
+
readonly planningCheckpoint?: {
|
|
699
|
+
readonly memoryReceiptId: string;
|
|
700
|
+
readonly snapshot: Record<string, unknown>;
|
|
701
|
+
};
|
|
702
702
|
}, retryOptions?: InvokePhysicalRetryOptions): Promise<boolean>;
|
|
703
703
|
export declare function acknowledgeMaterializedPendingEpicClaims(projectRoot: string, stateSnapshot: StateSnapshot, serverUrl: string, authToken: string, projectId: string | undefined, retryOptions?: InvokePhysicalRetryOptions): Promise<number>;
|
|
704
704
|
/**
|
|
@@ -723,6 +723,9 @@ export declare function extractPreFlightTrigger(args: string): string | null;
|
|
|
723
723
|
export declare const INVOKE_HELP_TEXT: string;
|
|
724
724
|
export declare function parseInvokeCliOptions(argv: string[], readers?: InvokeCliInputReaders): InvokeCliParsedOptions;
|
|
725
725
|
export declare function writeInvokeCliSuccessOutput(result: InvokeResult, parsed: Pick<InvokeCliParsedOptions, 'format' | 'watch' | 'commandLevelWatch'>, stdout?: InvokeWatchWritable, stderr?: InvokeWatchWritable): void;
|
|
726
|
+
/** P222.26 T2.5: process.exit must wait for sanitized pipe output to finish.
|
|
727
|
+
* A failed or stalled output stream cannot produce a successful CLI receipt. */
|
|
728
|
+
export declare function flushInvokeCliOutput(stdout?: NodeJS.WritableStream, stderr?: NodeJS.WritableStream): Promise<boolean>;
|
|
726
729
|
/**
|
|
727
730
|
* CLI handler for the invoke command.
|
|
728
731
|
* Parses CLI args and delegates to invoke().
|