@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.
Files changed (2) hide show
  1. package/dist/hz.mjs +2 -9
  2. 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 === 0) {
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coresource/hz",
3
- "version": "0.21.2",
3
+ "version": "0.21.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "hz": "dist/hz.mjs"