@appchy/jarvis 0.1.76 → 0.1.78
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/bin.js +12 -8
- package/dist/bin.js.map +1 -1
- package/harness/harness/align.py +1 -1
- package/harness/harness/coverage.py +18 -3
- package/harness/harness/gate.py +57 -17
- package/harness/harness/shard.py +55 -18
- package/harness/test_work.py +147 -4
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -4709,7 +4709,7 @@ function toVerification(said) {
|
|
|
4709
4709
|
notices: []
|
|
4710
4710
|
};
|
|
4711
4711
|
}
|
|
4712
|
-
var STATES = ["started", "running", "finished"];
|
|
4712
|
+
var STATES = ["idle", "started", "running", "finished"];
|
|
4713
4713
|
function read(said) {
|
|
4714
4714
|
for (const line of said.split("\n").reverse()) {
|
|
4715
4715
|
if (!line.trim().startsWith("{")) continue;
|
|
@@ -4811,7 +4811,8 @@ async function observeWorkItem(ctx, req, options) {
|
|
|
4811
4811
|
return getWorkItem(ctx, { id: req.id }, options);
|
|
4812
4812
|
}
|
|
4813
4813
|
async function verifyWorkItem(_ctx, req, options) {
|
|
4814
|
-
|
|
4814
|
+
const door = req.start ? "--async" : "--status";
|
|
4815
|
+
return toVerification(await harnessSaid(["verify", "--task", req.id, door], options));
|
|
4815
4816
|
}
|
|
4816
4817
|
async function recordSession(ctx, req, options) {
|
|
4817
4818
|
await harness(["session", req.id], options, { CLAUDE_CODE_SESSION_ID: req.sessionId });
|
|
@@ -5007,7 +5008,7 @@ async function completeWorkItem2(ctx, req, options) {
|
|
|
5007
5008
|
};
|
|
5008
5009
|
}
|
|
5009
5010
|
async function verifyWorkItem2(ctx, req, options) {
|
|
5010
|
-
const verified = await verifyWorkItem(ctx, { id: req.id }, options);
|
|
5011
|
+
const verified = await verifyWorkItem(ctx, { id: req.id, start: req.start }, options);
|
|
5011
5012
|
return { ...verified, notices: notices(ctx, req.id) };
|
|
5012
5013
|
}
|
|
5013
5014
|
async function createWorkItem2(ctx, req, options) {
|
|
@@ -10109,7 +10110,7 @@ import { createRequire as createRequire2 } from "module";
|
|
|
10109
10110
|
var _require = createRequire2(import.meta.url);
|
|
10110
10111
|
var VERSION2 = _require("../package.json").version ?? "0.0.0";
|
|
10111
10112
|
var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
|
|
10112
|
-
var SHA = "
|
|
10113
|
+
var SHA = "8edf530";
|
|
10113
10114
|
var BUILT = "2026-09-10";
|
|
10114
10115
|
var BUILD = SHA ?? "source";
|
|
10115
10116
|
var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
|
|
@@ -11707,11 +11708,14 @@ function updateTool(handlers) {
|
|
|
11707
11708
|
function verifyTool(handlers) {
|
|
11708
11709
|
return {
|
|
11709
11710
|
name: "work_verify",
|
|
11710
|
-
description: "Run this repo's own gates against an item and record the result on it. Completion refuses until they have passed at the current commit, so run this before work_complete rather than after being refused. It runs the whole configured set \u2014 there is no way to ask for one gate.
|
|
11711
|
+
description: "Run this repo's own gates against an item and record the result on it. Completion refuses until they have passed at the current commit, so run this before work_complete rather than after being refused. It runs the whole configured set \u2014 there is no way to ask for one gate. Call once with start:true to set them going, then call WITHOUT it for progress and the result: asking never starts a run. They take minutes. One run per checkout; starting while another runs says whose it is.",
|
|
11711
11712
|
metadata: { readOnly: false },
|
|
11712
11713
|
input: {
|
|
11713
11714
|
type: "object",
|
|
11714
|
-
properties: {
|
|
11715
|
+
properties: {
|
|
11716
|
+
id: { type: "string", description: "The item's name, from work_list." },
|
|
11717
|
+
start: { type: "boolean", description: "Set once to begin. Without it, this only reports." }
|
|
11718
|
+
},
|
|
11715
11719
|
required: ["id"],
|
|
11716
11720
|
additionalProperties: false
|
|
11717
11721
|
},
|
|
@@ -11720,8 +11724,8 @@ function verifyTool(handlers) {
|
|
|
11720
11724
|
properties: {
|
|
11721
11725
|
state: {
|
|
11722
11726
|
type: "string",
|
|
11723
|
-
enum: ["started", "running", "finished"],
|
|
11724
|
-
description: "Only 'finished' carries a result; ask again until it does."
|
|
11727
|
+
enum: ["idle", "started", "running", "finished"],
|
|
11728
|
+
description: "Only 'finished' carries a result; ask again until it does. 'idle' means nothing has run at this commit."
|
|
11725
11729
|
},
|
|
11726
11730
|
gate: { type: "string", description: "The gate executing now." },
|
|
11727
11731
|
elapsedSeconds: { type: "number" },
|