sdtk-spec-kit 0.3.14 → 0.3.16

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 (49) hide show
  1. package/assets/manifest/toolkit-bundle.manifest.json +69 -134
  2. package/assets/manifest/toolkit-bundle.sha256.txt +33 -46
  3. package/assets/toolkit/toolkit/AGENTS.md +17 -15
  4. package/assets/toolkit/toolkit/SDTK_TOOLKIT.md +10 -6
  5. package/assets/toolkit/toolkit/install.ps1 +60 -50
  6. package/assets/toolkit/toolkit/runtimes/claude/CLAUDE_TEMPLATE.md +2 -2
  7. package/assets/toolkit/toolkit/scripts/agents/run-claude-task.ps1 +332 -111
  8. package/assets/toolkit/toolkit/scripts/agents/run-codex-task.ps1 +618 -103
  9. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +179 -169
  10. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/SKILL.md +111 -84
  11. package/assets/toolkit/toolkit/skills/sdtk-api-doc/SKILL.md +46 -10
  12. package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +85 -85
  13. package/assets/toolkit/toolkit/skills/sdtk-design-layout/SKILL.md +42 -3
  14. package/assets/toolkit/toolkit/skills/sdtk-dev-backend/SKILL.md +61 -5
  15. package/assets/toolkit/toolkit/skills/sdtk-dev-frontend/SKILL.md +63 -5
  16. package/assets/toolkit/toolkit/skills/sdtk-mailbox-dispatch/SKILL.md +73 -71
  17. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/SKILL.md +53 -33
  18. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/SKILL.md +60 -24
  19. package/assets/toolkit/toolkit/skills/skills.catalog.yaml +9 -9
  20. package/assets/toolkit/toolkit/skills-claude/api-design-spec/SKILL.md +116 -90
  21. package/assets/toolkit/toolkit/skills-claude/api-doc/SKILL.md +49 -9
  22. package/assets/toolkit/toolkit/skills-claude/arch/SKILL.md +3 -3
  23. package/assets/toolkit/toolkit/skills-claude/design-layout/SKILL.md +36 -2
  24. package/assets/toolkit/toolkit/skills-claude/dev-backend/SKILL.md +58 -5
  25. package/assets/toolkit/toolkit/skills-claude/dev-frontend/SKILL.md +60 -5
  26. package/assets/toolkit/toolkit/skills-claude/mailbox-dispatch/SKILL.md +73 -71
  27. package/assets/toolkit/toolkit/skills-claude/screen-design-spec/SKILL.md +49 -27
  28. package/assets/toolkit/toolkit/skills-claude/test-case-spec/SKILL.md +74 -20
  29. package/assets/toolkit/toolkit/templates/README.md +5 -1
  30. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md +1 -2
  31. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md +468 -468
  32. package/assets/toolkit/toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md +3 -3
  33. package/assets/toolkit/toolkit/templates/docs/api/YAML_CREATION_RULES.md +128 -128
  34. package/assets/toolkit/toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md +62 -49
  35. package/assets/toolkit/toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md +23 -10
  36. package/package.json +48 -48
  37. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_CREATION_RULES.md +0 -22
  38. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  39. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/FLOWCHART_CREATION_RULES.md +0 -20
  40. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  41. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/FLOWCHART_CREATION_RULES.md +0 -20
  42. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/YAML_CREATION_RULES.md +0 -128
  43. package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_CREATION_RULES.md +0 -22
  44. package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  45. package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOWCHART_CREATION_RULES.md +0 -20
  46. package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -220
  47. package/assets/toolkit/toolkit/skills/sdtk-arch/references/YAML_CREATION_RULES.md +0 -128
  48. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -220
  49. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/references/TEST_CASE_CREATION_RULES.md +0 -129
@@ -4,8 +4,8 @@ This file is kept only for backward compatibility.
4
4
 
5
5
  Do not use this file as the primary source of truth anymore.
6
6
  The rule set has been split into two files:
7
- - `YAML_CREATION_RULES_FINAL.md` (root) / `templates/docs/api/YAML_CREATION_RULES.md` (toolkit)
8
- - `API_DESIGN_FLOWCHART_CREATION_RULES_FINAL.md` (root) / `templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md` (toolkit)
7
+ - `toolkit/templates/docs/api/YAML_CREATION_RULES.md`
8
+ - `toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md`
9
9
 
10
10
  Use the YAML rules file for:
11
11
  - endpoint path/method conventions
@@ -17,4 +17,4 @@ Use the API design + flowchart rules file for:
17
17
  - PlantUML flow depth and wording
18
18
  - API design detail markdown rules
19
19
 
20
- This compatibility note should remain only until all references are migrated.
20
+ This compatibility note should remain only until all references are migrated.
@@ -1,128 +1,128 @@
1
- # YAML CREATION RULES FINAL
2
-
3
- This file is the canonical rule set for designing and maintaining feature-level OpenAPI YAML.
4
-
5
- Use this file for:
6
- - OpenAPI YAML contract design
7
- - endpoint path/method decisions
8
- - request/response schema design
9
- - endpoint summary and contract consistency checks
10
-
11
- Do not use this file as the primary rule source for:
12
- - flowchart writing details
13
- - API design detail markdown layout
14
-
15
- Use `API_DESIGN_FLOWCHART_CREATION_RULES_FINAL.md` for those.
16
-
17
- ## 1. Rule Precedence
18
- - Priority 1: follow the existing system's real route, method, payload, and response conventions.
19
- - Priority 2: match the current source code and runtime behavior.
20
- - Priority 3: apply the reusable standards in this document.
21
- - If a reusable rule conflicts with the target system, keep the system rule and document the exception explicitly.
22
-
23
- ## 2. API Scope Classification
24
- - Every endpoint must be classified as one of:
25
- - `New`
26
- - `Deferred`
27
- - `Existing (reuse)`
28
- - Do not silently create a new feature-local API if an existing system API already provides the same behavior with a compatible contract.
29
- - If the existing API is close in purpose but payload or response is incompatible with the feature need, create a bounded new API.
30
-
31
- ## 3. Endpoint Path Design
32
- - Use singular resource names in endpoint paths.
33
- - Use explicit action segments only when needed by system convention:
34
- - `list`
35
- - `search`
36
- - `edit`
37
- - `delete`
38
- - `multi-create`
39
- - Prefer stable system-style patterns such as:
40
- - list: `GET /{resource}/list/{organization_uuid}/{parent_uuid}`
41
- - search: `POST /{resource}/search/{organization_uuid}`
42
- - view-specific search: `POST /{resource}/resource-view/search/{organization_uuid}`
43
- - create: `POST /{resource}/{organization_uuid}`
44
- - detail: `GET /{resource}/{organization_uuid}/{resource_uuid}`
45
- - edit: `POST /{resource}/edit/{organization_uuid}/{resource_uuid}`
46
- - delete: `POST /{resource}/delete/{organization_uuid}/{resource_uuid}`
47
- - Separate namespaces by bounded context.
48
- - Do not repeat namespace meaning in child path segments.
49
-
50
- ## 4. Request Contract Rules
51
- - For feature-owned POST search and write APIs, prefer a stable wrapper:
52
- - `data: { ... }`
53
- - For complex filters, place fields under:
54
- - `data.info`
55
- - If reusing an existing system API, keep the owning module's contract shape exactly as-is.
56
- - Do not force reused APIs into the feature wrapper pattern.
57
- - If a payload field changes behavior, the field must be explicit in the schema and must not remain only in examples.
58
-
59
- ## 5. Response Contract Rules
60
- - Success responses must include `status` at minimum.
61
- - Create APIs should return the minimum new identifier required by the caller.
62
- - Example: `status + task_assignment_uuid`
63
- - Edit and delete APIs should return status-only unless the target system has a stronger standard.
64
- - Pre-check or validation helper APIs should return only the minimum boolean or status needed by the UI.
65
- - Do not return detail payloads the UI does not consume.
66
- - Do not add FE-only visual helper payloads when the client can derive them safely.
67
- - Example: remove `timeline_backgrounds` if the frontend renders timeline lines from existing data.
68
-
69
- ## 6. Naming and Field Mapping Rules
70
- - Use canonical business-domain terminology from the system glossary and database.
71
- - Prefer actual system terms such as:
72
- - `resource`
73
- - `task`
74
- - `assignee`
75
- - `certification`
76
- - Avoid legacy aliases when an official term already exists.
77
- - Field names should align with database semantics when they represent the same concept.
78
- - If the DB uses a string state code, the API field must not be modeled as an integer.
79
- - If a field is date-only (`format: date`), include the display format in the description.
80
- - Example: `Start date (YYYYMMDD)`
81
-
82
- ## 7. Search and List API Rules
83
- - One search API may serve multiple UI actions when the logic is the same:
84
- - initial load
85
- - search button
86
- - refresh after mode/date change
87
- - If one endpoint serves multiple UI actions, document that explicitly in YAML description and endpoint docs.
88
- - Search APIs must define filter combination semantics clearly:
89
- - AND across different fields
90
- - OR within each `*_uuids` array
91
- - If UI rendering depends on stable order, the YAML description must state the confirmed ORDER BY logic.
92
-
93
- ## 8. Split vs Reuse Rules
94
- - Split read/search endpoints when the FE needs materially different grouped or view-shaped datasets.
95
- - Merge or remove helper payloads when they add maintenance cost without business value.
96
- - Reuse existing platform APIs when behavior already exists and only a feature-level mapping layer is needed.
97
- - Example: reuse shared environment setting APIs instead of creating feature-local setting APIs.
98
-
99
- ## 9. Sample Data Rules
100
- - For fields declared as `format: uuid`, use canonical UUID samples.
101
- - Example: `123e4567-e89b-12d3-a456-426614174000`
102
- - Do not use placeholder UUID-like labels such as:
103
- - `customer-uuid-001`
104
- - `assign-uuid-001`
105
- - Keep sample data deterministic and internally consistent across request and response examples.
106
-
107
- ## 10. Cross-Artifact Consistency Rules
108
- - The YAML contract is the source of truth for:
109
- - endpoint path
110
- - method
111
- - request wrapper
112
- - response shape
113
- - After any YAML contract change, sync these artifacts:
114
- - endpoint markdown
115
- - flow list
116
- - PlantUML flow assets
117
- - API design detail markdown
118
- - If any artifact cannot yet be synced, note the mismatch explicitly rather than leaving stale content.
119
-
120
- ## 11. Minimum YAML Quality Gate
121
- - Path/method follow the target system convention.
122
- - API type is classified (`New`, `Deferred`, `Existing (reuse)`).
123
- - Request/response wrappers are stable and explicit.
124
- - FE-only helper payloads are removed.
125
- - Field names and types match DB semantics.
126
- - UUID examples are valid UUIDs.
127
- - Date descriptions include display format where needed.
128
- - Search/list APIs document filter semantics and ordering when relevant.
1
+ # YAML CREATION RULES FINAL
2
+
3
+ This file is the canonical rule set for designing and maintaining feature-level OpenAPI YAML.
4
+
5
+ Use this file for:
6
+ - OpenAPI YAML contract design
7
+ - endpoint path/method decisions
8
+ - request/response schema design
9
+ - endpoint summary and contract consistency checks
10
+
11
+ Do not use this file as the primary rule source for:
12
+ - flowchart writing details
13
+ - API design detail markdown layout
14
+
15
+ Use `toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md` for those.
16
+
17
+ ## 1. Rule Precedence
18
+ - Priority 1: follow the existing system's real route, method, payload, and response conventions.
19
+ - Priority 2: match the current source code and runtime behavior.
20
+ - Priority 3: apply the reusable standards in this document.
21
+ - If a reusable rule conflicts with the target system, keep the system rule and document the exception explicitly.
22
+
23
+ ## 2. API Scope Classification
24
+ - Every endpoint must be classified as one of:
25
+ - `New`
26
+ - `Deferred`
27
+ - `Existing (reuse)`
28
+ - Do not silently create a new feature-local API if an existing system API already provides the same behavior with a compatible contract.
29
+ - If the existing API is close in purpose but payload or response is incompatible with the feature need, create a bounded new API.
30
+
31
+ ## 3. Endpoint Path Design
32
+ - Use singular resource names in endpoint paths.
33
+ - Use explicit action segments only when needed by system convention:
34
+ - `list`
35
+ - `search`
36
+ - `edit`
37
+ - `delete`
38
+ - `multi-create`
39
+ - Prefer stable system-style patterns such as:
40
+ - list: `GET /{resource}/list/{organization_uuid}/{parent_uuid}`
41
+ - search: `POST /{resource}/search/{organization_uuid}`
42
+ - view-specific search: `POST /{resource}/resource-view/search/{organization_uuid}`
43
+ - create: `POST /{resource}/{organization_uuid}`
44
+ - detail: `GET /{resource}/{organization_uuid}/{resource_uuid}`
45
+ - edit: `POST /{resource}/edit/{organization_uuid}/{resource_uuid}`
46
+ - delete: `POST /{resource}/delete/{organization_uuid}/{resource_uuid}`
47
+ - Separate namespaces by bounded context.
48
+ - Do not repeat namespace meaning in child path segments.
49
+
50
+ ## 4. Request Contract Rules
51
+ - For feature-owned POST search and write APIs, prefer a stable wrapper:
52
+ - `data: { ... }`
53
+ - For complex filters, place fields under:
54
+ - `data.info`
55
+ - If reusing an existing system API, keep the owning module's contract shape exactly as-is.
56
+ - Do not force reused APIs into the feature wrapper pattern.
57
+ - If a payload field changes behavior, the field must be explicit in the schema and must not remain only in examples.
58
+
59
+ ## 5. Response Contract Rules
60
+ - Success responses must include `status` at minimum.
61
+ - Create APIs should return the minimum new identifier required by the caller.
62
+ - Example: `status + task_assignment_uuid`
63
+ - Edit and delete APIs should return status-only unless the target system has a stronger standard.
64
+ - Pre-check or validation helper APIs should return only the minimum boolean or status needed by the UI.
65
+ - Do not return detail payloads the UI does not consume.
66
+ - Do not add FE-only visual helper payloads when the client can derive them safely.
67
+ - Example: remove `timeline_backgrounds` if the frontend renders timeline lines from existing data.
68
+
69
+ ## 6. Naming and Field Mapping Rules
70
+ - Use canonical business-domain terminology from the system glossary and database.
71
+ - Prefer actual system terms such as:
72
+ - `resource`
73
+ - `task`
74
+ - `assignee`
75
+ - `certification`
76
+ - Avoid legacy aliases when an official term already exists.
77
+ - Field names should align with database semantics when they represent the same concept.
78
+ - If the DB uses a string state code, the API field must not be modeled as an integer.
79
+ - If a field is date-only (`format: date`), include the display format in the description.
80
+ - Example: `Start date (YYYYMMDD)`
81
+
82
+ ## 7. Search and List API Rules
83
+ - One search API may serve multiple UI actions when the logic is the same:
84
+ - initial load
85
+ - search button
86
+ - refresh after mode/date change
87
+ - If one endpoint serves multiple UI actions, document that explicitly in YAML description and endpoint docs.
88
+ - Search APIs must define filter combination semantics clearly:
89
+ - AND across different fields
90
+ - OR within each `*_uuids` array
91
+ - If UI rendering depends on stable order, the YAML description must state the confirmed ORDER BY logic.
92
+
93
+ ## 8. Split vs Reuse Rules
94
+ - Split read/search endpoints when the FE needs materially different grouped or view-shaped datasets.
95
+ - Merge or remove helper payloads when they add maintenance cost without business value.
96
+ - Reuse existing platform APIs when behavior already exists and only a feature-level mapping layer is needed.
97
+ - Example: reuse shared environment setting APIs instead of creating feature-local setting APIs.
98
+
99
+ ## 9. Sample Data Rules
100
+ - For fields declared as `format: uuid`, use canonical UUID samples.
101
+ - Example: `123e4567-e89b-12d3-a456-426614174000`
102
+ - Do not use placeholder UUID-like labels such as:
103
+ - `customer-uuid-001`
104
+ - `assign-uuid-001`
105
+ - Keep sample data deterministic and internally consistent across request and response examples.
106
+
107
+ ## 10. Cross-Artifact Consistency Rules
108
+ - The YAML contract is the source of truth for:
109
+ - endpoint path
110
+ - method
111
+ - request wrapper
112
+ - response shape
113
+ - After any YAML contract change, sync these artifacts:
114
+ - endpoint markdown
115
+ - flow list
116
+ - PlantUML flow assets
117
+ - API design detail markdown
118
+ - If any artifact cannot yet be synced, note the mismatch explicitly rather than leaving stale content.
119
+
120
+ ## 11. Minimum YAML Quality Gate
121
+ - Path/method follow the target system convention.
122
+ - API type is classified (`New`, `Deferred`, `Existing (reuse)`).
123
+ - Request/response wrappers are stable and explicit.
124
+ - FE-only helper payloads are removed.
125
+ - Field names and types match DB semantics.
126
+ - UUID examples are valid UUIDs.
127
+ - Date descriptions include display format where needed.
128
+ - Search/list APIs document filter semantics and ordering when relevant.
@@ -1,50 +1,63 @@
1
- # AGENT REPORT TEMPLATE
2
- 1. Metadata
3
- - Worker
4
- - Runtime
5
- - Phase
6
- - Repo / Branch
7
- - Decision Requested
8
- - Issue Closeout Mode
9
- - Runtime Outcome (`completed` | `stalled` | `fallback-used`)
10
- 2. Short Summary
11
- - <summary>
12
- 3. Exact Files Changed
13
- - <path>
14
- - <path>
15
- 4. Carryover Findings Resolution
16
- - <prior blocker or truth preserved or resolved>
17
- - <prior blocker or truth preserved or resolved>
18
- 5. Formal Artifact Truth
19
- - primary formal artifact path
20
- - written by agent or controller fallback
21
- - fallback reason when controller authored the artifact
22
- 6. Phase Artifact Validation
23
- - canonical filename pass or fail or skipped
24
- - canonical verdict vocabulary pass or fail or skipped
25
- - validator output summary or skip reason
26
- 7. Exact Verification Results
27
- - <command> -> <result>
28
- - <command> -> <result>
29
- 8. Boundary Truth
30
- - included surfaces actually touched
31
- - excluded surfaces not touched
32
- - formal artifacts created
33
- - boundary mode actually executed
34
- - parent issue status after this batch (`DONE` | `IN_PROGRESS`)
35
- 9. Git Truth
36
- - git status --short --untracked-files=all
37
- - git diff --name-only
38
- - git diff --cached --name-only
39
- - git rev-parse HEAD
40
- - git branch --show-current
41
- 10. Fallback Truth
42
- - fallback trigger reached or not
43
- - fallback path used or not
44
- - stalled runtime diff accepted: yes or no
45
- 11. Blockers / Open Questions
46
- - <item>
47
- 12. Ready State
48
- - <ready / not ready>
49
- - <reason>
1
+ # AGENT REPORT TEMPLATE
2
+ 1. Metadata
3
+ - Worker
4
+ - Runtime
5
+ - Phase
6
+ - Repo / Branch
7
+ - Decision Requested
8
+ - Issue Closeout Mode
9
+ - Runtime Outcome (`completed` | `stalled` | `fallback-used`)
10
+ 2. Short Summary
11
+ - <summary>
12
+ 3. Exact Files Changed
13
+ - <path>
14
+ - <path>
15
+ 4. Carryover Findings Resolution
16
+ - <prior blocker or truth preserved or resolved>
17
+ - <prior blocker or truth preserved or resolved>
18
+ 5. Formal Artifact Truth
19
+ - primary formal artifact path
20
+ - written by agent or controller fallback
21
+ - fallback reason when controller authored the artifact
22
+ 6. Execution Permission Audit
23
+ - declared execution permission
24
+ - effective runtime permission mode
25
+ - permission approval status
26
+ - approved by
27
+ - approval reason
28
+ - approved writable scope
29
+ - approval reference
30
+ - launcher decision summary
31
+ 7. Phase Artifact Validation
32
+ - canonical filename pass or fail or skipped
33
+ - canonical verdict vocabulary pass or fail or skipped
34
+ - validator output summary or skip reason
35
+ 8. Exact Verification Results
36
+ - <command> -> <result>
37
+ - <command> -> <result>
38
+ 9. Boundary Truth
39
+ - included surfaces actually touched
40
+ - excluded surfaces not touched
41
+ - formal artifacts created
42
+ - boundary mode actually executed
43
+ - parent issue status after this batch (`DONE` | `IN_PROGRESS`)
44
+ 10. Git Truth
45
+ - git status --short --untracked-files=all
46
+ - git diff --name-only
47
+ - git diff --cached --name-only
48
+ - git rev-parse HEAD
49
+ - git branch --show-current
50
+ 11. Fallback Truth
51
+ - fallback trigger reached or not
52
+ - fallback path used or not
53
+ - stalled runtime diff accepted: yes or no
54
+ - watchdog timeout reached: yes or no
55
+ - launcher-authored partial-failure closeout emitted: yes or no
56
+ - raw log path
57
+ - raw runtime report state before closeout
58
+ 12. Blockers / Open Questions
59
+ - <item>
60
+ 13. Ready State
61
+ - <ready / not ready>
62
+ - <reason>
50
63
  - <next step>
@@ -1,4 +1,4 @@
1
- # AGENT TASK TEMPLATE
1
+ # AGENT TASK TEMPLATE
2
2
  Issue:
3
3
  - <ISSUE_KEY> | <TITLE>
4
4
  Runtime:
@@ -14,6 +14,18 @@ Decision Requested:
14
14
  - <exact decision or ready-state question>
15
15
  Issue Closeout Mode:
16
16
  - <full-issue|phase-only>
17
+ Execution Permission:
18
+ - <read-only|workspace-write-approved>
19
+ Permission Approval Status:
20
+ - <not-required|human-approved>
21
+ Approved By:
22
+ - <name/role|n/a>
23
+ Approval Reason:
24
+ - <short reason|n/a>
25
+ Approved Writable Scope:
26
+ - <exact writable scope|n/a>
27
+ Approval Reference:
28
+ - <ticket/comment/reference|n/a>
17
29
  Formal Outputs To Produce:
18
30
  1. <tracked artifact path>
19
31
  2. <tracked artifact path>
@@ -24,7 +36,7 @@ Exclude Boundary:
24
36
  1. <excluded path or surface>
25
37
  2. <excluded path or surface>
26
38
  Inputs:
27
- - <file 1>
39
+ - <file 1; authoritative source input, read before any broader search>
28
40
  - <file 2>
29
41
  - <file 3>
30
42
  Boundary Mode:
@@ -43,11 +55,11 @@ Formal Artifact Write Expectation:
43
55
  Timebox / Search Budget:
44
56
  - <deliver-first / max search budget / when to stop and escalate>
45
57
  Runtime Stall Budget / Fallback Trigger:
46
- - <max runtime wait or retry budget / exact trigger that allows controller-local or native fallback>
58
+ - <e.g. 35 minutes / exact trigger that allows controller-local or native fallback>
47
59
  Execution Rules:
48
- 1. <critical rule>
49
- 2. <critical rule>
50
- 3. <commit/push restriction if relevant>
60
+ 1. Read every listed input first and treat `Inputs:` as the authoritative starting source set unless blocked by a missing exact dependency.
61
+ 2. Do not run broad repo-wide or directory-wide discovery before you have read the listed inputs; any extra inspection must stay inside `Include Boundary`.
62
+ 3. <additional critical rule or commit/push restriction if relevant>
51
63
  Required Verification:
52
64
  - <command 1>
53
65
  - <command 2>
@@ -57,7 +69,8 @@ Return Format:
57
69
  2. short summary
58
70
  3. exact files changed
59
71
  4. formal artifact truth
60
- 5. exact verification results
61
- 6. boundary truth
62
- 7. blockers or open questions
63
- 8. explicit readiness statement
72
+ 5. execution permission audit
73
+ 6. exact verification results
74
+ 7. boundary truth
75
+ 8. blockers or open questions
76
+ 9. explicit readiness statement
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
- {
2
- "name": "sdtk-spec-kit",
3
- "version": "0.3.14",
4
- "description": "SDTK-SPEC CLI toolkit for deterministic software documentation workflows via the sdtk-spec command",
5
- "bin": {
6
- "sdtk-spec": "bin/sdtk.js"
7
- },
8
- "main": "src/index.js",
9
- "type": "commonjs",
10
- "files": [
11
- "bin/",
12
- "src/",
13
- "assets/"
14
- ],
15
- "scripts": {
16
- "test": "npm run verify:payload && npm run pack:smoke",
17
- "build:payload": "powershell -ExecutionPolicy Bypass -File scripts/sync-toolkit-assets.ps1 && powershell -ExecutionPolicy Bypass -File scripts/build-toolkit-manifest.ps1",
18
- "verify:payload": "node -e \"require('./src/lib/toolkit-payload').verify()\"",
19
- "pack:smoke": "npm pack --dry-run",
20
- "pack:release": "npm pack",
21
- "prepublishOnly": "node -e \"require('./src/lib/toolkit-payload').verify()\""
22
- },
23
- "engines": {
24
- "node": ">=18.13.0"
25
- },
26
- "keywords": [
27
- "sdtk",
28
- "sdtk-spec",
29
- "sdtk-spec-kit",
30
- "cli",
31
- "documentation",
32
- "toolkit",
33
- "dockkit"
34
- ],
35
- "license": "MIT",
36
- "repository": {
37
- "type": "git",
38
- "url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
39
- "directory": "products/sdtk-spec/distribution/sdtk-spec-kit"
40
- },
41
- "homepage": "https://agenttoolkits.dev",
42
- "bugs": {
43
- "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
44
- },
45
- "publishConfig": {
46
- "access": "public"
47
- }
48
- }
1
+ {
2
+ "name": "sdtk-spec-kit",
3
+ "version": "0.3.16",
4
+ "description": "SDTK-SPEC CLI toolkit for deterministic software documentation workflows via the sdtk-spec command",
5
+ "bin": {
6
+ "sdtk-spec": "bin/sdtk.js"
7
+ },
8
+ "main": "src/index.js",
9
+ "type": "commonjs",
10
+ "files": [
11
+ "bin/",
12
+ "src/",
13
+ "assets/"
14
+ ],
15
+ "scripts": {
16
+ "test": "npm run verify:payload \u0026\u0026 npm run pack:smoke",
17
+ "build:payload": "powershell -ExecutionPolicy Bypass -File scripts/sync-toolkit-assets.ps1 \u0026\u0026 powershell -ExecutionPolicy Bypass -File scripts/build-toolkit-manifest.ps1",
18
+ "verify:payload": "node -e \"require(\u0027./src/lib/toolkit-payload\u0027).verify()\"",
19
+ "pack:smoke": "npm pack --dry-run",
20
+ "pack:release": "npm pack",
21
+ "prepublishOnly": "node -e \"require(\u0027./src/lib/toolkit-payload\u0027).verify()\""
22
+ },
23
+ "engines": {
24
+ "node": "\u003e=18.13.0"
25
+ },
26
+ "keywords": [
27
+ "sdtk",
28
+ "sdtk-spec",
29
+ "sdtk-spec-kit",
30
+ "cli",
31
+ "documentation",
32
+ "toolkit",
33
+ "dockkit"
34
+ ],
35
+ "license": "MIT",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
39
+ "directory": "products/sdtk-spec/distribution/sdtk-spec-kit"
40
+ },
41
+ "homepage": "https://agenttoolkits.dev",
42
+ "bugs": {
43
+ "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ }
48
+ }
@@ -1,22 +0,0 @@
1
- # API DESIGN CREATION RULES (Compatibility Note)
2
-
3
- This file is kept only for backward compatibility.
4
-
5
- Do not use this file as the primary source of truth anymore.
6
- The active rule source for API design detail and API flowchart behavior is now:
7
- - `API_DESIGN_FLOWCHART_CREATION_RULES_FINAL.md` (root)
8
- - `templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md` (toolkit)
9
-
10
- Even in compatibility mode, generated API design detail docs must still include:
11
- - a top-level `## Assumptions` section
12
- - this table format: `| # | Assumption | Verified | Risk if wrong |`
13
- - explicit unresolved assumptions when downstream review depends on them
14
-
15
- Use the active rule file for:
16
- - API design detail markdown structure
17
- - flowchart integration and synchronization rules
18
- - error section rules
19
- - flow summary / notes / login rules
20
- - assumptions-section requirements
21
-
22
- This compatibility note should remain only until all references are migrated.