codex-workflow-v2 2.0.0-alpha.6.2 → 2.0.0-alpha.7.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.
- package/README.md +43 -71
- package/dist/src/alpha6/handoff.d.ts +1 -0
- package/dist/src/alpha6/handoff.js +6 -0
- package/dist/src/alpha6/handoff.js.map +1 -1
- package/dist/src/alpha6/milestone.d.ts +3 -0
- package/dist/src/alpha6/milestone.js +57 -3
- package/dist/src/alpha6/milestone.js.map +1 -1
- package/dist/src/alpha6/plan-risk.js +61 -0
- package/dist/src/alpha6/plan-risk.js.map +1 -1
- package/dist/src/alpha6/remediation.d.ts +4 -20
- package/dist/src/alpha6/remediation.js +73 -150
- package/dist/src/alpha6/remediation.js.map +1 -1
- package/dist/src/alpha7/autonomy.d.ts +61 -0
- package/dist/src/alpha7/autonomy.js +256 -0
- package/dist/src/alpha7/autonomy.js.map +1 -0
- package/dist/src/cli.js +23 -16
- package/dist/src/cli.js.map +1 -1
- package/dist/src/contracts.d.ts +11 -6
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/state/lock.d.ts +1 -3
- package/dist/src/state/lock.js +2 -5
- package/dist/src/state/lock.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/workflow.d.ts +21 -65
- package/dist/src/workflow.js +548 -657
- package/dist/src/workflow.js.map +1 -1
- package/docs/alpha7.1-implementation-brief.md +268 -0
- package/docs/autonomy-guardrails.md +56 -20
- package/docs/decisions.md +16 -4
- package/docs/delegated-approval.md +12 -5
- package/docs/development-flow.md +12 -7
- package/docs/release.md +4 -6
- package/docs/updating-existing-project.md +9 -39
- package/docs/validation-report.md +50 -63
- package/package.json +2 -2
- package/plugins/codex-workflow-gateway/references/protocol.md +53 -17
- package/plugins/codex-workflow-gateway/skills/codex-workflow-gateway/SKILL.md +33 -9
- package/references/state-machine.md +31 -13
- package/roles/delivery-coordinator.md +10 -1
- package/roles/technical-planner.md +3 -0
- package/schemas/context-envelope.schema.json +0 -10
- package/schemas/milestone-autonomy-event.schema.json +45 -0
- package/schemas/milestone-scope-change-event.schema.json +3 -1
- package/schemas/plan-risk-audit-event.schema.json +21 -4
- package/schemas/corrective-plan-audit-record.schema.json +0 -47
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://codex-workflow.local/schemas/corrective-plan-audit-record.schema.json",
|
|
4
|
-
"title": "Codex Workflow V2 Alpha.6 Corrective Plan Audit Binding",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"recordedAt",
|
|
9
|
-
"taskId",
|
|
10
|
-
"taskRevision",
|
|
11
|
-
"stepId",
|
|
12
|
-
"triggeringAttemptCount",
|
|
13
|
-
"decisionEventId",
|
|
14
|
-
"decisionPlanHash",
|
|
15
|
-
"previousPlanHash",
|
|
16
|
-
"correctivePlanHash",
|
|
17
|
-
"failedReviewAttempts",
|
|
18
|
-
"auditor",
|
|
19
|
-
"summary",
|
|
20
|
-
"decision",
|
|
21
|
-
"reviewedFindingIds"
|
|
22
|
-
],
|
|
23
|
-
"properties": {
|
|
24
|
-
"recordedAt": { "type": "string", "format": "date-time" },
|
|
25
|
-
"taskId": { "type": "string", "pattern": "^TASK-[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
26
|
-
"taskRevision": { "type": "integer", "minimum": 0 },
|
|
27
|
-
"stepId": { "type": "string", "pattern": "^STEP-[0-9]{3}(?:-[A-Z0-9-]+)?$" },
|
|
28
|
-
"triggeringAttemptCount": { "const": 3 },
|
|
29
|
-
"decisionEventId": { "type": "string", "minLength": 1 },
|
|
30
|
-
"decisionPlanHash": { "$ref": "#/$defs/hash64" },
|
|
31
|
-
"previousPlanHash": { "$ref": "#/$defs/hash64" },
|
|
32
|
-
"correctivePlanHash": { "$ref": "#/$defs/hash64" },
|
|
33
|
-
"failedReviewAttempts": { "const": 2 },
|
|
34
|
-
"auditor": { "type": "string", "minLength": 1 },
|
|
35
|
-
"summary": { "type": "string", "minLength": 1 },
|
|
36
|
-
"decision": { "const": "continue-fix" },
|
|
37
|
-
"reviewedFindingIds": {
|
|
38
|
-
"type": "array",
|
|
39
|
-
"minItems": 1,
|
|
40
|
-
"uniqueItems": true,
|
|
41
|
-
"items": { "type": "string", "minLength": 1 }
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"$defs": {
|
|
45
|
-
"hash64": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
46
|
-
}
|
|
47
|
-
}
|