codex-workflow-v2 2.0.0-beta.12 → 2.0.0-beta.12.1

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.
Files changed (30) hide show
  1. package/README.md +4 -3
  2. package/dist/src/alpha6/remediation.d.ts +6 -1
  3. package/dist/src/alpha6/remediation.js +356 -7
  4. package/dist/src/alpha6/remediation.js.map +1 -1
  5. package/dist/src/cli.js +18 -0
  6. package/dist/src/cli.js.map +1 -1
  7. package/dist/src/contracts.d.ts +42 -0
  8. package/dist/src/dependency-provenance.js +5 -3
  9. package/dist/src/dependency-provenance.js.map +1 -1
  10. package/dist/src/version.d.ts +1 -1
  11. package/dist/src/version.js +1 -1
  12. package/dist/src/version.js.map +1 -1
  13. package/dist/src/workflow.d.ts +4 -1
  14. package/dist/src/workflow.js +113 -13
  15. package/dist/src/workflow.js.map +1 -1
  16. package/docs/autonomy-guardrails.md +22 -1
  17. package/docs/pdf/codex-workflow-v2-architecture-ru.pdf +0 -0
  18. package/docs/pdf/codex-workflow-v2-chat-only-guide-ru.pdf +0 -0
  19. package/docs/pdf/codex-workflow-v2-technical-reference-ru.pdf +0 -0
  20. package/docs/pdf/sources/codex-workflow-v2-architecture-ru.md +16 -5
  21. package/docs/pdf/sources/codex-workflow-v2-chat-only-guide-ru.md +10 -8
  22. package/docs/pdf/sources/codex-workflow-v2-technical-reference-ru.md +25 -11
  23. package/docs/release.md +6 -1
  24. package/docs/updating-existing-project.md +25 -0
  25. package/docs/validation-report.md +82 -81
  26. package/package.json +1 -1
  27. package/plugins/codex-workflow-gateway/.codex-plugin/plugin.json +1 -1
  28. package/plugins/codex-workflow-gateway/references/protocol.md +15 -1
  29. package/plugins/codex-workflow-gateway/skills/codex-workflow-gateway/SKILL.md +17 -0
  30. package/schemas/stop-escalate-override-event.schema.json +45 -0
@@ -0,0 +1,45 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://codex-workflow.local/schemas/stop-escalate-override-event.schema.json",
4
+ "title": "Codex Workflow V2 Stop-Escalate Override Event",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "eventId", "taskId", "taskRevision", "stepId", "stopDecisionEventId",
9
+ "stopDecisionEventHash", "priorContinueDecisionEventId", "priorContinueDecisionEventHash",
10
+ "triggeringAttemptCount", "coveredEventIds", "planHash", "headCommit", "actor", "reason",
11
+ "packageVersion", "confirmationCodeBindingHash", "policy", "previousEventHash", "recordedAt", "eventHash"
12
+ ],
13
+ "properties": {
14
+ "eventId": { "type": "string", "pattern": "^SOO-[0-9A-HJKMNP-TV-Z]{26}$" },
15
+ "taskId": { "type": "string", "pattern": "^TASK-[0-9A-HJKMNP-TV-Z]{26}$" },
16
+ "taskRevision": { "type": "integer", "minimum": 1 },
17
+ "stepId": { "type": "string", "pattern": "^STEP-[0-9]{3}(?:-[A-Z0-9-]+)?$" },
18
+ "stopDecisionEventId": { "type": "string", "pattern": "^CRD-[0-9A-HJKMNP-TV-Z]{26}$" },
19
+ "stopDecisionEventHash": { "$ref": "#/$defs/hash64" },
20
+ "priorContinueDecisionEventId": { "type": "string", "pattern": "^CRD-[0-9A-HJKMNP-TV-Z]{26}$" },
21
+ "priorContinueDecisionEventHash": { "$ref": "#/$defs/hash64" },
22
+ "triggeringAttemptCount": { "const": 4 },
23
+ "coveredEventIds": {
24
+ "type": "array",
25
+ "minItems": 3,
26
+ "maxItems": 3,
27
+ "uniqueItems": true,
28
+ "items": { "type": "string", "pattern": "^RME-[0-9A-HJKMNP-TV-Z]{26}$" }
29
+ },
30
+ "planHash": { "$ref": "#/$defs/hash64" },
31
+ "headCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
32
+ "actor": { "type": "string", "minLength": 1 },
33
+ "reason": { "type": "string", "minLength": 1 },
34
+ "packageVersion": { "type": "string", "minLength": 1 },
35
+ "confirmationCodeBindingHash": { "$ref": "#/$defs/hash64" },
36
+ "policy": { "const": "beta11-attempt4-stop-compatibility-v1" },
37
+ "previousEventHash": { "$ref": "#/$defs/nullableHash64" },
38
+ "recordedAt": { "type": "string", "format": "date-time" },
39
+ "eventHash": { "$ref": "#/$defs/hash64" }
40
+ },
41
+ "$defs": {
42
+ "hash64": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
43
+ "nullableHash64": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" }
44
+ }
45
+ }