@organon-methodology/tools 0.3.0
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/LICENSE +21 -0
- package/README.md +152 -0
- package/dist/cli/commands/coverage.d.ts +12 -0
- package/dist/cli/commands/coverage.d.ts.map +1 -0
- package/dist/cli/commands/coverage.js +80 -0
- package/dist/cli/commands/coverage.js.map +1 -0
- package/dist/cli/commands/find.d.ts +15 -0
- package/dist/cli/commands/find.d.ts.map +1 -0
- package/dist/cli/commands/find.js +81 -0
- package/dist/cli/commands/find.js.map +1 -0
- package/dist/cli/commands/generate-tests.d.ts +14 -0
- package/dist/cli/commands/generate-tests.d.ts.map +1 -0
- package/dist/cli/commands/generate-tests.js +87 -0
- package/dist/cli/commands/generate-tests.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +15 -0
- package/dist/cli/commands/generate.d.ts.map +1 -0
- package/dist/cli/commands/generate.js +77 -0
- package/dist/cli/commands/generate.js.map +1 -0
- package/dist/cli/commands/health.d.ts +13 -0
- package/dist/cli/commands/health.d.ts.map +1 -0
- package/dist/cli/commands/health.js +79 -0
- package/dist/cli/commands/health.js.map +1 -0
- package/dist/cli/commands/init.d.ts +14 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +132 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/mcp.d.ts +11 -0
- package/dist/cli/commands/mcp.d.ts.map +1 -0
- package/dist/cli/commands/mcp.js +26 -0
- package/dist/cli/commands/mcp.js.map +1 -0
- package/dist/cli/commands/query.d.ts +19 -0
- package/dist/cli/commands/query.d.ts.map +1 -0
- package/dist/cli/commands/query.js +103 -0
- package/dist/cli/commands/query.js.map +1 -0
- package/dist/cli/commands/upgrade.d.ts +13 -0
- package/dist/cli/commands/upgrade.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.js +162 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +13 -0
- package/dist/cli/commands/validate.d.ts.map +1 -0
- package/dist/cli/commands/validate.js +89 -0
- package/dist/cli/commands/validate.js.map +1 -0
- package/dist/cli/commands/verify.d.ts +12 -0
- package/dist/cli/commands/verify.d.ts.map +1 -0
- package/dist/cli/commands/verify.js +67 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/index.d.ts +19 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +59 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/core/add-protocols-array.d.ts +17 -0
- package/dist/core/add-protocols-array.d.ts.map +1 -0
- package/dist/core/add-protocols-array.js +95 -0
- package/dist/core/add-protocols-array.js.map +1 -0
- package/dist/core/add-protocols-array.test.d.ts +2 -0
- package/dist/core/add-protocols-array.test.d.ts.map +1 -0
- package/dist/core/add-protocols-array.test.js +86 -0
- package/dist/core/add-protocols-array.test.js.map +1 -0
- package/dist/core/config.d.ts +44 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +130 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/config.test.d.ts +2 -0
- package/dist/core/config.test.d.ts.map +1 -0
- package/dist/core/config.test.js +88 -0
- package/dist/core/config.test.js.map +1 -0
- package/dist/core/find.d.ts +29 -0
- package/dist/core/find.d.ts.map +1 -0
- package/dist/core/find.js +191 -0
- package/dist/core/find.js.map +1 -0
- package/dist/core/find.test.d.ts +2 -0
- package/dist/core/find.test.d.ts.map +1 -0
- package/dist/core/find.test.js +91 -0
- package/dist/core/find.test.js.map +1 -0
- package/dist/core/frontmatter-parser.d.ts +45 -0
- package/dist/core/frontmatter-parser.d.ts.map +1 -0
- package/dist/core/frontmatter-parser.js +122 -0
- package/dist/core/frontmatter-parser.js.map +1 -0
- package/dist/core/frontmatter-parser.test.d.ts +2 -0
- package/dist/core/frontmatter-parser.test.d.ts.map +1 -0
- package/dist/core/frontmatter-parser.test.js +200 -0
- package/dist/core/frontmatter-parser.test.js.map +1 -0
- package/dist/core/generate-frontmatter.d.ts +27 -0
- package/dist/core/generate-frontmatter.d.ts.map +1 -0
- package/dist/core/generate-frontmatter.js +219 -0
- package/dist/core/generate-frontmatter.js.map +1 -0
- package/dist/core/generate-frontmatter.test.d.ts +2 -0
- package/dist/core/generate-frontmatter.test.d.ts.map +1 -0
- package/dist/core/generate-frontmatter.test.js +161 -0
- package/dist/core/generate-frontmatter.test.js.map +1 -0
- package/dist/core/generate-tests.d.ts +41 -0
- package/dist/core/generate-tests.d.ts.map +1 -0
- package/dist/core/generate-tests.js +191 -0
- package/dist/core/generate-tests.js.map +1 -0
- package/dist/core/generate-tests.test.d.ts +2 -0
- package/dist/core/generate-tests.test.d.ts.map +1 -0
- package/dist/core/generate-tests.test.js +205 -0
- package/dist/core/generate-tests.test.js.map +1 -0
- package/dist/core/health.d.ts +16 -0
- package/dist/core/health.d.ts.map +1 -0
- package/dist/core/health.js +156 -0
- package/dist/core/health.js.map +1 -0
- package/dist/core/health.test.d.ts +2 -0
- package/dist/core/health.test.d.ts.map +1 -0
- package/dist/core/health.test.js +97 -0
- package/dist/core/health.test.js.map +1 -0
- package/dist/core/init.d.ts +25 -0
- package/dist/core/init.d.ts.map +1 -0
- package/dist/core/init.js +100 -0
- package/dist/core/init.js.map +1 -0
- package/dist/core/init.test.d.ts +8 -0
- package/dist/core/init.test.d.ts.map +1 -0
- package/dist/core/init.test.js +203 -0
- package/dist/core/init.test.js.map +1 -0
- package/dist/core/invariant-coverage.d.ts +41 -0
- package/dist/core/invariant-coverage.d.ts.map +1 -0
- package/dist/core/invariant-coverage.js +181 -0
- package/dist/core/invariant-coverage.js.map +1 -0
- package/dist/core/invariant-coverage.test.d.ts +2 -0
- package/dist/core/invariant-coverage.test.d.ts.map +1 -0
- package/dist/core/invariant-coverage.test.js +188 -0
- package/dist/core/invariant-coverage.test.js.map +1 -0
- package/dist/core/meta-invariants.test.d.ts +17 -0
- package/dist/core/meta-invariants.test.d.ts.map +1 -0
- package/dist/core/meta-invariants.test.js +191 -0
- package/dist/core/meta-invariants.test.js.map +1 -0
- package/dist/core/node-fs.d.ts +22 -0
- package/dist/core/node-fs.d.ts.map +1 -0
- package/dist/core/node-fs.js +47 -0
- package/dist/core/node-fs.js.map +1 -0
- package/dist/core/organon-invariants.test.d.ts +15 -0
- package/dist/core/organon-invariants.test.d.ts.map +1 -0
- package/dist/core/organon-invariants.test.js +149 -0
- package/dist/core/organon-invariants.test.js.map +1 -0
- package/dist/core/query.d.ts +35 -0
- package/dist/core/query.d.ts.map +1 -0
- package/dist/core/query.js +139 -0
- package/dist/core/query.js.map +1 -0
- package/dist/core/query.test.d.ts +2 -0
- package/dist/core/query.test.d.ts.map +1 -0
- package/dist/core/query.test.js +97 -0
- package/dist/core/query.test.js.map +1 -0
- package/dist/core/suggest-tools.d.ts +15 -0
- package/dist/core/suggest-tools.d.ts.map +1 -0
- package/dist/core/suggest-tools.js +139 -0
- package/dist/core/suggest-tools.js.map +1 -0
- package/dist/core/suggest-tools.test.d.ts +2 -0
- package/dist/core/suggest-tools.test.d.ts.map +1 -0
- package/dist/core/suggest-tools.test.js +122 -0
- package/dist/core/suggest-tools.test.js.map +1 -0
- package/dist/core/test-helpers.d.ts +63 -0
- package/dist/core/test-helpers.d.ts.map +1 -0
- package/dist/core/test-helpers.js +265 -0
- package/dist/core/test-helpers.js.map +1 -0
- package/dist/core/types.d.ts +277 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +9 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/upgrade.d.ts +46 -0
- package/dist/core/upgrade.d.ts.map +1 -0
- package/dist/core/upgrade.js +227 -0
- package/dist/core/upgrade.js.map +1 -0
- package/dist/core/upgrade.test.d.ts +8 -0
- package/dist/core/upgrade.test.d.ts.map +1 -0
- package/dist/core/upgrade.test.js +370 -0
- package/dist/core/upgrade.test.js.map +1 -0
- package/dist/core/validate-frontmatter.d.ts +20 -0
- package/dist/core/validate-frontmatter.d.ts.map +1 -0
- package/dist/core/validate-frontmatter.js +529 -0
- package/dist/core/validate-frontmatter.js.map +1 -0
- package/dist/core/validate-frontmatter.test.d.ts +2 -0
- package/dist/core/validate-frontmatter.test.d.ts.map +1 -0
- package/dist/core/validate-frontmatter.test.js +366 -0
- package/dist/core/validate-frontmatter.test.js.map +1 -0
- package/dist/core/validate-workflow.d.ts +17 -0
- package/dist/core/validate-workflow.d.ts.map +1 -0
- package/dist/core/validate-workflow.js +233 -0
- package/dist/core/validate-workflow.js.map +1 -0
- package/dist/core/validate-workflow.test.d.ts +2 -0
- package/dist/core/validate-workflow.test.d.ts.map +1 -0
- package/dist/core/validate-workflow.test.js +205 -0
- package/dist/core/validate-workflow.test.js.map +1 -0
- package/dist/core/verify-tier4-tests.d.ts +34 -0
- package/dist/core/verify-tier4-tests.d.ts.map +1 -0
- package/dist/core/verify-tier4-tests.js +106 -0
- package/dist/core/verify-tier4-tests.js.map +1 -0
- package/dist/core/verify-tier4-tests.test.d.ts +2 -0
- package/dist/core/verify-tier4-tests.test.d.ts.map +1 -0
- package/dist/core/verify-tier4-tests.test.js +140 -0
- package/dist/core/verify-tier4-tests.test.js.map +1 -0
- package/dist/core/verify-triplets.d.ts +17 -0
- package/dist/core/verify-triplets.d.ts.map +1 -0
- package/dist/core/verify-triplets.js +217 -0
- package/dist/core/verify-triplets.js.map +1 -0
- package/dist/core/verify-triplets.test.d.ts +2 -0
- package/dist/core/verify-triplets.test.d.ts.map +1 -0
- package/dist/core/verify-triplets.test.js +147 -0
- package/dist/core/verify-triplets.test.js.map +1 -0
- package/dist/core/verify.d.ts +19 -0
- package/dist/core/verify.d.ts.map +1 -0
- package/dist/core/verify.js +162 -0
- package/dist/core/verify.js.map +1 -0
- package/dist/core/verify.test.d.ts +2 -0
- package/dist/core/verify.test.d.ts.map +1 -0
- package/dist/core/verify.test.js +147 -0
- package/dist/core/verify.test.js.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/prompts.d.ts +9 -0
- package/dist/mcp/prompts.d.ts.map +1 -0
- package/dist/mcp/prompts.js +265 -0
- package/dist/mcp/prompts.js.map +1 -0
- package/dist/mcp/resources.d.ts +7 -0
- package/dist/mcp/resources.d.ts.map +1 -0
- package/dist/mcp/resources.js +111 -0
- package/dist/mcp/resources.js.map +1 -0
- package/dist/mcp/server.d.ts +7 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +31 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools.d.ts +7 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +130 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/templates/config.d.ts +6 -0
- package/dist/templates/config.d.ts.map +1 -0
- package/dist/templates/config.js +30 -0
- package/dist/templates/config.js.map +1 -0
- package/dist/templates/index.d.ts +7 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/index.js +7 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/organon/claude-md.d.ts +7 -0
- package/dist/templates/organon/claude-md.d.ts.map +1 -0
- package/dist/templates/organon/claude-md.js +32 -0
- package/dist/templates/organon/claude-md.js.map +1 -0
- package/dist/templates/organon/ethos.d.ts +5 -0
- package/dist/templates/organon/ethos.d.ts.map +1 -0
- package/dist/templates/organon/ethos.js +69 -0
- package/dist/templates/organon/ethos.js.map +1 -0
- package/dist/templates/organon/index.d.ts +10 -0
- package/dist/templates/organon/index.d.ts.map +1 -0
- package/dist/templates/organon/index.js +10 -0
- package/dist/templates/organon/index.js.map +1 -0
- package/dist/templates/organon/observations-readme.d.ts +5 -0
- package/dist/templates/organon/observations-readme.d.ts.map +1 -0
- package/dist/templates/organon/observations-readme.js +25 -0
- package/dist/templates/organon/observations-readme.js.map +1 -0
- package/dist/templates/organon/philosophy.d.ts +5 -0
- package/dist/templates/organon/philosophy.d.ts.map +1 -0
- package/dist/templates/organon/philosophy.js +75 -0
- package/dist/templates/organon/philosophy.js.map +1 -0
- package/dist/templates/organon/protocols.d.ts +7 -0
- package/dist/templates/organon/protocols.d.ts.map +1 -0
- package/dist/templates/organon/protocols.js +197 -0
- package/dist/templates/organon/protocols.js.map +1 -0
- package/dist/templates/organon/readme.d.ts +5 -0
- package/dist/templates/organon/readme.d.ts.map +1 -0
- package/dist/templates/organon/readme.js +40 -0
- package/dist/templates/organon/readme.js.map +1 -0
- package/dist/templates/skills/domain-feature-design.d.ts +9 -0
- package/dist/templates/skills/domain-feature-design.d.ts.map +1 -0
- package/dist/templates/skills/domain-feature-design.js +123 -0
- package/dist/templates/skills/domain-feature-design.js.map +1 -0
- package/dist/templates/skills/index.d.ts +15 -0
- package/dist/templates/skills/index.d.ts.map +1 -0
- package/dist/templates/skills/index.js +35 -0
- package/dist/templates/skills/index.js.map +1 -0
- package/dist/templates/skills/organon-file-creation.d.ts +9 -0
- package/dist/templates/skills/organon-file-creation.d.ts.map +1 -0
- package/dist/templates/skills/organon-file-creation.js +138 -0
- package/dist/templates/skills/organon-file-creation.js.map +1 -0
- package/dist/templates/skills/quality-review.d.ts +9 -0
- package/dist/templates/skills/quality-review.d.ts.map +1 -0
- package/dist/templates/skills/quality-review.js +127 -0
- package/dist/templates/skills/quality-review.js.map +1 -0
- package/dist/templates/skills/session-compounding.d.ts +9 -0
- package/dist/templates/skills/session-compounding.d.ts.map +1 -0
- package/dist/templates/skills/session-compounding.js +118 -0
- package/dist/templates/skills/session-compounding.js.map +1 -0
- package/dist/templates/skills/verify-and-health.d.ts +9 -0
- package/dist/templates/skills/verify-and-health.d.ts.map +1 -0
- package/dist/templates/skills/verify-and-health.js +99 -0
- package/dist/templates/skills/verify-and-health.js.map +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quality Review skill template — adapted for distribution.
|
|
3
|
+
*
|
|
4
|
+
* Adapted from .claude/skills/quality-review/SKILL.md:
|
|
5
|
+
* - loads: references organon/ETHOS.md and CLAUDE.md (not book-llms/)
|
|
6
|
+
* - Anti-pattern checklist embedded in body
|
|
7
|
+
*/
|
|
8
|
+
export const QUALITY_REVIEW_SKILL = [
|
|
9
|
+
'---',
|
|
10
|
+
'name: quality-review',
|
|
11
|
+
'description: Semantic review of organon files that goes beyond automated gates. Checks whether invariants are testable, principles are genuinely prioritized, identity statements define real boundaries, and heuristics cover actual recurring decisions. Use for quality checks or when reviewing new organon files.',
|
|
12
|
+
'protocol_id: PROTO-ORG-7',
|
|
13
|
+
'protocol_file: organon/protocols/PROTOCOLS.md',
|
|
14
|
+
'tools: [organon-verify, organon-validate, organon-health]',
|
|
15
|
+
'loads:',
|
|
16
|
+
' - organon/ETHOS.md',
|
|
17
|
+
' - CLAUDE.md',
|
|
18
|
+
'methodology_version: "0.3.0"',
|
|
19
|
+
'---',
|
|
20
|
+
'',
|
|
21
|
+
'# Quality Review Workflow',
|
|
22
|
+
'',
|
|
23
|
+
'> Semantic quality review that catches what automation cannot.',
|
|
24
|
+
'',
|
|
25
|
+
'---',
|
|
26
|
+
'',
|
|
27
|
+
'## When to Use This Skill',
|
|
28
|
+
'',
|
|
29
|
+
'Use this skill when:',
|
|
30
|
+
'- **Reviewing new organon files** — before merging',
|
|
31
|
+
'- **Periodic quality audits** — beyond automated gates',
|
|
32
|
+
'- **After significant methodology changes** — verify meaning wasn\'t lost',
|
|
33
|
+
'',
|
|
34
|
+
'---',
|
|
35
|
+
'',
|
|
36
|
+
'## Steps',
|
|
37
|
+
'',
|
|
38
|
+
'### Step 1: Run Automated Gates First',
|
|
39
|
+
'',
|
|
40
|
+
' organon verify',
|
|
41
|
+
' organon validate <path>',
|
|
42
|
+
'',
|
|
43
|
+
'Fix automated failures before semantic review.',
|
|
44
|
+
'',
|
|
45
|
+
'### Step 2: Review Invariants',
|
|
46
|
+
'',
|
|
47
|
+
'For each invariant, apply these filters:',
|
|
48
|
+
'',
|
|
49
|
+
'| Filter | Question | Pass Criteria |',
|
|
50
|
+
'|--------|----------|---------------|',
|
|
51
|
+
'| **Testable?** | Can you write a gate for this? | Yes |',
|
|
52
|
+
'| **Specific?** | Does this constrain concretely? | Not vague |',
|
|
53
|
+
'| **Enforceable?** | Is enforcement real? | References a tool or gate |',
|
|
54
|
+
'| **Non-redundant?** | Adds value beyond parent? | Yes |',
|
|
55
|
+
'',
|
|
56
|
+
'**Red flags:** "Should be high quality" (too vague), "Enforced by: reviews" (too weak).',
|
|
57
|
+
'',
|
|
58
|
+
'### Step 3: Review Principle Ordering',
|
|
59
|
+
'',
|
|
60
|
+
'1. **Conflict test:** If principle 3 conflicts with principle 1, does 1 genuinely win?',
|
|
61
|
+
'2. **Independence test:** Are any two principles saying the same thing?',
|
|
62
|
+
'3. **Actionability test:** Can an agent use this ordering to make decisions?',
|
|
63
|
+
'',
|
|
64
|
+
'### Step 4: Review Identity Statements',
|
|
65
|
+
'',
|
|
66
|
+
'| Check | Good | Bad |',
|
|
67
|
+
'|-------|------|-----|',
|
|
68
|
+
'| **Specific?** | "A semantic testing framework for tier-4 verification" | "A good testing framework" |',
|
|
69
|
+
'| **Distinguishing?** | Only describes THIS thing | Could describe any similar thing |',
|
|
70
|
+
'| **Boundary-defining?** | IS NOT prevents scope creep | IS NOT is obvious negation |',
|
|
71
|
+
'',
|
|
72
|
+
'### Step 5: Review Heuristics',
|
|
73
|
+
'',
|
|
74
|
+
'- Do they cover decisions that actually recur?',
|
|
75
|
+
'- Are there common decisions missing?',
|
|
76
|
+
'- Are actions specific enough to follow?',
|
|
77
|
+
'',
|
|
78
|
+
'### Step 6: Check Anti-Patterns',
|
|
79
|
+
'',
|
|
80
|
+
'Common anti-patterns to check for:',
|
|
81
|
+
'',
|
|
82
|
+
'| Anti-Pattern | Symptom | Fix |',
|
|
83
|
+
'|-------------|---------|-----|',
|
|
84
|
+
'| Phantom Enforcement | Invariant claims enforcement but mechanism doesn\'t exist | Add real enforcement mechanism |',
|
|
85
|
+
'| Aspiration as Invariant | "Should be" language in invariant | Rewrite as "must be" with enforcement |',
|
|
86
|
+
'| Context Overload | Workflow loads too many files | Reduce to essential files only |',
|
|
87
|
+
'| Missing Error Recovery | No failure/recovery table | Add error recovery section |',
|
|
88
|
+
'| Scope Creep | IS NOT section doesn\'t define boundaries | Add specific IS NOT statements |',
|
|
89
|
+
'',
|
|
90
|
+
'### Step 7: Generate Review Report',
|
|
91
|
+
'',
|
|
92
|
+
' ## Quality Review Report',
|
|
93
|
+
'',
|
|
94
|
+
' ### Errors (must fix)',
|
|
95
|
+
' - [file:line] - [finding] - [fix]',
|
|
96
|
+
'',
|
|
97
|
+
' ### Warnings (should fix)',
|
|
98
|
+
' - [file:line] - [finding] - [fix]',
|
|
99
|
+
'',
|
|
100
|
+
' ### Summary',
|
|
101
|
+
' - Files reviewed: N',
|
|
102
|
+
' - Errors: N, Warnings: N',
|
|
103
|
+
'',
|
|
104
|
+
'---',
|
|
105
|
+
'',
|
|
106
|
+
'## Verification',
|
|
107
|
+
'',
|
|
108
|
+
'- [ ] All automated gates pass (prerequisite)',
|
|
109
|
+
'- [ ] Every invariant passes "testable?" filter',
|
|
110
|
+
'- [ ] Principle ordering is defensible',
|
|
111
|
+
'- [ ] Identity statements are specific and distinguishing',
|
|
112
|
+
'- [ ] No anti-pattern matches found',
|
|
113
|
+
'',
|
|
114
|
+
'---',
|
|
115
|
+
'',
|
|
116
|
+
'## Error Recovery',
|
|
117
|
+
'',
|
|
118
|
+
'| Failure | Recovery Action |',
|
|
119
|
+
'|---------|-----------------|',
|
|
120
|
+
'| Invariant untestable | Rewrite more specifically, or move to principles. |',
|
|
121
|
+
'| Principles not prioritized | Reorder with explicit trade-off reasoning. |',
|
|
122
|
+
'| Identity too generic | Add specifics: technology names, scope boundaries. |',
|
|
123
|
+
'| Anti-pattern found | Apply fix from anti-pattern table. |',
|
|
124
|
+
'| Too many findings | Prioritize errors over warnings. Fix errors first. |',
|
|
125
|
+
'',
|
|
126
|
+
].join('\n');
|
|
127
|
+
//# sourceMappingURL=quality-review.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quality-review.js","sourceRoot":"","sources":["../../../src/templates/skills/quality-review.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,KAAK;IACL,sBAAsB;IACtB,wTAAwT;IACxT,0BAA0B;IAC1B,+CAA+C;IAC/C,2DAA2D;IAC3D,QAAQ;IACR,sBAAsB;IACtB,eAAe;IACf,8BAA8B;IAC9B,KAAK;IACL,EAAE;IACF,2BAA2B;IAC3B,EAAE;IACF,gEAAgE;IAChE,EAAE;IACF,KAAK;IACL,EAAE;IACF,2BAA2B;IAC3B,EAAE;IACF,sBAAsB;IACtB,oDAAoD;IACpD,wDAAwD;IACxD,2EAA2E;IAC3E,EAAE;IACF,KAAK;IACL,EAAE;IACF,UAAU;IACV,EAAE;IACF,uCAAuC;IACvC,EAAE;IACF,oBAAoB;IACpB,6BAA6B;IAC7B,EAAE;IACF,gDAAgD;IAChD,EAAE;IACF,+BAA+B;IAC/B,EAAE;IACF,0CAA0C;IAC1C,EAAE;IACF,uCAAuC;IACvC,uCAAuC;IACvC,0DAA0D;IAC1D,iEAAiE;IACjE,yEAAyE;IACzE,0DAA0D;IAC1D,EAAE;IACF,yFAAyF;IACzF,EAAE;IACF,uCAAuC;IACvC,EAAE;IACF,wFAAwF;IACxF,yEAAyE;IACzE,8EAA8E;IAC9E,EAAE;IACF,wCAAwC;IACxC,EAAE;IACF,wBAAwB;IACxB,wBAAwB;IACxB,yGAAyG;IACzG,wFAAwF;IACxF,uFAAuF;IACvF,EAAE;IACF,+BAA+B;IAC/B,EAAE;IACF,gDAAgD;IAChD,uCAAuC;IACvC,0CAA0C;IAC1C,EAAE;IACF,iCAAiC;IACjC,EAAE;IACF,oCAAoC;IACpC,EAAE;IACF,kCAAkC;IAClC,iCAAiC;IACjC,sHAAsH;IACtH,yGAAyG;IACzG,uFAAuF;IACvF,qFAAqF;IACrF,8FAA8F;IAC9F,EAAE;IACF,oCAAoC;IACpC,EAAE;IACF,8BAA8B;IAC9B,EAAE;IACF,2BAA2B;IAC3B,uCAAuC;IACvC,EAAE;IACF,+BAA+B;IAC/B,uCAAuC;IACvC,EAAE;IACF,iBAAiB;IACjB,yBAAyB;IACzB,8BAA8B;IAC9B,EAAE;IACF,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,EAAE;IACF,+CAA+C;IAC/C,iDAAiD;IACjD,wCAAwC;IACxC,2DAA2D;IAC3D,qCAAqC;IACrC,EAAE;IACF,KAAK;IACL,EAAE;IACF,mBAAmB;IACnB,EAAE;IACF,+BAA+B;IAC/B,+BAA+B;IAC/B,8EAA8E;IAC9E,6EAA6E;IAC7E,+EAA+E;IAC/E,6DAA6D;IAC7D,4EAA4E;IAC5E,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session Compounding skill template — adapted for distribution.
|
|
3
|
+
*
|
|
4
|
+
* Adapted from .claude/skills/session-compounding/SKILL.md:
|
|
5
|
+
* - loads: references CLAUDE.md and organon/observations/README.md
|
|
6
|
+
* - Pattern guidance embedded in body
|
|
7
|
+
*/
|
|
8
|
+
export declare const SESSION_COMPOUNDING_SKILL: string;
|
|
9
|
+
//# sourceMappingURL=session-compounding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-compounding.d.ts","sourceRoot":"","sources":["../../../src/templates/skills/session-compounding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB,QA6G1B,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session Compounding skill template — adapted for distribution.
|
|
3
|
+
*
|
|
4
|
+
* Adapted from .claude/skills/session-compounding/SKILL.md:
|
|
5
|
+
* - loads: references CLAUDE.md and organon/observations/README.md
|
|
6
|
+
* - Pattern guidance embedded in body
|
|
7
|
+
*/
|
|
8
|
+
export const SESSION_COMPOUNDING_SKILL = [
|
|
9
|
+
'---',
|
|
10
|
+
'name: session-compounding',
|
|
11
|
+
'description: Reviews a work session\'s output to detect improvable patterns, classify improvements, and execute the highest-priority one. Use at the end of significant work sessions to ensure compounding happens. Without explicit compounding, improvement never happens.',
|
|
12
|
+
'protocol_id: PROTO-ORG-5',
|
|
13
|
+
'protocol_file: organon/protocols/PROTOCOLS.md',
|
|
14
|
+
'tools: [organon-verify, organon-health, organon-find]',
|
|
15
|
+
'loads:',
|
|
16
|
+
' - CLAUDE.md',
|
|
17
|
+
' - organon/observations/README.md',
|
|
18
|
+
'methodology_version: "0.3.0"',
|
|
19
|
+
'---',
|
|
20
|
+
'',
|
|
21
|
+
'# Session Compounding Workflow',
|
|
22
|
+
'',
|
|
23
|
+
'> Converts session learnings into durable improvements.',
|
|
24
|
+
'',
|
|
25
|
+
'---',
|
|
26
|
+
'',
|
|
27
|
+
'## When to Use This Skill',
|
|
28
|
+
'',
|
|
29
|
+
'Use this skill when:',
|
|
30
|
+
'- **Ending a significant work session** — substantial changes were made',
|
|
31
|
+
'- **After completing a multi-step task** — new patterns may have emerged',
|
|
32
|
+
'- **After encountering friction** — something was harder than it should have been',
|
|
33
|
+
'',
|
|
34
|
+
'---',
|
|
35
|
+
'',
|
|
36
|
+
'## Steps',
|
|
37
|
+
'',
|
|
38
|
+
'### Step 1: Review Session Work',
|
|
39
|
+
'',
|
|
40
|
+
' git diff --stat HEAD~N # N = commits in this session',
|
|
41
|
+
' git log --oneline -N',
|
|
42
|
+
'',
|
|
43
|
+
'List files created/modified, types of changes, and patterns in the work.',
|
|
44
|
+
'',
|
|
45
|
+
'### Step 2: Detect Patterns',
|
|
46
|
+
'',
|
|
47
|
+
'| Signal | Example | Indicates |',
|
|
48
|
+
'|--------|---------|-----------|',
|
|
49
|
+
'| **Repeated manual steps** | Same 3 commands every time | Tool candidate |',
|
|
50
|
+
'| **Unclear workflow** | Wasn\'t sure which skill to use | Workflow gap |',
|
|
51
|
+
'| **New heuristic** | Same decision made repeatedly | Heuristic addition |',
|
|
52
|
+
'| **Awkward tool usage** | Same command 3 different ways | Tool improvement |',
|
|
53
|
+
'| **Missing context** | Needed 5 files, skill listed 3 | Workflow context update |',
|
|
54
|
+
'| **Error without guidance** | Tool failed, didn\'t know fix | Error recovery addition |',
|
|
55
|
+
'',
|
|
56
|
+
'### Step 3: Classify Improvements',
|
|
57
|
+
'',
|
|
58
|
+
'| Category | Where to Implement |',
|
|
59
|
+
'|----------|-------------------|',
|
|
60
|
+
'| **Tool candidate** | `packages/tools/` — new command or flag |',
|
|
61
|
+
'| **Protocol update** | `organon/protocols/PROTOCOLS.md` |',
|
|
62
|
+
'| **Heuristic addition** | `CLAUDE.md` or `organon/ETHOS.md` |',
|
|
63
|
+
'| **Workflow refinement** | `.claude/skills/<name>/SKILL.md` |',
|
|
64
|
+
'',
|
|
65
|
+
'### Step 4: Prioritize',
|
|
66
|
+
'',
|
|
67
|
+
' Priority = How often does this recur? x How much friction does it cause?',
|
|
68
|
+
'',
|
|
69
|
+
'| Frequency | Impact | Priority |',
|
|
70
|
+
'|-----------|--------|----------|',
|
|
71
|
+
'| Every session | Blocks work | Highest — do now |',
|
|
72
|
+
'| Weekly | Slows work | High — do this session |',
|
|
73
|
+
'| Monthly | Annoying | Medium — create RFC |',
|
|
74
|
+
'| Rare | Minor | Low — note for future |',
|
|
75
|
+
'',
|
|
76
|
+
'### Step 5: Execute Improvement',
|
|
77
|
+
'',
|
|
78
|
+
'With user confirmation, implement the highest-priority improvement.',
|
|
79
|
+
'',
|
|
80
|
+
'### Step 6: Run Verification',
|
|
81
|
+
'',
|
|
82
|
+
' organon verify',
|
|
83
|
+
' organon health',
|
|
84
|
+
'',
|
|
85
|
+
'Confirm no regressions.',
|
|
86
|
+
'',
|
|
87
|
+
'### Step 7: Record Observations (Optional)',
|
|
88
|
+
'',
|
|
89
|
+
'If the session produced observations worth preserving:',
|
|
90
|
+
'- An active observation file covers this topic \u2192 add to it',
|
|
91
|
+
'- No relevant file \u2192 create new `organon/observations/NNN-descriptive-name.md`',
|
|
92
|
+
'',
|
|
93
|
+
'Each observation needs: Signal (what happened), Implication (what it means), Suggested Action (what to do).',
|
|
94
|
+
'',
|
|
95
|
+
'**Not every session produces observations — that\'s fine.**',
|
|
96
|
+
'',
|
|
97
|
+
'---',
|
|
98
|
+
'',
|
|
99
|
+
'## Verification',
|
|
100
|
+
'',
|
|
101
|
+
'- [ ] At least one improvement identified and classified',
|
|
102
|
+
'- [ ] Highest-priority improvement either executed or documented',
|
|
103
|
+
'- [ ] `organon verify` passes after any changes',
|
|
104
|
+
'- [ ] `organon health` score has not decreased',
|
|
105
|
+
'',
|
|
106
|
+
'---',
|
|
107
|
+
'',
|
|
108
|
+
'## Error Recovery',
|
|
109
|
+
'',
|
|
110
|
+
'| Failure | Recovery Action |',
|
|
111
|
+
'|---------|-----------------|',
|
|
112
|
+
'| No patterns detected | Session may have been too small. Note for next session. |',
|
|
113
|
+
'| Improvement breaks verification | Revert. Re-analyze the approach. |',
|
|
114
|
+
'| User declines execution | Document as TODO or RFC for future. |',
|
|
115
|
+
'| Too many improvements | Execute only highest-priority. Document the rest. |',
|
|
116
|
+
'',
|
|
117
|
+
].join('\n');
|
|
118
|
+
//# sourceMappingURL=session-compounding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-compounding.js","sourceRoot":"","sources":["../../../src/templates/skills/session-compounding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,KAAK;IACL,2BAA2B;IAC3B,+QAA+Q;IAC/Q,0BAA0B;IAC1B,+CAA+C;IAC/C,uDAAuD;IACvD,QAAQ;IACR,eAAe;IACf,oCAAoC;IACpC,8BAA8B;IAC9B,KAAK;IACL,EAAE;IACF,gCAAgC;IAChC,EAAE;IACF,yDAAyD;IACzD,EAAE;IACF,KAAK;IACL,EAAE;IACF,2BAA2B;IAC3B,EAAE;IACF,sBAAsB;IACtB,yEAAyE;IACzE,0EAA0E;IAC1E,mFAAmF;IACnF,EAAE;IACF,KAAK;IACL,EAAE;IACF,UAAU;IACV,EAAE;IACF,iCAAiC;IACjC,EAAE;IACF,2DAA2D;IAC3D,0BAA0B;IAC1B,EAAE;IACF,0EAA0E;IAC1E,EAAE;IACF,6BAA6B;IAC7B,EAAE;IACF,kCAAkC;IAClC,kCAAkC;IAClC,6EAA6E;IAC7E,2EAA2E;IAC3E,4EAA4E;IAC5E,+EAA+E;IAC/E,oFAAoF;IACpF,0FAA0F;IAC1F,EAAE;IACF,mCAAmC;IACnC,EAAE;IACF,mCAAmC;IACnC,kCAAkC;IAClC,kEAAkE;IAClE,4DAA4D;IAC5D,gEAAgE;IAChE,gEAAgE;IAChE,EAAE;IACF,wBAAwB;IACxB,EAAE;IACF,8EAA8E;IAC9E,EAAE;IACF,mCAAmC;IACnC,mCAAmC;IACnC,oDAAoD;IACpD,kDAAkD;IAClD,8CAA8C;IAC9C,0CAA0C;IAC1C,EAAE;IACF,iCAAiC;IACjC,EAAE;IACF,qEAAqE;IACrE,EAAE;IACF,8BAA8B;IAC9B,EAAE;IACF,oBAAoB;IACpB,oBAAoB;IACpB,EAAE;IACF,yBAAyB;IACzB,EAAE;IACF,4CAA4C;IAC5C,EAAE;IACF,wDAAwD;IACxD,iEAAiE;IACjE,qFAAqF;IACrF,EAAE;IACF,6GAA6G;IAC7G,EAAE;IACF,6DAA6D;IAC7D,EAAE;IACF,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,EAAE;IACF,0DAA0D;IAC1D,kEAAkE;IAClE,iDAAiD;IACjD,gDAAgD;IAChD,EAAE;IACF,KAAK;IACL,EAAE;IACF,mBAAmB;IACnB,EAAE;IACF,+BAA+B;IAC/B,+BAA+B;IAC/B,oFAAoF;IACpF,wEAAwE;IACxE,mEAAmE;IACnE,+EAA+E;IAC/E,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verify and Health skill template — adapted for distribution.
|
|
3
|
+
*
|
|
4
|
+
* Adapted from .claude/skills/verify-and-health/SKILL.md:
|
|
5
|
+
* - loads: references CLAUDE.md only (not book-llms/)
|
|
6
|
+
* - Gate descriptions embedded in body
|
|
7
|
+
*/
|
|
8
|
+
export declare const VERIFY_AND_HEALTH_SKILL: string;
|
|
9
|
+
//# sourceMappingURL=verify-and-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-and-health.d.ts","sourceRoot":"","sources":["../../../src/templates/skills/verify-and-health.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,uBAAuB,QA0FxB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verify and Health skill template — adapted for distribution.
|
|
3
|
+
*
|
|
4
|
+
* Adapted from .claude/skills/verify-and-health/SKILL.md:
|
|
5
|
+
* - loads: references CLAUDE.md only (not book-llms/)
|
|
6
|
+
* - Gate descriptions embedded in body
|
|
7
|
+
*/
|
|
8
|
+
export const VERIFY_AND_HEALTH_SKILL = [
|
|
9
|
+
'---',
|
|
10
|
+
'name: verify-and-health',
|
|
11
|
+
'description: Runs all verification gates and health checks, interprets failures with actionable fix guidance, and re-verifies after fixes. Use at session start, before commits, or whenever you need to check project integrity. Lightweight daily-use workflow.',
|
|
12
|
+
'protocol_id: PROTO-ORG-4',
|
|
13
|
+
'protocol_file: organon/protocols/PROTOCOLS.md',
|
|
14
|
+
'tools: [organon-verify, organon-health]',
|
|
15
|
+
'loads:',
|
|
16
|
+
' - CLAUDE.md',
|
|
17
|
+
'methodology_version: "0.3.0"',
|
|
18
|
+
'---',
|
|
19
|
+
'',
|
|
20
|
+
'# Verify and Health Workflow',
|
|
21
|
+
'',
|
|
22
|
+
'> Daily-use verification and health check for project integrity.',
|
|
23
|
+
'',
|
|
24
|
+
'---',
|
|
25
|
+
'',
|
|
26
|
+
'## When to Use This Skill',
|
|
27
|
+
'',
|
|
28
|
+
'Use this skill when:',
|
|
29
|
+
'- **Starting a work session** — baseline integrity check',
|
|
30
|
+
'- **Before committing changes** — ensure nothing is broken',
|
|
31
|
+
'- **After significant edits** — verify no regressions',
|
|
32
|
+
'',
|
|
33
|
+
'---',
|
|
34
|
+
'',
|
|
35
|
+
'## Steps',
|
|
36
|
+
'',
|
|
37
|
+
'### Step 1: Run All Verification Gates',
|
|
38
|
+
'',
|
|
39
|
+
' organon verify',
|
|
40
|
+
'',
|
|
41
|
+
'This runs all gates:',
|
|
42
|
+
'- **frontmatter** — YAML frontmatter present, valid, and truthful',
|
|
43
|
+
'- **triplets** — Protocol\u2194workflow bindings are bidirectional',
|
|
44
|
+
'- **freshness** — Files reviewed within threshold (advisory)',
|
|
45
|
+
'- **invariant-coverage** — Invariants tracked in tests',
|
|
46
|
+
'- **workflow-quality** — Workflows have protocol_id, tools, loads, error recovery',
|
|
47
|
+
'- **tier4-tests** — Test files use @organon-invariant annotations',
|
|
48
|
+
'',
|
|
49
|
+
'### Step 2: Run Health Check',
|
|
50
|
+
'',
|
|
51
|
+
' organon health',
|
|
52
|
+
'',
|
|
53
|
+
'Reports overall project health score.',
|
|
54
|
+
'',
|
|
55
|
+
'### Step 3: Interpret Failures',
|
|
56
|
+
'',
|
|
57
|
+
'| Gate | Common Failure | Fix |',
|
|
58
|
+
'|------|---------------|-----|',
|
|
59
|
+
'| frontmatter | Missing field | Add field per frontmatter schema |',
|
|
60
|
+
'| frontmatter | Count mismatch | Update counts to match content |',
|
|
61
|
+
'| frontmatter | Token estimate off | Recalculate (~12 tokens/line) |',
|
|
62
|
+
'| triplets | Orphaned workflow | Add `protocol_id` to workflow frontmatter |',
|
|
63
|
+
'| triplets | Phantom automation | Create workflow or change protocol to manual |',
|
|
64
|
+
'| invariant-coverage | Invariant without test | Create tier-4 test for the invariant |',
|
|
65
|
+
'| workflow-quality | Missing protocol_id | Add `protocol_id: PROTO-SCOPE-N` |',
|
|
66
|
+
'| workflow-quality | Missing error recovery | Add `## Error Recovery` section |',
|
|
67
|
+
'| tier4-tests | Missing annotation | Add `@organon-invariant INV-*` to test |',
|
|
68
|
+
'',
|
|
69
|
+
'### Step 4: Apply Fixes',
|
|
70
|
+
'',
|
|
71
|
+
'For each failure: identify file and field, apply fix, reference specification.',
|
|
72
|
+
'',
|
|
73
|
+
'### Step 5: Re-verify',
|
|
74
|
+
'',
|
|
75
|
+
' organon verify && organon health',
|
|
76
|
+
'',
|
|
77
|
+
'All gates should pass. Health score should be equal or higher.',
|
|
78
|
+
'',
|
|
79
|
+
'---',
|
|
80
|
+
'',
|
|
81
|
+
'## Verification',
|
|
82
|
+
'',
|
|
83
|
+
'- [ ] All gates pass (`organon verify` exits 0)',
|
|
84
|
+
'- [ ] Health score reported',
|
|
85
|
+
'- [ ] No regressions from previous health score',
|
|
86
|
+
'',
|
|
87
|
+
'---',
|
|
88
|
+
'',
|
|
89
|
+
'## Error Recovery',
|
|
90
|
+
'',
|
|
91
|
+
'| Failure | Recovery Action |',
|
|
92
|
+
'|---------|-----------------|',
|
|
93
|
+
'| `organon verify` not found | Build: `cd packages/tools && npm install && npm run build` |',
|
|
94
|
+
'| Fix introduces new failure | Re-run full verify. Fix cascading issues in order: frontmatter \u2192 triplets \u2192 workflow-quality. |',
|
|
95
|
+
'| Health score decreased | Investigate what changed. Usually means file removed or frontmatter invalidated. |',
|
|
96
|
+
'| Too many failures | Prioritize: frontmatter first (others depend on it), then triplets, then rest. |',
|
|
97
|
+
'',
|
|
98
|
+
].join('\n');
|
|
99
|
+
//# sourceMappingURL=verify-and-health.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-and-health.js","sourceRoot":"","sources":["../../../src/templates/skills/verify-and-health.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,KAAK;IACL,yBAAyB;IACzB,mQAAmQ;IACnQ,0BAA0B;IAC1B,+CAA+C;IAC/C,yCAAyC;IACzC,QAAQ;IACR,eAAe;IACf,8BAA8B;IAC9B,KAAK;IACL,EAAE;IACF,8BAA8B;IAC9B,EAAE;IACF,kEAAkE;IAClE,EAAE;IACF,KAAK;IACL,EAAE;IACF,2BAA2B;IAC3B,EAAE;IACF,sBAAsB;IACtB,0DAA0D;IAC1D,4DAA4D;IAC5D,uDAAuD;IACvD,EAAE;IACF,KAAK;IACL,EAAE;IACF,UAAU;IACV,EAAE;IACF,wCAAwC;IACxC,EAAE;IACF,oBAAoB;IACpB,EAAE;IACF,sBAAsB;IACtB,mEAAmE;IACnE,oEAAoE;IACpE,8DAA8D;IAC9D,wDAAwD;IACxD,mFAAmF;IACnF,mEAAmE;IACnE,EAAE;IACF,8BAA8B;IAC9B,EAAE;IACF,oBAAoB;IACpB,EAAE;IACF,uCAAuC;IACvC,EAAE;IACF,gCAAgC;IAChC,EAAE;IACF,iCAAiC;IACjC,gCAAgC;IAChC,oEAAoE;IACpE,mEAAmE;IACnE,sEAAsE;IACtE,8EAA8E;IAC9E,kFAAkF;IAClF,wFAAwF;IACxF,+EAA+E;IAC/E,iFAAiF;IACjF,+EAA+E;IAC/E,EAAE;IACF,yBAAyB;IACzB,EAAE;IACF,gFAAgF;IAChF,EAAE;IACF,uBAAuB;IACvB,EAAE;IACF,sCAAsC;IACtC,EAAE;IACF,gEAAgE;IAChE,EAAE;IACF,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,EAAE;IACF,iDAAiD;IACjD,6BAA6B;IAC7B,iDAAiD;IACjD,EAAE;IACF,KAAK;IACL,EAAE;IACF,mBAAmB;IACnB,EAAE;IACF,+BAA+B;IAC/B,+BAA+B;IAC/B,6FAA6F;IAC7F,0IAA0I;IAC1I,+GAA+G;IAC/G,wGAAwG;IACxG,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@organon-methodology/tools",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "CLI tools and MCP server for the Organon Methodology - auto-generation, verification, and discovery",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"organon": "dist/cli/index.js"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js",
|
|
12
|
+
"./core/*": "./dist/core/*.js"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"dev": "tsc --watch",
|
|
17
|
+
"clean": "node --input-type=module -e \"import{rmSync}from'node:fs';rmSync('dist',{recursive:true,force:true})\"",
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"test:watch": "vitest",
|
|
20
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
21
|
+
"organon": "tsx src/cli/index.ts",
|
|
22
|
+
"organon:validate": "tsx src/cli/index.ts validate",
|
|
23
|
+
"organon:generate": "tsx src/cli/index.ts generate",
|
|
24
|
+
"organon:query": "tsx src/cli/index.ts query",
|
|
25
|
+
"organon:health": "tsx src/cli/index.ts health",
|
|
26
|
+
"organon:find": "tsx src/cli/index.ts find",
|
|
27
|
+
"organon:verify": "tsx src/cli/index.ts verify",
|
|
28
|
+
"organon:mcp": "tsx src/cli/index.ts mcp"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"keywords": [
|
|
36
|
+
"organon",
|
|
37
|
+
"documentation",
|
|
38
|
+
"cli",
|
|
39
|
+
"mcp",
|
|
40
|
+
"codebase-navigation",
|
|
41
|
+
"auto-generation",
|
|
42
|
+
"architecture",
|
|
43
|
+
"methodology"
|
|
44
|
+
],
|
|
45
|
+
"author": "Organon Methodology Contributors",
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://github.com/VledicFranco/organon.git",
|
|
50
|
+
"directory": "packages/tools"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=18.0.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
57
|
+
"chalk": "^5.3.0",
|
|
58
|
+
"glob": "^13.0.1",
|
|
59
|
+
"yaml": "^2.8.2",
|
|
60
|
+
"yargs": "^17.7.2",
|
|
61
|
+
"zod": "^4.3.6"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@organon-methodology/testing": "*",
|
|
65
|
+
"@types/node": "^20.11.0",
|
|
66
|
+
"@types/yargs": "^17.0.32",
|
|
67
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
68
|
+
"tsx": "^4.21.0",
|
|
69
|
+
"typescript": "^5.3.0",
|
|
70
|
+
"vitest": "^4.0.18"
|
|
71
|
+
}
|
|
72
|
+
}
|