@mrciphersmith/keryx 0.4.38 → 0.4.40
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 +296 -121
- package/dist/core.js +2 -2
- package/dist/keryx-general-worker-entry.js +12 -5
- package/package.json +1 -1
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +174 -463
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +154 -584
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +213 -853
package/dist/core.js
CHANGED
|
@@ -10216,7 +10216,7 @@ var init_skill_length_ceilings = __esm(() => {
|
|
|
10216
10216
|
"orchestration/code-verifier": 339,
|
|
10217
10217
|
"orchestration/context-collector": 662,
|
|
10218
10218
|
"orchestration/feature-analyzer": 447,
|
|
10219
|
-
"orchestration/flow-orchestrator":
|
|
10219
|
+
"orchestration/flow-orchestrator": 393,
|
|
10220
10220
|
"orchestration/issue-analyzer": 373,
|
|
10221
10221
|
"orchestration/job-orchestrator": 2197,
|
|
10222
10222
|
"orchestration/task-implementer": 660,
|
|
@@ -10271,7 +10271,7 @@ var init_skill_length_ceilings = __esm(() => {
|
|
|
10271
10271
|
"review/review-jev-scenarios": 179,
|
|
10272
10272
|
"review/review-layout": 228,
|
|
10273
10273
|
"review/review-logic": 356,
|
|
10274
|
-
"review/review-orchestrator":
|
|
10274
|
+
"review/review-orchestrator": 918,
|
|
10275
10275
|
"review/review-performance": 324,
|
|
10276
10276
|
"review/review-pr-contract": 185,
|
|
10277
10277
|
"review/review-pr-feedback": 893,
|
|
@@ -11316,7 +11316,7 @@ var init_skill_length_ceilings = __esm(() => {
|
|
|
11316
11316
|
"orchestration/code-verifier": 339,
|
|
11317
11317
|
"orchestration/context-collector": 662,
|
|
11318
11318
|
"orchestration/feature-analyzer": 447,
|
|
11319
|
-
"orchestration/flow-orchestrator":
|
|
11319
|
+
"orchestration/flow-orchestrator": 393,
|
|
11320
11320
|
"orchestration/issue-analyzer": 373,
|
|
11321
11321
|
"orchestration/job-orchestrator": 2197,
|
|
11322
11322
|
"orchestration/task-implementer": 660,
|
|
@@ -11371,7 +11371,7 @@ var init_skill_length_ceilings = __esm(() => {
|
|
|
11371
11371
|
"review/review-jev-scenarios": 179,
|
|
11372
11372
|
"review/review-layout": 228,
|
|
11373
11373
|
"review/review-logic": 356,
|
|
11374
|
-
"review/review-orchestrator":
|
|
11374
|
+
"review/review-orchestrator": 918,
|
|
11375
11375
|
"review/review-performance": 324,
|
|
11376
11376
|
"review/review-pr-contract": 185,
|
|
11377
11377
|
"review/review-pr-feedback": 893,
|
|
@@ -29009,7 +29009,7 @@ ${describeBlockers(open, card)}`
|
|
|
29009
29009
|
message: `The managed review ${open.reviewId} is not finished: it is finished when the package is closed (${card ? "the operator answers the `review_complete` card and its gates pass" : "`keryx review complete` accepts it"}), not when you stop writing. ` + `It still refuses on:
|
|
29010
29010
|
${describeBlockers(open, card)}
|
|
29011
29011
|
` + `${nextStep(open, card)}
|
|
29012
|
-
` + "Do the next missing step now. Step 1 (Build Review Context Pack) has no CLI command; it is a prose step, so mark it done and move on. " + "A command that is refused is not a blocker: run `keryx review --help` for the accepted usage and retry with the right flags. " + "A plan item you marked blocked for such a reason is not blocked: mark it in_progress. " + "A tool loop guard or an empty child result is not a reason to ask the operator to resend the request or to continue: change the arguments, retry the failed pass on a smaller slice, and keep going. " + `Stop only after ${card ? "the `review_complete` card has" : "`keryx review complete` has"} closed the package, or report the one real blocker with its evidence.`
|
|
29012
|
+
` + "Do the next missing step now. Step 1 (Build Review Context Pack) has no CLI command; it is a prose step, so mark it done and move on. " + "A command that is refused is not a blocker: run `keryx review --help` for the accepted usage and retry with the right flags. " + "A routing refusal is the exception: when `keryx review tier` reports `dispatchable: false`, the operator's routing configuration refuses the reviewer model and no retry changes that, so report it as the one real blocker with the `routing:` lines it printed. " + "A plan item you marked blocked for such a reason is not blocked: mark it in_progress. " + "A tool loop guard or an empty child result is not a reason to ask the operator to resend the request or to continue: change the arguments, retry the failed pass on a smaller slice, and keep going. " + `Stop only after ${card ? "the `review_complete` card has" : "`keryx review complete` has"} closed the package, or report the one real blocker with its evidence.`
|
|
29013
29013
|
};
|
|
29014
29014
|
}
|
|
29015
29015
|
|
|
@@ -29682,6 +29682,7 @@ var GIT_READ_SUBCOMMANDS = new Set([
|
|
|
29682
29682
|
"merge-base",
|
|
29683
29683
|
"blame"
|
|
29684
29684
|
]);
|
|
29685
|
+
var GIT_CAT_FILE_CHECK_FLAGS = new Set(["-e", "-t"]);
|
|
29685
29686
|
var BUN_TEST_FLAGS = new Set(["--bail", "--only", "--todo"]);
|
|
29686
29687
|
var BUN_TEST_COUNT_FLAGS = new Set(["--rerun-each", "--timeout"]);
|
|
29687
29688
|
var EXEC_FLAGS = ["--pre", "--hostname-bin", "--output", "--ext-diff", "--exec", "--upload-pack", "--post", "--publish", "--push"];
|
|
@@ -29706,6 +29707,7 @@ var TRUST_ROUTINE_KEYRYX = [
|
|
|
29706
29707
|
...rows("review", [
|
|
29707
29708
|
"attach",
|
|
29708
29709
|
"start",
|
|
29710
|
+
"plan",
|
|
29709
29711
|
"scope",
|
|
29710
29712
|
"slice",
|
|
29711
29713
|
"dispatch-check",
|
|
@@ -29919,6 +29921,9 @@ function isGitReadConfined(words, walk) {
|
|
|
29919
29921
|
return false;
|
|
29920
29922
|
return !words.slice(2).some((w) => !w.startsWith("-") && isEscapingOperand(w, cwd, walk.projectRoot));
|
|
29921
29923
|
}
|
|
29924
|
+
function isGitObjectCheck(words) {
|
|
29925
|
+
return words.length === 4 && GIT_CAT_FILE_CHECK_FLAGS.has(words[2]) && !words[3].startsWith("-");
|
|
29926
|
+
}
|
|
29922
29927
|
function isRoutineSegment(words, walk) {
|
|
29923
29928
|
if (words.length === 0 || stripAssignments(words).length !== words.length)
|
|
29924
29929
|
return false;
|
|
@@ -29933,6 +29938,8 @@ function isRoutineSegment(words, walk) {
|
|
|
29933
29938
|
case "bun":
|
|
29934
29939
|
return words[1] === "test" && isRoutineBunTest(words, walk);
|
|
29935
29940
|
case "git":
|
|
29941
|
+
if (words[1] === "cat-file")
|
|
29942
|
+
return isGitObjectCheck(words) && isGitReadConfined(words, walk);
|
|
29936
29943
|
return words[1] !== undefined && GIT_READ_SUBCOMMANDS.has(words[1]) && !hasExecWord(words) && isGitReadConfined(words, walk);
|
|
29937
29944
|
default:
|
|
29938
29945
|
return false;
|
|
@@ -37070,7 +37077,7 @@ ${block}
|
|
|
37070
37077
|
}
|
|
37071
37078
|
}
|
|
37072
37079
|
function asksForAutomaticReview(deps, options, userLine) {
|
|
37073
|
-
return options.automaticReview ?? ((options.origin ?? "operator") === "operator" && deps.subagentBudget === undefined && isAutomaticReviewRequest(userLine));
|
|
37080
|
+
return options.automaticReview ?? ((options.origin ?? "operator") === "operator" && deps.subagentBudget === undefined && isAutomaticReviewRequest(options.operatorText ?? userLine));
|
|
37074
37081
|
}
|
|
37075
37082
|
function agentContextWindow(deps) {
|
|
37076
37083
|
return deps.getContextWindow !== undefined ? deps.getContextWindow() : deps.contextWindow;
|
|
@@ -37718,7 +37725,7 @@ ${AUTOMATIC_REVIEW_NOTE}`;
|
|
|
37718
37725
|
hashByCallId.delete(id);
|
|
37719
37726
|
}
|
|
37720
37727
|
};
|
|
37721
|
-
let untrustedContentSeen = options.origin === "agent-message" || externalReportAtTurnStart;
|
|
37728
|
+
let untrustedContentSeen = options.origin === "agent-message" || options.untrustedPrompt === true || externalReportAtTurnStart;
|
|
37722
37729
|
if (deps.tools.some((tool) => tool.definition.name === "ask_user")) {
|
|
37723
37730
|
rememberArbiterSession({ providerId: deps.providerId, modelId: deps.modelId });
|
|
37724
37731
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.40",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|