@ornexus/neocortex 4.60.65 → 4.60.67

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.
Files changed (51) hide show
  1. package/dist/release-source.json +1 -1
  2. package/dist/sbom.cdx.json +1598 -1640
  3. package/install.ps1 +1 -1
  4. package/install.sh +2 -1
  5. package/package.json +17 -7
  6. package/packages/client/dist/cli.js +15 -2
  7. package/packages/client/dist/commands/architecture-root-binding.js +1 -1
  8. package/packages/client/dist/commands/doctor.d.ts +135 -0
  9. package/packages/client/dist/commands/doctor.js +2 -0
  10. package/packages/client/dist/commands/invoke.d.ts +19 -1
  11. package/packages/client/dist/commands/invoke.js +83 -82
  12. package/packages/client/dist/commands/story-checkpoint.d.ts +3 -1
  13. package/packages/client/dist/commands/story-checkpoint.js +1 -1
  14. package/packages/client/dist/continuity/sqlite-store.js +1 -1
  15. package/packages/client/dist/git/direct-yolo-c01-retry.d.ts +21 -0
  16. package/packages/client/dist/git/direct-yolo-c01-retry.js +4 -0
  17. package/packages/client/dist/git/direct-yolo-checkpoint.d.ts +1 -5
  18. package/packages/client/dist/git/direct-yolo-checkpoint.js +4 -4
  19. package/packages/client/dist/git/git-lifecycle-store.d.ts +0 -2
  20. package/packages/client/dist/git/git-lifecycle-store.js +8 -9
  21. package/packages/client/dist/private-execution/clean-baseline.d.ts +2 -3
  22. package/packages/client/dist/private-execution/clean-baseline.js +2 -2
  23. package/packages/client/dist/private-execution/isolated-admission.d.ts +2 -0
  24. package/packages/client/dist/private-execution/isolated-admission.js +16 -11
  25. package/packages/client/dist/runner/headless/run-yoloop.d.ts +4 -1
  26. package/packages/client/dist/runner/headless/run-yoloop.js +2 -2
  27. package/packages/client/dist/runner-cli.js +0 -0
  28. package/packages/client/dist/yolo/invoke-envelope-capability.d.ts +16 -0
  29. package/packages/client/dist/yolo/invoke-envelope-capability.js +1 -0
  30. package/packages/client/dist/yolo/spec-envelope-collector.d.ts +7 -0
  31. package/packages/client/dist/yolo/spec-envelope-collector.js +3 -3
  32. package/packages/shared/dist/architecture-non-ui-scope.js +22 -0
  33. package/packages/shared/dist/architecture-public-topology.js +11 -0
  34. package/packages/shared/dist/compatibility/index.js +476 -0
  35. package/packages/shared/dist/invocation/index.js +4 -2
  36. package/packages/shared/dist/private-qa-structural-admission.js +14 -0
  37. package/packages/shared/dist/private-yolo-predecessor-decision.js +32 -0
  38. package/packages/shared/dist/project-validation-commands.js +74 -0
  39. package/packages/shared/dist/yolo/spec-envelope.js +2 -0
  40. package/packages/shared/dist/yoloop/release-blocked.js +653 -0
  41. package/targets-stubs/antigravity/gemini.md +1 -1
  42. package/targets-stubs/antigravity/skill/SKILL.md +3 -2
  43. package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
  44. package/targets-stubs/claude-code/neocortex-root.md +5 -5
  45. package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
  46. package/targets-stubs/claude-code/neocortex.md +8 -9
  47. package/targets-stubs/codex/AGENTS.md +3 -3
  48. package/targets-stubs/cursor/agent.md +4 -3
  49. package/targets-stubs/gemini-cli/agent.md +5 -4
  50. package/targets-stubs/opencode/neocortex-root.md +3 -3
  51. package/targets-stubs/vscode/neocortex.agent.md +5 -4
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex-root
3
- description: "🧠 Neocortex Root Agent v4.60.65 | OrNexus Team"
3
+ description: "🧠 Neocortex Root Agent v4.60.67 | 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.60.65 │
111
+ │ ### ######## v4.60.67 │
112
112
  │ ######### ##### │
113
113
  │ ## ############## Development Orchestrator │
114
114
  │ ## ### ###### ## OrNexus Team │
@@ -226,7 +226,7 @@ operator remediation according to the server response.
226
226
  A child `*yolo` terminal success, including a merge/status `done` result, stops
227
227
  only that child story. It is not a yoloop stop. After the child returns, I
228
228
  resume ownership as the root agent and re-invoke `*yoloop` when the latest
229
- yoloop metadata has `yoloopComplete === false` and `yoloopAborted === false`.
229
+ yoloop metadata has `yoloopComplete === false`, `yoloopAborted === false`, and `yoloopReleaseBlocked !== true`.
230
230
 
231
231
  ## Exemplos
232
232
 
@@ -273,7 +273,7 @@ Per iteration, when a `kind: 'task'` directive is returned:
273
273
  prompt only, such as `*yolo @docs/stories/<id>.story.md`.
274
274
  3. Wait for the child execution to return.
275
275
  4. Re-invoke `*yoloop <args>` only when the latest response metadata has all
276
- of: `yoloopComplete === false`, `yoloopAborted === false`,
276
+ of: `yoloopComplete === false`, `yoloopAborted === false`, `yoloopReleaseBlocked !== true`,
277
277
  `safeToContinueYoloop !== false`, and the latest scoped CI merge decision,
278
278
  when present, has `blockingChecks=[]`. Otherwise STOP and report the
279
279
  outcome to the user.
@@ -291,7 +291,7 @@ Skill(skill="loop", args="@neocortex *yoloop @docs/epics/")
291
291
 
292
292
  The `/loop` skill repeatedly invokes `@neocortex *yoloop @docs/epics/` until one
293
293
  of the termination tokens appears in the response body (`[YOLOOP_COMPLETE]`,
294
- `[YOLOOP_ABORTED]`).
294
+ `[YOLOOP_ABORTED]`, `[YOLOOP_RELEASE_BLOCKED]`).
295
295
 
296
296
  When public metadata includes `epicTerminalGitDirective`, the root executes it
297
297
  before re-invoking yoloop. The recorded origin is authoritative; never assume
@@ -4,7 +4,7 @@ agent:
4
4
  name: 'Neocortex'
5
5
  title: 'Development Orchestrator'
6
6
  icon: '>'
7
- version: '4.60.65'
7
+ version: '4.60.67'
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.60.65 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.60.67 | OrNexus Team"
4
4
  model: opus
5
5
  color: blue
6
6
  permissionMode: bypassPermissions
@@ -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.60.65 │
107
+ │ ### ######## v4.60.67 │
108
108
  │ ######### ##### │
109
109
  │ ## ############## Development Orchestrator │
110
110
  │ ## ### ###### ## OrNexus Team │
@@ -205,8 +205,8 @@ This is the legacy skill-only fallback: never spawn a child subagent from
205
205
 
206
206
  A child `*yolo` terminal success, including a merge/status `done` result, stops
207
207
  only that child story. It is not a yoloop stop. After the child returns, the root
208
- Claude Code agent resumes ownership and re-invokes `*yoloop` when the latest
209
- yoloop metadata has `yoloopComplete === false` and `yoloopAborted === false`.
208
+ Claude Code agent resumes ownership and re-invokes `*yoloop` unless the latest
209
+ metadata says complete, aborted, or release-blocked.
210
210
 
211
211
  For architecture planning, a returned `kind: 'task'` directive authorizes only
212
212
  the single registered stage command in its `promptTemplate`. The child executes
@@ -277,9 +277,8 @@ For each `SkillDirective` with `skill === 'loop'`, invoke the Skill tool:
277
277
  - Skill name: `loop`
278
278
  - Args: the directive's `args` field, verbatim. Typical value:
279
279
  `@neocortex *yoloop @<dir>` (echoes the original user invocation).
280
- - Termination: pass the directive's `terminationTokens` as the loop's exit conditions.
281
- The `/loop` skill watches for `[YOLOOP_COMPLETE]` (success path) and
282
- `[YOLOOP_ABORTED]` (failure path); first match terminates.
280
+ - Termination: pass `terminationTokens` as exit conditions. The first matching
281
+ complete, aborted, or release-blocked token stops the loop.
283
282
 
284
283
  Example invocation:
285
284
 
@@ -340,7 +339,7 @@ Server response (abbreviated):
340
339
  "kind": "skill",
341
340
  "skill": "loop",
342
341
  "args": "@neocortex *yoloop @docs/epics/",
343
- "terminationTokens": ["[YOLOOP_COMPLETE]", "[YOLOOP_ABORTED]"]
342
+ "terminationTokens": ["[YOLOOP_COMPLETE]", "[YOLOOP_ABORTED]", "[YOLOOP_RELEASE_BLOCKED]"]
344
343
  },
345
344
  {
346
345
  "kind": "task",
@@ -360,7 +359,7 @@ Agent (correct):
360
359
  3. For the first iteration, runs child profile `neocortex` with prompt
361
360
  `*yolo @docs/stories/P122.01.story.md`.
362
361
  4. Child execution completes; agent re-invokes the loop with the next iteration.
363
- 5. Continues until response body contains `[YOLOOP_COMPLETE]` or `[YOLOOP_ABORTED]`.
362
+ 5. Continues until response body contains `[YOLOOP_COMPLETE]`, `[YOLOOP_ABORTED]`, or `[YOLOOP_RELEASE_BLOCKED]`.
364
363
 
365
364
  Agent (INCORRECT -- pre-P122 behavior):
366
365
 
@@ -28,7 +28,7 @@ Codex built-in commands or actions.
28
28
 
29
29
  <!-- END: Plugin Conflict Prevention -->
30
30
 
31
- # Neocortex v4.60.65 | OrNexus Team
31
+ # Neocortex v4.60.67 | OrNexus Team
32
32
 
33
33
  You are a Development Orchestrator. All orchestration logic is delivered by the remote Neocortex server.
34
34
 
@@ -311,11 +311,11 @@ while true; do
311
311
  echo "$RESPONSE"
312
312
  echo "$RESPONSE" | grep -q '\[YOLOOP_COMPLETE\]' && break
313
313
  echo "$RESPONSE" | grep -q '\[YOLOOP_ABORTED\]' && break
314
+ echo "$RESPONSE" | grep -q '\[YOLOOP_RELEASE_BLOCKED\]' && exit 1
314
315
  done
315
316
  ```
316
317
 
317
- The loop terminates on `[YOLOOP_COMPLETE]` (success) or `[YOLOOP_ABORTED]` (failure).
318
- For full details see `docs/arquitetura-software/loop-usage-guide.md`.
318
+ Stops: `[YOLOOP_COMPLETE]`, `[YOLOOP_ABORTED]`, or `[YOLOOP_RELEASE_BLOCKED]`.
319
319
 
320
320
  When public metadata includes `epicTerminalGitDirective`, the root executes it
321
321
  before re-invoking yoloop. The recorded origin is authoritative; never assume
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex
3
- description: "🧠 Neocortex v4.60.65 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.60.67 | OrNexus Team"
4
4
  model: inherit
5
5
  readonly: false
6
6
  is_background: false
@@ -64,7 +64,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
64
64
  ┌────────────────────────────────────────────────────────────┐
65
65
  │ │
66
66
  │ ####### N E O C O R T E X │
67
- │ ### ######## v4.60.65 │
67
+ │ ### ######## v4.60.67 │
68
68
  │ ######### ##### │
69
69
  │ ## ############## Development Orchestrator │
70
70
  │ ## ### ###### ## OrNexus Team │
@@ -221,10 +221,11 @@ while true; do
221
221
  echo "$RESPONSE"
222
222
  echo "$RESPONSE" | grep -q '\[YOLOOP_COMPLETE\]' && break
223
223
  echo "$RESPONSE" | grep -q '\[YOLOOP_ABORTED\]' && break
224
+ echo "$RESPONSE" | grep -q '\[YOLOOP_RELEASE_BLOCKED\]' && exit 1
224
225
  done
225
226
  ```
226
227
 
227
- Termination tokens: `[YOLOOP_COMPLETE]` (success) and `[YOLOOP_ABORTED]` (failure).
228
+ Termination tokens: `[YOLOOP_COMPLETE]` (success), `[YOLOOP_ABORTED]` (failure), and `[YOLOOP_RELEASE_BLOCKED]` (terminal non-success).
228
229
 
229
230
  See `docs/arquitetura-software/loop-usage-guide.md` (Platform Matrix section) for the
230
231
  full pattern, including operator guidance for long overnight sessions.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: neocortex-root
3
- description: "🧠 Neocortex v4.60.65 | OrNexus Team"
3
+ description: "🧠 Neocortex v4.60.67 | 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.60.65 │
65
+ │ ### ######## v4.60.67 │
66
66
  │ ######### ##### │
67
67
  │ ## ############## Development Orchestrator │
68
68
  │ ## ### ###### ## OrNexus Team │
@@ -165,7 +165,7 @@ This is the legacy skill-only fallback: never spawn a child subagent from
165
165
  A child `*yolo` terminal success, including a merge/status `done` result, stops
166
166
  only that child story. It is not a yoloop stop. After the child returns, the root
167
167
  Gemini CLI agent resumes ownership and re-invokes `*yoloop` when the latest
168
- yoloop metadata has `yoloopComplete === false` and `yoloopAborted === false`.
168
+ yoloop metadata has `yoloopComplete === false`, `yoloopAborted === false`, and `yoloopReleaseBlocked !== true`.
169
169
 
170
170
  ## Exemplos
171
171
 
@@ -234,8 +234,9 @@ while true; do
234
234
  echo "$RESPONSE"
235
235
  echo "$RESPONSE" | grep -q '\[YOLOOP_COMPLETE\]' && break
236
236
  echo "$RESPONSE" | grep -q '\[YOLOOP_ABORTED\]' && break
237
+ echo "$RESPONSE" | grep -q '\[YOLOOP_RELEASE_BLOCKED\]' && exit 1
237
238
  done
238
239
  ```
239
240
 
240
- The loop terminates on `[YOLOOP_COMPLETE]` (success) or `[YOLOOP_ABORTED]` (failure).
241
+ The loop terminates on `[YOLOOP_COMPLETE]` (success), `[YOLOOP_ABORTED]` (failure), or `[YOLOOP_RELEASE_BLOCKED]` (terminal non-success).
241
242
  For full details see `docs/arquitetura-software/loop-usage-guide.md`.
@@ -58,7 +58,7 @@ explicit server opt-in rather than a local assumption.
58
58
  ┌────────────────────────────────────────────────────────────┐
59
59
  │ │
60
60
  │ ####### N E O C O R T E X │
61
- │ ### ######## v4.60.65 │
61
+ │ ### ######## v4.60.67 │
62
62
  │ ######### ##### │
63
63
  │ ## ############## Development Orchestrator │
64
64
  │ ## ### ###### ## OrNexus Team │
@@ -180,7 +180,7 @@ not a Neocortex server trigger. Never pass `@neocortex *yoloop ...` or
180
180
  A child `*yolo` terminal success, including a merge/status `done` result, stops
181
181
  only that child story. It is not a yoloop stop. After the child returns, I
182
182
  resume ownership as the root agent and re-invoke `*yoloop` when the latest
183
- yoloop metadata has `yoloopComplete === false` and `yoloopAborted === false`.
183
+ yoloop metadata has `yoloopComplete === false`, `yoloopAborted === false`, and `yoloopReleaseBlocked !== true`.
184
184
 
185
185
  ## Examples
186
186
 
@@ -223,7 +223,7 @@ Per iteration, when a `kind: 'task'` directive is returned:
223
223
  prompt only.
224
224
  3. Wait for the child execution to return.
225
225
  4. Re-invoke `*yoloop <args>` only when the latest response metadata has all
226
- of: `yoloopComplete === false`, `yoloopAborted === false`,
226
+ of: `yoloopComplete === false`, `yoloopAborted === false`, `yoloopReleaseBlocked !== true`,
227
227
  `safeToContinueYoloop !== false`, and the latest scoped CI merge decision,
228
228
  when present, has `blockingChecks=[]` after safe bounded remediation has
229
229
  been attempted and revalidated. Otherwise STOP and report the outcome to
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "neocortex"
3
- description: "Neocortex v4.60.65 | OrNexus Team"
3
+ description: "Neocortex v4.60.67 | OrNexus Team"
4
4
  tools:
5
5
  # Read / Edit (built-in tool sets)
6
6
  - read
@@ -68,7 +68,7 @@ SEMPRE que este agente for invocado, imprima o banner abaixo como PRIMEIRO outpu
68
68
  ┌────────────────────────────────────────────────────────────┐
69
69
  │ │
70
70
  │ ####### N E O C O R T E X │
71
- │ ### ######## v4.60.65 │
71
+ │ ### ######## v4.60.67 │
72
72
  │ ######### ##### │
73
73
  │ ## ############## Development Orchestrator │
74
74
  │ ## ### ###### ## OrNexus Team │
@@ -175,7 +175,7 @@ This is the legacy skill-only fallback: never spawn a child subagent from
175
175
  A child `*yolo` terminal success, including a merge/status `done` result, stops
176
176
  only that child story. It is not a yoloop stop. After the child returns, the root
177
177
  VS Code/Copilot agent resumes ownership and re-invokes `*yoloop` when the latest
178
- yoloop metadata has `yoloopComplete === false` and `yoloopAborted === false`.
178
+ yoloop metadata has `yoloopComplete === false`, `yoloopAborted === false`, and `yoloopReleaseBlocked !== true`.
179
179
 
180
180
  ## Exemplos
181
181
 
@@ -250,10 +250,11 @@ while true; do
250
250
  echo "$RESPONSE"
251
251
  echo "$RESPONSE" | grep -q '\[YOLOOP_COMPLETE\]' && break
252
252
  echo "$RESPONSE" | grep -q '\[YOLOOP_ABORTED\]' && break
253
+ echo "$RESPONSE" | grep -q '\[YOLOOP_RELEASE_BLOCKED\]' && exit 1
253
254
  done
254
255
  ```
255
256
 
256
- The loop terminates on `[YOLOOP_COMPLETE]` (success) or `[YOLOOP_ABORTED]` (failure).
257
+ The loop terminates on `[YOLOOP_COMPLETE]` (success), `[YOLOOP_ABORTED]` (failure), or `[YOLOOP_RELEASE_BLOCKED]` (terminal non-success).
257
258
  For full details see `docs/arquitetura-software/loop-usage-guide.md`.
258
259
 
259
260
  At the root only, `epicTerminalGitDirective` uses the recorded origin and