@ccdd/core 6.0.1 → 6.1.0
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/README.md +13 -4
- package/dist/src/definitions.d.ts +7 -0
- package/dist/src/tools/contracts.d.ts +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -33,16 +33,18 @@ flowchart LR
|
|
|
33
33
|
style CCDD fill:#eef9ef,stroke:#588060
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
These relationships define required input and
|
|
36
|
+
These relationships define required input, verification and default dependency-GREEN gates. A Critic waits for current GREEN evidence from dependencies outside its cycle. Mutual dependencies are allowed: Critics in the same cycle may run together after external gates pass, and final validation requires all matching results. Child Artifact folders are automatic dependencies. Logical `mounts` connect other folders without copies or symlinks.
|
|
37
37
|
|
|
38
38
|
## Start with a runtime check
|
|
39
39
|
|
|
40
40
|
Use Node.js 22 LTS, version 22.19.0 or later.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
npm install --ignore-scripts @ccdd/core
|
|
43
|
+
npm install --ignore-scripts @ccdd/core@6.1.0 @ccdd/project@6.1.0
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
This single command installs the definitions and Project runtime, including their dependencies. Common view tools are optional and installed separately; see [installation choices](docs/getting-started.md#installation-choices).
|
|
47
|
+
|
|
46
48
|
Inside an Artifact folder, create `ccdd.json`:
|
|
47
49
|
|
|
48
50
|
```json
|
|
@@ -66,7 +68,7 @@ npx ccdd-project verify implementation --recursive --wait
|
|
|
66
68
|
npx ccdd-project status implementation
|
|
67
69
|
```
|
|
68
70
|
|
|
69
|
-
The [getting-started guide](docs/getting-started.md) includes a complete runnable example.
|
|
71
|
+
The [getting-started guide](docs/getting-started.md) includes a complete runnable example. For an existing installation, follow the [upgrade instructions](docs/releases.md#installing-and-upgrading).
|
|
70
72
|
|
|
71
73
|
## Read the result
|
|
72
74
|
|
|
@@ -100,4 +102,11 @@ See [Contributing](CONTRIBUTING.md), [the context map](CONTEXT-MAP.md), [detaile
|
|
|
100
102
|
|
|
101
103
|
[MIT](LICENSE).
|
|
102
104
|
|
|
103
|
-
**CCDD 6.0
|
|
105
|
+
**CCDD 6.1.0:** adds shared machine resource admission, durable execution budgets, pinned runtime provenance and guarded load checks, with native Pi model catalogs. See the [release notes](docs/releases/v6.1.0.md) and [upgrade steps](docs/releases.md#upgrading-to-61). Stop old workers before upgrading; completed format-6 evidence remains reusable.
|
|
106
|
+
|
|
107
|
+
## Review resources and budgets
|
|
108
|
+
|
|
109
|
+
Machine-wide provider pools, weighted owner identities, submission execution
|
|
110
|
+
budgets, original runtime provenance and guarded offline load checks share one
|
|
111
|
+
review-management contract. See [the guide](docs/review-management.md), including
|
|
112
|
+
the required old-worker shutdown and option migration.
|
|
@@ -39,12 +39,18 @@ export type StaleStrategy = {
|
|
|
39
39
|
script: ScriptDefinition;
|
|
40
40
|
inputs?: string[];
|
|
41
41
|
timeoutMs?: number;
|
|
42
|
+
weight?: number;
|
|
42
43
|
};
|
|
44
|
+
export interface ReviewPolicy {
|
|
45
|
+
dependencyGates?: 'green' | 'ignore';
|
|
46
|
+
maxConcurrentExecutors?: number;
|
|
47
|
+
}
|
|
43
48
|
export interface ArtifactManifest {
|
|
44
49
|
name: string;
|
|
45
50
|
critics?: CriticDefinition[];
|
|
46
51
|
views?: ArtifactViews;
|
|
47
52
|
mounts?: Record<string, string>;
|
|
53
|
+
reviewPolicy?: ReviewPolicy;
|
|
48
54
|
basis?: boolean;
|
|
49
55
|
stale?: StaleStrategy;
|
|
50
56
|
envRequirements?: Record<string, EnvironmentRequirement>;
|
|
@@ -56,6 +62,7 @@ export interface ArtifactDefinition {
|
|
|
56
62
|
mounts: Record<string, string>;
|
|
57
63
|
/** Nearest marked descendants, indexed by their physical relative paths. */
|
|
58
64
|
children: Record<string, string>;
|
|
65
|
+
reviewPolicy?: ReviewPolicy;
|
|
59
66
|
basis?: boolean;
|
|
60
67
|
stale?: StaleStrategy;
|
|
61
68
|
envRequirements?: Record<string, EnvironmentRequirement>;
|
|
@@ -66,6 +66,8 @@ export interface ScriptToolContext {
|
|
|
66
66
|
tmpDir: string;
|
|
67
67
|
/** Canonical paths and logical connections for this review's allowed scope. */
|
|
68
68
|
scope: ArtifactScope;
|
|
69
|
+
/** Declared workspace-relative runtime paths mapped to pinned bytes for this attempt. */
|
|
70
|
+
executionPaths?: Record<string, string>;
|
|
69
71
|
}
|
|
70
72
|
export interface ScriptToolRequest {
|
|
71
73
|
version: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccdd/core",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"examples/"
|
|
54
54
|
],
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@earendil-works/pi-agent-core": "0.
|
|
57
|
-
"@earendil-works/pi-ai": "0.
|
|
56
|
+
"@earendil-works/pi-agent-core": "0.87.1",
|
|
57
|
+
"@earendil-works/pi-ai": "0.87.1",
|
|
58
58
|
"@lucide/vue": "1.41.0",
|
|
59
59
|
"@vue-flow/background": "1.3.2",
|
|
60
60
|
"@vue-flow/core": "1.48.2",
|