codex-workflows 0.2.4 → 0.3.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.
@@ -110,6 +110,11 @@ Each AC is written in EARS (Easy Approach to Requirements Syntax) format.
110
110
  - **Integration Target**: [What to connect with]
111
111
  - **Invocation Method**: [How it will be invoked]
112
112
 
113
+ ### Dependency Verification
114
+ | Dependency | Status | Evidence |
115
+ |------------|--------|----------|
116
+ | [Service / hook / type / table / endpoint] | [verified-existing / requires-new-creation / external-dependency] | [path:line, search evidence, or authoritative external source] |
117
+
113
118
  ### Code Inspection Evidence
114
119
 
115
120
  | File/Function | Relevance |
@@ -92,6 +92,7 @@ Verify required elements exist per documentation-criteria skill template. Gate 0
92
92
  For DesignDoc, additionally verify:
93
93
  - [ ] Code inspection evidence recorded (files and functions listed)
94
94
  - [ ] Applicable standards listed with explicit/implicit classification
95
+ - [ ] Dependencies described as existing have verification results or authoritative external source
95
96
  - [ ] Field propagation map present (when fields cross boundaries)
96
97
 
97
98
  #### Gate 1: Quality Assessment (only after Gate 0 passes)
@@ -106,6 +107,7 @@ For DesignDoc, additionally verify:
106
107
  - Technical information verification: When sources exist, verify with web search for latest information and validate claim validity
107
108
  - Failure scenario review: Identify failure scenarios across normal usage, high load, and external failures; specify which design element becomes the bottleneck
108
109
  - Code inspection evidence review: Verify inspected files are relevant to design scope; flag if key related files are missing
110
+ - Dependency realizability check: For each dependency the Design Doc's Existing Codebase Analysis section describes as "existing", verify its definition exists in the codebase using file pattern search and content search. Not found in codebase and no authoritative external source documented → `critical` issue (category: `feasibility`). Found but the definition signature or named contract materially diverges from the Design Doc description → `important` issue (category: `consistency`)
109
111
  - **As-is implementation document review**: When code verification results are provided and the document describes existing implementation (not future requirements), verify that code-observable behaviors are stated as facts; speculative language about deterministic behavior → `important` issue
110
112
  - **Undetermined items review** [MANDATORY]: Every TBD, unknown, or open item MUST include: (1) **owner** — who resolves it, (2) **due** — when it gets resolved (which phase or milestone), (3) **next-phase handling** — how the next phase treats this gap. Missing any of these three → `important` issue
111
113
 
@@ -259,6 +261,7 @@ Include in output when `prior_context_count > 0`:
259
261
  - [ ] Gate 0 structural existence checks pass before quality review
260
262
  - [ ] Design decision rationales verified against identified standards/patterns
261
263
  - [ ] Code inspection evidence covers files relevant to design scope
264
+ - [ ] Dependencies described as existing verified against codebase or authoritative external source
262
265
  - [ ] Field propagation map present when fields cross component boundaries
263
266
 
264
267
  ## Review Criteria (for Comprehensive Mode)
@@ -84,9 +84,17 @@ Must be performed before Design Doc creation:
84
84
  - Similar component is technical debt → Create ADR improvement proposal before implementation
85
85
  - No similar component → Proceed with new implementation
86
86
 
87
- 4. **Include in Design Doc**
87
+ 4. **Dependency Existence Verification**
88
+ - For each component the design assumes already exists, search for its definition in the codebase using file pattern search and content search
89
+ - Typical targets include: components, custom hooks, Context definitions, store/state definitions, API endpoints, type definitions, utility functions
90
+ - If found in codebase: record file path and definition location
91
+ - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
92
+ - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect this in implementation order dependencies
93
+
94
+ 5. **Include in Design Doc**
88
95
  - Always include investigation results in "## Existing Codebase Analysis" section
89
96
  - Clearly document similar component search results (found components or "none")
97
+ - Include dependency existence verification results (verified existing / requires new creation / external dependency)
90
98
  - Record adopted decision (use existing/improvement proposal/new implementation) and rationale
91
99
 
92
100
  ### Integration Points【Important】
@@ -101,12 +101,20 @@ Must be performed before Design Doc creation:
101
101
  - Similar functionality is technical debt → Create ADR improvement proposal before implementation
102
102
  - No similar functionality → Proceed with new implementation
103
103
 
104
- 4. **Include in Design Doc**
104
+ 4. **Dependency Existence Verification**
105
+ - For each dependency the design assumes already exists, search for its definition in the codebase using file pattern search and content search
106
+ - Typical targets include: interfaces, classes, repositories, service methods, API endpoints, DB tables/columns, configuration keys, enum values, type definitions
107
+ - If found in codebase: record file path and definition location
108
+ - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
109
+ - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect this in implementation order dependencies
110
+
111
+ 5. **Include in Design Doc**
105
112
  - Always include investigation results in "## Existing Codebase Analysis" section
106
113
  - Clearly document similar functionality search results (found implementations or "none")
114
+ - Include dependency existence verification results (verified existing / requires new creation / external dependency)
107
115
  - Record adopted decision (use existing/improvement proposal/new implementation) and rationale
108
116
 
109
- 5. **Code Inspection Evidence**
117
+ 6. **Code Inspection Evidence**
110
118
  - Record all inspected files and key functions in "Code Inspection Evidence" section of Design Doc
111
119
  - Each entry must state relevance (similar functionality / integration point / pattern reference)
112
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-workflows",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "Task-oriented agentic coding framework for OpenAI Codex CLI — skills, recipes, and subagents for structured development workflows",
5
5
  "license": "MIT",
6
6
  "author": "Shinsuke Kagawa",
@@ -30,6 +30,6 @@
30
30
  ],
31
31
  "homepage": "https://github.com/shinpr/codex-workflows#readme",
32
32
  "engines": {
33
- "node": ">=20.0.0"
33
+ "node": ">=22.0.0"
34
34
  }
35
35
  }