@vfarcic/dot-ai 0.31.0 → 0.33.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.
package/package.json
CHANGED
|
@@ -50,7 +50,10 @@ Generate production-ready Kubernetes YAML manifests from the complete solution c
|
|
|
50
50
|
* **Resource limits** → Add ResourceQuota or LimitRange resources
|
|
51
51
|
|
|
52
52
|
5. **Generate Appropriate Manifests**:
|
|
53
|
-
-
|
|
53
|
+
- **CRITICAL**: Analyze resource relationships before generating separate manifests
|
|
54
|
+
- When multiple resources can be integrated (e.g., one resource has fields that reference another), prefer integration over separate resources
|
|
55
|
+
- Generate separate manifests only when resources must be standalone or when integration is not supported by the schema
|
|
56
|
+
- Use resource schemas to determine integration possibilities and required field relationships
|
|
54
57
|
- **IMPORTANT**: Include any additional supporting resources needed to fulfill open requirements
|
|
55
58
|
- Use correct API versions and schemas from the solution data
|
|
56
59
|
- Ensure all resources work together to meet user's complete requirements
|
|
@@ -27,13 +27,23 @@ Analyze the user's intent and determine the best solution(s). **Provide multiple
|
|
|
27
27
|
|
|
28
28
|
## Scoring Guidelines
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
**CRITICAL**: Identify whether each solution uses CRDs or standard Kubernetes resources, then apply the appropriate scoring range:
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
- **
|
|
34
|
-
- **
|
|
35
|
-
- **30-
|
|
36
|
-
- **0-29**:
|
|
32
|
+
### For CRD/Custom Resource Solutions:
|
|
33
|
+
- **90-100**: CRD that clearly addresses user intent - operators provide higher-level abstractions and automatic resource management
|
|
34
|
+
- **70-89**: CRD with partial relevance to user intent - may work but not ideal fit
|
|
35
|
+
- **30-69**: CRD with limited relevance - significant gaps for this use case
|
|
36
|
+
- **0-29**: CRD completely irrelevant to user intent
|
|
37
|
+
|
|
38
|
+
### For Standard Kubernetes Resource Solutions:
|
|
39
|
+
- **80-89**: Standard resource combination that fully addresses user intent
|
|
40
|
+
- **60-79**: Standard resources with minor gaps or additional complexity
|
|
41
|
+
- **30-59**: Standard resources with significant limitations - major gaps in functionality
|
|
42
|
+
- **0-29**: Standard resources poorly suited for this intent
|
|
43
|
+
|
|
44
|
+
**Rationale**: CRDs get preference when relevant because operators provide domain expertise and simplified management. Standard resources remain reliable when no suitable CRDs exist.
|
|
45
|
+
|
|
46
|
+
**IMPORTANT**: Never score a CRD in the 80-89 range (reserved for standard resources) or standard resources in the 90-100 range (reserved for CRDs).
|
|
37
47
|
|
|
38
48
|
## Response Format
|
|
39
49
|
|