@yagni-app/code-staging 1.2.4-staging.1766.1 → 1.2.4-staging.1771.1

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.
@@ -31,7 +31,11 @@ import type { StageId } from "./types.js";
31
31
  export interface MissionInputs {
32
32
  /** The plan markdown a human approved at the mission's plan gate. */
33
33
  plan?: string;
34
- /** The cached scoping memo for the work item at the approved base SHA. */
34
+ /**
35
+ * The scoping memo the plan was written from: at the approved base SHA, or
36
+ * at an older commit its first lines name, with the planned files that
37
+ * changed since.
38
+ */
35
39
  memo?: string;
36
40
  }
37
41
  /** Trim the inputs and drop the blank ones; undefined when nothing usable is left. */
@@ -25,7 +25,8 @@
25
25
  */
26
26
  const REPO_CONTEXT_HEADING = "## Repo context (cached scoping memo)";
27
27
  const REPO_CONTEXT_NOTE = "This run entered at implement, so no map stage ran. The memo below is the repo brief that stands in for it: " +
28
- "it was cached when this work item was scoped, against the base commit this run started from. " +
28
+ "it was cached when this work item was scoped. Its first lines name the commit it read; when that is older " +
29
+ "than the commit this run started from, they also list the planned files that changed since. " +
29
30
  "Treat it as a starting point and verify anything you lean on.";
30
31
  /** Trim the inputs and drop the blank ones; undefined when nothing usable is left. */
31
32
  export function normalizeMission(mission) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yagni-app/code-staging",
3
- "version": "1.2.4-staging.1766.1",
3
+ "version": "1.2.4-staging.1771.1",
4
4
  "description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
@@ -58,5 +58,5 @@
58
58
  "turndown": "^7.2.4",
59
59
  "typebox": "^1.3.15"
60
60
  },
61
- "yagniSourceSha": "f7a44ff8741e9bf7b111c1f749b6828fd4e4b9dd"
61
+ "yagniSourceSha": "187aff34a69e129099469ff033b5d2ff85a9bcc9"
62
62
  }