agent-contracts 0.22.3 → 0.22.4
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/cli-contract.yaml +11 -8
- package/dist/cli.js +442 -42
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +16 -3
- package/dist/index.js +443 -43
- package/dist/index.js.map +1 -1
- package/dsl_base/agents/dsl-auditor.yaml +31 -2
- package/dsl_base/agents/dsl-designer.yaml +0 -2
- package/dsl_base/artifacts.yaml +1 -1
- package/dsl_base/handoff-types.yaml +33 -11
- package/dsl_base/tasks.yaml +43 -14
- package/dsl_base/validations.yaml +6 -6
- package/dsl_base/workflow.yaml +30 -8
- package/package.json +1 -1
package/cli-contract.yaml
CHANGED
|
@@ -515,17 +515,19 @@ commandSets:
|
|
|
515
515
|
summary: Run LLM-based semantic audit on DSL definitions and generated outputs.
|
|
516
516
|
description: >-
|
|
517
517
|
Performs LLM-based semantic analysis on DSL definitions and/or
|
|
518
|
-
generated outputs.
|
|
518
|
+
generated outputs. Four audit types are available: "render"
|
|
519
519
|
checks whether generated files faithfully reflect the resolved
|
|
520
|
-
DSL, "dsl" reviews DSL design for semantic coherence,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
520
|
+
DSL, "dsl" reviews DSL design for semantic coherence, "prompt"
|
|
521
|
+
verifies that generated prompts accurately express DSL intent,
|
|
522
|
+
and "extensions" detects declared x-* properties that are not
|
|
523
|
+
consumed by render templates or runtime codegen. Uses
|
|
524
|
+
agent-contracts-runtime (optional peer dependency) for LLM
|
|
525
|
+
execution with handoff schema validation and follow-up recovery.
|
|
525
526
|
usage:
|
|
526
527
|
- agent-contracts audit render -c agent-contracts.config.yaml
|
|
527
528
|
- agent-contracts audit dsl -c agent-contracts.config.yaml
|
|
528
529
|
- agent-contracts audit prompt -c agent-contracts.config.yaml
|
|
530
|
+
- agent-contracts audit extensions -c agent-contracts.config.yaml
|
|
529
531
|
- agent-contracts audit all -c agent-contracts.config.yaml
|
|
530
532
|
- agent-contracts audit dsl --dry-run -c agent-contracts.config.yaml
|
|
531
533
|
- agent-contracts audit render --format json -c agent-contracts.config.yaml
|
|
@@ -550,10 +552,11 @@ commandSets:
|
|
|
550
552
|
description: >-
|
|
551
553
|
Audit type to run: render (semantic diff of generated
|
|
552
554
|
outputs vs DSL), dsl (design coherence review), prompt
|
|
553
|
-
(generated prompt fidelity check),
|
|
555
|
+
(generated prompt fidelity check), extensions (unconsumed
|
|
556
|
+
x-* property detection), or all (run all four).
|
|
554
557
|
schema:
|
|
555
558
|
type: string
|
|
556
|
-
enum: [render, dsl, prompt, all]
|
|
559
|
+
enum: [render, dsl, prompt, extensions, all]
|
|
557
560
|
default: all
|
|
558
561
|
|
|
559
562
|
options:
|