@coresource/hz 0.21.2 → 0.21.3
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/dist/hz.mjs +2 -9
- package/package.json +1 -1
package/dist/hz.mjs
CHANGED
|
@@ -8081,7 +8081,7 @@ function validateMilestonePlan(milestones, context) {
|
|
|
8081
8081
|
}
|
|
8082
8082
|
const descriptionTokens = tokenize(milestone.description);
|
|
8083
8083
|
const overlapsContext = descriptionTokens.some((token) => extractedContext.contextTokens.has(token));
|
|
8084
|
-
if (!overlapsContext) {
|
|
8084
|
+
if (!overlapsContext && extractedContext.contextTokens.size >= 10) {
|
|
8085
8085
|
issues.add(
|
|
8086
8086
|
createValidationIssue(
|
|
8087
8087
|
"description must reference the investigation architecture or actual repo artifacts",
|
|
@@ -8110,14 +8110,7 @@ function validateMilestonePlan(milestones, context) {
|
|
|
8110
8110
|
},
|
|
8111
8111
|
extractedContext
|
|
8112
8112
|
);
|
|
8113
|
-
if (referencedArtifacts.length
|
|
8114
|
-
issues.add(
|
|
8115
|
-
createValidationIssue(
|
|
8116
|
-
"must reference at least one concrete module, package, or directory from the investigation",
|
|
8117
|
-
milestone.name
|
|
8118
|
-
)
|
|
8119
|
-
);
|
|
8120
|
-
} else {
|
|
8113
|
+
if (referencedArtifacts.length > 0) {
|
|
8121
8114
|
referencedCount += 1;
|
|
8122
8115
|
}
|
|
8123
8116
|
for (const dependency of milestone.dependencies) {
|