@yagni-app/code-staging 1.1.6-staging.1436.1 → 1.1.6-staging.1438.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.
package/README.md CHANGED
@@ -36,6 +36,18 @@ curl -fsSL https://yagni.app/install.sh | sh
36
36
  irm https://yagni.app/install.ps1 | iex
37
37
  ```
38
38
 
39
+ On Windows, npm installs the `yagni` command as a `.ps1` script, and the
40
+ default PowerShell execution policy on Windows 10 and 11 (`Restricted`) refuses
41
+ to load it. The installer tells you when that applies. The fix is one line for
42
+ your own account, no administrator needed:
43
+
44
+ ```powershell
45
+ Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
46
+ ```
47
+
48
+ If your organization sets the policy through Group Policy, that command is
49
+ overridden; run `yagni.cmd` wherever this document says `yagni`.
50
+
39
51
  Requires Node.js 22.19 or newer (`node --version`); an older Node stops at
40
52
  launch with an upgrade message instead of crashing mid-session.
41
53
 
@@ -49,7 +49,7 @@
49
49
  */
50
50
  import { runPipeline as defaultRunPipeline } from "./orchestrator.js";
51
51
  import type { RunBudget } from "./budget.js";
52
- import type { JsonEvent, ModelTier, PipelineStage, StageId, StageTag, StageUsage, StopReason } from "./types.js";
52
+ import type { Finding, JsonEvent, ModelTier, PipelineStage, StageId, StageTag, StageUsage, StopReason } from "./types.js";
53
53
  /** One-line usage copy, shared by every argument error. */
54
54
  export declare const HEADLESS_GO_USAGE = "Usage: yagni go --headless --ticket-file <path> [--plan-file <path>] [--memo-file <path>] [--run-id <id>] [--cwd <path>] [--json]";
55
55
  /**
@@ -99,6 +99,7 @@ export interface HeadlessGoResult {
99
99
  rounds: number;
100
100
  findings: number;
101
101
  blocking: number;
102
+ finalFindings?: Finding[];
102
103
  stages: HeadlessStageRow[];
103
104
  runId?: string;
104
105
  /** The resolved `YAGNI_GO_TIER_CAP` ceiling; absent when the run is uncapped. */
@@ -175,6 +175,7 @@ function buildResult(result, ctx) {
175
175
  rounds: result.rounds.length,
176
176
  findings: result.findings.length,
177
177
  blocking: result.findings.filter(isBlocking).length,
178
+ finalFindings: [...result.findings].sort((a, b) => Number(isBlocking(b)) - Number(isBlocking(a))).slice(0, 10),
178
179
  stages: stageRows(result),
179
180
  ...(ctx.runId ? { runId: ctx.runId } : {}),
180
181
  ...(ctx.tierCap ? { tierCap: ctx.tierCap } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yagni-app/code-staging",
3
- "version": "1.1.6-staging.1436.1",
3
+ "version": "1.1.6-staging.1438.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": "bca4e91beee56bee85284d154bece7770ec8ad98"
61
+ "yagniSourceSha": "273d4311096e1a2eec5f56baaa6e267817a2011e"
62
62
  }