@mrciphersmith/keryx 0.4.26 → 0.4.28

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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/cli.js +106917 -105655
  3. package/dist/core.js +28 -198
  4. package/dist/keryx-general-worker-entry.js +526 -421
  5. package/package.json +3 -3
  6. package/src/gdskills/bundled/agents/work-planner.md +1 -1
  7. package/src/gdskills/bundled/install-manifest.json +3 -26
  8. package/src/gdskills/bundled/rules/core/code-review-learned-profile.mdc +1 -2
  9. package/src/gdskills/bundled/rules/core/definition-of-done.mdc +0 -1
  10. package/src/gdskills/bundled/rules/core/implementation-doc-mandate.mdc +4 -5
  11. package/src/gdskills/bundled/rules/core/jobs-documentation.mdc +8 -8
  12. package/src/gdskills/bundled/rules/core/skills-storage-workflow.mdc +7 -10
  13. package/src/gdskills/bundled/skills/core/reviewer-skill-creator/SKILL.md +1 -1
  14. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +12 -21
  15. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +3 -3
  16. package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +1 -1
  17. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +1 -1
  18. package/src/gdskills/bundled/skills/orchestration/task-implementer/input-contract.schema.json +1 -1
  19. package/src/gdskills/bundled/skills/planning/autodoc-orchestrator/SKILL.md +1 -1
  20. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.md +1 -1
  21. package/src/gdskills/bundled/skills/planning/interview/SKILL.md +3 -4
  22. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.md +1 -1
  23. package/src/gdskills/bundled/skills/quality/git-publish/SKILL.md +60 -0
  24. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.md +1 -1
  25. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.md +3 -3
  26. package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +7 -7
  27. package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +22 -22
  28. package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +15 -15
  29. package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +2 -2
  30. package/src/gdskills/bundled/skills/review/review-degradation/SKILL.md +7 -7
  31. package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +2 -2
  32. package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +34 -30
  33. package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +2 -2
  34. package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +64 -135
  35. package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +4 -4
  36. package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +18 -20
  37. package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +12 -18
  38. package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-finding.schema.json +2 -2
  39. package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +2 -10
  40. package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +35 -35
  41. package/src/gdskills/bundled/skills/review/review-pr-contract/SKILL.md +4 -5
  42. package/src/gdskills/bundled/skills/review/review-premise/SKILL.md +2 -2
  43. package/src/gdskills/bundled/skills/review/review-regression/SKILL.md +3 -5
  44. package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +14 -15
  45. package/src/gdskills/bundled/skills/review/review-style/SKILL.md +14 -13
  46. package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +11 -11
  47. package/src/gdskills/bundled/skills/review/review-ui-ux/SKILL.md +10 -11
  48. package/src/gdskills/bundled/skills/review/review-verifier/SKILL.md +5 -5
  49. package/src/gdskills/bundled/skills/shared/git-merge-base.md +1 -1
  50. package/src/gdskills/bundled/stacks/mobx/agent-refs.json +1 -1
  51. package/src/gdskills/bundled/stacks/mobx/governance/scout.json +2 -2
  52. package/src/gdskills/bundled/stacks/mobx/skills/mobx-store-implementation/SKILL.md +2 -2
  53. package/src/gdskills/bundled/stacks/vue/governance/scout.json +1 -1
  54. package/src/gdskills/contracts/review-finding.schema.json +2 -2
  55. package/src/gdskills/bundled/rules/core/code-review-ai-assistant.mdc +0 -49
  56. package/src/gdskills/bundled/rules/core/gproject-contracts.mdc +0 -198
  57. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.md +0 -177
  58. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.md +0 -414
  59. package/src/gdskills/bundled/skills/orchestration/job-documenter/input-contract.schema.json +0 -55
  60. package/src/gdskills/bundled/skills/orchestration/job-documenter/output-contract.schema.json +0 -58
  61. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.codex.md +0 -209
  62. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.cursor.md +0 -209
  63. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.md +0 -208
  64. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.codex.md +0 -255
  65. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.cursor.md +0 -255
  66. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.md +0 -254
  67. package/src/gdskills/bundled/skills/planning/planner/SKILL.codex.md +0 -209
  68. package/src/gdskills/bundled/skills/planning/planner/SKILL.cursor.md +0 -209
  69. package/src/gdskills/bundled/skills/planning/planner/SKILL.md +0 -208
  70. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.codex.md +0 -171
  71. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.cursor.md +0 -171
  72. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.md +0 -170
  73. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.codex.md +0 -184
  74. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.cursor.md +0 -184
  75. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.md +0 -183
  76. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.codex.md +0 -249
  77. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.cursor.md +0 -249
  78. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.md +0 -248
  79. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.codex.md +0 -199
  80. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.cursor.md +0 -199
  81. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.md +0 -198
  82. package/src/gdskills/bundled/skills/quality/commit/SKILL.md +0 -87
  83. package/src/gdskills/bundled/skills/quality/pr/SKILL.md +0 -95
  84. package/src/gdskills/bundled/skills/quality/push/SKILL.md +0 -73
  85. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.md +0 -238
  86. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.md +0 -301
  87. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.md +0 -208
@@ -21,14 +21,14 @@ triggers:
21
21
  - "review testing practices"
22
22
  metadata:
23
23
  author: "MrCipherSmith"
24
- version: "1.1.0"
24
+ version: "1.3.0"
25
25
  category: "review"
26
26
  license: "MIT"
27
27
  ---
28
28
 
29
29
  # Review — Testing Practices
30
30
 
31
- Reviewer for local testing discipline. Read project test guides first when present, then apply the neutral baseline below. Its inputs are the reviewer payload only; session memory and earlier conversation are not inputs. It runs the tests only when its payload's `allowed_tools` says `run-tests`, within `exec_budget_s`; otherwise it runs no command, except the read-only `git log`, `git blame` and `git show` where its host gives a read-only child git (keryx shell does not: there the payload supplies the history).
31
+ Reviewer for local testing discipline. Read project test guides first when present, then apply the neutral baseline below. Its inputs are the reviewer payload only; session memory and earlier conversation are not inputs. It runs the tests only when its payload's `allowed_tools` says `run-tests`, within `exec_budget_s`; otherwise it runs no command, except the read-only `git log`, `git blame` and `git show` where its host gives a read-only child git (keryx shell does not: there the payload supplies the history), and the read-only layer commands the orchestrator lists (`keryx gdgraph affected|find`, `keryx test related`, `keryx wiki ask`, `keryx memory search`, `keryx ctx rg|read`); it never writes in the reviewed tree.
32
32
 
33
33
  ---
34
34
 
@@ -52,12 +52,13 @@ Reading a suite tells you whether it is *well written*. It does not tell you
52
52
  whether it can **fail**. Those are different questions, and the second one is the
53
53
  one this reviewer exists to answer.
54
54
 
55
- So: before the checklist, for every guard, filter, conditional or branch the diff
56
- **added or changed**, delete it, run the nearest suite, record the result, revert.
55
+ So: before the checklist, list every guard, filter, conditional or branch the diff
56
+ **added or changed** as a `mutant_candidate` (the gate deleted or inverted), and run
57
+ each one in a scratch copy, never in the reviewed tree: other reviewers read it at once.
57
58
 
58
59
  ```
59
60
  for each gate G added or changed in scope A:
60
- delete G -> run the nearest suite -> record red/green -> revert
61
+ candidate(G) -> keryx review mutate --spec <mutants.json> --test "<nearest suite>" --package <p> -> red/green
61
62
  ```
62
63
 
63
64
  **A gate whose deletion leaves the suite green is a finding**, however correct the
@@ -66,8 +67,7 @@ that separates it from the condition beside it.* It is mandatory when the gate w
66
67
  added in answer to an earlier round — that is where a regression costs most and
67
68
  where coverage is most often assumed rather than written.
68
69
 
69
- Publish the whole table, survivors and casualties both. The reds are what makes
70
- the greens mean something; a table with only survivors reads as cherry-picking.
70
+ Publish the whole table, survivors and casualties both. The reds are what makes the greens mean something; a table with only survivors reads as cherry-picking.
71
71
 
72
72
  | mutation | result |
73
73
  |---|---|
@@ -84,8 +84,8 @@ this pass the class is unreachable for the whole round.
84
84
 
85
85
  ### Bounds
86
86
 
87
- - Run mutants one at a time on gates inside **scope A**, reverting each before the
88
- next. Never leave a mutation in the tree.
87
+ - Never edit the reviewed tree, not even to revert at once. With `run-tests`, run gates inside
88
+ **scope A** only through `keryx review mutate --spec <mutants.json>` (a scratch copy; the main session writes the file from your `mutant_candidates` to `research-evidence/mutants.json`); without it, run none: list `mutant_candidates` and stop, which is complete.
89
89
  - Run the **nearest** suite, not the full one. This is not a `test:mutation`
90
90
  sweep — those are slow, opt-in, and answer a different question.
91
91
  - Propose, do not cap: `mutant_candidates` in your `REVIEW_RESULT` names a mutant (`id`, `file`, `anchor`, `replacement`,
@@ -258,7 +258,7 @@ The moment a surviving mutation is accompanied by a **reachable input that makes
258
258
 
259
259
  | Rationalization | Why it is wrong |
260
260
  |----------------|-----------------|
261
- | "The suite is green, so the tests pin the behaviour." | Green is the state before the mutation pass, not its result. Delete the gate, run the nearest suite, and report what happened — that is the one question this reviewer exists to answer. |
261
+ | "The suite is green, so the tests pin the behaviour." | Green is the state before the mutation pass, not its result. With `run-tests`, run the gate's mutant through `keryx review mutate` and report what happened; without it, list it in `mutant_candidates` and say nothing ran. |
262
262
  | "I could not run the suite, so I worked out what the mutation would do." | A predicted mutation is `info` at best and this lane has no use for one. Say which command you ran, what stopped it, and skip the pass — do not report a result you did not observe. |
263
263
  | "I only published the mutations that survived; the rest were noise." | The reds are what makes the greens mean something. A table of survivors alone reads as cherry-picking and will be discounted whole. |
264
264
  | "The fixture is named `drift-only`, so it covers the drift case." | The name is the claim under review. Open the producer and compare every field, not only the one the test pins; a fixture that carries another scenario's shape is coverage that lies. |
@@ -272,7 +272,7 @@ The moment a surviving mutation is accompanied by a **reachable input that makes
272
272
 
273
273
  Report done only once all of these hold:
274
274
 
275
- - The mutation table is published in full, survivors and casualties both, or the report says which command failed and that the pass was skipped.
275
+ - The mutation table is published in full, survivors and casualties both, or the report says the pass was skipped (which command failed, or that `run-tests` was not allowed and `mutant_candidates` lists what would run).
276
276
  - The report states the cap: how many added or previously-requested gates were mutated and how many were not reached.
277
277
  - Every finding names `file:line` and the evidence that settles it — the mutation and its result, the producer line, or the selector that names the branch.
278
278
  - Every `blocker` and `major` carries `class_scope` with `sites` and an `enumeration_method` naming the search that produced them.
@@ -17,7 +17,7 @@ triggers:
17
17
  - "ai slop check"
18
18
  metadata:
19
19
  author: "MrCipherSmith"
20
- version: "1.0.0"
20
+ version: "1.2.0"
21
21
  origin: "authored"
22
22
  category: "review"
23
23
  compatible_harnesses: "cursor,codex,zed,opencode,claude"
@@ -28,8 +28,7 @@ license: "MIT"
28
28
 
29
29
  Reviewer for what the user sees and does. Its inputs are the reviewer payload only; session memory and earlier conversation are not inputs.
30
30
 
31
- Read-only, three passes, cheapest and most objective
32
- first: deterministic checks → usability heuristics → aesthetic judgment. The tell catalog,
31
+ Read-only, three passes, cheapest and most objective first: deterministic checks → usability heuristics → aesthetic judgment. The tell catalog,
33
32
  tiers, thresholds, and slop score come from `rules/core/ui-anti-slop.mdc` — read it first.
34
33
  Never edits code; fixes are proposed, not applied.
35
34
 
@@ -57,7 +56,7 @@ review-ui-ux Progress:
57
56
  |-------|------|----------|-------------|
58
57
  | `branch` | string | no | Branch to review. Defaults to current branch. |
59
58
  | `commit_range` | string | no | Explicit range. Overrides merge-base detection. |
60
- | `url` | string | no | Running page/screen for live mode (dev server, preview, staging). |
59
+ | `url` | string | no | A running page the payload supplies for live mode (preview, staging); this reviewer never starts one. |
61
60
  | `screenshots` | string[] | no | Image paths when no URL is available. |
62
61
  | `primary_task` | string | no | The one job the screen must enable. Inferred and stated if absent. |
63
62
  | `context_doc` | string | no | Path to job context document. |
@@ -67,13 +66,14 @@ review-ui-ux Progress:
67
66
  - **Code mode** — see `.metaproject/skills/gdskills/shared/git-merge-base.md` for `BASE_SHA`; review UI files changed
68
67
  in scope (`*.tsx`, `*.jsx`, `*.vue`, `*.svelte`, `*.css`, `*.scss`, `*.html`, theme/token
69
68
  files, Tailwind config). Flag only what the diff introduced or touched.
70
- - **Live mode** — `url` or `screenshots` given, or a dev server for the changed screens can be
71
- started from the project's own scripts. Render at **1440**, **768**, **390** px; light and dark
72
- when supported.
73
- - **Both** — preferred whenever the changed screens can be rendered. Code shows intent; the render
69
+ - **Live mode** — only a `url` or `screenshots` the payload supplies; never start a dev server or
70
+ any other process. Render a supplied URL at **1440**, **768**, **390** px; light and dark when supported.
71
+ - **Both** — preferred whenever the payload supplies a render. Code shows intent; the render
74
72
  shows truth (computed contrast, actual fonts, real target sizes).
73
+ - **No render supplied** — finish the code-mode review (`DONE` / `DONE_WITH_CONCERNS`), list the live checks under
74
+ "Checks not run" and state the gap in the summary (a URL or screenshots of which screens would close it).
75
75
 
76
- If neither a diff with UI files nor a renderable surface exists, return `NEEDS_CONTEXT`.
76
+ If there is neither a diff with UI files nor a supplied render, return `NEEDS_CONTEXT`.
77
77
 
78
78
  ---
79
79
 
@@ -184,8 +184,7 @@ where its recurring conditions land under that one.
184
184
 
185
185
  ## Orchestrated Review Contract
186
186
 
187
- When dispatched by `review-orchestrator`, follow the provided
188
- `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible
187
+ When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible
189
188
  with `.metaproject/skills/gdskills/review/review-orchestrator/reviewer-finding.schema.json`, then a
190
189
  concise markdown summary. Prefix finding ids `UX-`. Return `NEEDS_CONTEXT` instead of guessing
191
190
  when the primary task or the renderable surface is unknown and needed.
@@ -16,7 +16,7 @@ triggers:
16
16
  - "check these findings"
17
17
  metadata:
18
18
  author: "MrCipherSmith"
19
- version: "1.1.0"
19
+ version: "1.4.0"
20
20
  category: "review"
21
21
  compatible_harnesses: "cursor,codex,zed,opencode,claude"
22
22
  license: "MIT"
@@ -113,14 +113,14 @@ finding claims is broken, and see whether it breaks.**
113
113
  bun test src/review/managed.test.ts -t "refuses" # does the guard actually fire?
114
114
 
115
115
  # Finding: "this guard is asserted against a synthetic value, so it cannot fail"
116
- # Delete the guarded line and re-run. If the test stays green, the finding is CONFIRMED.
116
+ # Never edit the reviewed tree. Run the deleted-line mutant in a scratch copy (keryx review mutate
117
+ # --spec <mutants.json> --test "<cmd>" --package <p>; the mutants file is research-evidence/mutants.json, or one you write under research-evidence/, never in the reviewed tree), or ask the orchestrator for a verify-run. Green: CONFIRMED.
117
118
 
118
119
  # Finding: "the type allows undefined here"
119
120
  bun run typecheck
120
121
  ```
121
122
 
122
- Record the command and the relevant output. "I ran the tests and they passed" is
123
- not evidence; the command you ran and its output is — `bun test <file>` with
123
+ Record the command and the relevant output. "I ran the tests and they passed" is not evidence; the command you ran and its output is — `bun test <file>` with
124
124
  the counts it actually printed, not a count quoted from somewhere else. (This
125
125
  sentence used to quote a fixed number, which went stale twice in one day.)
126
126
 
@@ -296,4 +296,4 @@ Then a short markdown summary:
296
296
  | "The finding is understated; I'll bump it to blocker." | You cannot. The merge discards the whole claim and records the attempt. |
297
297
  | "Most of my verdicts are `unverifiable`, that looks bad." | It is the expected shape. TestGen-LLM discards 75% of its own output and that is why the remainder is trusted. |
298
298
  | "I also spotted something the reviewers missed." | Report it through a domain reviewer in a new round, with evidence. This pass cannot add. |
299
- | "I raised this finding, so I know best whether it holds." | That is exactly the case AC9 forbids. |
299
+ | "I raised this finding, so I know best whether it holds." | That is the case the Iron Law "Never verify your own finding" forbids, and the merge refuses it by name. |
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Purpose
4
4
  Reusable bash script for determining the review scope (merge-base) for review skills.
5
- Used by: code-ai-review, code-learned-review, code-mobx-store-review, code-style-review.
5
+ Used by: code-learned-review, review-frontend, review-style.
6
6
 
7
7
  ## Script
8
8
 
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "agents": [],
3
- "note": "No generated agent pair by design, matching W2's original decision: mobx has no agentProfile in pack.json, so `agents generate --stack mobx` is refused (agents-catalog-commands.test.ts pins this). code-mobx-store-review already covers MobX-specific review, and ts-js-node/react build-fix already cover the build-failure case, so a generated mobx-code-auditor/mobx-build-fixer pair would duplicate existing coverage rather than add any -- this holds regardless of gate status. Separately (R1 review round 2, PR #719, N-M1): the same realism sweep that demoted angular found mobx-store-implementation's positives were trigger-prefix near-copies too; rewritten with natural phrasing, not iterated against the router. Honest result: mobx-store-implementation's trigger accuracy dropped (TP 4/8), accepted as the true signal. mobx-observable-testing still passes cleanly. mobx's own pack.json stability is demoted to \"experimental\" -- a pack needs every skill to pass."
3
+ "note": "No generated agent pair by design, matching W2's original decision: mobx has no agentProfile in pack.json, so `agents generate --stack mobx` is refused (agents-catalog-commands.test.ts pins this). review-frontend already covers MobX-specific review (its Part B is the store checklist), and ts-js-node/react build-fix already cover the build-failure case, so a generated mobx-code-auditor/mobx-build-fixer pair would duplicate existing coverage rather than add any -- this holds regardless of gate status. Separately (R1 review round 2, PR #719, N-M1): the same realism sweep that demoted angular found mobx-store-implementation's positives were trigger-prefix near-copies too; rewritten with natural phrasing, not iterated against the router. Honest result: mobx-store-implementation's trigger accuracy dropped (TP 4/8), accepted as the true signal. mobx-observable-testing still passes cleanly. mobx's own pack.json stability is demoted to \"experimental\" -- a pack needs every skill to pass."
4
4
  }
@@ -1,11 +1,11 @@
1
1
  [
2
2
  {
3
- "query": "Use when writing or extending a MobX store: adding observable state, actions, computed getters, or reactions (autorun/reaction/when), wiring a store into React via observer and a context hook, or fixing a component that stops re-rendering after a store change. Also covers plain-language asks for the same work: keeping a piece of MobX store state automatically in sync wherever it's read, or making a store run something automatically when a value changes and stop when the store is no longer needed. Applies the makeObservable/action/runInAction/observer shape and the store's dispose lifecycle. Not for reviewing an already-written store's structure (use code-mobx-store-review) and not for plain React state/props work with no MobX involved (use react-implementation).",
3
+ "query": "Use when writing or extending a MobX store: adding observable state, actions, computed getters, or reactions (autorun/reaction/when), wiring a store into React via observer and a context hook, or fixing a component that stops re-rendering after a store change. Also covers plain-language asks for the same work: keeping a piece of MobX store state automatically in sync wherever it's read, or making a store run something automatically when a value changes and stop when the store is no longer needed. Applies the makeObservable/action/runInAction/observer shape and the store's dispose lifecycle. Not for reviewing an already-written store's structure (use review-frontend) and not for plain React state/props work with no MobX involved (use react-implementation).",
4
4
  "decision": "fork",
5
5
  "topMatch": "mobx/mobx-observable-testing",
6
6
  "recordedAt": "2026-09-25T06:28:15.470Z",
7
7
  "skillName": "mobx-store-implementation",
8
- "justification": "Top match remains this pack's own sibling mobx-observable-testing -- same domain vocabulary (store/action/computed/observable), different category (implement vs test), not a substitute: that skill only covers writing/fixing tests, never authoring store code. Description was widened (flow 318 follow-up) to also cover plain-language symptom/goal phrasings of the same implement work, not to broaden scope -- no new candidate skill/pack became a closer match after the update; review-frontend, nestjs-implementation, code-mobx-store-review, and angular-implementation remain the next nearest and are all a different stack/activity or review-only."
8
+ "justification": "Top match remains this pack's own sibling mobx-observable-testing -- same domain vocabulary (store/action/computed/observable), different category (implement vs test), not a substitute: that skill only covers writing/fixing tests, never authoring store code. Description was widened (flow 318 follow-up) to also cover plain-language symptom/goal phrasings of the same implement work, not to broaden scope -- no new candidate skill/pack became a closer match after the update; review-frontend, nestjs-implementation, and angular-implementation remain the next nearest and are all a different stack/activity or review-only."
9
9
  },
10
10
  {
11
11
  "query": "Use when writing or fixing a test for a MobX store: asserting on an async action's post-await state, waiting for a reaction/autorun to fire, testing that dispose() actually stops a store's reactions, or deciding how enforceActions should behave in the test setup. Distinct from rendering-focused React component testing and generic Node/TypeScript test-runner setup. Not for writing the store or action code itself (use mobx-store-implementation) and not for React Testing Library render/interaction patterns with no MobX involved (use react-testing).",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: mobx-store-implementation
3
- description: "Use when writing or extending a MobX store: adding observable state, actions, computed getters, or reactions (autorun/reaction/when), wiring a store into React via observer and a context hook, or fixing a component that stops re-rendering after a store change. Applies the makeObservable/action/runInAction/observer shape and the store's dispose lifecycle. Not for reviewing an already-written store's structure (use code-mobx-store-review) and not for plain React state/props work with no MobX involved (use react-implementation)."
3
+ description: "Use when writing or extending a MobX store: adding observable state, actions, computed getters, or reactions (autorun/reaction/when), wiring a store into React via observer and a context hook, or fixing a component that stops re-rendering after a store change. Applies the makeObservable/action/runInAction/observer shape and the store's dispose lifecycle. Not for reviewing an already-written store's structure (use review-frontend) and not for plain React state/props work with no MobX involved (use react-implementation)."
4
4
  triggers:
5
5
  - "add a new observable field to this MobX store"
6
6
  - "write a MobX action for this store"
@@ -32,7 +32,7 @@ This skill is for **authoring** store code — a new store, a new
32
32
  observable/action/computed on an existing store, a new reaction, or the
33
33
  `observer`/context wiring that exposes a store to components. It is not
34
34
  for auditing an already-written store's structure or accessibility
35
- modifiers (`code-mobx-store-review` does that), and it does not cover
35
+ modifiers (`review-frontend` does that), and it does not cover
36
36
  plain React component work that touches no MobX API.
37
37
 
38
38
  ## Workflow
@@ -21,7 +21,7 @@
21
21
  "topMatch": "react/react-code-review",
22
22
  "recordedAt": "2026-09-25T06:25:34.017Z",
23
23
  "skillName": "vue-code-review",
24
- "justification": "Overlap is with sibling vue/* skills (shared pack vocabulary) and existing review skills (review-frontend, code-mobx-store-review) that this description explicitly excludes (no MobX/React store review). This skill's scope -- Vue reactivity/prop-emit/Pinia boundary bugs in .vue diffs -- has no existing catalog equivalent. Confirmed distinct by clean trigger-accuracy eval."
24
+ "justification": "Overlap is with sibling vue/* skills (shared pack vocabulary) and existing review skills (review-frontend) that this description explicitly excludes (no MobX/React store review). This skill's scope -- Vue reactivity/prop-emit/Pinia boundary bugs in .vue diffs -- has no existing catalog equivalent. Confirmed distinct by clean trigger-accuracy eval."
25
25
  },
26
26
  {
27
27
  "query": "Use when resolving a vue-tsc template type error, an eslint-plugin-vue lint failure, or a Vite build error in a Vue 3 project -- covers template expression type mismatches, defineProps/defineEmits type errors, unresolved SFC/component imports, and Vite plugin/HMR build failures. Applies the smallest root-cause fix and never silences the checker with an any cast or an eslint-disable. Not for a generic tsc error in a .ts file with no .vue involved (use nodejs-build-fix) or a JSX/React build failure (use react-build-fix).",
@@ -319,13 +319,13 @@
319
319
  "properties": {
320
320
  "sites": {
321
321
  "type": "array",
322
- "minItems": 1,
323
322
  "items": { "type": "string" },
324
- "description": "Every location carrying the shape, including ones already correct. A single-entry list is a claim that the class has one member."
323
+ "description": "Every location carrying the shape, including ones already correct. A single-entry list is a claim that the class has one member. An empty list is the negative enumeration (the search ran and found no site); it is valid only with a non-empty enumeration_method."
325
324
  },
326
325
  "enumeration_method": {
327
326
  "type": "string",
328
327
  "minLength": 1,
328
+ "pattern": "\\S",
329
329
  "description": "How the set was derived: the grep or query run, the source-level guard that enumerates it, or why the list is exhaustive. 'I checked the others' is not a method."
330
330
  }
331
331
  }
@@ -1,49 +0,0 @@
1
- ---
2
- description: "Baseline AI code review standards for correctness, architecture, safety, and maintainability."
3
- alwaysApply: false
4
- ---
5
-
6
- # AI Code Review Assistant
7
-
8
- ## Purpose
9
- Provide strict, high-signal code reviews with actionable findings.
10
-
11
- ## When To Apply
12
- Apply when performing AI-assisted code review; loaded automatically by the code-ai-review skill.
13
-
14
- ## Verdict Labels
15
-
16
- All reviews must end with exactly one of the following verdict labels:
17
-
18
- | Verdict | Meaning |
19
- |---------|---------|
20
- | `APPROVE` | Changes accepted as-is; no outstanding issues. |
21
- | `APPROVE WITH SUGGESTIONS` | Accepted and can merge, but improvements are noted for follow-up. |
22
- | `REQUEST CHANGES` | Must fix identified issues before merge. |
23
- | `COMMENT` | Informational findings only; no blocking action required. |
24
-
25
- ## Review Output Structure
26
- 1. Verdict label (from the table above)
27
- 2. Findings by severity and category
28
- 3. Concrete fix proposals
29
- 4. Residual risks and test gaps
30
-
31
- ## Priority Categories
32
- - Correctness
33
- - Types and safety
34
- - Architecture and state boundaries
35
- - Performance
36
- - UX/A11y
37
- - Tests
38
-
39
- ## Mandatory Rules
40
- - Prioritize correctness over style.
41
- - Do not request massive refactors unless user asks.
42
- - Flag unsafe casts and hidden complexity.
43
- - Align suggestions with existing project patterns.
44
- - Keep comments specific, respectful, and actionable.
45
-
46
- ## Output Contract
47
- - Final review must be Markdown.
48
- - Code snippets/diffs must be fenced code blocks.
49
- - Response language follows user query language.
@@ -1,198 +0,0 @@
1
- ---
2
- description: >
3
- Dispatch and return contracts for gproject subagents. Extends
4
- subagent-context-construction.md with gproject-specific fields.
5
- Loaded by: gproject-orchestrator, all gproject-* subagents.
6
- globs: skills/gproject-*/**
7
- alwaysApply: false
8
- ---
9
-
10
- # gproject Subagent Contracts
11
-
12
- ## Extends
13
-
14
- This rule extends `rules/core/subagent-context-construction.md` and
15
- `rules/core/subagent-status-protocol.md`. All base rules apply.
16
- gproject adds domain-specific fields.
17
-
18
- ---
19
-
20
- ## Language Rule
21
-
22
- All gproject subagents MUST respond in the same language the user used in their
23
- original request. If the user wrote in Russian — respond in Russian. If in English — in English.
24
- This applies to artifact content, summaries, questions, and all user-facing output.
25
- The decisions registry keys (D_mode, D_frontend, etc.) remain in English regardless of language.
26
-
27
- ---
28
-
29
- ## Dispatch Contract (Orchestrator → Subagent)
30
-
31
- Every dispatch from gproject-orchestrator MUST include:
32
-
33
- ```yaml
34
- # Required (from base protocol)
35
- description: "<phase>: <task>"
36
- subagent_type: "general-purpose"
37
- prompt: "<structured prompt — see template below>"
38
-
39
- # gproject-specific (inside prompt)
40
- phase: "<phase number and name>"
41
- mode: "new_project | task_in_project"
42
- user_language: "<language of the original user request>"
43
- input_artifacts: [<ONLY files this subagent needs>]
44
- decisions_so_far: <ONLY decisions relevant to this phase>
45
- constraints: [<from previous phases>]
46
- output_contract:
47
- artifact_path: "<where to write full output>"
48
- summary_max_tokens: 150
49
- decisions_format: "key: value"
50
- ```
51
-
52
- ### Minimality Principle (Enhanced)
53
-
54
- Base rule says: "Subagents must not infer context from conversation history."
55
- gproject strengthens this:
56
-
57
- 1. **Artifact minimality**: subagent receives ONLY artifacts listed in
58
- `input_artifacts` — never all artifacts in the job directory
59
- 2. **Decision minimality**: subagent receives ONLY decisions relevant to
60
- its phase — not the full decisions.md
61
- 3. **No cross-phase leakage**: Phase 4 agent cannot see Phase 0 raw data
62
- unless explicitly passed (which it shouldn't be — use Phase 1 summary instead)
63
-
64
- ### What each phase receives:
65
-
66
- | Phase | Input Artifacts | Decisions Subset |
67
- |-------|----------------|-----------------|
68
- | 0: Discovery | user input, uploaded docs, repo path | none (first phase) |
69
- | 1: Problem | discovery-brief.md | D_mode, D_domain, D_audience, D_scale |
70
- | 2: Stack | problem-statement.md | D_core_problems, D_goals, D_non_goals |
71
- | 3: Patterns | stack-decision.md, problem-statement.md | D_level, D_frontend..D_infra |
72
- | 4: PRD | problem-statement.md, architecture.md, tech-bestpractices.md | ALL decisions |
73
- | 5: Review | ALL artifacts, decisions.md | ALL decisions |
74
- | 6: Planning | prd.md, architecture.md | ALL decisions |
75
-
76
- ---
77
-
78
- ## Return Contract (Subagent → Orchestrator)
79
-
80
- Every subagent response MUST begin with STATUS prefix (per base protocol)
81
- and include gproject-specific fields:
82
-
83
- ### STATUS: DONE
84
-
85
- ```yaml
86
- STATUS: DONE
87
- summary: |
88
- <3-5 sentences. What was produced, key decisions made, confidence level.>
89
- <Max 150 tokens.>
90
- new_decisions:
91
- D_<name>: "<value>"
92
- artifact_path: ".metaproject/jobs/<job>/artifacts/<name>.md"
93
- next_phase_needs:
94
- - "<hint for orchestrator about what next phase will need>"
95
- ```
96
-
97
- ### STATUS: DONE_WITH_CONCERNS
98
-
99
- ```yaml
100
- STATUS: DONE_WITH_CONCERNS
101
- summary: |
102
- <3-5 sentences. Same as DONE but includes concern summary.>
103
- new_decisions:
104
- D_<name>: "<value>"
105
- concerns:
106
- - severity: "high | medium"
107
- description: "<what's wrong>"
108
- suggestion: "<how to address>"
109
- artifact_path: ".metaproject/jobs/<job>/artifacts/<name>.md"
110
- ```
111
-
112
- ### STATUS: NEEDS_CONTEXT
113
-
114
- ```yaml
115
- STATUS: NEEDS_CONTEXT
116
- questions:
117
- - id: "Q1"
118
- text: "<clear question>"
119
- options:
120
- A: "<option — most common / recommended>"
121
- B: "<option>"
122
- C: "<option>"
123
- D: "<option — 'not sure' or 'other' is acceptable>"
124
- why: "<1 sentence: why this matters for this phase>"
125
- can_be_resolved_by_agent: false | "<agent name if yes>"
126
- - id: "Q2"
127
- ...
128
- partial_artifact_path: ".metaproject/jobs/<job>/artifacts/<name>.partial.md"
129
- # Subagent MAY save partial work for resume
130
- ```
131
-
132
- ### STATUS: BLOCKED
133
-
134
- ```yaml
135
- STATUS: BLOCKED
136
- blocker: "<clear description of what's blocking>"
137
- required_to_unblock: "<what the orchestrator or user must provide>"
138
- rollback_suggestion: "<if applicable, which phase to go back to>"
139
- ```
140
-
141
- ---
142
-
143
- ## Orchestrator Context Budget
144
-
145
- The orchestrator MUST stay within these limits:
146
-
147
- | Item | Max Tokens | Notes |
148
- |------|-----------|-------|
149
- | state.json | 200 | Pipeline state only |
150
- | decisions.md (in memory) | 500 | Compact: ID + value only |
151
- | Phase summaries (all) | 800 | Max 120 per phase |
152
- | Current dispatch overhead | 400 | Template + routing logic |
153
- | **Total** | **~1900** | If exceeded, compress decisions |
154
-
155
- ### Compression triggers:
156
- - decisions.md > 800 tokens → create decisions-compact.md (ID: value only, no rationale)
157
- - phase_summaries total > 800 → keep only last 3 phases in memory, rest on disk
158
-
159
- ---
160
-
161
- ## NEEDS_CONTEXT Resolution Protocol
162
-
163
- When a subagent returns NEEDS_CONTEXT:
164
-
165
- ```
166
- 1. Parse questions array
167
- 2. For each question:
168
- IF can_be_resolved_by_agent is truthy:
169
- → Dispatch named agent with the question as task
170
- → Collect answer
171
- → Add to answers dict
172
- ELSE:
173
- → Add to user_questions list
174
-
175
- 3. IF user_questions is not empty:
176
- → Present to user as questionnaire
177
- → Format: numbered questions with A/B/C/D options
178
- → Collect answers
179
-
180
- 4. Compose context supplement:
181
- {
182
- "answers": {
183
- "Q1": {"choice": "B", "detail": "<if user added detail>"},
184
- "Q2": {"choice": "A"}
185
- },
186
- "agent_research": {
187
- "Q3": "<findings from dispatched agent>"
188
- }
189
- }
190
-
191
- 5. Re-dispatch original subagent with:
192
- - Original task + input_artifacts
193
- - PLUS: context_supplement (above)
194
- - PLUS: partial_artifact_path (if subagent saved partial work)
195
-
196
- 6. Max 2 NEEDS_CONTEXT loops per phase
197
- → After 2, escalate to user with full context
198
- ```