@mrciphersmith/keryx 0.4.55 → 0.4.57
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 +6058 -4363
- package/dist/core.js +20 -20
- package/dist/keryx-general-worker-entry.js +712 -595
- package/package.json +1 -1
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +29 -30
package/dist/core.js
CHANGED
|
@@ -10323,7 +10323,7 @@ var init_skill_length_ceilings = __esm(() => {
|
|
|
10323
10323
|
"review/review-jev-scenarios": 179,
|
|
10324
10324
|
"review/review-layout": 228,
|
|
10325
10325
|
"review/review-logic": 356,
|
|
10326
|
-
"review/review-orchestrator":
|
|
10326
|
+
"review/review-orchestrator": 917,
|
|
10327
10327
|
"review/review-performance": 324,
|
|
10328
10328
|
"review/review-pr-contract": 185,
|
|
10329
10329
|
"review/review-pr-feedback": 893,
|
|
@@ -30447,6 +30447,23 @@ async function collectReviewers(projectRoot, deps = {}) {
|
|
|
30447
30447
|
return { bundled, bundledSource, project };
|
|
30448
30448
|
}
|
|
30449
30449
|
|
|
30450
|
+
// src/review/conform-state.ts
|
|
30451
|
+
init_redact();
|
|
30452
|
+
// src/review/jev-risk.ts
|
|
30453
|
+
var TEST_INFIX_RE = /\.(test|spec)\./;
|
|
30454
|
+
var TEST_DIR_RE = /(^|\/)(__tests__|tests?)\//;
|
|
30455
|
+
function isTestFilePath(path) {
|
|
30456
|
+
return TEST_INFIX_RE.test(path) || TEST_DIR_RE.test(path);
|
|
30457
|
+
}
|
|
30458
|
+
var DIMENSION_INSTRUCTIONS = {
|
|
30459
|
+
security: "Given the deterministic facts and the hunk above, how likely is this change SECURITY-SENSITIVE \u2014 it touches " + "authentication, authorization/permissions, cryptography, secrets, input validation, or a trust boundary?",
|
|
30460
|
+
"data-migration": "Given the deterministic facts and the hunk above, how likely is this change to affect DATA or a MIGRATION \u2014 a " + "schema change, a data migration, or the shape of stored/persisted data?",
|
|
30461
|
+
"public-api": "Given the deterministic facts and the hunk above, how likely is this change to alter a PUBLIC API or CONTRACT \u2014 " + "an exported function/type signature, a wire format, a CLI flag, or anything a caller outside this hunk depends on \u2014 in a way that breaks a caller?",
|
|
30462
|
+
concurrency: "Given the deterministic facts and the hunk above, how likely is this change to touch CONCURRENCY \u2014 locking, " + "async ordering, shared mutable state, or a race condition?",
|
|
30463
|
+
"error-handling": "Given the deterministic facts and the hunk above, how likely is this change to alter ERROR HANDLING \u2014 how a " + "failure is caught, reported, retried, or recovered from?"
|
|
30464
|
+
};
|
|
30465
|
+
var IMPACT_TEMPLATE = "A high-risk hunk with no test in the same diff exercising its module is the shape of change most likely to " + "regress silently: nobody but a careful human reviewer will notice before it ships.";
|
|
30466
|
+
|
|
30450
30467
|
// src/review/jev-select.ts
|
|
30451
30468
|
var CORE_MANDATORY_REVIEWER_IDS = [
|
|
30452
30469
|
"review-logic",
|
|
@@ -31240,8 +31257,8 @@ var BUNDLED_PATH_GATES = {
|
|
|
31240
31257
|
"review-flow-graph": (f) => /(^|\/)(src\/core\/flow|src\/graph|src\/shared\/flow)\//.test(f),
|
|
31241
31258
|
"review-testing-practices": (f) => TEST_FILE.test(f) || /\.msw\.ts$/.test(f),
|
|
31242
31259
|
"review-frontend-conventions": (f) => FRONTEND_EXT.test(f) || /\.stories\.tsx$/.test(f) || CODE_FILE.test(f),
|
|
31243
|
-
"review-layout": (f) => /\.(tsx|jsx|css|scss)$/.test(f),
|
|
31244
|
-
"review-ui-ux": (f) => /\.(tsx|jsx|vue|svelte|html|css|scss)$/.test(f)
|
|
31260
|
+
"review-layout": (f) => !isTestFilePath(f) && /\.(tsx|jsx|css|scss)$/.test(f),
|
|
31261
|
+
"review-ui-ux": (f) => !isTestFilePath(f) && /\.(tsx|jsx|vue|svelte|html|css|scss)$/.test(f)
|
|
31245
31262
|
};
|
|
31246
31263
|
var RISK_PATH_GATES = Object.fromEntries(Object.entries(BUNDLED_PATH_GATES).filter(([name]) => name !== "review-testing-practices" && name !== "review-frontend-conventions" && name !== "review-ui-ux"));
|
|
31247
31264
|
async function decideRoundDepth(root, request, input) {
|
|
@@ -31852,23 +31869,6 @@ function projectRootOfPackage(packageDir) {
|
|
|
31852
31869
|
return found !== resolved ? found : path55.resolve(resolved, "..", "..", "..");
|
|
31853
31870
|
}
|
|
31854
31871
|
|
|
31855
|
-
// src/review/conform-state.ts
|
|
31856
|
-
init_redact();
|
|
31857
|
-
// src/review/jev-risk.ts
|
|
31858
|
-
var TEST_INFIX_RE = /\.(test|spec)\./;
|
|
31859
|
-
var TEST_DIR_RE = /(^|\/)(__tests__|tests?)\//;
|
|
31860
|
-
function isTestFilePath(path) {
|
|
31861
|
-
return TEST_INFIX_RE.test(path) || TEST_DIR_RE.test(path);
|
|
31862
|
-
}
|
|
31863
|
-
var DIMENSION_INSTRUCTIONS = {
|
|
31864
|
-
security: "Given the deterministic facts and the hunk above, how likely is this change SECURITY-SENSITIVE \u2014 it touches " + "authentication, authorization/permissions, cryptography, secrets, input validation, or a trust boundary?",
|
|
31865
|
-
"data-migration": "Given the deterministic facts and the hunk above, how likely is this change to affect DATA or a MIGRATION \u2014 a " + "schema change, a data migration, or the shape of stored/persisted data?",
|
|
31866
|
-
"public-api": "Given the deterministic facts and the hunk above, how likely is this change to alter a PUBLIC API or CONTRACT \u2014 " + "an exported function/type signature, a wire format, a CLI flag, or anything a caller outside this hunk depends on \u2014 in a way that breaks a caller?",
|
|
31867
|
-
concurrency: "Given the deterministic facts and the hunk above, how likely is this change to touch CONCURRENCY \u2014 locking, " + "async ordering, shared mutable state, or a race condition?",
|
|
31868
|
-
"error-handling": "Given the deterministic facts and the hunk above, how likely is this change to alter ERROR HANDLING \u2014 how a " + "failure is caught, reported, retried, or recovered from?"
|
|
31869
|
-
};
|
|
31870
|
-
var IMPACT_TEMPLATE = "A high-risk hunk with no test in the same diff exercising its module is the shape of change most likely to " + "regress silently: nobody but a careful human reviewer will notice before it ships.";
|
|
31871
|
-
|
|
31872
31872
|
// src/review/slice-routing.ts
|
|
31873
31873
|
var ALWAYS_ROLE = "review-logic";
|
|
31874
31874
|
var REGRESSION_ROLE = "review-regression";
|