@csark0812/skeleton 1.6.1 → 1.6.2
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/cli.js +2 -2
- package/package.json +1 -1
- package/schemas/config.schema.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -30837,7 +30837,7 @@ function checkStaleReview(input) {
|
|
|
30837
30837
|
if (ageDays <= staleDays)
|
|
30838
30838
|
return null;
|
|
30839
30839
|
return issue("doc-meta", relPath2, {
|
|
30840
|
-
message: `doc-meta last-reviewed ${reviewedStr}
|
|
30840
|
+
message: `doc-meta last-reviewed ${reviewedStr} exceeds re-read cadence (>${staleDays} days) — re-affirm the paper or bump after review`,
|
|
30841
30841
|
severity: "warning"
|
|
30842
30842
|
});
|
|
30843
30843
|
}
|
|
@@ -30861,7 +30861,7 @@ function checkGitFreshness(input) {
|
|
|
30861
30861
|
if (committed.getTime() <= reviewed.getTime())
|
|
30862
30862
|
return null;
|
|
30863
30863
|
return issue("doc-meta", relPath2, {
|
|
30864
|
-
message: `content changed after last-reviewed ${reviewedStr} (git: ${gitDate}) — bump last-reviewed
|
|
30864
|
+
message: `content changed after last-reviewed ${reviewedStr} (git: ${gitDate}) — review no longer covers latest edit; bump last-reviewed after review`,
|
|
30865
30865
|
severity: "warning"
|
|
30866
30866
|
});
|
|
30867
30867
|
}
|
package/package.json
CHANGED
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"daysUntilStale": {
|
|
43
43
|
"type": "integer",
|
|
44
|
-
"minimum": 1
|
|
44
|
+
"minimum": 1,
|
|
45
|
+
"description": "Re-read cadence in days for doc-meta last-reviewed (warn; --strict → error). Separate from git edit-behind-review checks."
|
|
45
46
|
},
|
|
46
47
|
"docsLint": {
|
|
47
48
|
"type": "object",
|