@ccdd/core 6.3.0 → 6.4.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 CHANGED
@@ -85,6 +85,7 @@ Reviews run in the workspace you supply. Keep it unchanged until completion, inc
85
85
  - [Register optional text, image and desktop tools](packages/default-tools/README.md).
86
86
  - [Compose folders and mounts](examples/artifact-folders/README.md), including coding-style and blind image comparison Critics.
87
87
  - [Compute views on demand](examples/computed-views/README.md) from scenario material.
88
+ - [Design reviewer tools](docs/reviewer-tools.md) that return only what the reviewer requests.
88
89
  - [Configure Agent and Human reviewers](docs/reviewers.md).
89
90
  - [Try Why → Spec → Tests → Implementation](docs/demo.md).
90
91
  - [Look up commands and evidence rules](docs/project-validation.md).
@@ -104,7 +105,7 @@ See [Contributing](CONTRIBUTING.md), [the context map](CONTEXT-MAP.md), [detaile
104
105
 
105
106
  [MIT](LICENSE).
106
107
 
107
- **CCDD 6.3.0:** Pi AI and Agent Core 0.99.1 add the `gpt-6.1-sol` and `claude-sonnet-5-5` model profiles; review identities are unchanged. See the [release notes](docs/releases/v6.3.0.md).
108
+ **CCDD 6.4.0:** reviewer tool design guide, field-level repair turns, `contains` in schemas, `tools check --critic` prompt sizes, and the Agent Critic `resultCheck`; review identities are unchanged unless a Critic declares `resultCheck`. See the [release notes](docs/releases/v6.4.0.md).
108
109
 
109
110
 
110
111
  ### Existing Pi AI API
@@ -21,6 +21,11 @@ export interface ReviewPayload {
21
21
  instruction: string;
22
22
  [key: string]: unknown;
23
23
  }
24
+ /** An Agent Critic's owner-relative Node script that checks a schema-valid result against the review's tool calls. */
25
+ export interface ResultCheck {
26
+ script: string;
27
+ timeoutMs?: number;
28
+ }
24
29
  export interface CriticDefinition {
25
30
  id: string;
26
31
  title: string;
@@ -28,6 +33,7 @@ export interface CriticDefinition {
28
33
  payload: ReviewPayload;
29
34
  passSchema?: JsonSchema;
30
35
  failSchema?: JsonSchema;
36
+ resultCheck?: ResultCheck;
31
37
  }
32
38
  export type StaleStrategy = {
33
39
  kind: 'file-hash';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdd/core",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",