@dzhechkov/keysarium 1.5.30 → 1.5.32
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/.dz-manifest.json +945 -0
- package/README.md +11 -10
- package/README.ru.md +8 -5
- package/package.json +5 -3
- package/sbom.json +2353 -0
- package/templates/.claude/rules/agent-swarm.md +2 -4
- package/templates/.claude/rules/background-workers.md +1 -1
- package/templates/.claude/rules/dream-cycles.md +1 -0
- package/templates/.claude/rules/feature-adr-conventions.md +1 -1
- package/templates/.claude/rules/modular-reuse.md +5 -1
- package/templates/.claude/rules/reward-learning.md +3 -0
- package/templates/.claude/rules/trust-tiers.md +11 -7
- package/templates/.claude/skills/edu-site-generator/SKILL.md +1 -1
- package/templates/.claude/skills/explore/SKILL.md +1 -1
- package/templates/.claude/skills/feature-adr/SKILL.md +4 -2
- package/templates/.claude/skills/feature-adr/modules/10-delivery-gate.md +10 -6
- package/templates/.claude/skills/frontend-design/SKILL.md +1 -1
- package/templates/.claude/skills/goap-research-ed25519/SKILL.md +1 -1
- package/templates/.claude/skills/knowledge-extractor/SKILL.md +2 -2
- package/templates/.claude/skills/knowledge-extractor/modules/04-integrate.md +1 -1
- package/templates/.claude/skills/knowledge-extractor/references/maturity-model.md +3 -3
- package/templates/.claude/skills/presentation-storyteller/SKILL.md +1 -1
- package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +1 -1
- package/templates/.claude/skills/reverse-engineering-unicorn/SKILL.md +1 -1
- package/templates/CLAUDE.md +20 -40
- package/templates/docs/continuous-learning-guide.md +6 -0
- package/templates/docs/feature-adr/05-user-guide.md +6 -0
- package/templates/docs/improvement-directions.md +6 -0
- package/templates/docs/keysarium/01-deployment-guide.md +6 -0
- package/templates/docs/keysarium/02-admin-guide.md +6 -0
- package/templates/docs/keysarium/03-user-guide.md +6 -0
- package/templates/docs/keysarium/05-architecture.md +6 -0
- package/templates/docs/keysarium/06-user-flows.md +6 -0
- package/templates/docs/keysarium-core/02-functionality.md +6 -0
- package/templates/docs/keysarium-core/03-deployment-guide.md +6 -0
- package/templates/docs/keysarium-core/04-admin-guide.md +6 -0
- package/templates/docs/skills-bto/01-deployment-guide.md +6 -0
- package/templates/docs/skills-bto/02-admin-guide.md +6 -0
- package/templates/docs/skills-bto/03-user-guide.md +6 -0
- package/templates/docs/skills-bto/04-infrastructure-requirements.md +6 -0
- package/templates/docs/skills-bto/05-architecture.md +6 -0
- package/templates/docs/skills-bto/06-user-flows.md +6 -0
- package/templates/docs/transcript-site-generator/01-deployment-guide.md +6 -0
- package/templates/lib/background-workers.md +1 -1
- package/templates/lib/judge-attestation.md +1 -1
- package/templates/lib/platform-adapters.md +0 -1
- package/templates/lib/platform-templates/opencode.md +0 -1
- package/templates/lib/worker-templates/health-check.md +2 -2
|
@@ -20,10 +20,8 @@ When spawning agents, use descriptive names:
|
|
|
20
20
|
- "Phase 5 Speaker Script"
|
|
21
21
|
|
|
22
22
|
## BTO Agent Patterns
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
- /bto-optimize Round 1: 5 parallel haiku agents (variant evaluation)
|
|
26
|
-
- /bto-optimize Round 3: 3×3 parallel sonnet agents (Layer 2 full panel)
|
|
23
|
+
(Skill-evaluation swarms — BTO test/optimize — live in the separate `@dzhechkov/skills-bto`
|
|
24
|
+
package and are not available in a Keysarium-only install.)
|
|
27
25
|
|
|
28
26
|
## Cost Optimization
|
|
29
27
|
- Use model="haiku" for simple file operations, formatting, and BTO Layer 0-1 evaluation
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Trigger | Worker Type | Condition |
|
|
6
6
|
|---------|------------|-----------|
|
|
7
7
|
| Case completion | `consolidate` | After 3rd completed `/casarium` case in project |
|
|
8
|
-
| Post-BTO test | `health-check` | After
|
|
8
|
+
| Post-BTO test | `health-check` | After a BTO evaluation run, if `@dzhechkov/skills-bto` is installed (advisory, not enforced) |
|
|
9
9
|
| Manual | Any | User runs `/workers start <type>` |
|
|
10
10
|
|
|
11
11
|
Auto-launch triggers are ADVISORY. The system may suggest launching a worker but
|
|
@@ -6,6 +6,7 @@ When starting a new pipeline run (`/casarium` or `/feature-adr`), the orchestrat
|
|
|
6
6
|
|
|
7
7
|
1. Read `.keysarium/insights/trigger-state.json`
|
|
8
8
|
2. Evaluate triggers using the protocol in `lib/dream-engine.md`
|
|
9
|
+
(under `init --minimal`, `lib/` is NOT installed — dream cycles are non-blocking, so skip)
|
|
9
10
|
3. If any trigger is met, suggest to the user:
|
|
10
11
|
```
|
|
11
12
|
Dream cycle trigger met ({reason}). Consider running /dream run for fresh insights.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| Researching an AI case for hackathon | `/casarium` |
|
|
9
9
|
| Solving a complex problem (no code) | `/solve` |
|
|
10
10
|
| Designing architecture only (no code) | `/architecture-phase` |
|
|
11
|
-
| Building a new skill/command |
|
|
11
|
+
| Building a new skill/command | BTO build — separate package: `npx @dzhechkov/skills-bto init` |
|
|
12
12
|
|
|
13
13
|
## Output Directory
|
|
14
14
|
|
|
@@ -24,7 +24,11 @@ They can be composed for different workflows.
|
|
|
24
24
|
Shared logic lives in lib/ directory:
|
|
25
25
|
- lib/phase-utils.md: Common phase utilities
|
|
26
26
|
- lib/agent-patterns.md: Agent spawning patterns
|
|
27
|
-
- lib/
|
|
27
|
+
- lib/skill-loader.md: Skill loading conventions
|
|
28
|
+
- lib/domain-templates.md: Domain-specific templates
|
|
29
|
+
|
|
30
|
+
Under `init --minimal`, `lib/` is NOT installed; treat these modules as absent and skip the
|
|
31
|
+
optional behaviour they describe rather than failing.
|
|
28
32
|
|
|
29
33
|
## Extending the System
|
|
30
34
|
To add a new phase:
|
|
@@ -9,6 +9,9 @@ Govern how the Keysarium pipeline integrates with the Reward-Calibrated Learning
|
|
|
9
9
|
Read `lib/memory-protocol.md` for the full protocol specification.
|
|
10
10
|
Read `lib/reward-tracker.md` for analytics and pattern detection.
|
|
11
11
|
|
|
12
|
+
Under `init --minimal`, `lib/` is NOT installed; memory operations are non-blocking, so skip them
|
|
13
|
+
silently when these files are absent.
|
|
14
|
+
|
|
12
15
|
## When to Call memory_query()
|
|
13
16
|
|
|
14
17
|
**Trigger:** At the START of every pipeline phase (Phase 0 through Phase 5).
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# Trust Tier System
|
|
2
2
|
|
|
3
|
+
> **BTO evaluation is a SEPARATE package.** Keysarium installs no `/bto*` slash commands — the
|
|
4
|
+
> BTO evaluator ships as `@dzhechkov/skills-bto` (`npx @dzhechkov/skills-bto init`). Where this
|
|
5
|
+
> file refers to a "BTO evaluation", it means running that package. Tier promotion is therefore
|
|
6
|
+
> optional: without it, skills stay at the tier their structure earns (Tier 0/1).
|
|
7
|
+
|
|
3
8
|
## Tier Definitions
|
|
4
9
|
|
|
5
10
|
| Tier | Label | Requirements | Promotion Path |
|
|
6
11
|
|------|-------|-------------|----------------|
|
|
7
12
|
| Tier 3 | Verified | Eval test suites with deterministic validation | — (highest) |
|
|
8
|
-
| Tier 2 | Validated | Passed
|
|
9
|
-
| Tier 1 | Structured | SKILL.md + references/ or modules/ | Run
|
|
13
|
+
| Tier 2 | Validated | Passed a BTO evaluation with Layer 2 score ≥ 7.0 | Run a BTO evaluation, score ≥ 8.5 on Layer 2 |
|
|
14
|
+
| Tier 1 | Structured | SKILL.md + references/ or modules/ | Run a BTO evaluation, score ≥ 7.0 on Layer 2 |
|
|
10
15
|
| Tier 0 | Advisory | Basic SKILL.md only | Add references/, examples/, structured output |
|
|
11
16
|
|
|
12
17
|
## Current Skill Tiers
|
|
@@ -19,24 +24,23 @@
|
|
|
19
24
|
| problem-solver-enhanced | 1 | Structured | Comprehensive SKILL.md with TRIZ framework |
|
|
20
25
|
| presentation-storyteller | 1 | Structured | SKILL.md + references/ |
|
|
21
26
|
| reverse-engineering-unicorn | 1 | Structured | SKILL.md + modules/ + references/ + examples/ |
|
|
22
|
-
|
|
|
23
|
-
| knowledge-extractor | 2 | Validated | /bto-test Layer 2 score 7.5, optimized 2026-03-03 |
|
|
27
|
+
| knowledge-extractor | 2 | Validated | BTO evaluation Layer 2 score 7.5, optimized 2026-03-03 |
|
|
24
28
|
| analyst-manual-full | 0 | Advisory | SKILL.md only (composite orchestrator, depends on explore + goap-research + problem-solver) |
|
|
25
29
|
| feature-adr | 1 | Structured | SKILL.md + modules/ + references/ + examples/ |
|
|
26
30
|
| edu-site-generator | 1 | Structured | SKILL.md + modules/ + references/ + examples/ |
|
|
27
|
-
| transcript-site-generator | 2 | Validated |
|
|
31
|
+
| transcript-site-generator | 2 | Validated | BTO evaluation Layer 2 score 7.82 |
|
|
28
32
|
| ai-factory-mapper | 1 | Structured | SKILL.md + references/ + assets/ + scripts/ (v1.0, апрель 2026) |
|
|
29
33
|
|
|
30
34
|
## Tier Enforcement
|
|
31
35
|
|
|
32
36
|
- Tier 0 skills: Flag with warning when loaded in production pipeline
|
|
33
|
-
- Tier 1 skills: Standard usage, recommend
|
|
37
|
+
- Tier 1 skills: Standard usage, recommend a BTO evaluation for promotion
|
|
34
38
|
- Tier 2 skills: Full confidence, include BTO score in metadata
|
|
35
39
|
- Tier 3 skills: Highest confidence, deterministic validation available
|
|
36
40
|
|
|
37
41
|
## Promotion Protocol
|
|
38
42
|
|
|
39
|
-
1.
|
|
43
|
+
1. Install the evaluator (`npx @dzhechkov/skills-bto init`), then run its BTO test on `.claude/skills/<name>/`
|
|
40
44
|
2. If Layer 2 score ≥ 7.0 → promote to Tier 2, record score in SKILL.md
|
|
41
45
|
3. If Layer 2 score ≥ 8.5 + deterministic eval tests exist → promote to Tier 3
|
|
42
46
|
4. Record promotion date and score in SKILL.md frontmatter
|
|
@@ -10,7 +10,7 @@ trust_tier: 1
|
|
|
10
10
|
|
|
11
11
|
# edu-site-generator — Gamified Educational Site Generator
|
|
12
12
|
|
|
13
|
-
<!-- Trust Tier: 1 — Structured | Path to Tier 2:
|
|
13
|
+
<!-- Trust Tier: 1 — Structured | Path to Tier 2: run a BTO evaluation (separate package: npx @dzhechkov/skills-bto) -->
|
|
14
14
|
|
|
15
15
|
> Generate a complete gamified educational SPA from documentation/content, optimized for GitHub Pages deployment.
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ description: >
|
|
|
10
10
|
provide solutions until task is fully explored.
|
|
11
11
|
trust_tier: 1
|
|
12
12
|
trust_tier_label: "Structured"
|
|
13
|
-
trust_tier_path: "Run /bto
|
|
13
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 2"
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
# Explore: Adaptive Task Clarification
|
|
@@ -11,7 +11,7 @@ description: >
|
|
|
11
11
|
"implement feature", "/feature-adr".
|
|
12
12
|
trust_tier: 0
|
|
13
13
|
trust_tier_label: "Advisory"
|
|
14
|
-
trust_tier_path: "Run /bto
|
|
14
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 1"
|
|
15
15
|
agentic_qe_version: "7.5.1"
|
|
16
16
|
agentic_qe_source: "https://github.com/proffesor-for-testing/agentic-qe"
|
|
17
17
|
agentic_qe_skills_core: 9
|
|
@@ -253,6 +253,7 @@ features/<feature-slug>/
|
|
|
253
253
|
│ └── change_manifest.md ← List of modified files
|
|
254
254
|
├── 08_qe_report.md ← Always (brutal-honesty review)
|
|
255
255
|
├── 09_fleet_qe_assessment.md ← L/XL only (fleet assessment)
|
|
256
|
+
├── 10_delivery_review.md ← Opt-in (Step 10 Delivery Gate verdict + findings)
|
|
256
257
|
├── diagrams/ ← M+ only
|
|
257
258
|
│ ├── architecture-c4.mermaid
|
|
258
259
|
│ ├── sequence-*.mermaid
|
|
@@ -614,4 +615,5 @@ NOT running one loud: a skipped gate shows as `not-run` by construction instead
|
|
|
614
615
|
checklist to it is the cheapest way to harden orchestrator judgment). Gate sources: challenge-panel → its
|
|
615
616
|
verdict exists; claim-check → its JSON counts (`high-findings` vs `clean`); discrimination → the
|
|
616
617
|
`dz discrimination-check` aggregate; amendments → every `AM-N` row carries its `→ test` and it was checked;
|
|
617
|
-
fleet → the 09 artifact (L/XL only, else `—`).
|
|
618
|
+
fleet → the 09 artifact (L/XL only, else `—`); delivery → the 10_delivery_review.md Verdict
|
|
619
|
+
(`ready|blocked|errored`, `n/a` when the gate was not requested).
|
|
@@ -39,9 +39,9 @@ surfaces the findings **UNVALIDATED** — never silently dropped, never silently
|
|
|
39
39
|
### 3. Machine-checkable hand-off criterion
|
|
40
40
|
|
|
41
41
|
Write `features/<slug>/10_delivery_review.md`:
|
|
42
|
-
- **## Verdict** — `hand-off: ready | blocked` (ready ⇔ 0 BLOCKER and 0
|
|
42
|
+
- **## Verdict** — `hand-off: ready | blocked | errored` (ready ⇔ 0 BLOCKER and 0 HIGH, ALL planes returned a usable result, cross-validation complete; `errored` = the gate itself failed — advisory, documented). Waivers: not in v1 — a HIGH is a HIGH.
|
|
43
43
|
- **## Findings** — table: severity | plane | title | where | why | crossValidated
|
|
44
|
-
- **## Hand-off criterion** — machine-checkable rows: `0 BLOCKER: PASS/FAIL(n)`, `0
|
|
44
|
+
- **## Hand-off criterion** — machine-checkable rows: `0 BLOCKER: PASS/FAIL(n)`, `0 HIGH: PASS/FAIL(n)` (waivers: not in v1).
|
|
45
45
|
Projects with a merge-request flow add THEIR OWN rows here (`CI terminal: …`, `draft→ready: …`) — these are
|
|
46
46
|
**document rows the owner fills**, never API calls made by the pipeline. No merge-request flow ⇒ the rows
|
|
47
47
|
stay `—`.
|
|
@@ -52,12 +52,16 @@ Write `features/<slug>/10_delivery_review.md`:
|
|
|
52
52
|
1. **Findings only.** Step 10 NEVER posts to a VCS host, tracker, or any external service. Publishing a
|
|
53
53
|
review anywhere is a separate, explicit user instruction.
|
|
54
54
|
2. **Advisory.** `hand-off: blocked` is a report, not an abort (a false gate kills trust).
|
|
55
|
-
3. **Cross-family
|
|
56
|
-
|
|
55
|
+
3. **Cross-family (honest v1 scope).** The guarantee holds when the coder was Codex (Claude planes review
|
|
56
|
+
it — genuinely cross-family). A Claude-coded run gets Claude planes too — SAME family — because codex
|
|
57
|
+
planes are unsupported in v1 (a plane is a data-returning stage; the codex wrapper returns a stub, which
|
|
58
|
+
the codex-routing-honesty rule forbids). The degradation is recorded loudly: `crossFamily: false` in the
|
|
59
|
+
result and the review doc — run an independent cross-family review manually for the full guarantee.
|
|
57
60
|
4. **Cost control.** One gate per hand-off, not per commit. A stack of related changes gets one Step-10 pass
|
|
58
61
|
on the combined diff.
|
|
59
62
|
|
|
60
63
|
## Promise tag
|
|
61
64
|
|
|
62
|
-
`<promise>FEATURE_ADR_DELIVERY_GATED</promise>` —
|
|
63
|
-
|
|
65
|
+
`<promise>FEATURE_ADR_DELIVERY_GATED</promise>` — emitted ONLY when the gate ran AND `10_delivery_review.md`
|
|
66
|
+
actually landed (the workflow probes the file; a verdict without its doc never claims the tag). The `🚦 Gates:`
|
|
67
|
+
line gains `delivery ready|blocked|errored` (`n/a` when the gate was not requested).
|
|
@@ -4,7 +4,7 @@ description: Create distinctive, production-grade frontend interfaces with high
|
|
|
4
4
|
license: Complete terms in LICENSE.txt
|
|
5
5
|
trust_tier: 0
|
|
6
6
|
trust_tier_label: "Advisory"
|
|
7
|
-
trust_tier_path: "Add references/ directory and run /bto
|
|
7
|
+
trust_tier_path: "Add references/ directory and run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
|
|
@@ -3,7 +3,7 @@ name: goap-research-ed25519
|
|
|
3
3
|
description: GOAP research system with Ed25519 provenance and tamper-evidence under pinned trusted-issuer keys. Use for high-stakes research that needs cited sources, explicit confidence, signed audit trails, or cryptographic proof of who signed a fact. Ed25519 does not prove truthfulness or prevent hallucination.
|
|
4
4
|
trust_tier: 1
|
|
5
5
|
trust_tier_label: "Structured"
|
|
6
|
-
trust_tier_path: "Run /bto
|
|
6
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 2"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# GOAP Research with Ed25519 Provenance
|
|
@@ -9,7 +9,7 @@ trust_tier: 2
|
|
|
9
9
|
trust_tier_label: "Validated"
|
|
10
10
|
bto_score: 7.5
|
|
11
11
|
bto_date: "2026-03-03"
|
|
12
|
-
trust_tier_path: "Run /bto
|
|
12
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto, score >= 8.5 + eval tests for Tier 3"
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
# Knowledge Extractor
|
|
@@ -227,7 +227,7 @@ Category-to-agent mapping (see `references/artifact-categories.md`):
|
|
|
227
227
|
| memory_query() | Pipeline start | Load historical harvest patterns |
|
|
228
228
|
| memory_store() | After user checkpoint | Store harvest reward data |
|
|
229
229
|
| brain-export | N/A (passive) | Findings JSON is brain-compatible schema |
|
|
230
|
-
| BTO | Post-harvest | Placed skills can be evaluated
|
|
230
|
+
| BTO | Post-harvest | Placed skills can be evaluated with the separate package `npx @dzhechkov/skills-bto` |
|
|
231
231
|
| dream cycles | Pipeline end | Update trigger-state.json |
|
|
232
232
|
| /harvest command | Entry point | Thin wrapper loads this skill |
|
|
233
233
|
|
|
@@ -144,7 +144,7 @@ Placed artifacts:
|
|
|
144
144
|
Gate pass rate: {rate}%
|
|
145
145
|
Memory reward stored: {score} ({label})
|
|
146
146
|
|
|
147
|
-
Run /bto
|
|
147
|
+
Run a BTO evaluation (separate package: `npx @dzhechkov/skills-bto`) on placed skills for promotion to Tier 2.
|
|
148
148
|
═══════════════════════════════════════════════════════
|
|
149
149
|
```
|
|
150
150
|
|
|
@@ -10,7 +10,7 @@ and in TOOLKIT_HARVEST.md entries so consumers know how much trust to place in t
|
|
|
10
10
|
|-------|-------|----------|-------|
|
|
11
11
|
| Alpha | Alpha | First extraction, untested. Used in exactly 1 project. No validation. | 🔴 |
|
|
12
12
|
| Beta | Beta | Used in 2+ projects. Basic validation. May have rough edges. | 🟡 |
|
|
13
|
-
| Stable | Stable | Used in 3+ projects. Proven track record. Passed /bto
|
|
13
|
+
| Stable | Stable | Used in 3+ projects. Proven track record. Passed a BTO evaluation (separate package: `@dzhechkov/skills-bto`) or equivalent. | 🟢 |
|
|
14
14
|
|
|
15
15
|
## Promotion Protocol
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ Promotion action:
|
|
|
34
34
|
Required evidence (ALL of the following):
|
|
35
35
|
- Used in 3 or more distinct projects (verified by `used_in` list).
|
|
36
36
|
- At least one of the following validation signals exists:
|
|
37
|
-
- Passed
|
|
37
|
+
- Passed a BTO Layer 2 evaluation (separate package: `@dzhechkov/skills-bto`) with score >= 7.0.
|
|
38
38
|
- Has a documented test case in a `references/` or `examples/` directory.
|
|
39
39
|
- Was reviewed and approved by a second human reviewer in a harvest session.
|
|
40
40
|
|
|
@@ -48,7 +48,7 @@ Promotion action:
|
|
|
48
48
|
|
|
49
49
|
A stable or beta finding may be demoted if evidence of unreliability emerges:
|
|
50
50
|
- A project reports the finding caused errors or required significant modification.
|
|
51
|
-
- A
|
|
51
|
+
- A BTO evaluation run (separate package: `@dzhechkov/skills-bto`) scores the finding below 5.0.
|
|
52
52
|
|
|
53
53
|
Demotion action:
|
|
54
54
|
1. Downgrade maturity by one level (stable -> beta, beta -> alpha).
|
|
@@ -11,7 +11,7 @@ description: >
|
|
|
11
11
|
storytelling", "презентация со скриптами", "sales deck", "pitch deck", "продающая презентация".
|
|
12
12
|
trust_tier: 1
|
|
13
13
|
trust_tier_label: "Structured"
|
|
14
|
-
trust_tier_path: "Run /bto
|
|
14
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 2"
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
# Presentation Storyteller: Sales Decks with Verified Sources
|
|
@@ -3,7 +3,7 @@ name: problem-solver-enhanced
|
|
|
3
3
|
description: Elite problem-solving system combining first principles thinking, game theory, root cause analysis, systematic frameworks AND TRIZ inventive principles for solving complex challenges. Use when facing complex challenges with unclear solutions, strategic decisions with multiple stakeholders, problems requiring breakthrough (not incremental) solutions, trade-offs that seem impossible to resolve, competitive scenarios requiring game-theoretic analysis, system design problems, or any situation requiring both analytical rigor and inventive thinking beyond surface-level solutions.
|
|
4
4
|
trust_tier: 1
|
|
5
5
|
trust_tier_label: "Structured"
|
|
6
|
-
trust_tier_path: "Run /bto
|
|
6
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 2"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Elite Problem Solver (Enhanced with TRIZ)
|
|
@@ -3,7 +3,7 @@ name: reverse-engineering-unicorn
|
|
|
3
3
|
description: Reverse engineer any company into a launch playbook with clickable CJM prototype. Triggers on "проанализируй компанию", "reverse engineer", "разбери бизнес-модель", "playbook запуска".
|
|
4
4
|
trust_tier: 1
|
|
5
5
|
trust_tier_label: "Structured"
|
|
6
|
-
trust_tier_path: "Run /bto
|
|
6
|
+
trust_tier_path: "Run a BTO evaluation from the separate package @dzhechkov/skills-bto to promote to Tier 2"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Reverse Engineering Unicorn v2
|
package/templates/CLAUDE.md
CHANGED
|
@@ -31,19 +31,17 @@
|
|
|
31
31
|
|
|
32
32
|
/analyst-manual [тема/задача] — Стратегический анализ с checkpoint'ами (explore → research → solve)
|
|
33
33
|
|
|
34
|
-
/bto [путь или описание] — Build-Test-Optimize полный цикл
|
|
35
|
-
/bto-build [описание] — Генерация нового скилла/команды
|
|
36
|
-
/bto-benchmark [путь] — Детерминистический бенчмаркинг артефакта
|
|
37
|
-
/bto-test [путь] — Мульти-агентная оценка артефакта
|
|
38
|
-
/bto-optimize [путь] — Эволюционная оптимизация промптов
|
|
39
|
-
|
|
40
34
|
/learning-stats [--domain X] [--phase N] — Reward learning аналитика
|
|
41
35
|
```
|
|
42
36
|
|
|
37
|
+
> Это ВСЕ команды, которые ставит этот пакет (19 файлов в `.claude/commands/`).
|
|
38
|
+
> Оценка и оптимизация скиллов (BTO) — отдельный пакет, слэш-команд здесь нет:
|
|
39
|
+
> `npx @dzhechkov/skills-bto init`
|
|
40
|
+
|
|
43
41
|
## Структура проекта
|
|
44
42
|
|
|
45
43
|
```
|
|
46
|
-
|
|
44
|
+
<ваш-проект>/
|
|
47
45
|
├── CLAUDE.md ← Этот файл (мастер-инструкции)
|
|
48
46
|
├── TOOLKIT_HARVEST.md ← Трекер знаний для извлечения
|
|
49
47
|
├── .claude/
|
|
@@ -61,11 +59,8 @@ product-keysarium-2026/
|
|
|
61
59
|
│ │ ├── harvest.md ← /harvest — извлечение знаний
|
|
62
60
|
│ │ ├── brain-export.md ← /brain-export — экспорт portable brain
|
|
63
61
|
│ │ ├── brain-import.md ← /brain-import — импорт знаний
|
|
64
|
-
│ │ ├── bto.md ← /bto — Build-Test-Optimize pipeline
|
|
65
|
-
│ │ ├── bto-build.md ← /bto-build — генерация артефактов
|
|
66
|
-
│ │ ├── bto-test.md ← /bto-test — мульти-агентная оценка
|
|
67
|
-
│ │ ├── bto-optimize.md ← /bto-optimize — оптимизация промптов
|
|
68
62
|
│ │ ├── feature-adr.md ← /feature-adr — adaptive feature development
|
|
63
|
+
│ │ ├── analyst-manual.md ← /analyst-manual — стратегический анализ
|
|
69
64
|
│ │ ├── init-platform.md ← /init-platform — мульти-платформенная генерация
|
|
70
65
|
│ │ ├── learning-stats.md ← /learning-stats — reward learning аналитика
|
|
71
66
|
│ │ ├── workers.md ← /workers — управление фоновыми воркерами
|
|
@@ -79,10 +74,8 @@ product-keysarium-2026/
|
|
|
79
74
|
│ │ ├── phase-4-architecture.shard.md
|
|
80
75
|
│ │ ├── phase-5-presentation.shard.md
|
|
81
76
|
│ │ ├── phase-ai-factory.shard.md ← AI Factory mode (только при --ai-factory)
|
|
82
|
-
│ │ ├── bto-evaluation.shard.md
|
|
83
77
|
│ │ └── feature-adr.shard.md
|
|
84
78
|
│ └── skills/ ← Навыки (building blocks)
|
|
85
|
-
│ ├── bto/ ← Build-Test-Optimize (мульти-агентная оценка)
|
|
86
79
|
│ ├── explore/ ← Адаптивная кларификация задач
|
|
87
80
|
│ ├── frontend-design/ ← Дизайн фронтенда
|
|
88
81
|
│ ├── goap-research-ed25519/ ← GOAP research + crypto verification
|
|
@@ -92,12 +85,20 @@ product-keysarium-2026/
|
|
|
92
85
|
│ ├── feature-adr/ ← Adaptive feature development (9 steps, S/M/L/XL)
|
|
93
86
|
│ ├── knowledge-extractor/ ← Knowledge harvesting (5 agents, 7 categories, 8 gates)
|
|
94
87
|
│ ├── analyst-manual-full/ ← Композитный аналитик (explore + research + solve, manual checkpoints)
|
|
88
|
+
│ ├── edu-site-generator/ ← Gamified educational SPA из документации
|
|
89
|
+
│ ├── transcript-site-generator/ ← Транскрипт → интерактивный static site
|
|
95
90
|
│ └── ai-factory-mapper/ ← Маппинг сценариев на Cloud.ru Evolution AI Factory (v1.0)
|
|
96
91
|
├── lib/ ← Библиотечные модули
|
|
92
|
+
│ ├── phase-utils.md ← Утилиты фаз
|
|
93
|
+
│ ├── agent-patterns.md ← Паттерны agent swarm
|
|
94
|
+
│ ├── skill-loader.md ← Загрузка скиллов
|
|
95
|
+
│ ├── domain-templates.md ← Доменные шаблоны
|
|
97
96
|
│ ├── background-workers.md ← Протокол фоновых воркеров
|
|
98
97
|
│ ├── memory-protocol.md ← Протокол memory_query / memory_store
|
|
99
98
|
│ ├── reward-tracker.md ← Аналитика и обнаружение паттернов
|
|
100
99
|
│ ├── dream-engine.md ← DreamEngine: concept graph + insight generation
|
|
100
|
+
│ ├── witness-chain.md ← Witness chain (tamper-evidence)
|
|
101
|
+
│ ├── judge-attestation.md ← Аттестация судей
|
|
101
102
|
│ ├── platform-adapters.md ← Реестр платформенных адаптеров
|
|
102
103
|
│ ├── platform-templates/ ← Шаблоны для генерации конфигов
|
|
103
104
|
│ │ ├── cursor.md ← Cursor (.cursorrules)
|
|
@@ -108,17 +109,6 @@ product-keysarium-2026/
|
|
|
108
109
|
│ ├── health-check.md ← Проверка здоровья системы
|
|
109
110
|
│ ├── brain-export.md ← Фоновый экспорт brain
|
|
110
111
|
│ └── dream-cycle.md ← Dream cycle воркер (concept graph + insights)
|
|
111
|
-
├── packages/ ← npm пакеты
|
|
112
|
-
│ ├── dz-keysarium/ ← @dzhechkov/keysarium (research pipeline)
|
|
113
|
-
│ ├── dz-skills-bto/ ← @dzhechkov/skills-bto (BTO evaluation)
|
|
114
|
-
│ ├── dz-feature-adr/ ← @dzhechkov/skills-feature-adr (feature development)
|
|
115
|
-
│ └── dz-keysarium-core/ ← @dzhechkov/keysarium-core (shared framework)
|
|
116
|
-
│ ├── governance/ ← Constitution + shards + checkpoints
|
|
117
|
-
│ ├── memory/ ← Learning protocol + reward + dream engine
|
|
118
|
-
│ ├── orchestration/ ← Queen protocol + topologies + workers + routing
|
|
119
|
-
│ ├── verification/ ← Witness chain + judge attestation + audit trail
|
|
120
|
-
│ ├── trust-tiers/ ← 4-tier classification + promotion
|
|
121
|
-
│ └── platform/ ← Multi-platform adapters (Cursor, OpenCode, Copilot)
|
|
122
112
|
├── features/ ← Директории фич (/feature-adr output)
|
|
123
113
|
│ └── [feature-slug]/ ← Каждая фича изолирована
|
|
124
114
|
└── researches/ ← Директории исследований
|
|
@@ -169,7 +159,7 @@ DISCOVERY → EXPLORE → RESEARCH → CJM PROTO → SOLVE → ARCHITECTU
|
|
|
169
159
|
7. **Всё в researches/<slug>/** — не засоряем корень
|
|
170
160
|
8. **Governance shards** — каждая фаза загружает свой shard из `.claude/shards/`
|
|
171
161
|
9. **Model routing** — haiku для Layer 0-1, sonnet для research/judges, opus для creative work
|
|
172
|
-
10. **Trust tiers** — скиллы классифицированы (Tier 0-3)
|
|
162
|
+
10. **Trust tiers** — скиллы классифицированы (Tier 0-3); повышение требует оценки из отдельного пакета `@dzhechkov/skills-bto` (в этом пакете команд `/bto*` нет)
|
|
173
163
|
11. **`--ai-factory` флаг полностью аддитивен** — без флага поведение идентично предыдущим версиям; с флагом — маппинг на Cloud.ru AI Factory интегрируется во все фазы через `phase-ai-factory.shard.md`
|
|
174
164
|
|
|
175
165
|
## Governance System
|
|
@@ -190,7 +180,7 @@ DISCOVERY → EXPLORE → RESEARCH → CJM PROTO → SOLVE → ARCHITECTU
|
|
|
190
180
|
| Tier | Label | Требования |
|
|
191
181
|
|------|-------|-----------|
|
|
192
182
|
| 3 | Verified | Eval test suites + deterministic validation |
|
|
193
|
-
| 2 | Validated | /bto
|
|
183
|
+
| 2 | Validated | BTO-оценка (пакет `@dzhechkov/skills-bto`): Layer 2 score >= 7.0 |
|
|
194
184
|
| 1 | Structured | SKILL.md + references/ or modules/ |
|
|
195
185
|
| 0 | Advisory | Только SKILL.md |
|
|
196
186
|
|
|
@@ -288,12 +278,6 @@ reverse-engineering-unicorn (оркестратор)
|
|
|
288
278
|
├── explore
|
|
289
279
|
└── goap-research-ed25519
|
|
290
280
|
|
|
291
|
-
bto (Build-Test-Optimize)
|
|
292
|
-
├── explore (кларификация в BUILD модуле)
|
|
293
|
-
├── modules/build.md (генерация артефактов)
|
|
294
|
-
├── modules/test.md (мульти-агентная оценка: 3 судьи)
|
|
295
|
-
└── modules/optimize.md (эволюционная оптимизация)
|
|
296
|
-
|
|
297
281
|
feature-adr (Adaptive Feature Development)
|
|
298
282
|
├── explore (кларификация требований)
|
|
299
283
|
├── problem-solver-enhanced (trade-off анализ для ADR)
|
|
@@ -310,17 +294,13 @@ knowledge-extractor (извлечение знаний)
|
|
|
310
294
|
└── templates/ (artifact-card, harvest-report)
|
|
311
295
|
```
|
|
312
296
|
|
|
313
|
-
## BTO — Build-Benchmark-Test-Optimize
|
|
297
|
+
## BTO — Build-Benchmark-Test-Optimize (ОТДЕЛЬНЫЙ ПАКЕТ)
|
|
314
298
|
|
|
315
299
|
Система мульти-агентной оценки и оптимизации скиллов/команд (4-module pipeline).
|
|
316
300
|
|
|
317
|
-
|
|
318
|
-
/bto
|
|
319
|
-
|
|
320
|
-
/bto-benchmark [путь] — Детерминистический бенчмаркинг артефакта
|
|
321
|
-
/bto-test [путь] — Оценка: Layer 0 (детерм.) → Layer 1 (haiku) → Layer 2 (3 судьи)
|
|
322
|
-
/bto-optimize [путь] — Эволюционная оптимизация за 3 раунда
|
|
323
|
-
```
|
|
301
|
+
**Этот пакет её НЕ ставит.** Ни скилла `bto/`, ни команд `/bto*` в установке Keysarium нет —
|
|
302
|
+
их поставляет `@dzhechkov/skills-bto`. Раздел ниже оставлен как справка: он описывает, что вы
|
|
303
|
+
получите, если поставите тот пакет (см. «Standalone пакет» в конце раздела).
|
|
324
304
|
|
|
325
305
|
### Архитектура оценки (TEST)
|
|
326
306
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Непрерывное обучение в Keysarium — Полное руководство
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
> Как данные, генерируемые в ходе продуктовых исследований, превращаются в улучшения системы.
|
|
4
10
|
|
|
5
11
|
## Содержание
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство пользователя @dzhechkov/skills-feature-adr
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
> Полное руководство по использованию адаптивного pipeline для разработки фич любой сложности.
|
|
4
10
|
|
|
5
11
|
---
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Направления улучшений Keysarium & Skills-BTO
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
> Результат deep research по репозиториям [Ruflo](https://github.com/ruvnet/ruflo), [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe) и статье [The Portable Orchestra](https://qualityforge.substack.com/p/the-portable-orchestra) (Dragan Spiridonov).
|
|
4
10
|
>
|
|
5
11
|
> Дата исследования: 2026-03-01
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство по развёртыванию Product Keysarium 2026
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Содержание
|
|
4
10
|
|
|
5
11
|
1. [Предварительные требования](#1-предварительные-требования)
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство администратора Product Keysarium 2026
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
Это руководство описывает настройку, кастомизацию и обслуживание системы Product Keysarium 2026. Предназначено для администраторов, которые управляют скиллами, командами, правилами, хуками и пайплайном исследований.
|
|
4
10
|
|
|
5
11
|
---
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство пользователя Product Keysarium 2026
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
Это руководство описывает, как использовать Product Keysarium 2026 для проведения AI-исследований на Кейсариумах и хакатонах. Предназначено для конечных пользователей -- участников команд.
|
|
4
10
|
|
|
5
11
|
---
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# 05. Архитектура и принципы Product Keysarium 2026
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Содержание
|
|
4
10
|
|
|
5
11
|
1. [Общая архитектура системы](#общая-архитектура-системы)
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# 06. Пользовательские и административные flow
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Содержание
|
|
4
10
|
|
|
5
11
|
1. [User Flow: Полный пайплайн (/casarium)](#user-flow-полный-пайплайн)
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Функциональность @dzhechkov/keysarium-core
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
> Полный справочник по всем протоколам, алгоритмам и JSON-схемам фреймворка.
|
|
4
10
|
|
|
5
11
|
## Содержание
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство по развёртыванию @dzhechkov/keysarium-core
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Содержание
|
|
4
10
|
|
|
5
11
|
1. [Предварительные требования](#1-предварительные-требования)
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство администратора @dzhechkov/keysarium-core
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
Практическое руководство по администрированию, мониторингу и обслуживанию фреймворка keysarium-core. Описывает управление модулями, памятью, воркерами, dream cycles, witness chain, trust tiers и резервным копированием.
|
|
4
10
|
|
|
5
11
|
---
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство по развёртыванию @dzhechkov/skills-bto
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Содержание
|
|
4
10
|
|
|
5
11
|
1. [Предварительные требования](#1-предварительные-требования)
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Руководство администратора @dzhechkov/skills-bto
|
|
2
2
|
|
|
3
|
+
> **`/bto*` commands are NOT part of @dzhechkov/keysarium.** The BTO evaluator
|
|
4
|
+
> (Build-Benchmark-Test-Optimize) ships as a SEPARATE npm package. Install it first —
|
|
5
|
+
> `npx @dzhechkov/skills-bto init` — otherwise every `/bto…` command referenced below will
|
|
6
|
+
> not resolve in your project.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
Это руководство описывает управление, настройку и обслуживание BTO skill pack. Предназначено для администраторов, которые управляют компонентами BTO, настраивают quality gates, конфигурируют панели судей и контролируют качество оценки.
|
|
4
10
|
|
|
5
11
|
---
|