@solaqua/ghosts 0.4.35 → 0.4.38

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/common/AGENTS.md CHANGED
@@ -1,8 +1,8 @@
1
- ## Avoid unnecessary complexity
1
+ ## Rules
2
2
 
3
3
  - AI-generated work tends to overcomplicate simple problems and overfill documents and interfaces. Keep the solution proportionate to the actual need; question added abstractions, tests, structure, explanations, and controls that do not help the intended audience understand, decide, or act.
4
4
  - Simplify when it reduces the audience's total reading, reasoning, or interaction burden. Brevity alone is not the goal: preserve necessary behavior, context, navigation, accessibility, and meaningful risk coverage, and do not force cleanup when no useful improvement is evident.
5
-
6
- ## Obsidian CLI
7
-
5
+ - In Korean, Chinese, and other text without spaces between words, avoid placing a closing `**` directly between punctuation and a following letter, since Markdown renderers may leave the emphasis markers visible. For example, prefer `**"중요"한 내용**` over `**"중요"**한 내용`.
6
+ - Include the attached particle, ending, or surrounding phrase in the bold span when needed. Preserve natural spacing; do not insert unnatural spaces or invisible characters just to make bold render.
8
7
  - If the obsidian CLI is unavailable, start the Obsidian desktop app first and retry.
8
+ - Use the `maestro` CLI when native mobile UI interaction or verification is needed; consult `--help` for usage.
@@ -18,7 +18,7 @@ Write findings and summaries using ISO 24495-1:2023 Plain Language principles.
18
18
 
19
19
  AI-generated changes can overcomplicate simple problems; question whether added code or tests are needed at all, and consider omission before adding another layer.
20
20
 
21
- Report findings with locations, evidence, and the smallest useful fix. Say when no actionable issue is found.
21
+ Report findings with locations, evidence, and impact. Do not include proposed fixes, patches, or remediation steps. Say when no actionable issue is found.
22
22
  ```
23
23
 
24
24
  Question blocks:
@@ -75,7 +75,7 @@ After all agents respond and before synthesizing the final findings, triage ever
75
75
  - Kind: bug|performance|security|design|test|simplification|other
76
76
  - Triage: <priority> — <why this feedback received this priority, including why it is low-value or unsupported when priority is `SKIP`>
77
77
  - Evidence: <why this matters>
78
- - Impact / fix: <impact and smallest useful action>
78
+ - Impact: <concrete consequence of the issue>
79
79
 
80
80
  ## Review Summary
81
81
 
@@ -7,6 +7,12 @@ Interview the user relentlessly until you reach a shared understanding. Map
7
7
  this as a design tree: every decision branches into the decisions that depend
8
8
  on it.
9
9
 
10
+ Treat the why as a prerequisite: when the purpose of the goal or the reason for
11
+ a choice is missing or unclear, ask why it matters, what problem it solves, or
12
+ why this choice serves that purpose. Do not infer the user's motivation or
13
+ treat your recommended answer as their reason. Settle the why before asking
14
+ questions that depend on it.
15
+
10
16
  Work the tree in rounds. The frontier is every decision whose prerequisites
11
17
  are already settled: questions you can ask now without guessing at answers you
12
18
  have not heard yet. Ask the whole frontier in one round, number each question,
@@ -1,13 +1,17 @@
1
1
  ---
2
2
  name: ghosts:yamato
3
- description: Implement a task, review and fix the change, then remove unnecessary complexity.
3
+ description: Implement a task, then run independent review, fixes, and cleanup for a configurable number of cycles (default two).
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
7
7
  Run these stages in order in the current session. Read and follow each skill when its stage begins:
8
8
 
9
+ Default to two cycles. If the user specifies a positive integer cycle count, such as `x1` or `x3`, use that count instead.
10
+
9
11
  1. Apply $ghosts:coding to implement the task and verify its checklist.
10
- 2. Run $ghosts:code-review. After the read-only review, fix applicable findings and verify the fixes. Skip fixes if there are none.
11
- 3. Run $ghosts:slop-shaking and apply useful cleanups.
12
+ 2. Run the following cycle for the selected number of cycles:
13
+ - Run $ghosts:code-review with independent reviewer subagents against the current change, including any fixes and cleanups from the previous cycle.
14
+ - Fix applicable findings and verify the fixes. Skip fixes if there are none.
15
+ - Run $ghosts:slop-shaking and apply useful cleanups.
12
16
 
13
- Continue through all stages unless a blocker requires user input.
17
+ Continue through the selected cycles unless a blocker requires user input. After the final cycle, report any unresolved issues without starting another cycle.
@@ -73,7 +73,11 @@ python3 experience/skills/harvest/scripts/experience.py validate /path/to/vault/
73
73
  ```
74
74
 
75
75
  ### 3. Recall (Consult Prior Experience)
76
- Read-only skill, selected automatically during relevant engineering or document work:
76
+ Read-only skill intended to trigger before substantive implementation, refactoring,
77
+ test writing, code review, or document drafting and revision, even when the
78
+ approach seems straightforward, and when the user refers to previous feedback:
79
+
80
+ - Checks the relevant index without requiring an unresolved decision. Skips mechanical edits and reuses guidance already checked in the current task.
77
81
  - Opens its bundled `library/INDEX.md` → work-domain index → relevant document. A presentation task does not read engineering topics; domains without curated guidance return no match.
78
82
  - Injects only relevant constraints into context without loading the entire library.
79
83
  - Proceeds without recall when the library is unavailable or no topic matches.
@@ -33,9 +33,17 @@ Check these cases when evaluating future extraction runs:
33
33
  - Contrary choices qualify or defer an interpretation.
34
34
  - Naming and placement corrections are compared before being dismissed as cosmetic.
35
35
 
36
- For recall, a matching question should open only the relevant document; a near
37
- miss should open none. Keep the original evidence in candidates and the reusable
38
- criterion, conditions and examples in the library.
36
+ Evaluate recall selection with ordinary task requests that do not name the skill:
37
+
38
+ - A substantive implementation, refactoring, test-writing, code-review, or document task should trigger an index check even when the approach seems straightforward.
39
+ - A version-only bump or exact replacement specified by the user should skip recall.
40
+ - A matching topic should open only the relevant knowledge document; a near miss should stop at the indexes without opening knowledge documents.
41
+ - Repeating the same decision within a task should reuse guidance; a material scope or context change should prompt another check.
42
+ - A reference to previous feedback should trigger recall.
43
+
44
+ These are evaluation cases, not evidence that automatic selection has been
45
+ verified. Keep the original evidence in candidates and the reusable criterion,
46
+ conditions and examples in the library.
39
47
 
40
48
  ## Limits
41
49
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ghosts:recall
3
- description: Use when a concrete choice remains open after checking the user's instructions and nearby examples, or when the user refers to previous feedback. Skip mechanical changes and decisions already checked in the current task.
3
+ description: Consult prior user feedback before substantive code implementation, refactoring, test writing, code review, or document drafting and revision, and whenever the user refers to previous feedback. Check the relevant library index even when the approach seems straightforward. Skip mechanical edits and decisions already checked in the current task.
4
4
  ---
5
5
 
6
6
  # Recall
@@ -8,11 +8,11 @@ description: Use when a concrete choice remains open after checking the user's i
8
8
  Find the smallest set of verified knowledge relevant to the current task.
9
9
  This skill is strictly read-only; do not read unverified Obsidian candidates as behavioral rules.
10
10
 
11
- ## 1. Identify the needed decision
11
+ ## 1. Identify the task context
12
12
 
13
- - From the current task, identify the work domain, project or artifact, and unresolved decision before searching the library.
14
- - Form a question such as "Should these return values be named?" or "Does this new behavior belong in the existing module?" A broad label like implementation, review or testing is insufficient.
15
- - If the task context is unclear, inspect the relevant code, document or presentation first. Do not browse knowledge documents to invent a need for them.
13
+ - Before substantive work, identify the work domain, project or artifact, and intended change or review scope. Inspect the relevant code, document or presentation first if that context is unclear.
14
+ - Check the relevant library index even if the approach seems obvious or nearby examples appear sufficient; an unresolved decision is not required.
15
+ - Skip purely mechanical edits, such as a version-only bump or an exact replacement specified by the user. Reuse guidance already checked in the current task unless the scope or context materially changes.
16
16
 
17
17
  ## 2. Locate the library
18
18
 
@@ -22,7 +22,8 @@ This skill is strictly read-only; do not read unverified Obsidian candidates as
22
22
 
23
23
  ## 3. Match the situation before opening documents
24
24
 
25
- - Read root `INDEX.md` to choose the work domain. Open only its matching index (such as `engineering/INDEX.md`), then match the specific decision to a topic. A document or presentation task must not load engineering guidance merely because it is available.
25
+ - Read root `INDEX.md` to choose the work domain. Open only its matching index (such as `engineering/INDEX.md`), then match its topic conditions against the actual task. A document or presentation task must not load engineering guidance merely because it is available.
26
+ - For each matching topic, identify the concrete question its document would answer, such as "Should these return values be named?" or "Does this new behavior belong in the existing module?" A broad label like implementation, review or testing is insufficient to open a knowledge document.
26
27
  - Follow further subindexes only when they match the situation, then read the smallest set of matching documents. Each opened file must answer an identified question.
27
28
  - Do not open documents merely to determine whether they are relevant. If index conditions do not match, stop; a targeted filename/index search is appropriate only for a specific unanswered question the index failed to route.
28
29
  - Stop once the decision has enough guidance; do not follow neighboring topics or evidence links out of curiosity.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solaqua/ghosts",
3
- "version": "0.4.35",
3
+ "version": "0.4.38",
4
4
  "description": "Reusable agent skills and reviewers.",
5
5
  "license": "MIT",
6
6
  "repository": {