@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
4
4
  "description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -79,10 +79,10 @@
79
79
  "fast-uri": "^3.1.9",
80
80
  "body-parser": "^2.4.0",
81
81
  "ip-address": "^10.7.4",
82
- "hono": "^4.13.11",
82
+ "hono": "^4.13.16",
83
83
  "qs": "^6.17.1",
84
84
  "zod": "^4.6.6",
85
- "@hono/node-server": "^2.1.5",
85
+ "@hono/node-server": "^2.1.6",
86
86
  "protobufjs": "7.6.6",
87
87
  "sharp": "0.35.5",
88
88
  "minimatch": "^11.0.1"
@@ -17,7 +17,7 @@ tools:
17
17
  model_tier: standard
18
18
  policy_profile: read-only
19
19
  skills:
20
- - planner
20
+ - issue-analyzer
21
21
  output_contract: subagent-result
22
22
  isolation: none
23
23
  origin:
@@ -281,7 +281,6 @@
281
281
  "quality-skills",
282
282
  "review-core-skills",
283
283
  "react-review-skills",
284
- "mobx-review-skill",
285
284
  "mobx-store-template-rule",
286
285
  "mobx-rules",
287
286
  "mobx-skills",
@@ -368,7 +367,6 @@
368
367
  "src/gdskills/bundled/rules/core/async-patterns.mdc",
369
368
  "src/gdskills/bundled/rules/core/clean-architecture.mdc",
370
369
  "src/gdskills/bundled/rules/core/cli-interface-design.mdc",
371
- "src/gdskills/bundled/rules/core/code-review-ai-assistant.mdc",
372
370
  "src/gdskills/bundled/rules/core/code-review-learned-profile.mdc",
373
371
  "src/gdskills/bundled/rules/core/code-style-patterns.mdc",
374
372
  "src/gdskills/bundled/rules/core/commit-message-formatting.mdc",
@@ -380,7 +378,6 @@
380
378
  "src/gdskills/bundled/rules/core/frontend-assistant.mdc",
381
379
  "src/gdskills/bundled/rules/core/git-concurrency.mdc",
382
380
  "src/gdskills/bundled/rules/core/git-rules.mdc",
383
- "src/gdskills/bundled/rules/core/gproject-contracts.mdc",
384
381
  "src/gdskills/bundled/rules/core/implementation-doc-mandate.mdc",
385
382
  "src/gdskills/bundled/rules/core/implementation-plans.mdc",
386
383
  "src/gdskills/bundled/rules/core/jobs-documentation.mdc",
@@ -441,7 +438,7 @@
441
438
  },
442
439
  "quality-skills": {
443
440
  "kind": "skill",
444
- "description": "Quality skills: security, perf, root-cause, testing, commit/push/pr, dependency and migration workflows.",
441
+ "description": "Quality skills: security, perf, root-cause, testing, git publishing, dependency and migration workflows.",
445
442
  "paths": [
446
443
  "src/gdskills/bundled/skills/quality/**"
447
444
  ],
@@ -476,9 +473,7 @@
476
473
  "src/gdskills/bundled/skills/review/review-verifier/**",
477
474
  "src/gdskills/bundled/skills/review/review-premise/**",
478
475
  "src/gdskills/bundled/skills/review/review-pr-feedback/**",
479
- "src/gdskills/bundled/skills/review/code-ai-review/**",
480
- "src/gdskills/bundled/skills/review/code-learned-review/**",
481
- "src/gdskills/bundled/skills/review/code-style-review/**"
476
+ "src/gdskills/bundled/skills/review/code-learned-review/**"
482
477
  ],
483
478
  "targets": [
484
479
  "claude",
@@ -508,23 +503,6 @@
508
503
  "cost": "medium",
509
504
  "stability": "stable"
510
505
  },
511
- "mobx-review-skill": {
512
- "kind": "skill",
513
- "description": "Focused MobX store/state-logic review skill.",
514
- "paths": [
515
- "src/gdskills/bundled/skills/review/code-mobx-store-review/**"
516
- ],
517
- "targets": [
518
- "claude",
519
- "keryx-shell"
520
- ],
521
- "dependencies": [
522
- "core-common-rules"
523
- ],
524
- "defaultInstall": true,
525
- "cost": "light",
526
- "stability": "stable"
527
- },
528
506
  "mobx-store-template-rule": {
529
507
  "kind": "rule",
530
508
  "description": "MobX store authoring template/rule.",
@@ -981,7 +959,7 @@
981
959
  },
982
960
  "mobx-skills": {
983
961
  "kind": "skill",
984
- "description": "MobX stack pack skills (store implementation, observable testing) from src/gdskills/bundled/stacks/mobx/skills/. Complements, does not replace, the existing mobx-review-skill (code-mobx-store-review).",
962
+ "description": "MobX stack pack skills (store implementation, observable testing) from src/gdskills/bundled/stacks/mobx/skills/. Complements the store checklist in review-frontend, which reviews MobX stores.",
985
963
  "paths": [
986
964
  "src/gdskills/bundled/stacks/mobx/skills/**"
987
965
  ],
@@ -1331,7 +1309,6 @@
1331
1309
  "capability:mobx": {
1332
1310
  "family": "capability",
1333
1311
  "modules": [
1334
- "mobx-review-skill",
1335
1312
  "mobx-store-template-rule",
1336
1313
  "mobx-rules",
1337
1314
  "mobx-skills"
@@ -61,8 +61,7 @@ nothing.
61
61
 
62
62
  ## Response Format
63
63
 
64
- 1. Verdict in one line — the canonical verdict vocabulary (same set as
65
- `core/code-review-ai-assistant.mdc`):
64
+ 1. Verdict in one line — the canonical verdict vocabulary:
66
65
  - `APPROVE` — no blocking issues; changes accepted as-is
67
66
  - `APPROVE WITH SUGGESTIONS` — accepted but improvements noted for follow-up
68
67
  - `REQUEST CHANGES` — has issues that must be fixed before merge
@@ -60,7 +60,6 @@ this list is what says whether the bar moved.
60
60
  | `rules/core/subagent-status-protocol.md` | How the result is reported: `STATUS:` on line one, the five statuses, and the verification block every `DONE` response carries. |
61
61
  | `rules/core/git-concurrency.mdc` | Clause 5: a task is not done until its diff is committed, whether the worker or the orchestrator commits it. |
62
62
  | `.metaproject/skills/gdskills/orchestration/task-implementer/SKILL.md` | The worker-side reading of clause 3: skipped verification is a failed verification, and partial is not done. |
63
- | `rules/core/gproject-contracts.mdc` | The gproject return payload only. It is silent on clauses 2-5; that silence is not an exemption, and a gproject subagent reporting `DONE` still owes the verification block from `rules/core/subagent-status-protocol.md`. |
64
63
  | `rules/core/requirements-package-standard.mdc` | Clause 2 for a documentation package, where the gates are structural (required files, versions, links, honest status) rather than lint and tests. |
65
64
 
66
65
  Two readings of `DONE_WITH_CONCERNS` are in circulation, and this rule settles
@@ -14,7 +14,7 @@ Apply to any agent that:
14
14
  - Runs for more than one phase / step
15
15
  - Involves tests, review, or PR creation
16
16
 
17
- Applies to: `job-orchestrator`, `feature-dev`, `task-implementer` (for multi-task jobs), any custom orchestration.
17
+ Applies to: `job-orchestrator`, `flow-orchestrator`, `task-implementer` (for multi-task jobs), any custom orchestration.
18
18
  Does NOT apply to: single-file quick fixes, standalone read-only analysis, ad-hoc one-liners.
19
19
 
20
20
  ---
@@ -54,8 +54,7 @@ Agent: <skill name + version>
54
54
  ```
55
55
 
56
56
  **Storage:**
57
- - In `job-orchestrator` jobs: saved via `job-documenter` to `.metaproject/jobs/<job-name>/man/spec.md`
58
- - In `feature-dev`: saved to `<project_root>/.feature-spec.md` (gitignored) or printed and confirmed by user
57
+ - In `job-orchestrator` jobs: written to `.metaproject/jobs/<job-name>/man/spec.md` in the folder `keryx job init` created (`keryx job document` has no spec type)
59
58
  - In any agent: at minimum, the spec is presented to the user and confirmed before code is written
60
59
 
61
60
  **Timing:** Spec is created after requirements are gathered but BEFORE any branch is created or code is written.
@@ -108,8 +107,8 @@ PR: <PR URL or "not created">
108
107
  ```
109
108
 
110
109
  **Storage:**
111
- - In `job-orchestrator` jobs: saved via `job-documenter` to `.metaproject/jobs/<job-name>/man/change-report.md`
112
- - In `feature-dev`: appended to PR description + printed to user
110
+ - In `job-orchestrator` jobs: written to a file and recorded with `keryx job document <job-name> --type implementation-report --file <path>`
111
+ - In a PR-driven flow: appended to the PR description + printed to user
113
112
  - In any agent: at minimum, printed as the final message
114
113
 
115
114
  **Timing:** Created as the very last step before reporting done to the user or orchestrator.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: "Job documentation structure and conventions for .metaproject/jobs (default) or $GDMETAPRO_JOBS_ROOT. Used by job-documenter skill and job-orchestrator."
2
+ description: "Job documentation structure and conventions for .metaproject/jobs (default) or $GDMETAPRO_JOBS_ROOT. Used by job-orchestrator and the `keryx job` commands."
3
3
  alwaysApply: false
4
4
  ---
5
5
 
@@ -14,7 +14,7 @@ Jobs are the documentation artifacts produced by the `job-orchestrator` pipeline
14
14
 
15
15
  Apply when:
16
16
  - `job-orchestrator` creates a new job
17
- - `job-documenter` skill is invoked to create or update job documentation
17
+ - `keryx job init` or `keryx job document` creates or updates job documentation
18
18
  - User asks about job documentation structure or conventions
19
19
 
20
20
  ## Relationship to `docs/`
@@ -45,7 +45,7 @@ The jobs root is resolved in this priority order:
45
45
  JOBS_ROOT="${GDMETAPRO_JOBS_ROOT:-.metaproject/jobs}"
46
46
  ```
47
47
 
48
- `PROJECT_DIR` is always known by Phase 0.2 of the orchestrator. Sub-agents (job-documenter, context-collector, task-implementer, etc.) **never resolve JOBS_ROOT themselves** — they receive it explicitly from the orchestrator in the dispatch prompt.
48
+ `PROJECT_DIR` is always known by Phase 0.2 of the orchestrator. Sub-agents (context-collector, task-implementer, etc.) **never resolve JOBS_ROOT themselves** — they receive it explicitly from the orchestrator in the dispatch prompt.
49
49
 
50
50
  ## Job Folder Naming
51
51
 
@@ -112,7 +112,7 @@ The README is the entry point for both humans and AI agents. It MUST contain:
112
112
  1. [x] Analyze issue (issue-analyzer)
113
113
  2. [ ] Prepare feature branch
114
114
  3. [ ] Implement tasks (task-implementer)
115
- 4. [ ] Review (code-ai-review, code-learned-review, code-style-review)
115
+ 4. [ ] Review (review-orchestrator)
116
116
  5. [ ] Fix review findings
117
117
  6. [ ] Final checks
118
118
  7. [ ] Generate report
@@ -122,7 +122,7 @@ The README is the entry point for both humans and AI agents. It MUST contain:
122
122
  |-------|-------|--------|
123
123
  | issue-analyzer | Analysis | completed |
124
124
  | task-implementer | Implementation | in-progress |
125
- | code-ai-review | Review | pending |
125
+ | review-orchestrator | Review | pending |
126
126
 
127
127
  ## Documents
128
128
 
@@ -215,7 +215,7 @@ Every document (in both `man/` and `ai/`) MUST end with a metadata block:
215
215
 
216
216
  ## Lifecycle
217
217
 
218
- 1. **Init** — Orchestrator determines job name, calls documenter to create folder + README + plan
219
- 2. **Active** — After each sub-agent completes, orchestrator sends results to documenter. Documents are added to `man/` and `ai/`. README is updated.
220
- 3. **Finalize** — Orchestrator calls documenter to write final report, update README status to `completed`, add completion timestamp.
218
+ 1. **Init** — Orchestrator determines job name, then runs `keryx job init --name <slug>` to create the job folder and its plan
219
+ 2. **Active** — After each sub-agent completes, orchestrator writes its result to a file and records it with `keryx job document <job-name> --type <type> --file <path>`; the command copies it into the job package and lists it in the job state.
220
+ 3. **Finalize** — Orchestrator records the final report with `keryx job document` and closes the job with `keryx job complete <job-name>`.
221
221
  4. **Archived** — Job folder remains in `jobs/` indefinitely. Old jobs are NOT auto-deleted.
@@ -55,16 +55,13 @@ path.
55
55
  excludes the harness reading it. This is the only field in the tree of
56
56
  which that is true.
57
57
 
58
- Case 2 is why fourteen shipped builds differ from their `SKILL.md` by exactly
59
- one line: the seven `gproject-*` subagent skills under `planning/`
60
- (`project-discovery`, `problem-definer`, `patterns-researcher`, `planner`,
61
- `consistency-checker`, `spec-writer`, `stack-advisor`) each ship a
62
- `SKILL.codex.md` and a `SKILL.cursor.md` that add
63
- `compatible_harnesses: "cursor,codex,zed,opencode"`. Their `SKILL.md` declares
64
- no harness list, because it is the Claude build and cannot carry one that
65
- excludes Claude. These builds are NOT identical copies and must not be deleted
66
- as such; `src/gdskills/build-parity.test.ts` exempts this one hunk, by name,
67
- for these seven skills only, and its allow-list is where any widening has to be
58
+ Case 2 is why such a build may differ from its `SKILL.md` by exactly one line:
59
+ it adds `compatible_harnesses: "cursor,codex,zed,opencode"`, while the
60
+ `SKILL.md` declares no harness list, because it is the Claude build and cannot
61
+ carry one that excludes Claude. No shipped skill has such a build today. Such a
62
+ build is NOT an identical copy and must not be deleted as one;
63
+ `src/gdskills/build-parity.test.ts` exempts this one hunk, by name, for the
64
+ skills it lists only, and its allow-list is where any widening has to be
68
65
  argued. Every other difference between a build and its `SKILL.md` is drift and
69
66
  gets reconciled.
70
67
 
@@ -236,7 +236,7 @@ undocumented is drift that will be silently "fixed" by whoever refreshes next.
236
236
  | Refresh one whose origin drifted | YES | — |
237
237
  | Create an entity/module project-skill | NO | `entity-skill-creator` |
238
238
  | Change a reviewer keryx ships | NO | edit `src/gdskills/bundled/skills/review/` and open a PR |
239
- | Update a skill from review findings | NO | `entity-skill-learner`, `keryx skills learn` |
239
+ | Update a skill from review findings | NO | `keryx skills learn` |
240
240
  | Decide which reviewers a round dispatches | NO | `review-orchestrator` |
241
241
  | Import a tree of overlay reviewers | YES — `keryx review import --from <dir> --only '<glob>'`, dry-run first (`SKILL.detail.md`) | — |
242
242
  | Import a non-review SKILL.md / GitHub URL | NO | `entity-skill-creator` / `keryx skills import` |
@@ -39,7 +39,7 @@ Collects and maintains a **unified context document** for a job. The context doc
39
39
  6. Keep the context document up-to-date as the job evolves (version-tracked updates)
40
40
 
41
41
  **Input:** Task description + job name + project path (from orchestrator or user)
42
- **Output:** `context.md` document in `.metaproject/jobs/<job-name>/ai/` and `.metaproject/jobs/<job-name>/man/`, documented via `job-documenter`
42
+ **Output:** `context.md` document in `.metaproject/jobs/<job-name>/ai/` and `.metaproject/jobs/<job-name>/man/`, written straight into the job folder `keryx job init` created
43
43
 
44
44
  ## When to Use
45
45
 
@@ -55,7 +55,7 @@ Phase 1: RECEIVE -> Parse input, determine scope and focus areas
55
55
  Phase 2: LOCAL -> Scan local docs, jobs, rules, codebase for relevant context
56
56
  Phase 3: EXTERNAL -> Fetch external docs for libraries, APIs, best practices
57
57
  Phase 4: SYNTHESIZE -> Merge all findings into a single context document
58
- Phase 5: DOCUMENT -> Save via job-documenter, return result
58
+ Phase 5: DOCUMENT -> Save into the job folder, return result
59
59
  ```
60
60
 
61
61
  ---
@@ -487,27 +487,18 @@ When updating an existing context:
487
487
 
488
488
  Save the context document and notify orchestrator.
489
489
 
490
- ### 5.1 Save via job-documenter (when running within a job)
490
+ ### 5.1 Save into the job folder (when running within a job)
491
491
 
492
- If JOB_NAME is provided, dispatch `job-documenter`:
492
+ If JOB_NAME is provided, the job folder already exists — `keryx job init` creates
493
+ it, and the orchestrator owns it. Write the full context document, metadata block
494
+ included, to `<JOBS_ROOT>/<JOB_NAME>/ai/context.md` and `<JOBS_ROOT>/<JOB_NAME>/man/context.md`.
493
495
 
494
- ```
495
- ACTION: add-document
496
- JOB_NAME: <JOB_NAME>
497
- JOBS_ROOT: <JOBS_ROOT>
498
-
499
- DATA:
500
- DOC_TYPE: context
501
- TARGET: both
502
- TITLE: Context — <task description short>
503
- CONTENT: <full context document>
504
- AGENT: context-collector
505
- TASK: Collect context for <task description>
506
- VERSION: <1.0 for new, incremented for update>
507
- DOC_STATUS: final
508
- ```
496
+ Do not record it with `keryx job document`: that command takes only `analysis`,
497
+ `implementation-report`, `review` and `verification-report`, and recording a type a
498
+ second time replaces the first file, so filing a context document under
499
+ `analysis` would overwrite the real analysis.
509
500
 
510
- For ACTION=update, use the same flow — `job-documenter` will overwrite the existing `context.md`.
501
+ For ACTION=update, write to the same paths — the new revision replaces the existing `context.md`.
511
502
 
512
503
  ### 5.2 Save directly (when running standalone without a job)
513
504
 
@@ -667,5 +658,5 @@ Stop and re-read this skill if you are thinking:
667
658
  | "The task mentions React, so I should fetch React documentation." | Rule 10: no external fetch for well-known patterns already covered by project rules. External research is for the specific API, version gotcha or convention this task turns on — not for a topic overview. |
668
659
  | "This section of the existing context looks stale, so I'll drop it while updating." | 4.3 and Rule 4: preserve existing sections unless they are explicitly outdated. "Looks stale" from inside a scoped update usually means "I did not re-research it" — removing it silently deletes a decision another agent is relying on. |
669
660
  | "I fixed the small inconsistency I noticed in the source file while reading it." | Rule 11: this skill writes only into the job folder. An edit made during collection lands in a diff nobody attributed to a task, and the implementer inherits it without knowing. |
670
- | "The context is written, so I can return — job-documenter can be called later." | Phase 5 is part of the skill. A `context.md` that was never persisted through `job-documenter` is absent from the README index, and the next phase resolves the path to nothing. |
661
+ | "The context is written, so I can return — saving it can happen later." | Phase 5 is part of the skill. A `context.md` that was never written to the job folder leaves the next phase resolving `CONTEXT_LOCATION` to nothing. |
671
662
  | "The content changed only slightly, so bumping the Version and update log is overkill." | Rule 12 and Rule 3: version, timestamp and update log are mandatory. Without them, two agents reading different revisions have no way to tell which one they have. |
@@ -291,9 +291,9 @@ Check `AGENTS.md` for available tools (`playwright-testing.mdc`, `storybook-guid
291
291
  ## Step 8: Integration with Other Skills
292
292
 
293
293
  Before finalizing, consider running:
294
- - `skills/review/code-style-review` — if architecture changes detected
295
- - `skills/review/code-ai-review` — for self-validation of findings
296
- - `skills/review/code-mobx-store-review` — if store changes found
294
+ - `skills/review/review-architecture` — if architecture changes detected
295
+ - `skills/review/review-logic` — for self-validation of findings
296
+ - `skills/review/review-frontend` — if store changes found
297
297
 
298
298
  ---
299
299
 
@@ -290,7 +290,7 @@ Recommended worker routing:
290
290
  | `test` | `tests-creator` or `test-gen` |
291
291
  | `implement` | `task-implementer` |
292
292
  | `review` | `review-orchestrator` |
293
- | `docs` | `job-documenter`, `prd-creator`, or documentation-specific project skill |
293
+ | `docs` | `prd-creator`, a documentation-specific project skill, or `keryx job document` to file a document in a job folder |
294
294
 
295
295
  **Before the first `task-implementer` dispatch of the run:** when `review.jev.edit_guard` is on (`.metaproject/tasks.config.json`), confirm the guard is active — `keryx review jev-edit-guard status`, else `keryx review jev-edit-guard install` — and say why in one line.
296
296
 
@@ -988,7 +988,7 @@ journal line is the record.
988
988
  `review-orchestrator` is the review path. It is not one strategy among several: it is
989
989
  the only entry point that produces a **managed review record**, and every round this
990
990
  skill runs is a round that must be citable afterwards. The legacy alternatives —
991
- launching `code-ai-review` / `code-learned-review` / `code-style-review` by hand, or the
991
+ launching a `code-*` profile (`code-learned-review`, or the retired ones) by hand, or the
992
992
  never-bundled `code-review` 4-agent skill — are gone. They emitted prose into a chat
993
993
  transcript and nothing else, which is precisely the failure the managed pipeline
994
994
  replaced.
@@ -182,7 +182,7 @@
182
182
  "reviewer": {
183
183
  "type": "string",
184
184
  "description": "Which review skill found this",
185
- "examples": ["code-ai-review", "code-learned-review", "code-style-review"]
185
+ "examples": ["review-logic", "review-frontend", "code-learned-review"]
186
186
  },
187
187
  "premise_verdict": {
188
188
  "type": "string",
@@ -5,7 +5,7 @@ description: >
5
5
  and produces comprehensive developer documentation without user involvement after initial setup.
6
6
  Use when the user provides a repo path, asks to document existing code, or wants
7
7
  onboarding docs, an API reference, or an architecture overview generated automatically.
8
- NOT for: writing new PRDs or planning new features (use gproject-orchestrator).
8
+ NOT for: writing new PRDs or planning new features (use docpack-orchestrator).
9
9
  triggers:
10
10
  - "autodoc"
11
11
  - "document codebase"
@@ -74,7 +74,7 @@ Launch 3 agents simultaneously:
74
74
  3. **Next steps** — concrete action items
75
75
 
76
76
  ### Step 5: Discuss
77
- Offer to go deeper on any option or kick off `/feature-dev` / `/prd-creator`.
77
+ Offer to go deeper on any option or start `job-orchestrator` or `/prd-creator`.
78
78
 
79
79
  ## Quick Mode (--quick)
80
80
  Skip agents. Inline: 3-5 options in table, score each, recommend one.
@@ -21,7 +21,7 @@ Proceed directly with your assigned task.
21
21
 
22
22
  # Interview
23
23
 
24
- Critical requirements interviewer that asks targeted clarifying questions before expensive operations begin. The goal is to eliminate ambiguity and gather precise context so downstream skills (job-orchestrator, feature-dev, prd-creator) produce accurate results.
24
+ Critical requirements interviewer that asks targeted clarifying questions before expensive operations begin. The goal is to eliminate ambiguity and gather precise context so downstream skills (job-orchestrator, flow-orchestrator, prd-creator) produce accurate results.
25
25
 
26
26
  ## Input Contract
27
27
 
@@ -31,7 +31,7 @@ When called by another skill (orchestrated mode):
31
31
  "goal": "what needs to be done (issue title, feature description, task)",
32
32
  "context": "collected context from context-collector or another agent",
33
33
  "domain": "implement | review | design | migrate | custom",
34
- "caller": "job-orchestrator | feature-dev | user | prd-creator",
34
+ "caller": "job-orchestrator | flow-orchestrator | user | prd-creator",
35
35
  "known_facts": ["already known facts or decisions"],
36
36
  "max_questions": null
37
37
  }
@@ -143,7 +143,7 @@ After all questions are answered:
143
143
  ### Phase 5: Handoff
144
144
 
145
145
  Return the output contract to the calling skill, or if standalone — ask what the user wants to do next:
146
- - "Start implementing? I can run `/feature-dev`"
146
+ - "Start implementing? I can run the `job-orchestrator` pipeline"
147
147
  - "Create a PRD? I can run `/prd-creator`"
148
148
  - "Need more brainstorming? Try `/brainstorm`"
149
149
 
@@ -168,7 +168,6 @@ Skip options when:
168
168
 
169
169
  ```
170
170
  job-orchestrator → context-collector → interview → plan → execute
171
- feature-dev → interview (Phase 1) → design → implement
172
171
  prd-creator → interview → requirements document
173
172
  ```
174
173
 
@@ -52,7 +52,7 @@ blockers?: string[] — unresolved critical unknowns
52
52
 
53
53
  ## When to Use
54
54
 
55
- - Called by `job-orchestrator`, `brainstorm`, `feature-dev` at start of Phase 0
55
+ - Called by `job-orchestrator` and `brainstorm` at start of Phase 0
56
56
  - Directly by user: `/interviewer <topic>` — runs context-collector first if no context provided
57
57
  - When requirements are vague or ambiguous
58
58
 
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: git-publish
3
+ description: "Use when committing changes, pushing a branch to the remote, or opening a pull request: commit, push and PR rules for staging, hooks, upstream and force. NOT for documenting a pull request that is already open, or its linked issue (use `pr-issue-documenter`)."
4
+ triggers:
5
+ - "commit changes"
6
+ - "git commit"
7
+ - "conventional commit"
8
+ - "Commit this"
9
+ - "push branch"
10
+ - "git push"
11
+ - "publish branch"
12
+ - "Push to remote"
13
+ - "open PR"
14
+ - "create pull request"
15
+ - "draft PR"
16
+ - "Open pull request"
17
+ metadata:
18
+ author: "MrCipherSmith"
19
+ version: "1.0.0"
20
+ category: "quality"
21
+ compatible_harnesses: "cursor,codex,zed,opencode,claude"
22
+ license: "MIT"
23
+ ---
24
+
25
+ # Git publishing rules
26
+
27
+ Apply to every commit, push and pull request you create.
28
+
29
+ ## Commit
30
+
31
+ - Stage explicit paths that belong to the change. Never `git add -A`, `--all` or `.`, never `commit -a`:
32
+ other agents or the user may have unrelated edits in the same tree.
33
+ - Never stage `.env`, credentials, keys or large binaries. Ask before staging an untracked file that
34
+ does not look like part of this change.
35
+ - Subject `<type>(<scope>): <description>`, English, at most 72 characters, naming the change.
36
+ - No `Co-Authored-By` or "Generated with" trailers.
37
+ - Never `--no-verify`. If a hook fails, fix the cause, re-stage and make a new commit; amend only when
38
+ the user asked for an amend.
39
+
40
+ ## Push
41
+
42
+ - Ask first if the tree has uncommitted changes, or if the branch is `main`/`master`.
43
+ - A branch without an upstream is pushed with `git push -u origin <branch>`.
44
+ - Never force (`--force`, `--force-with-lease`, `+ref`) unless the user said "force push" in this
45
+ conversation. A rejected push is rebased onto the remote and pushed normally, or handed back.
46
+
47
+ ## Pull request
48
+
49
+ - Push the branch with `-u` before `gh pr create`; never open a PR from `main`/`master` or over a
50
+ dirty tree without asking.
51
+ - Title under 70 characters describing the whole branch. Body covers every commit in
52
+ `<base>..HEAD`: Summary, Changes, Test plan.
53
+ - Reference only issues the branch or its commits actually link; never guess a `Closes #N`.
54
+ - Ask before opening a PR of 10 or more commits.
55
+ - Report the PR URL.
56
+
57
+ ## Verification
58
+
59
+ - Done when `git show --stat HEAD` lists exactly the intended files.
60
+ - Done when `git log @{upstream}..HEAD` is empty.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pr-issue-documenter
3
- description: "Use when documenting PR changes, adding a PR description, creating a linked issue for a PR, or updating an existing issue body. NOT for opening the pull request in the first place (use `pr`)."
3
+ description: "Use when documenting PR changes, adding a PR description, creating a linked issue for a PR, or updating an existing issue body. NOT for opening the pull request in the first place (use `git-publish`)."
4
4
  triggers:
5
5
  - "document PR"
6
6
  - "PR description"
@@ -214,9 +214,9 @@ following `code-review-learned-profile.mdc`. It has no opinions of its own.
214
214
  | Concern | This skill | Use instead |
215
215
  | -------------------------------------------------------------- | ---------- | ------------------------ |
216
216
  | This project's accumulated review conventions | ✅ YES | — |
217
- | General AI review (broader quality, performance, UX) | ❌ NO | `code-ai-review` |
218
- | MobX store internals (actions, computed, reactions) | ❌ NO | `code-mobx-store-review` |
219
- | Pure style/naming/architecture pattern audit | ❌ NO | `code-style-review` |
217
+ | General review (broader quality, performance, UX) | ❌ NO | `review-orchestrator` |
218
+ | MobX store internals (actions, computed, reactions) | ❌ NO | `review-frontend` |
219
+ | Pure style/naming/architecture pattern audit | ❌ NO | `review-style` |
220
220
  | Logic correctness with no learned lesson behind it | ❌ NO | `review-logic` |
221
221
 
222
222
  ---
@@ -16,7 +16,7 @@ triggers:
16
16
  - "check layers"
17
17
  metadata:
18
18
  author: "MrCipherSmith"
19
- version: "1.0.0"
19
+ version: "1.2.0"
20
20
  category: "review"
21
21
  compatible_harnesses: "cursor,codex,zed,opencode,claude"
22
22
  license: "MIT"
@@ -26,7 +26,7 @@ license: "MIT"
26
26
 
27
27
  Specialized reviewer for **architectural patterns and structural decisions**.
28
28
  Reviews only changes introduced in the current branch (merge-base to HEAD).
29
- Focuses exclusively on verifiable structural violations — not style opinions or hypothetical concerns. Its inputs are the reviewer payload only; session memory and earlier conversation are not inputs. It runs no command unless its payload's `allowed_tools` says `run-tests`, 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).
29
+ Focuses exclusively on verifiable structural violations — not style opinions or hypothetical concerns. Its inputs are the reviewer payload only; session memory and earlier conversation are not inputs. It runs no command unless its payload's `allowed_tools` says `run-tests`, 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.
30
30
 
31
31
  ---
32
32
 
@@ -197,7 +197,7 @@ Focus on **SRP** and **DIP** — the two most commonly violated in practice.
197
197
  | Security vulnerabilities (injection, auth bypass) | NO | `review-security-code` |
198
198
  | Style, naming, import order | NO | `review-style` |
199
199
  | Performance (bundle size, render cost, query plan) | NO | `review-performance` |
200
- | MobX store internals deep-dive | surface violations only | `code-mobx-store-review` for full store audit |
200
+ | MobX store internals deep-dive | surface violations only | `review-frontend` for full store audit |
201
201
 
202
202
  ---
203
203
 
@@ -257,13 +257,13 @@ conditions land under that rubric, not a second rubric.
257
257
  |---|---|---|
258
258
  | Circular dependency that fails at runtime (an import resolves to `undefined` on a path the change reaches) | `blocker` | Crash |
259
259
  | Module scope mismatch that produces wrong data across requests | `blocker` | Data corruption |
260
- | Layer violation — API/IO call in a component, business logic in a controller, domain importing infrastructure | `major` | A named trigger and a named outcome, but structural: not a crash, data loss, vulnerability, or missing acceptance criterion. Identical to `review-frontend`'s rule for the same condition |
261
- | Broken DIP; cross-module coupling with a named consequence | `major` | Same |
260
+ | Layer violation — API/IO call in a component, business logic in a controller, domain importing infrastructure | `minor` — `major` only when a concrete defect it causes is named (trigger and outcome) or a stated project rule makes it one | Structural cost lands on the next editor. Identical to `review-frontend` and `review-backend` for the same condition |
261
+ | Broken DIP; cross-module coupling | `minor` — `major` under the same condition | Same |
262
262
  | SRP smell with a clear separation path; ISP violation; a component reading several raw observables instead of a computed | `minor` | The code is correct; the cost is to whoever restructures it next |
263
263
  | Architectural opinion with no named violation | `info` | Shared laws 1 and 2 |
264
264
 
265
- A circular import that resolves cleanly is not a `blocker` — it is `minor`, and
266
- if the concern is purely readability it belongs to `review-style`.
265
+ This lens owns circular imports: one that resolves cleanly is `minor`, not a
266
+ `blocker`; `review-style` and `review-clean-code` defer to this rating.
267
267
 
268
268
  ## Iron Laws
269
269