@ornexus/neocortex 4.60.61 → 4.60.63
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 -0
- package/dist/sbom.cdx.json +196 -66
- package/install.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +13 -6
- package/packages/client/dist/cli.js +52 -2
- package/packages/client/dist/commands/invoke.d.ts +1 -0
- package/packages/client/dist/commands/invoke.js +81 -72
- package/packages/client/dist/commands/legacy-epic-terminal.d.ts +9 -0
- package/packages/client/dist/commands/legacy-epic-terminal.js +1 -0
- package/packages/client/dist/commands/legacy-story-pr.d.ts +2 -1
- package/packages/client/dist/commands/legacy-story-pr.js +1 -1
- package/packages/client/dist/commands/mutation-qa-checkpoint.d.ts +39 -0
- package/packages/client/dist/commands/mutation-qa-checkpoint.js +5 -0
- package/packages/client/dist/commands/mutation-qa-gate.d.ts +35 -0
- package/packages/client/dist/commands/mutation-qa-gate.js +1 -0
- package/packages/client/dist/commands/mutation-qa-git.d.ts +2 -0
- package/packages/client/dist/commands/mutation-qa-git.js +1 -0
- package/packages/client/dist/commands/mutation-qa-policy.d.ts +15 -0
- package/packages/client/dist/commands/mutation-qa-policy.js +1 -0
- package/packages/client/dist/commands/mutation-qa-run.d.ts +14 -0
- package/packages/client/dist/commands/mutation-qa-run.js +3 -0
- package/packages/client/dist/commands/mutation-qa-verdict.d.ts +21 -0
- package/packages/client/dist/commands/mutation-qa-verdict.js +1 -0
- package/packages/client/dist/commands/mutation-qa.d.ts +22 -0
- package/packages/client/dist/commands/mutation-qa.js +1 -0
- package/packages/client/dist/commands/property-qa.d.ts +1 -0
- package/packages/client/dist/commands/property-qa.js +1 -0
- package/packages/client/dist/commands/qa-scan-capture.d.ts +52 -0
- package/packages/client/dist/commands/qa-scan-capture.js +11 -0
- package/packages/client/dist/commands/qa-scan-discovery.d.ts +36 -0
- package/packages/client/dist/commands/qa-scan-discovery.js +3 -0
- package/packages/client/dist/commands/qa-scan-review.d.ts +119 -0
- package/packages/client/dist/commands/qa-scan-review.js +5 -0
- package/packages/client/dist/commands/refactor-characterization.d.ts +47 -0
- package/packages/client/dist/commands/refactor-characterization.js +12 -0
- package/packages/client/dist/commands/refactor-commit.d.ts +45 -0
- package/packages/client/dist/commands/refactor-commit.js +13 -0
- package/packages/client/dist/commands/refactor-review.d.ts +37 -0
- package/packages/client/dist/commands/refactor-review.js +5 -0
- package/packages/client/dist/commands/refactor-root.d.ts +85 -0
- package/packages/client/dist/commands/refactor-root.js +7 -0
- package/packages/client/dist/generated/command-registry.generated.d.ts +9 -9
- package/packages/client/dist/generated/command-registry.generated.js +1 -1
- package/packages/client/dist/generated/public-projections.generated.d.ts +20 -20
- package/packages/client/dist/generated/public-projections.generated.js +1 -1
- package/packages/client/dist/git/legacy-story-pr.d.ts +137 -6
- package/packages/client/dist/git/legacy-story-pr.js +51 -43
- package/packages/client/dist/license/license-client.js +1 -1
- package/packages/client/dist/package.json +1 -0
- package/packages/client/dist/private-execution/clean-baseline.d.ts +1 -0
- package/packages/client/dist/private-execution/clean-baseline.js +2 -2
- package/packages/client/dist/private-execution/delivery.d.ts +49 -4
- package/packages/client/dist/private-execution/delivery.js +4 -2
- package/packages/client/dist/private-execution/isolated-admission.d.ts +7 -0
- package/packages/client/dist/private-execution/isolated-admission.js +10 -10
- package/packages/client/dist/private-execution/isolated-session.js +2 -2
- package/packages/client/dist/private-execution/private-report-store.d.ts +17 -0
- package/packages/client/dist/private-execution/private-report-store.js +1 -0
- package/packages/client/dist/private-execution/property-test-candidate.d.ts +14 -0
- package/packages/client/dist/private-execution/property-test-candidate.js +1 -0
- package/packages/client/dist/private-execution/property-test-choices.d.ts +15 -0
- package/packages/client/dist/private-execution/property-test-choices.js +3 -0
- package/packages/client/dist/private-execution/property-test-plan.d.ts +65 -0
- package/packages/client/dist/private-execution/property-test-plan.js +7 -0
- package/packages/client/dist/private-execution/property-test-review.d.ts +58 -0
- package/packages/client/dist/private-execution/property-test-review.js +4 -0
- package/packages/client/dist/private-execution/property-test-runtime.d.ts +18 -0
- package/packages/client/dist/private-execution/property-test-runtime.js +9 -0
- package/packages/client/dist/private-execution/property-test-source.d.ts +8 -0
- package/packages/client/dist/private-execution/property-test-source.js +1 -0
- package/packages/client/dist/state/project-state-snapshot.js +1 -1
- package/packages/shared/dist/generated/command-registry.generated.js +9 -9
- package/packages/shared/dist/generated/invocation-schema.generated.js +2 -2
- package/packages/shared/dist/generated/public-projections.generated.js +18 -18
- package/packages/shared/dist/invocation/index.d.ts +1 -1
- package/packages/shared/dist/invocation/index.js +13 -0
- package/packages/shared/dist/merge-readiness/c12-registry-projection.js +111 -0
- package/packages/shared/dist/merge-readiness/c12-remote-observation.js +60 -0
- package/packages/shared/dist/package.json +1 -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/gemini-cli/agent.md +2 -2
- package/targets-stubs/opencode/neocortex-root.md +1 -1
- package/targets-stubs/vscode/neocortex.agent.md +2 -2
|
@@ -16,6 +16,11 @@ Commands:
|
|
|
16
16
|
story-checkpoint Root-owned direct-*yolo commit/checkpoint boundary
|
|
17
17
|
legacy-story-branch Root-owned setup and C01 checkpoint for recorded story-branch projects
|
|
18
18
|
legacy-story-pr Root-owned legacy C08/C09 checkpoint, C10 PR, C11 review and C12 merge boundary
|
|
19
|
+
legacy-epic-terminal Physical C12 preflight and root QA acceptance; never releases quota
|
|
20
|
+
mutation-qa Root-owned mutation-test scope, Stryker checkpoint and local QA decision
|
|
21
|
+
property-qa Local-only property-test preflight, sandbox proof and root semantic QA review
|
|
22
|
+
qa-scan-review Root-only loopback browser capture, physical QA review and multi-surface reconciliation
|
|
23
|
+
refactor-root Root-only scope, Node characterization, semantic QA and Git checkpoint
|
|
19
24
|
native-agent Reserve and observe authorized native child dispatches
|
|
20
25
|
architecture-answers Save explicit Pact decisions in the local private store
|
|
21
26
|
config Inspect or change managed subagent approval mode
|
|
@@ -107,15 +112,60 @@ Examples:
|
|
|
107
112
|
neocortex-client legacy-story-pr plan --story P174.03.913359 --project-root . --format json
|
|
108
113
|
neocortex-client legacy-story-pr create --story P174.03.913359 --project-root . --body-file /tmp/reviewed-pr-body.md --authorize-pr-create --format json
|
|
109
114
|
neocortex-client legacy-story-pr review-plan --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
115
|
+
neocortex-client legacy-story-pr review-observe --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
110
116
|
neocortex-client legacy-story-pr review-accept --story P174.03.913359 --pr-number 41 --project-root . --report-file /tmp/review-report.json --authorize-review --format json
|
|
111
117
|
neocortex-client legacy-story-pr merge-plan --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
118
|
+
neocortex-client legacy-story-pr merge-debt-plan --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
112
119
|
neocortex-client legacy-story-pr merge-prepare --story P174.03.913359 --pr-number 41 --authorize-pr-update --project-root . --format json
|
|
120
|
+
neocortex-client legacy-story-pr merge-prepare --story P174.03.913359 --pr-number 41 --authorize-pr-update --record-remote-debt --project-root . --format json
|
|
113
121
|
neocortex-client legacy-story-pr merge-decision --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
114
122
|
neocortex-client legacy-story-pr merge-debt-record --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
115
123
|
neocortex-client legacy-story-pr merge-execute --story P174.03.913359 --pr-number 41 --authorize-merge --project-root . --format json
|
|
116
124
|
neocortex-client legacy-story-pr merge-reconcile --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
117
125
|
neocortex-client legacy-story-pr post-merge-plan --story P174.03.913359 --pr-number 41 --project-root . --format json
|
|
118
126
|
neocortex-client legacy-story-pr post-merge-accept --story P174.03.913359 --pr-number 41 --authorize-post-merge --project-root . --format json
|
|
127
|
+
neocortex-client legacy-epic-terminal plan --epic P174 --project-root . --format json
|
|
128
|
+
neocortex-client legacy-epic-terminal accept --epic P174 --authorize-root-qa --project-root . --format json
|
|
129
|
+
neocortex-client legacy-epic-terminal status --epic P174 --project-root . --format json
|
|
130
|
+
neocortex-client mutation-qa plan --project-root . --base-ref refs/remotes/origin/main --format json
|
|
131
|
+
neocortex-client mutation-qa execute --project-root . --base-ref refs/remotes/origin/main --plan-sha <PLAN_SHA256> --authorize-run --format json
|
|
132
|
+
neocortex-client mutation-qa run --project-root . --base-ref refs/remotes/origin/main --plan-sha <PLAN_SHA256> --authorize-run --record-checkpoint --format json
|
|
133
|
+
neocortex-client mutation-qa checkpoint --project-root . --base-ref refs/remotes/origin/main --plan-sha <PLAN_SHA256> --format json
|
|
134
|
+
neocortex-client mutation-qa gate --project-root . --base-ref refs/remotes/origin/main --plan-sha <PLAN_SHA256> --format json
|
|
135
|
+
# For a root-committed private snapshot, use --base-sha <EXACT_ANCESTOR_SHA> instead of --base-ref.
|
|
136
|
+
# mutation-qa gate exits 0 only for passed or not-applicable; all other decisions exit 1.
|
|
137
|
+
# execute exits 0 for passed/not-applicable, 2 for debt-backed continuation without QA pass, 1 for blocked/invalid.
|
|
138
|
+
neocortex-client property-qa inspect --project-root . --format json
|
|
139
|
+
neocortex-client property-qa confirm --project-root . --format json < choices.json
|
|
140
|
+
neocortex-client property-qa candidate --project-root . --format json
|
|
141
|
+
neocortex-client property-qa verify --project-root . --authorize-run --format json
|
|
142
|
+
neocortex-client property-qa review-plan --project-root . --format json
|
|
143
|
+
neocortex-client property-qa review-accept --project-root . --authorize-review --format json < /owner-only/path/root-review.json
|
|
144
|
+
neocortex-client property-qa review-status --project-root . --format json
|
|
145
|
+
neocortex-client qa-scan-review plan --project-root . --surface portal --target-url http://127.0.0.1:3000 --format json
|
|
146
|
+
neocortex-client qa-scan-review capture --project-root . --surface portal --target-url http://127.0.0.1:3000 --authorize-capture --format json
|
|
147
|
+
neocortex-client qa-scan-review interact --project-root . --surface portal --target-url http://127.0.0.1:3000 --action-id button-updates-status --expected-status done --authorize-interaction --format json
|
|
148
|
+
neocortex-client qa-scan-review accept --project-root . --surface portal --target-url http://127.0.0.1:3000 --authorize-review --format json < /owner-only/path/root-qa-report.json
|
|
149
|
+
neocortex-client qa-scan-review status --project-root . --surface portal --target-url http://127.0.0.1:3000 --format json
|
|
150
|
+
neocortex-client qa-scan-review discover --project-root . --target-url http://127.0.0.1:3000 --authorize-discovery --format json
|
|
151
|
+
neocortex-client qa-scan-review discovery-status --project-root . --discovery-sha <DISCOVERY_SHA256> --format json
|
|
152
|
+
neocortex-client qa-scan-review aggregate --project-root . --format json < /owner-only/path/surface-targets.json
|
|
153
|
+
neocortex-client qa-scan-review discovered-phase-checkpoint --project-root . --discovery-sha <DISCOVERY_SHA256> --authorize-root-checkpoint --format json < /owner-only/path/surface-targets.json
|
|
154
|
+
neocortex-client qa-scan-review discovered-phase-status --project-root . --discovery-sha <DISCOVERY_SHA256> --format json < /owner-only/path/surface-targets.json
|
|
155
|
+
neocortex-client refactor-root plan --project-root . --story P222.26 --format json
|
|
156
|
+
neocortex-client refactor-root admit --project-root . --story P222.26 --plan-sha <PLAN_SHA256> --path src/example.ts --authorize-root-edit --format json
|
|
157
|
+
neocortex-client refactor-root admit --project-root . --story P222.26 --plan-sha <PLAN_SHA256> --path src/example.ts --new-path src/example.test.ts --authorize-root-edit --format json
|
|
158
|
+
neocortex-client refactor-root verify --project-root . --admission-sha <ADMISSION_SHA256> --format json
|
|
159
|
+
neocortex-client refactor-root characterize --project-root . --admission-sha <ADMISSION_SHA256> --phase baseline --test-path src/example.test.mjs --causal-path src/example.mjs --authorize-run --format json
|
|
160
|
+
neocortex-client refactor-root characterize --project-root . --admission-sha <ADMISSION_SHA256> --phase after --baseline-sha <BASELINE_SHA256> --test-path src/example.test.mjs --causal-path src/example.mjs --authorize-run --format json
|
|
161
|
+
neocortex-client refactor-root characterize --project-root . --admission-sha <ADMISSION_SHA256> --phase baseline --runner vitest --test-path src/example.test.ts --causal-path src/example.ts --dependency package.json --dependency package-lock.json --authorize-run --format json
|
|
162
|
+
neocortex-client refactor-root review-accept --project-root . --admission-sha <ADMISSION_SHA256> --baseline-sha <BASELINE_SHA256> --authorize-run --authorize-root-review --format json < private-review.json
|
|
163
|
+
neocortex-client refactor-root review-status --project-root . --admission-sha <ADMISSION_SHA256> --baseline-sha <BASELINE_SHA256> --authorize-run --format json
|
|
164
|
+
neocortex-client refactor-root commit-plan --project-root . --admission-sha <ADMISSION_SHA256> --baseline-sha <BASELINE_SHA256> --authorize-run --authorize-root-commit-plan --format json
|
|
165
|
+
neocortex-client refactor-root commit-staged --project-root . --plan-sha <PLAN_SHA256> --format json
|
|
166
|
+
neocortex-client refactor-root commit-seal --project-root . --plan-sha <PLAN_SHA256> --authorize-root-seal --format json
|
|
167
|
+
neocortex-client refactor-root commit-status --project-root . --plan-sha <PLAN_SHA256> --format json
|
|
168
|
+
# Keep the review report outside the project in an owner-only file; review-accept reruns causal QA.
|
|
119
169
|
neocortex-client architecture-answers save --project-root . # JSON via stdin; never pass private URLs in argv
|
|
120
170
|
|
|
121
171
|
Command-level watch inside --args:
|
|
@@ -146,5 +196,5 @@ Invocation payload boundary:
|
|
|
146
196
|
|
|
147
197
|
License:
|
|
148
198
|
Licensed under BSL-1.1 (Business Source License 1.1)
|
|
149
|
-
`.trim(),
|
|
150
|
-
`),process.exit(0));const
|
|
199
|
+
`.trim(),m=new Set(["pm","install","postinstall","preinstall","prepublish","postpublish","preuninstall","postuninstall","preprepare","prepare","postprepare"]);async function d(){const c=process.argv.slice(2),a=c[0];a&&m.has(a.toLowerCase())&&process.exit(0),(!a||a==="--help"||a==="-h")&&(console.log(l),process.exit(0)),(a==="--version"||a==="-v")&&(console.log(p()),process.stderr.write(`Licensed under BSL-1.1 (Business Source License 1.1)
|
|
200
|
+
`),process.exit(0));const t=c.slice(1);switch(a){case"invoke":{const{invokeCliHandler:o}=await import("./commands/invoke.js"),e=await o(t);process.exit(e);break}case"activate":{const{activate:o}=await import("./commands/activate.js");let e,n,i=!1;for(let r=0;r<t.length;r++){const s=t[r];s==="--server-url"?n=t[++r]:s==="--non-interactive"?i=!0:s==="--help"||s==="-h"?(console.log(l),process.exit(0)):s.startsWith("-")||(e=s)}e||(console.error("Error: License key is required."),console.error("Usage: neocortex-client activate <license-key>"),console.error("Example: neocortex-client activate NX-PRO-ABC-123"),process.exit(1));try{const r=await o({licenseKey:e,serverUrl:n,nonInteractive:i});r.success?(console.log(r.message),process.exit(0)):(console.error(r.message),process.exit(1))}catch(r){const s=r instanceof Error?r.message:String(r);console.error(`Activation failed: ${s}`),process.exit(1)}break}case"cache-status":{console.log("Cache status requires an active client session."),console.log("Use this command within a running Neocortex client context."),process.exit(0);break}case"config":{const{configCliHandler:o}=await import("./commands/config.js"),e=await o(t);process.exit(e);break}case"refresh-memory":{const{refreshMemoryCliHandler:o}=await import("./commands/refresh-memory.js"),e=await o(t);process.exit(e);break}case"architecture-memory":{const{architectureMemoryTerminalCliHandler:o}=await import("./commands/architecture-memory-terminal.js"),e=await o(t);process.exit(e);break}case"planning-diagnosis":{const{planningDiagnosisCliHandler:o}=await import("./commands/planning-diagnosis.js"),e=await o(t);process.exit(e);break}case"planning-research":{const{planningResearchCliHandler:o}=await import("./commands/planning-research.js"),e=await o(t);process.exit(e);break}case"planning-generation":{const{planningGenerationCliHandler:o}=await import("./commands/planning-generation.js"),e=await o(t);process.exit(e);break}case"story-checkpoint":{const{storyCheckpointCliHandler:o}=await import("./commands/story-checkpoint.js"),e=await o(t);process.exit(e);break}case"legacy-story-branch":{const{legacyStoryBranchCliHandler:o}=await import("./commands/legacy-story-branch.js"),e=await o(t);process.exit(e);break}case"legacy-story-pr":{const{legacyStoryPrCliHandler:o}=await import("./commands/legacy-story-pr.js"),e=await o(t);process.exit(e);break}case"legacy-epic-terminal":{const{legacyEpicTerminalCliHandler:o}=await import("./commands/legacy-epic-terminal.js"),e=await o(t);process.exit(e);break}case"mutation-qa":{const{mutationQaCliHandler:o}=await import("./commands/mutation-qa.js"),e=await o(t);process.exit(e);break}case"property-qa":{const{propertyQaCliHandler:o}=await import("./commands/property-qa.js"),e=await o(t);process.exit(e);break}case"qa-scan-review":{const{qaScanReviewCliHandler:o}=await import("./commands/qa-scan-review.js"),e=await o(t);process.exit(e);break}case"refactor-root":{if(t[0]==="characterize"){const{refactorCharacterizationCliHandler:n}=await import("./commands/refactor-characterization.js");process.exit(n(t))}if(t[0]==="review-accept"||t[0]==="review-status"){const{refactorReviewCliHandler:n}=await import("./commands/refactor-review.js");process.exit(await n(t))}if(t[0]?.startsWith("commit-")){const{refactorCommitCliHandler:n}=await import("./commands/refactor-commit.js");process.exit(n(t))}const{refactorRootCliHandler:o}=await import("./commands/refactor-root.js"),e=o(t);process.exit(e);break}case"native-agent":{const{nativeAgentCliHandler:o}=await import("./commands/native-agent.js"),e=await o(t);process.exit(e);break}case"architecture-answers":{const{architectureAnswersCliHandler:o}=await import("./commands/architecture-answers.js"),e=await o(t);process.exit(e);break}case"update":{console.log("To update Neocortex, run:"),console.log(" neocortex update"),console.log(""),console.log("Or manually:"),console.log(" npm install -g @ornexus/neocortex@latest"),process.exit(0);break}default:console.error(`Unknown command: ${a}`),console.error('Run "neocortex-client --help" for usage information.'),process.exit(1)}}d().catch(c=>{console.error(`Fatal error: ${c instanceof Error?c.message:String(c)}`),process.exit(1)});
|
|
@@ -508,6 +508,7 @@ interface InvokeRequestBodyBase {
|
|
|
508
508
|
readonly pathCount: number;
|
|
509
509
|
readonly publicSafe: true;
|
|
510
510
|
};
|
|
511
|
+
readonly propertyTestExecutionInput?: import('../private-execution/property-test-plan.js').PropertyTestExecutionInput;
|
|
511
512
|
readonly platformTarget?: string;
|
|
512
513
|
readonly nativeHostAttestation?: ReturnType<typeof detectNativeHostAttestation>;
|
|
513
514
|
readonly privateExecution?: {
|