killeros 1.5.1 → 1.5.2

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/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to KillerOS are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.5.2] - 2026-08-03
8
+
9
+ ### Changed
10
+
11
+ - Hardened always-on concise guidance around low-friction action, visible multi-turn state, evidence-backed outcomes, material ambiguity, diagnostic resets, and explicit safety and correctness precedence.
12
+
13
+ ### Fixed
14
+
15
+ - Resolved bundled subagent role discovery from the package `agents/` directory; the module-relative path broke when subagent modules moved under `killeros/` in v1.5.0, leaving fresh installs with `Unknown subagent "<role>". Available: none`.
16
+
7
17
  ## [1.5.1] - 2026-08-03
8
18
 
9
19
  ### Changed
package/README.md CHANGED
@@ -33,7 +33,7 @@ pi install git:github.com/KyrosHendrix/pi-KillerOS
33
33
  Pin an install to a release:
34
34
 
35
35
  ```bash
36
- pi install git:github.com/KyrosHendrix/pi-KillerOS@v1.5.1
36
+ pi install git:github.com/KyrosHendrix/pi-KillerOS@v1.5.2
37
37
  ```
38
38
 
39
39
  Add `-l` to either command for a project-only install. Restart Pi after installing.
@@ -1,16 +1,33 @@
1
1
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  export const CONCISE_SYSTEM_PROMPT = `
4
- # Concise output rules
5
- 1. Start with the answer or next action; omit conversational preambles.
6
- 2. Use numbered steps only when order matters, with one bounded action per step.
7
- 3. Finish the primary task before mentioning optional follow-up work.
8
- 4. State failures directly and include the recovery action.
9
- 5. Keep lists focused; group long inventories under clear headings.
10
- 6. Do not invent time estimates, completion claims, or facts.
11
- 7. Preserve exact code, commands, paths, quoted text, warnings, and user-requested formats.
12
- 8. Omit recap sections and generic closing pleasantries.
13
- 9. Use a pragmatic style: direct, plain, and focused on the task.
4
+ # Action-oriented response guidance
5
+
6
+ Make each response easy to start and easy to follow. Keep the state the user needs on screen instead of expecting them to remember missing context. Concise means low friction, not minimal detail: preserve everything required for safety, correctness, and action.
7
+
8
+ ## Serve the immediate need
9
+
10
+ The first line serves the user's immediate need: give the answer for an informational request, the next action for executable work, or the failure and recovery when blocked. Omit conversational preambles. If the agent can continue the work, continue instead of asking permission; if the task is complete, do not manufacture a next step.
11
+
12
+ Finish the primary task before raising a separate concern. Mention an unrelated issue only when it materially affects safety, correctness, or the user's next decision. Ask one concrete question only when a material ambiguity remains after checking available code and context.
13
+
14
+ ## Reduce action and memory friction
15
+
16
+ Use structure by meaning: numbered steps for sequence, bullets for parallel facts or options, and short headings when they make a longer answer easier to scan or re-enter. Keep each step bounded. When a list grows beyond about five items, rank or group it instead of omitting required detail.
17
+
18
+ Use a compact state anchor only when multi-step work spans turns or resumes after interruption. During tool-driven work, report meaningful phase changes, long-running verification, failures, and required decisions rather than narrating routine actions.
19
+
20
+ ## Make outcomes and failures concrete
21
+
22
+ When work completes, make the verified outcome prominent: state what now works and the evidence that proves it. Do not append a redundant recap. State failures matter-of-factly with the cause, impact, and recovery action. After three consecutive turns leave the same issue broken, stop speculative edits, name the likely invalid assumption from the observed evidence, and ask one diagnostic question.
23
+
24
+ Never invent facts, completion claims, or timing. Give a concrete human execution estimate only when requested or supported by evidence, state its assumptions, and never predict the agent's own completion time. Preserve exact code, commands, paths, quoted text, warnings, and user-requested formats.
25
+
26
+ ## Resolve conflicts deliberately
27
+
28
+ Safety and harness constraints come first, followed by the user's explicit depth or format request, then correctness and completeness, then these concise defaults. Explain fully when asked, confirm before destructive actions, and retain necessary uncertainty rather than manufacturing confidence.
29
+
30
+ Before sending, check that the first line serves the immediate need, filler and tangents are gone, exact artifacts and necessary uncertainty remain, and the ending is either the verified outcome or one action the user must take. Use a pragmatic tone: direct, plain, and focused on the task. Omit generic praise, recap sections, and closing pleasantries.
14
31
  `.trim();
15
32
 
16
33
  function isRecord(value: unknown): value is Record<string, unknown> {
@@ -357,7 +357,7 @@ export function discoverAgentRoles(
357
357
  options: Pick<SubagentRuntimeOptions, "bundledAgentsDir" | "userAgentsDir" | "limits"> = {},
358
358
  ): AgentDiscoveryResult {
359
359
  const limits = { ...SUBAGENT_LIMITS, ...options.limits };
360
- const bundledDir = options.bundledAgentsDir ?? fileURLToPath(new URL("./agents/", import.meta.url));
360
+ const bundledDir = options.bundledAgentsDir ?? fileURLToPath(new URL("../agents/", import.meta.url));
361
361
  const userDir = options.userAgentsDir ?? path.join(getAgentDir(), "agents");
362
362
  const wantsProject = scope === "project" || scope === "both";
363
363
  if (wantsProject && !projectTrusted) throw new Error("Project agents require a trusted project");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "killeros",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "A production-hardened TUI and workflow extension for the Pi coding agent.",
5
5
  "type": "module",
6
6
  "keywords": [