@ccdd/core 4.3.0 → 5.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 +4 -2
- package/dist/src/definitions.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,9 +70,9 @@ The [getting-started guide](docs/getting-started.md) includes a complete runnabl
|
|
|
70
70
|
|
|
71
71
|
## Read the result
|
|
72
72
|
|
|
73
|
-
Every actual review returns a verdict
|
|
73
|
+
Every actual review returns a verdict and any owner-defined fields required by its optional passSchema/failSchema. There is no built-in summary or evidence field. GREEN means its criteria were met; RED means they were not. Execution problems produce ERROR. Final validation needs matching PASS evidence for all required Critics and dependencies. A folder without Critics stays UNREVIEWED unless explicitly declared `basis: true`.
|
|
74
74
|
|
|
75
|
-
An individual check runs its selected Critics immediately. If other required evidence is missing, their results are saved and the request is INCOMPLETE. Add `--recursive` to include those other evaluations. CCDD reuses matching
|
|
75
|
+
An individual check runs its selected Critics immediately. If other required evidence is missing, their results are saved and the request is INCOMPLETE. Add `--recursive` to include those other evaluations. CCDD reuses both matching GREEN and RED results (RED remains unsatisfied), coalesces identical active requests across Runs, and computes freshness when queried; it does not store stale flags.
|
|
76
76
|
|
|
77
77
|
Reviews run in the workspace you supply. Keep it unchanged until completion, including Human waiting. Records, caches and generated output live outside it. To keep editing elsewhere, create your own worktree and pass it with `--repo`.
|
|
78
78
|
|
|
@@ -99,3 +99,5 @@ See [Contributing](CONTRIBUTING.md), [the context map](CONTEXT-MAP.md), [detaile
|
|
|
99
99
|
## License
|
|
100
100
|
|
|
101
101
|
[MIT](LICENSE).
|
|
102
|
+
|
|
103
|
+
**CCDD 5.1.0:** plans report active request reuse as `COALESCE` with `counts.coalesce`, separating adopted work from new executions. See the [release notes](docs/releases/v5.1.0.md). Existing 5.0 state remains valid; upgrades from 4.x require the [5.0 migration guide](docs/migration-v5.md).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArtifactViews, EnvironmentRequirement, ScriptDefinition } from './tools/contracts.js';
|
|
1
|
+
import type { ArtifactViews, EnvironmentRequirement, ScriptDefinition, JsonSchema } from './tools/contracts.js';
|
|
2
2
|
/** Public declarations contain data only; discovery never executes code. */
|
|
3
3
|
export interface AgentProfile {
|
|
4
4
|
kind: 'agent';
|
|
@@ -26,6 +26,8 @@ export interface CriticDefinition {
|
|
|
26
26
|
title: string;
|
|
27
27
|
profile: CriticProfile;
|
|
28
28
|
payload: ReviewPayload;
|
|
29
|
+
passSchema?: JsonSchema;
|
|
30
|
+
failSchema?: JsonSchema;
|
|
29
31
|
}
|
|
30
32
|
export type StaleStrategy = {
|
|
31
33
|
kind: 'file-hash';
|