@ornexus/neocortex 4.66.7 → 4.66.8
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 +1194 -1194
- package/install.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +2 -2
- package/packages/client/dist/agent/refresh-stubs.d.ts +2 -2
- package/packages/client/dist/agent/refresh-stubs.js +2 -2
- package/packages/client/dist/commands/invoke.d.ts +7 -1
- package/packages/client/dist/commands/invoke.js +98 -96
- package/packages/client/dist/errors/frontmatter-diagnostics.d.ts +1 -1
- package/packages/client/dist/errors/frontmatter-diagnostics.js +1 -1
- package/packages/client/dist/git/git-lifecycle-store.d.ts +23 -0
- package/packages/client/dist/git/git-lifecycle-store.js +9 -9
- package/packages/client/dist/git/published-story-reconciliation.d.ts +13 -0
- package/packages/client/dist/git/published-story-reconciliation.js +2 -0
- package/packages/client/dist/git/story-worktree-integration.js +3 -3
- package/packages/client/dist/yoloop/target-normalization.d.ts +8 -2
- package/packages/client/dist/yoloop/target-normalization.js +1 -1
- package/packages/shared/dist/compatibility/index.js +3 -0
- package/packages/shared/dist/invocation/diagnose-degraded-continuation.d.ts +13 -1
- package/packages/shared/dist/invocation/diagnose-degraded-continuation.js +20 -12
- package/packages/shared/dist/invocation/diagnose-degraded-continuation.test.js +30 -1
- package/targets-stubs/antigravity/gemini.md +1 -1
- package/targets-stubs/antigravity/neocortex.md +7 -13
- package/targets-stubs/antigravity/skill/SKILL.md +7 -13
- package/targets-stubs/claude-code/neocortex-root.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex-root.md +8 -8
- package/targets-stubs/claude-code/neocortex-sentinel.md +1 -1
- package/targets-stubs/claude-code/neocortex.agent.yaml +1 -1
- package/targets-stubs/claude-code/neocortex.md +8 -8
- package/targets-stubs/codex/AGENTS.md +7 -11
- package/targets-stubs/codex/neocortex.toml +7 -13
- package/targets-stubs/cursor/agent.md +8 -14
- package/targets-stubs/deepseek-harness/SKILL.md +7 -13
- package/targets-stubs/gemini-cli/agent.md +8 -14
- package/targets-stubs/gemini-cli/agents/neocortex.md +8 -14
- package/targets-stubs/grok/SKILL.md +7 -13
- package/targets-stubs/kimi/neocortex.md +7 -13
- package/targets-stubs/lib/managed-config-merge.js +16 -3
- package/targets-stubs/openclaw/SKILL.md +7 -13
- package/targets-stubs/opencode/neocortex-root.md +8 -13
- package/targets-stubs/opencode/neocortex.md +8 -13
- package/targets-stubs/vscode/neocortex.agent.md +8 -14
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const FRONTMATTER_DIAGNOSTIC_CATEGORIES: readonly ["payload-selection", "target-normalization", "metadata-frontmatter"];
|
|
9
9
|
export type FrontmatterDiagnosticCategory = (typeof FRONTMATTER_DIAGNOSTIC_CATEGORIES)[number];
|
|
10
|
-
export declare const FRONTMATTER_DIAGNOSTIC_REASON_CODES: readonly ["payload-selection-ambiguous", "payload-selection-unavailable", "markdown-link-target-malformed", "markdown-link-target-ambiguous", "markdown-link-target-external", "markdown-link-target-unsafe-path", "raw-target-malformed", "raw-target-external", "raw-target-unsafe-path", "frontmatter-malformed", "frontmatter-oversized", "frontmatter-unsupported-value", "frontmatter-explicit-selection-required"];
|
|
10
|
+
export declare const FRONTMATTER_DIAGNOSTIC_REASON_CODES: readonly ["payload-selection-ambiguous", "payload-selection-unavailable", "markdown-link-target-malformed", "markdown-link-target-ambiguous", "markdown-link-target-external", "markdown-link-target-unsafe-path", "raw-target-malformed", "raw-target-external", "raw-target-unsafe-path", "workflow-advisory-invalid", "story-target-invalid", "frontmatter-malformed", "frontmatter-oversized", "frontmatter-unsupported-value", "frontmatter-explicit-selection-required"];
|
|
11
11
|
export type FrontmatterDiagnosticReasonCode = (typeof FRONTMATTER_DIAGNOSTIC_REASON_CODES)[number];
|
|
12
12
|
/**
|
|
13
13
|
* P226.04: dynamic per-field list limit code emitted by the shared frontmatter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const d=["payload-selection","target-normalization","metadata-frontmatter"],c=["payload-selection-ambiguous","payload-selection-unavailable","markdown-link-target-malformed","markdown-link-target-ambiguous","markdown-link-target-external","markdown-link-target-unsafe-path","raw-target-malformed","raw-target-external","raw-target-unsafe-path","frontmatter-malformed","frontmatter-oversized","frontmatter-unsupported-value","frontmatter-explicit-selection-required"],i=/^frontmatter-list-too-long:(files_to_modify|depends_on|related_epics|unlisted-field):[0-9]{1,6}>[0-9]{1,6}$/,
|
|
1
|
+
const d=["payload-selection","target-normalization","metadata-frontmatter"],c=["payload-selection-ambiguous","payload-selection-unavailable","markdown-link-target-malformed","markdown-link-target-ambiguous","markdown-link-target-external","markdown-link-target-unsafe-path","raw-target-malformed","raw-target-external","raw-target-unsafe-path","workflow-advisory-invalid","story-target-invalid","frontmatter-malformed","frontmatter-oversized","frontmatter-unsupported-value","frontmatter-explicit-selection-required"],i=/^frontmatter-list-too-long:(files_to_modify|depends_on|related_epics|unlisted-field):[0-9]{1,6}>[0-9]{1,6}$/,t="*yoloop @docs/epics/epic-P204.md",r="docs/epics/epic-P204.md",n=Object.freeze({"payload-selection-ambiguous":Object.freeze({category:"payload-selection",summary:"The explicit Neocortex command could not be selected unambiguously.",remediation:"Pass exactly one explicit trigger and its project-local arguments; keep host wrapper metadata outside the selected payload."}),"payload-selection-unavailable":Object.freeze({category:"payload-selection",summary:"The explicit Neocortex command could not be selected safely.",remediation:"Retry with one explicit trigger. Do not include wrapper frontmatter, conversation history or delegated prompt text."}),"markdown-link-target-malformed":Object.freeze({category:"target-normalization",summary:"The Markdown target is malformed or is not a supported Markdown path.",remediation:"Use one complete Markdown link to a project-relative .md file or a trailing-slash directory.",example:t}),"markdown-link-target-ambiguous":Object.freeze({category:"target-normalization",summary:"More than one target or mixed target syntax was supplied.",remediation:"Pass exactly one raw path or one Markdown link target.",example:t}),"markdown-link-target-external":Object.freeze({category:"target-normalization",summary:"External Markdown targets are not supported.",remediation:"Reference a file already inside the project with a project-relative path.",example:t}),"markdown-link-target-unsafe-path":Object.freeze({category:"target-normalization",summary:"The Markdown target is outside the supported project-relative path boundary.",remediation:"Remove absolute, home, drive, backslash or traversal segments and use a project-relative path.",example:t}),"raw-target-malformed":Object.freeze({category:"target-normalization",summary:"The raw target is not a supported Markdown path.",remediation:"Use one project-relative .md file or a trailing-slash directory.",example:t}),"raw-target-external":Object.freeze({category:"target-normalization",summary:"External raw targets are not supported.",remediation:"Reference a file already inside the project with a project-relative path.",example:t}),"raw-target-unsafe-path":Object.freeze({category:"target-normalization",summary:"The raw target is outside the supported project-relative path boundary.",remediation:"Remove absolute, home, drive, backslash or traversal segments and use a project-relative path.",example:t}),"workflow-advisory-invalid":Object.freeze({category:"target-normalization",summary:"Workflow guidance must be bounded, single-line prose for one epic or story target.",remediation:"After one target and any supported flags or story modifier, use a spaced em dash followed by text only.",example:t}),"story-target-invalid":Object.freeze({category:"target-normalization",summary:"The story target or modifier cannot be admitted.",remediation:"Use one project-relative docs/stories/*.story.md file or Markdown link and at most one supported story modifier before any guidance.",example:"*yolo @docs/stories/P231.05.story.md"}),"frontmatter-malformed":Object.freeze({category:"metadata-frontmatter",summary:"The leading YAML frontmatter envelope is malformed.",remediation:"Repair the bounded leading --- envelope and keep generated metadata fields scalar or string-list values.",example:r}),"frontmatter-oversized":Object.freeze({category:"metadata-frontmatter",summary:"The leading YAML frontmatter exceeds the public parsing limits.",remediation:"Reduce the metadata header and keep descriptive content in the Markdown body.",example:r}),"frontmatter-unsupported-value":Object.freeze({category:"metadata-frontmatter",summary:"A frontmatter field uses an unsupported value shape.",remediation:"Use allowlisted scalar fields and bounded string lists only.",example:r}),"frontmatter-explicit-selection-required":Object.freeze({category:"metadata-frontmatter",summary:"Target metadata cannot be projected before explicit file selection.",remediation:"Select one project-relative epic or story target before metadata discovery.",example:r})}),l=Object.freeze({category:"metadata-frontmatter",reasonCode:"frontmatter-diagnostic-unclassified",summary:"The frontmatter operation could not be classified safely.",remediation:"Retry with one explicit project-relative target and a bounded YAML header.",example:r}),m=Object.freeze({category:"metadata-frontmatter",summary:"A frontmatter list exceeds its per-field item limit; the code reports the field, the item count and the limit.",remediation:"Trim the list to the reported limit (files_to_modify allows 256 items, other lists allow 32) and keep descriptive content in the Markdown body.",example:r});function s(a){if(typeof a=="string"&&i.test(a))return Object.freeze({reasonCode:a,...m});const e=n[a];return e?Object.freeze({reasonCode:a,...e}):l}function p(a){const e=s(a),o=e.example?` Example: ${e.example}.`:"";return`${e.reasonCode} [${e.category}]: ${e.summary} Remediation: ${e.remediation}${o}`}export{d as FRONTMATTER_DIAGNOSTIC_CATEGORIES,c as FRONTMATTER_DIAGNOSTIC_REASON_CODES,i as FRONTMATTER_LIST_TOO_LONG_DIAGNOSTIC_PATTERN,p as formatFrontmatterDiagnostic,s as getFrontmatterDiagnostic};
|
|
@@ -325,6 +325,27 @@ export interface StoryWorktreeEvidenceContainer {
|
|
|
325
325
|
readonly specAcceptances?: readonly StoryWorktreeSpecAcceptanceRecord[];
|
|
326
326
|
readonly receipts?: readonly Record<string, unknown>[];
|
|
327
327
|
}
|
|
328
|
+
/** Historical Git integration observed on the current execution branch and published origin.
|
|
329
|
+
* Scheduling only. It does not attest a new checkpoint, P205 execution or terminal merge.
|
|
330
|
+
*/
|
|
331
|
+
export interface PublishedStoryReconciliation {
|
|
332
|
+
readonly schemaVersion: 1;
|
|
333
|
+
readonly kind: 'published-story-reconciliation';
|
|
334
|
+
readonly receiptId: string;
|
|
335
|
+
readonly epicId: string;
|
|
336
|
+
readonly storyId: string;
|
|
337
|
+
readonly graphRevision: string;
|
|
338
|
+
readonly historicalGraphRevision: string;
|
|
339
|
+
readonly phaseOneReceiptId: string;
|
|
340
|
+
readonly executionBranch: string;
|
|
341
|
+
readonly executionHeadSha: string;
|
|
342
|
+
readonly originBranch: string;
|
|
343
|
+
readonly originHeadSha: string;
|
|
344
|
+
readonly commitSha: string;
|
|
345
|
+
readonly bundleDigest: string;
|
|
346
|
+
readonly historicalQaDigest: string;
|
|
347
|
+
}
|
|
348
|
+
export declare function publishedStoryReconciliationId(value: Omit<PublishedStoryReconciliation, 'receiptId'>): string;
|
|
328
349
|
export declare const STORY_WORKTREE_EVIDENCE_MAX_RECEIPTS = 512;
|
|
329
350
|
export declare const STORY_WORKTREE_EVIDENCE_MAX_SPEC_ACCEPTANCES = 256;
|
|
330
351
|
/** P228.24 (AM-04): serialized container bound for read, persist and forward. */
|
|
@@ -335,6 +356,8 @@ export declare const STORY_WORKTREE_EVIDENCE_MAX_BYTES = 262144;
|
|
|
335
356
|
* published client closure; tests prove parity with the shared validator.
|
|
336
357
|
*/
|
|
337
358
|
export declare function isStoryWorktreeEvidenceReceiptRecord(value: unknown): boolean;
|
|
359
|
+
/** The sidecar is durable audit evidence. Only fresh, verified observations are sent. */
|
|
360
|
+
export declare function projectStoryWorktreeEvidenceForSnapshot(value: unknown, epicId: string, fresh?: readonly PublishedStoryReconciliation[]): StoryWorktreeEvidenceContainer;
|
|
338
361
|
/** True only for the closed `integration-receipt` shape. */
|
|
339
362
|
export declare function isStoryWorktreeIntegrationReceiptRecord(value: unknown): boolean;
|
|
340
363
|
/** Closed validator for the `story_worktree_evidence` container (P225.04-ADR-3). */
|