@ornexus/neocortex 4.60.40 → 4.60.42
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/sbom.cdx.json +31 -31
- package/install.ps1 +1 -1
- package/install.sh +1 -1
- package/package.json +14 -2
- package/packages/client/dist/commands/invoke.d.ts +12 -0
- package/packages/client/dist/commands/invoke.js +45 -44
- package/packages/client/dist/generated/command-registry.generated.d.ts +66 -23
- package/packages/client/dist/generated/command-registry.generated.js +1 -1
- package/packages/client/dist/generated/public-projections.generated.d.ts +100 -0
- package/packages/client/dist/generated/public-projections.generated.js +1 -0
- package/packages/client/dist/git/git-lifecycle-store.d.ts +17 -0
- package/packages/client/dist/git/git-lifecycle-store.js +4 -4
- package/packages/client/dist/index.d.ts +1 -0
- package/packages/client/dist/index.js +1 -1
- package/packages/client/dist/migrations/project-identity.js +7 -7
- package/packages/client/dist/migrations/state-json.d.ts +14 -0
- package/packages/client/dist/migrations/state-json.js +4 -0
- package/packages/client/dist/runner/headless/epic-git-reconciliation-inventory.d.ts +2 -0
- package/packages/client/dist/runner/headless/epic-git-reconciliation-inventory.js +1 -1
- package/packages/client/dist/runner/headless/epic-terminal-git-cli-adapter.js +8 -8
- package/packages/client/dist/state/state-json-repair.js +3 -3
- package/packages/client/dist/yoloop/invoke-hooks.d.ts +2 -3
- package/packages/client/dist/yoloop/invoke-hooks.js +9 -8
- package/packages/client/dist/yoloop/shared-yoloop-types.d.ts +87 -1
- package/packages/client/dist/yoloop/yoloop-client-state-store.d.ts +27 -3
- package/packages/client/dist/yoloop/yoloop-client-state-store.js +1 -1
- package/packages/shared/dist/command-registry-contract.js +38 -0
- package/packages/shared/dist/continuity/goal-operation-authority.js +48 -0
- package/packages/shared/dist/executable-graph-catalog/contracts.js +935 -0
- package/packages/shared/dist/generated/command-registry.generated.js +82 -23
- package/packages/shared/dist/generated/invocation-schema.generated.js +12 -4
- package/packages/shared/dist/generated/public-projections.generated.js +149 -0
- package/packages/shared/dist/invocation/executable-policy-recovery.d.ts +83 -0
- package/packages/shared/dist/invocation/executable-policy-recovery.js +272 -0
- package/packages/shared/dist/invocation/index.d.ts +3 -1
- package/packages/shared/dist/invocation/index.js +40 -1
- package/packages/shared/dist/invocation/recovery-route-compiler.d.ts +56 -0
- package/packages/shared/dist/invocation/recovery-route-compiler.js +214 -0
- package/packages/shared/dist/state/index.d.ts +1 -0
- package/packages/shared/dist/state/index.js +1 -0
- package/packages/shared/dist/state/state-migration.d.ts +58 -0
- package/packages/shared/dist/state/state-migration.js +404 -0
- package/packages/shared/dist/yoloop/canonical.js +15 -0
- package/packages/shared/dist/yoloop/operational-budget.js +164 -0
- package/packages/shared/dist/yoloop/recovery-types.js +39 -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 +11 -2
- package/targets-stubs/codex/README.md +7 -4
- package/targets-stubs/codex/neocortex.toml +53 -6
- 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
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
/** Generated by scripts/generate-command-registry.mjs. Do not edit. */
|
|
2
|
+
export { PUBLIC_PROJECTION_BUNDLE, PUBLIC_PROJECTION_GENERATION_ID, PUBLIC_PROJECTION_BUNDLE_HASH } from './public-projections.generated.js';
|
|
2
3
|
export const COMMAND_REGISTRY_SCHEMA_VERSION = 1;
|
|
3
4
|
export const COMMAND_REGISTRY_VERSION = "1.0.0";
|
|
4
|
-
export const COMMAND_REGISTRY_CHECKSUM = "
|
|
5
|
+
export const COMMAND_REGISTRY_CHECKSUM = "b9a97bc12316a913b72a27e1d4c18e749737da40003bd73f60350b07408bd5c7";
|
|
5
6
|
export const COMMAND_REGISTRY_PROJECTION_MANIFEST = {
|
|
6
7
|
"schemaVersion": 1,
|
|
7
8
|
"registryVersion": "1.0.0",
|
|
8
|
-
"registryChecksum": "
|
|
9
|
+
"registryChecksum": "b9a97bc12316a913b72a27e1d4c18e749737da40003bd73f60350b07408bd5c7",
|
|
9
10
|
"projections": [
|
|
10
11
|
{
|
|
11
12
|
"kind": "admin",
|
|
12
13
|
"entryCount": 62,
|
|
13
|
-
"sha256": "
|
|
14
|
+
"sha256": "1ddde581d2c4bc2803227a37e4ae949823e16e9f210e5665234d6fc6fc64993c"
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
17
|
"kind": "client",
|
|
17
18
|
"entryCount": 62,
|
|
18
|
-
"sha256": "
|
|
19
|
+
"sha256": "1ddde581d2c4bc2803227a37e4ae949823e16e9f210e5665234d6fc6fc64993c"
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
"kind": "docs",
|
|
22
23
|
"entryCount": 62,
|
|
23
|
-
"sha256": "
|
|
24
|
+
"sha256": "1ddde581d2c4bc2803227a37e4ae949823e16e9f210e5665234d6fc6fc64993c"
|
|
24
25
|
},
|
|
25
26
|
{
|
|
26
27
|
"kind": "metrics",
|
|
27
28
|
"entryCount": 62,
|
|
28
|
-
"sha256": "
|
|
29
|
+
"sha256": "1ddde581d2c4bc2803227a37e4ae949823e16e9f210e5665234d6fc6fc64993c"
|
|
29
30
|
},
|
|
30
31
|
{
|
|
31
32
|
"kind": "server",
|
|
32
33
|
"entryCount": 67,
|
|
33
|
-
"sha256": "
|
|
34
|
+
"sha256": "ba1827fe64f8f1e73a13411a88c4fbd7cd30909ed6d371ed011b12e660317f65"
|
|
34
35
|
},
|
|
35
36
|
{
|
|
36
37
|
"kind": "shared",
|
|
37
38
|
"entryCount": 67,
|
|
38
|
-
"sha256": "
|
|
39
|
+
"sha256": "8b9bbf5be73ae1549823fcf7779871ea496e74c9c7ff6bd53f3d31ff00ee0fc8"
|
|
39
40
|
}
|
|
40
41
|
]
|
|
41
42
|
};
|
|
@@ -1792,14 +1793,14 @@ export const GENERATED_SHARED_COMMANDS = [
|
|
|
1792
1793
|
},
|
|
1793
1794
|
"id": "status",
|
|
1794
1795
|
"policy": {
|
|
1795
|
-
"billingClass": "billable",
|
|
1796
|
-
"idempotencyClass": "
|
|
1796
|
+
"billingClass": "non-billable",
|
|
1797
|
+
"idempotencyClass": "none",
|
|
1797
1798
|
"minimumTier": "enterprise",
|
|
1798
|
-
"mutationClass": "
|
|
1799
|
+
"mutationClass": "read-only",
|
|
1799
1800
|
"privilege": "authenticated",
|
|
1800
|
-
"quotaClass": "
|
|
1801
|
+
"quotaClass": "none",
|
|
1801
1802
|
"replayClass": "signed-request",
|
|
1802
|
-
"strictReadOnly": "
|
|
1803
|
+
"strictReadOnly": "allow"
|
|
1803
1804
|
},
|
|
1804
1805
|
"projections": [
|
|
1805
1806
|
"admin",
|
|
@@ -2100,6 +2101,64 @@ export const GENERATED_SHARED_COMMANDS = [
|
|
|
2100
2101
|
],
|
|
2101
2102
|
"visibility": "public"
|
|
2102
2103
|
},
|
|
2104
|
+
{
|
|
2105
|
+
"aliases": [],
|
|
2106
|
+
"compatibility": {
|
|
2107
|
+
"deprecatedIn": null,
|
|
2108
|
+
"introducedIn": "1.0.0",
|
|
2109
|
+
"removedIn": null,
|
|
2110
|
+
"replacement": null
|
|
2111
|
+
},
|
|
2112
|
+
"id": "doctor",
|
|
2113
|
+
"policy": {
|
|
2114
|
+
"billingClass": "billable",
|
|
2115
|
+
"idempotencyClass": "logical-supported",
|
|
2116
|
+
"minimumTier": "enterprise",
|
|
2117
|
+
"mutationClass": "stateful",
|
|
2118
|
+
"privilege": "authenticated",
|
|
2119
|
+
"quotaClass": "workflow",
|
|
2120
|
+
"replayClass": "signed-request",
|
|
2121
|
+
"strictReadOnly": "deny"
|
|
2122
|
+
},
|
|
2123
|
+
"projections": [
|
|
2124
|
+
"admin",
|
|
2125
|
+
"client",
|
|
2126
|
+
"docs",
|
|
2127
|
+
"metrics",
|
|
2128
|
+
"server",
|
|
2129
|
+
"shared"
|
|
2130
|
+
],
|
|
2131
|
+
"visibility": "public"
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"aliases": [],
|
|
2135
|
+
"compatibility": {
|
|
2136
|
+
"deprecatedIn": null,
|
|
2137
|
+
"introducedIn": "1.0.0",
|
|
2138
|
+
"removedIn": null,
|
|
2139
|
+
"replacement": null
|
|
2140
|
+
},
|
|
2141
|
+
"id": "install-runner",
|
|
2142
|
+
"policy": {
|
|
2143
|
+
"billingClass": "billable",
|
|
2144
|
+
"idempotencyClass": "logical-supported",
|
|
2145
|
+
"minimumTier": "enterprise",
|
|
2146
|
+
"mutationClass": "stateful",
|
|
2147
|
+
"privilege": "authenticated",
|
|
2148
|
+
"quotaClass": "workflow",
|
|
2149
|
+
"replayClass": "signed-request",
|
|
2150
|
+
"strictReadOnly": "deny"
|
|
2151
|
+
},
|
|
2152
|
+
"projections": [
|
|
2153
|
+
"admin",
|
|
2154
|
+
"client",
|
|
2155
|
+
"docs",
|
|
2156
|
+
"metrics",
|
|
2157
|
+
"server",
|
|
2158
|
+
"shared"
|
|
2159
|
+
],
|
|
2160
|
+
"visibility": "public"
|
|
2161
|
+
},
|
|
2103
2162
|
{
|
|
2104
2163
|
"aliases": [],
|
|
2105
2164
|
"compatibility": {
|
|
@@ -2509,14 +2568,14 @@ export const GENERATED_SHARED_COMMANDS = [
|
|
|
2509
2568
|
},
|
|
2510
2569
|
"id": "status",
|
|
2511
2570
|
"policy": {
|
|
2512
|
-
"billingClass": "billable",
|
|
2513
|
-
"idempotencyClass": "
|
|
2571
|
+
"billingClass": "non-billable",
|
|
2572
|
+
"idempotencyClass": "none",
|
|
2514
2573
|
"minimumTier": "enterprise",
|
|
2515
|
-
"mutationClass": "
|
|
2574
|
+
"mutationClass": "read-only",
|
|
2516
2575
|
"privilege": "authenticated",
|
|
2517
|
-
"quotaClass": "
|
|
2576
|
+
"quotaClass": "none",
|
|
2518
2577
|
"replayClass": "signed-request",
|
|
2519
|
-
"strictReadOnly": "
|
|
2578
|
+
"strictReadOnly": "allow"
|
|
2520
2579
|
},
|
|
2521
2580
|
"projections": [
|
|
2522
2581
|
"admin",
|
|
@@ -3435,14 +3494,14 @@ export const GENERATED_SHARED_COMMANDS = [
|
|
|
3435
3494
|
},
|
|
3436
3495
|
"id": "status",
|
|
3437
3496
|
"policy": {
|
|
3438
|
-
"billingClass": "billable",
|
|
3439
|
-
"idempotencyClass": "
|
|
3497
|
+
"billingClass": "non-billable",
|
|
3498
|
+
"idempotencyClass": "none",
|
|
3440
3499
|
"minimumTier": "enterprise",
|
|
3441
|
-
"mutationClass": "
|
|
3500
|
+
"mutationClass": "read-only",
|
|
3442
3501
|
"privilege": "authenticated",
|
|
3443
|
-
"quotaClass": "
|
|
3502
|
+
"quotaClass": "none",
|
|
3444
3503
|
"replayClass": "signed-request",
|
|
3445
|
-
"strictReadOnly": "
|
|
3504
|
+
"strictReadOnly": "allow"
|
|
3446
3505
|
},
|
|
3447
3506
|
"projections": [
|
|
3448
3507
|
"admin",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
export const GENERATED_INVOCATION_SCHEMA_MANIFEST = {
|
|
3
3
|
"schemaVersion": "p205-invocation-schema-v1",
|
|
4
4
|
"registryVersion": "1.0.0",
|
|
5
|
-
"registryChecksum": "
|
|
6
|
-
"schemaChecksum": "
|
|
5
|
+
"registryChecksum": "b9a97bc12316a913b72a27e1d4c18e749737da40003bd73f60350b07408bd5c7",
|
|
6
|
+
"schemaChecksum": "15e75fe8a4d8251414b661821c52eb0a9e92a3b7bca0f0d05fcb1827c4e24ce2",
|
|
7
7
|
"commandCount": 62,
|
|
8
8
|
"optionCount": 47,
|
|
9
9
|
"positionalCount": 43,
|
|
10
|
-
"operationCount":
|
|
11
|
-
"projectionSha256": "
|
|
10
|
+
"operationCount": 35,
|
|
11
|
+
"projectionSha256": "321924a0406826b225854d699683d72e5f905d14894168882a2cb81c06e988fc",
|
|
12
12
|
"commands": [
|
|
13
13
|
{
|
|
14
14
|
"commandId": "arch-api-contracts",
|
|
@@ -841,6 +841,14 @@ export const GENERATED_INVOCATION_SCHEMA_MANIFEST = {
|
|
|
841
841
|
"id": "cancel",
|
|
842
842
|
"aliases": []
|
|
843
843
|
},
|
|
844
|
+
{
|
|
845
|
+
"id": "doctor",
|
|
846
|
+
"aliases": []
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"id": "install-runner",
|
|
850
|
+
"aliases": []
|
|
851
|
+
},
|
|
844
852
|
{
|
|
845
853
|
"id": "list",
|
|
846
854
|
"aliases": []
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/** Generated by scripts/generate-public-catalog-projections.mjs. Do not edit. */
|
|
2
|
+
export const PUBLIC_PROJECTION_BUNDLE = {
|
|
3
|
+
"schemaVersion": "PublicProjectionBundle/1.0",
|
|
4
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d",
|
|
5
|
+
"sourceHash": "e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d",
|
|
6
|
+
"catalogHash": "ef01b19a69035c03fc0ab72347bb2eb69f9cd5b88290e7e8e6d697a60462ebbb",
|
|
7
|
+
"publicProjectionHash": "fa59fd5ab25b6f6155eabb0f06aad0d08583700e6594c9fb68f0878d6578bb0e",
|
|
8
|
+
"stageProjectionHash": "4f57af9f2c74c36148a4a0aa5415c7cc3cac9ee435c0578a2fc6eb385dbb468b",
|
|
9
|
+
"compilationHash": "41157e76e50487bb23ff21f41216c7250934bff8273267443c9b3d145c398267",
|
|
10
|
+
"registry": {
|
|
11
|
+
"version": "1.0.0",
|
|
12
|
+
"checksum": "b9a97bc12316a913b72a27e1d4c18e749737da40003bd73f60350b07408bd5c7"
|
|
13
|
+
},
|
|
14
|
+
"artifacts": [
|
|
15
|
+
{
|
|
16
|
+
"kind": "catalog",
|
|
17
|
+
"schemaVersion": "ExecutableGraphCatalogPublicProjection/1.0",
|
|
18
|
+
"relativePath": "catalog.json",
|
|
19
|
+
"sha256": "8c3b5e31e03c2cbe80112c01a0dd243c07451c03a3102029b7df7f67f152e57a",
|
|
20
|
+
"entryCount": 97,
|
|
21
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"kind": "commands",
|
|
25
|
+
"schemaVersion": "CommandRegistryPublicProjection/1.0",
|
|
26
|
+
"relativePath": "commands.json",
|
|
27
|
+
"sha256": "122143b8cc2447a17eebe3aaa6aba8bf906433895f16037b1b99ee931c617b61",
|
|
28
|
+
"entryCount": 62,
|
|
29
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"kind": "progress-view",
|
|
33
|
+
"schemaVersion": "ProgressViewContractProjection/1.0",
|
|
34
|
+
"relativePath": "progress-view.json",
|
|
35
|
+
"sha256": "90cbd37693bcf0a9b6dd7e89201fd4b487be9254c1bcfe1f84a36fff510f5a7d",
|
|
36
|
+
"entryCount": 1,
|
|
37
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "stages",
|
|
41
|
+
"schemaVersion": "ExecutableGraphStageProjection/1.0",
|
|
42
|
+
"relativePath": "stages.json",
|
|
43
|
+
"sha256": "724a2e51c3666410b0f8b5b15a27bb9f53f5e280f3d362d77e98de0d316a9182",
|
|
44
|
+
"entryCount": 85,
|
|
45
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "surfaces",
|
|
49
|
+
"schemaVersion": "PublicProjectionSurfaces/1.0",
|
|
50
|
+
"relativePath": "surfaces.json",
|
|
51
|
+
"sha256": "119607b7fe50d1564bebce0571bfa981a91ede109bc3f1f0e02e71b3e106e10a",
|
|
52
|
+
"entryCount": 6,
|
|
53
|
+
"generationId": "sha256:e406000429f98d60eca32f429327208c7e49618a08ca100bb02896cc424c955d"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"compatibility": {
|
|
57
|
+
"status": "compatible",
|
|
58
|
+
"routeCount": 97,
|
|
59
|
+
"rootCommandCount": 62,
|
|
60
|
+
"operationCount": 35,
|
|
61
|
+
"aliasCount": 199
|
|
62
|
+
},
|
|
63
|
+
"contractVersions": {
|
|
64
|
+
"catalog": "ExecutableGraphCatalogPublicProjection/1.0",
|
|
65
|
+
"stages": "ExecutableGraphStageProjection/1.0",
|
|
66
|
+
"progress": "ProgressSnapshot/1.0",
|
|
67
|
+
"progressView": "ProgressView/1.0",
|
|
68
|
+
"readiness": "ExecutableGraphReadinessVector/1.0",
|
|
69
|
+
"validation": "ValidationMatrix/1.1"
|
|
70
|
+
},
|
|
71
|
+
"surfaces": [
|
|
72
|
+
{
|
|
73
|
+
"kind": "admin",
|
|
74
|
+
"artifactKinds": [
|
|
75
|
+
"catalog",
|
|
76
|
+
"stages",
|
|
77
|
+
"commands",
|
|
78
|
+
"surfaces",
|
|
79
|
+
"progress-view"
|
|
80
|
+
],
|
|
81
|
+
"progressView": "ProgressView/1.0",
|
|
82
|
+
"authority": "read-only-projection"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"kind": "client",
|
|
86
|
+
"artifactKinds": [
|
|
87
|
+
"catalog",
|
|
88
|
+
"stages",
|
|
89
|
+
"commands",
|
|
90
|
+
"surfaces",
|
|
91
|
+
"progress-view"
|
|
92
|
+
],
|
|
93
|
+
"progressView": "ProgressView/1.0",
|
|
94
|
+
"authority": "read-only-projection"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "docs",
|
|
98
|
+
"artifactKinds": [
|
|
99
|
+
"catalog",
|
|
100
|
+
"stages",
|
|
101
|
+
"commands",
|
|
102
|
+
"surfaces",
|
|
103
|
+
"progress-view"
|
|
104
|
+
],
|
|
105
|
+
"progressView": "ProgressView/1.0",
|
|
106
|
+
"authority": "read-only-projection"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "metrics",
|
|
110
|
+
"artifactKinds": [
|
|
111
|
+
"catalog",
|
|
112
|
+
"stages",
|
|
113
|
+
"commands",
|
|
114
|
+
"surfaces",
|
|
115
|
+
"progress-view"
|
|
116
|
+
],
|
|
117
|
+
"progressView": "ProgressView/1.0",
|
|
118
|
+
"authority": "read-only-projection"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "runtime-preview",
|
|
122
|
+
"artifactKinds": [
|
|
123
|
+
"catalog",
|
|
124
|
+
"stages",
|
|
125
|
+
"commands",
|
|
126
|
+
"surfaces",
|
|
127
|
+
"progress-view"
|
|
128
|
+
],
|
|
129
|
+
"progressView": "ProgressView/1.0",
|
|
130
|
+
"authority": "read-only-projection"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "tests",
|
|
134
|
+
"artifactKinds": [
|
|
135
|
+
"catalog",
|
|
136
|
+
"stages",
|
|
137
|
+
"commands",
|
|
138
|
+
"surfaces",
|
|
139
|
+
"progress-view"
|
|
140
|
+
],
|
|
141
|
+
"progressView": "ProgressView/1.0",
|
|
142
|
+
"authority": "read-only-projection"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"publicSafe": true,
|
|
146
|
+
"bundleHash": "acd1a64265cccf291d3d26a4fb49620828e3c53bcf0451db5d8c5a8ddf320ea0"
|
|
147
|
+
};
|
|
148
|
+
export const PUBLIC_PROJECTION_GENERATION_ID = PUBLIC_PROJECTION_BUNDLE.generationId;
|
|
149
|
+
export const PUBLIC_PROJECTION_BUNDLE_HASH = PUBLIC_PROJECTION_BUNDLE.bundleHash;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/** P220.21 immutable policy, invocation, compatibility, recovery and budget closure. */
|
|
2
|
+
import { type CommandRegistryDocument } from '../command-registry-contract.js';
|
|
3
|
+
import { type CatalogOperationalBaselineV1 } from '../executable-graph-catalog/contracts.js';
|
|
4
|
+
import type { InvocationSchemaManifestV1 } from './index.js';
|
|
5
|
+
import type { RecoveryCatalogCompilation } from './recovery-route-compiler.js';
|
|
6
|
+
export declare const EXECUTABLE_POLICY_RECOVERY_SCHEMA: "ExecutablePolicyRecoveryProjection/1.0";
|
|
7
|
+
export declare const EXECUTABLE_POLICY_RECOVERY_EVIDENCE_ID: "P220-EV-POLICY-CLOSURE";
|
|
8
|
+
export declare const EXECUTABLE_POLICY_RECOVERY_REASON_CODES: readonly ["POLICY_PROJECTION_INPUT_INVALID", "POLICY_REGISTRY_MISMATCH", "POLICY_INVOCATION_MISMATCH", "POLICY_ROUTE_MISMATCH", "POLICY_READ_ONLY_INVARIANT", "POLICY_COMPATIBILITY_MISMATCH", "POLICY_RECOVERY_INVALID", "POLICY_OPERATIONAL_BUDGET_MISMATCH"];
|
|
9
|
+
export type ExecutablePolicyRecoveryReasonCode = (typeof EXECUTABLE_POLICY_RECOVERY_REASON_CODES)[number];
|
|
10
|
+
export declare class ExecutablePolicyRecoveryError extends Error {
|
|
11
|
+
readonly reasonCode: ExecutablePolicyRecoveryReasonCode;
|
|
12
|
+
constructor(reasonCode: ExecutablePolicyRecoveryReasonCode);
|
|
13
|
+
}
|
|
14
|
+
export interface ExactRoutePolicyV1 {
|
|
15
|
+
readonly privilege: 'authenticated' | 'admin';
|
|
16
|
+
readonly minimumTier: 'free' | 'pro' | 'enterprise';
|
|
17
|
+
readonly billingClass: 'billable' | 'non-billable';
|
|
18
|
+
readonly quotaClass: 'none' | 'invocation' | 'workflow' | 'planning';
|
|
19
|
+
readonly mutationClass: 'read-only' | 'stateful' | 'external';
|
|
20
|
+
readonly strictReadOnly: 'allow' | 'deny';
|
|
21
|
+
readonly replayClass: 'signed-request' | 'none';
|
|
22
|
+
readonly idempotencyClass: 'none' | 'logical-supported' | 'logical-required';
|
|
23
|
+
}
|
|
24
|
+
export interface ExactCompatibilityV1 {
|
|
25
|
+
readonly introducedIn: string | null;
|
|
26
|
+
readonly deprecatedIn: string | null;
|
|
27
|
+
readonly removedIn: string | null;
|
|
28
|
+
readonly replacement: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface NormalizedRouteInvocationV1 {
|
|
31
|
+
readonly inputShape: string;
|
|
32
|
+
readonly operation: InvocationSchemaManifestV1['commands'][number]['operation'];
|
|
33
|
+
readonly options: InvocationSchemaManifestV1['commands'][number]['options'];
|
|
34
|
+
readonly positionals: InvocationSchemaManifestV1['commands'][number]['positionals'];
|
|
35
|
+
readonly terminator: true;
|
|
36
|
+
}
|
|
37
|
+
export interface ExecutablePolicyRecoveryRowV1 {
|
|
38
|
+
readonly routeKey: string;
|
|
39
|
+
readonly commandId: string;
|
|
40
|
+
readonly operationId: string | null;
|
|
41
|
+
readonly aliases: readonly string[];
|
|
42
|
+
readonly visibility: 'public' | 'internal';
|
|
43
|
+
readonly invocation: NormalizedRouteInvocationV1 | null;
|
|
44
|
+
readonly policy: ExactRoutePolicyV1;
|
|
45
|
+
readonly compatibility: ExactCompatibilityV1;
|
|
46
|
+
readonly recoveryCategories: readonly string[];
|
|
47
|
+
readonly statusCapability: 'read-only-observation' | 'not-status';
|
|
48
|
+
readonly rowHash: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExecutablePolicyRecoveryCountsV1 {
|
|
51
|
+
readonly routes: number;
|
|
52
|
+
readonly publicRoutes: number;
|
|
53
|
+
readonly internalRoutes: number;
|
|
54
|
+
readonly commands: number;
|
|
55
|
+
readonly subcommands: number;
|
|
56
|
+
readonly aliases: number;
|
|
57
|
+
readonly options: number;
|
|
58
|
+
readonly positionals: number;
|
|
59
|
+
readonly statusRoutes: number;
|
|
60
|
+
readonly recoveryCategories: number;
|
|
61
|
+
readonly recoveryCandidates: number;
|
|
62
|
+
readonly recoverySentinels: number;
|
|
63
|
+
}
|
|
64
|
+
export interface ExecutablePolicyRecoveryProjectionV1 {
|
|
65
|
+
readonly schemaVersion: typeof EXECUTABLE_POLICY_RECOVERY_SCHEMA;
|
|
66
|
+
readonly registryVersion: string;
|
|
67
|
+
readonly registryChecksum: string;
|
|
68
|
+
readonly invocationSchemaChecksum: string;
|
|
69
|
+
readonly recoveryCatalogHash: string;
|
|
70
|
+
readonly operationalBudgetHash: string;
|
|
71
|
+
readonly rows: readonly ExecutablePolicyRecoveryRowV1[];
|
|
72
|
+
readonly counts: ExecutablePolicyRecoveryCountsV1;
|
|
73
|
+
readonly projectionHash: string;
|
|
74
|
+
readonly evidenceId: typeof EXECUTABLE_POLICY_RECOVERY_EVIDENCE_ID;
|
|
75
|
+
readonly publicSafe: true;
|
|
76
|
+
}
|
|
77
|
+
export interface CompileExecutablePolicyRecoveryProjectionInputV1 {
|
|
78
|
+
readonly registry: CommandRegistryDocument;
|
|
79
|
+
readonly invocationSchema: InvocationSchemaManifestV1;
|
|
80
|
+
readonly recovery: RecoveryCatalogCompilation;
|
|
81
|
+
readonly operationalBaseline: CatalogOperationalBaselineV1;
|
|
82
|
+
}
|
|
83
|
+
export declare function compileExecutablePolicyRecoveryProjection(input: CompileExecutablePolicyRecoveryProjectionInputV1): ExecutablePolicyRecoveryProjectionV1;
|