@mrciphersmith/keryx 0.3.61 → 0.3.63

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.
Files changed (4) hide show
  1. package/README.md +17 -0
  2. package/dist/cli.js +5869 -3162
  3. package/dist/core.js +22 -2
  4. package/package.json +2 -2
package/dist/core.js CHANGED
@@ -12106,6 +12106,9 @@ function renderMetaprojectGitignoreBlock() {
12106
12106
  # entries rather than inheriting coverage that does not exist.
12107
12107
  .metaproject/data/learning/observations/
12108
12108
  .metaproject/data/learning/candidates/
12109
+ # Recommendation journal (flow 392): what the human chose and why they deviated.
12110
+ # Personal runtime state, written 0o600.
12111
+ .metaproject/data/decisions/
12109
12112
  `;
12110
12113
  }
12111
12114
  function escapeRegExp2(value) {
@@ -28083,10 +28086,11 @@ function createFlowService(deps) {
28083
28086
  return current;
28084
28087
  }
28085
28088
  if (kind !== "unknown") {
28089
+ const carried = before?.kind === kind ? before : undefined;
28086
28090
  const resolution = resolveOrigin({
28087
28091
  kind,
28088
- quote: quote !== undefined && quote.length > 0 ? quote : before?.quote,
28089
- source: source !== undefined && source.length > 0 ? source : before?.source
28092
+ quote: quote !== undefined && quote.length > 0 ? quote : carried?.quote,
28093
+ source: source !== undefined && source.length > 0 ? source : carried?.source
28090
28094
  });
28091
28095
  if (resolution.origin === undefined) {
28092
28096
  note = resolution.note;
@@ -37756,8 +37760,12 @@ function readJsonl2(file) {
37756
37760
  role: o.role,
37757
37761
  content: o.content,
37758
37762
  ...o.provenance === "trusted" || o.provenance === "project" || o.provenance === "model" || o.provenance === "tool" || o.provenance === "harness" ? { provenance: o.provenance } : {},
37763
+ ...o.injected === true ? { injected: true } : {},
37759
37764
  ...toolCalls !== undefined ? { toolCalls } : {},
37760
37765
  ...typeof o.toolCallId === "string" && o.toolCallId.length > 0 ? { toolCallId: o.toolCallId } : {},
37766
+ ...o.isError === true ? { isError: true } : {},
37767
+ ...typeof o.spillPath === "string" && o.spillPath.length > 0 ? { spillPath: o.spillPath } : {},
37768
+ ...o.collapsed === true ? { collapsed: true } : {},
37761
37769
  ...typeof o.ts === "string" && o.ts.length > 0 ? { ts: o.ts } : {},
37762
37770
  ...reasoning !== undefined ? { reasoning } : {}
37763
37771
  });
@@ -41327,6 +41335,12 @@ var HELP_GROUPS = [
41327
41335
  group: "Automation",
41328
41336
  summary: "Read-only report over already-recorded spend, confirmations, signatures and gate outcomes."
41329
41337
  },
41338
+ {
41339
+ kind: "cli",
41340
+ name: "decisions",
41341
+ group: "Automation",
41342
+ summary: "Recommendation journal: record each agent question with options and its recommendation, the human's choice, and report how often they agree (a third are asked blind)."
41343
+ },
41330
41344
  {
41331
41345
  kind: "cli",
41332
41346
  name: "product",
@@ -41381,6 +41395,12 @@ var HELP_GROUPS = [
41381
41395
  group: "Automation",
41382
41396
  summary: "Flows with their summary and stated effect \u2014 check an open one, complete it once the check passes and the PR is merged; the last report in its own tab, or run one in the background."
41383
41397
  },
41398
+ {
41399
+ kind: "slash",
41400
+ name: "/decisions",
41401
+ group: "Automation",
41402
+ summary: "Recommendation journal report: match share by mode and stage, and the deviations with their reasons."
41403
+ },
41384
41404
  {
41385
41405
  kind: "slash",
41386
41406
  name: "/product",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.3.61",
3
+ "version": "0.3.63",
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": {
@@ -45,7 +45,7 @@
45
45
  "typecheck": "tsc --noEmit",
46
46
  "typecheck:scripts": "tsc --project tsconfig.scripts.json --noEmit",
47
47
  "test": "bun test",
48
- "test:core": "bun test src/cli src/core src/impact-evidence/ src/shell-source-audits.test.ts src/acp/ src/assets/ src/bundle/ src/capability/ src/commands/ src/contracts/ src/ctx/ src/eval/ src/flow/ src/forgetting/ src/gdgraph/ src/gdskills/ src/governance/ src/product/ src/health/ src/integrations/ src/job/ src/learning/ src/lib/ src/mcp/ src/memory/ src/metrics/ src/retention/ src/review/ src/rules/ src/sac/ src/security/ src/stack/ src/standard/ src/sync/ src/testing/ src/trigger/ src/wiki/ scripts/",
48
+ "test:core": "bun test src/cli src/core src/impact-evidence/ src/shell-source-audits.test.ts src/acp/ src/assets/ src/bundle/ src/capability/ src/commands/ src/contracts/ src/ctx/ src/decisions/ src/eval/ src/flow/ src/forgetting/ src/gdgraph/ src/gdskills/ src/governance/ src/product/ src/health/ src/integrations/ src/job/ src/learning/ src/lib/ src/mcp/ src/memory/ src/metrics/ src/retention/ src/review/ src/rules/ src/sac/ src/security/ src/stack/ src/standard/ src/sync/ src/testing/ src/trigger/ src/wiki/ scripts/",
49
49
  "test:client:terminal": "bun test src/tui/ src/commands/shell",
50
50
  "test:client:streaming": "bun test src/harness/provider/",
51
51
  "test:client:cancel-resume": "bun test src/harness/run/ src/harness/resume/ src/harness/session/ src/session/ src/bus/ src/rewind/ src/remote/ src/docs/ src/commands/sessions",