@appchy/jarvis 0.1.86 → 0.1.88
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 +16 -2
- package/dist/bin.js.map +1 -1
- package/dist/data/mcp.mjs +15 -1
- package/harness/harness/coverage.py +46 -11
- package/harness/harness/gate.py +49 -1
- package/harness/harness/shard.py +20 -8
- package/harness/test_work.py +62 -5
- package/package.json +6 -6
package/dist/bin.js
CHANGED
|
@@ -8478,12 +8478,23 @@ function planScope(ctx, req) {
|
|
|
8478
8478
|
anticipated,
|
|
8479
8479
|
editCodeNodes,
|
|
8480
8480
|
governance,
|
|
8481
|
+
obligations: toObligations(governance),
|
|
8481
8482
|
references,
|
|
8482
8483
|
testsCovering,
|
|
8483
8484
|
blastRadius,
|
|
8484
8485
|
lowConfidence
|
|
8485
8486
|
};
|
|
8486
8487
|
}
|
|
8488
|
+
function toObligations(governance) {
|
|
8489
|
+
return governance.map((g) => {
|
|
8490
|
+
const full = g.body !== void 0;
|
|
8491
|
+
return {
|
|
8492
|
+
id: g.id,
|
|
8493
|
+
full,
|
|
8494
|
+
statement: full ? `Its full text is here. Say how the plan satisfies it, or why it does not apply.` : `Not read yet \u2014 only its title arrived. Read it, then say how the plan satisfies it.`
|
|
8495
|
+
};
|
|
8496
|
+
});
|
|
8497
|
+
}
|
|
8487
8498
|
function isCodeHit(hit) {
|
|
8488
8499
|
return hit.file !== void 0 && hit.id === void 0;
|
|
8489
8500
|
}
|
|
@@ -9000,6 +9011,7 @@ async function scope(ctx, req) {
|
|
|
9000
9011
|
editSet: [],
|
|
9001
9012
|
anticipatedIntegrationPoints: [],
|
|
9002
9013
|
governance: [],
|
|
9014
|
+
obligations: [],
|
|
9003
9015
|
references: [],
|
|
9004
9016
|
testsCovering: [],
|
|
9005
9017
|
blastRadius: { total: 0, byType: {} },
|
|
@@ -9108,13 +9120,15 @@ async function scope(ctx, req) {
|
|
|
9108
9120
|
const rules = await readRules(ctx, plan.governance, req.rules);
|
|
9109
9121
|
const topFiles = plan.editSet.slice(0, 3).map((e) => e.file).join(", ");
|
|
9110
9122
|
const topGov = plan.governance.filter((g) => g.body === void 0).slice(0, 3).map((g) => g.id).join(", ");
|
|
9111
|
-
const
|
|
9123
|
+
const unread = plan.obligations.filter((o) => !o.full).length;
|
|
9124
|
+
const summary = plan.lowConfidence ? `Low-confidence (build-new) scope for "${req.task}": no code strongly matched \u2014 ${plan.anticipated.length} integration point(s) to READ, not edit; ${plan.governance.length} concept-matched governance. Lead with search + read.` : `Scoped "${req.task}": ${plan.editSet.length} edit target(s), ${plan.governance.length} governance, ${plan.testsCovering.length} covering test(s), blast radius ${plan.blastRadius.total} (${confidence})${topFiles ? ` \u2014 ${topFiles}` : ""}.${rules.ids > 0 && topGov ? ` ${rules.full} rule(s) came back in full; NEXT: read ${topGov} for the ${rules.ids} that did not,` : rules.full > 0 ? ` All ${rules.full} governing rule(s) came back in FULL \u2014 read them here, not with map_read;` : " NEXT:"} then check the edit-set with map_scope {edits} before you commit.${plan.obligations.length > 0 ? ` ${plan.obligations.length} obligation(s) outstanding${unread > 0 ? `, ${unread} of them not yet read` : ""} \u2014 see \`obligations\`.` : ""}`;
|
|
9112
9125
|
return {
|
|
9113
9126
|
summary,
|
|
9114
9127
|
task: req.task,
|
|
9115
9128
|
editSet: plan.editSet,
|
|
9116
9129
|
anticipatedIntegrationPoints: plan.anticipated,
|
|
9117
9130
|
governance: plan.governance,
|
|
9131
|
+
obligations: plan.obligations,
|
|
9118
9132
|
rules,
|
|
9119
9133
|
references: plan.references,
|
|
9120
9134
|
testsCovering: plan.testsCovering,
|
|
@@ -10114,7 +10128,7 @@ import { createRequire as createRequire2 } from "module";
|
|
|
10114
10128
|
var _require = createRequire2(import.meta.url);
|
|
10115
10129
|
var VERSION2 = _require("../package.json").version ?? "0.0.0";
|
|
10116
10130
|
var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
|
|
10117
|
-
var SHA = "
|
|
10131
|
+
var SHA = "c469cb4";
|
|
10118
10132
|
var BUILT = "2026-09-11";
|
|
10119
10133
|
var BUILD = SHA ?? "source";
|
|
10120
10134
|
var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
|