musubix 1.0.1 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musubix",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Neuro-Symbolic AI Coding System - MUSUBI × YATA Integration",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -13,8 +13,14 @@
13
13
  "files": [
14
14
  "packages/*/dist",
15
15
  "packages/*/bin",
16
+ "AGENTS.md",
16
17
  "README.md",
17
- "LICENSE"
18
+ "README.ja.md",
19
+ "LICENSE",
20
+ "docs/",
21
+ "steering/",
22
+ "templates/",
23
+ ".github/"
18
24
  ],
19
25
  "scripts": {
20
26
  "build": "npm run build --workspaces --if-present",
@@ -55,9 +61,8 @@
55
61
  },
56
62
  "dependencies": {
57
63
  "@modelcontextprotocol/sdk": "1.25.1",
58
- "@nahisaho/musubix-core": "^1.0.0",
59
- "@nahisaho/musubix-mcp-server": "^1.0.0",
60
- "@nahisaho/musubix-yata-client": "^1.0.0",
61
- "musubix": "^1.0.0"
64
+ "@nahisaho/musubix-core": "^1.0.2",
65
+ "@nahisaho/musubix-mcp-server": "^1.0.2",
66
+ "@nahisaho/musubix-yata-client": "^1.0.2"
62
67
  }
63
68
  }
@@ -0,0 +1 @@
1
+ 6.2.1
@@ -0,0 +1,572 @@
1
+ # Product Context
2
+
3
+ **Project**: MUSUBIX
4
+ **Last Updated**: 2026-01-01
5
+ **Version**: 1.0
6
+
7
+ ---
8
+
9
+ ## Product Vision
10
+
11
+ **Vision Statement**: {{VISION_STATEMENT}}
12
+
13
+ > [1-2 paragraph description of what this product aims to achieve and why it exists]
14
+
15
+ **Mission**: {{MISSION_STATEMENT}}
16
+
17
+ > [How the product achieves its vision]
18
+
19
+ ---
20
+
21
+ ## Product Overview
22
+
23
+ ### What is MUSUBIX?
24
+
25
+ A software project using MUSUBI SDD
26
+
27
+ > [2-3 paragraphs explaining the product, its purpose, and core value proposition]
28
+
29
+ ### Problem Statement
30
+
31
+ **Problem**: {{PROBLEM_STATEMENT}}
32
+
33
+ > [What problem does this product solve? What pain points does it address?]
34
+
35
+ ### Solution
36
+
37
+ **Solution**: {{SOLUTION_STATEMENT}}
38
+
39
+ > [How does this product solve the problem? What makes it unique?]
40
+
41
+ ---
42
+
43
+ ## Target Users
44
+
45
+ ### Primary Users
46
+
47
+ #### User Persona 1: {{PERSONA_1_NAME}}
48
+
49
+ **Demographics**:
50
+
51
+ - **Role**: {{ROLE}}
52
+ - **Organization Size**: {{ORG_SIZE}}
53
+ - **Technical Level**: {{TECH_LEVEL}}
54
+
55
+ **Goals**:
56
+
57
+ - [Goal 1]
58
+ - [Goal 2]
59
+ - [Goal 3]
60
+
61
+ **Pain Points**:
62
+
63
+ - [Pain point 1]
64
+ - [Pain point 2]
65
+ - [Pain point 3]
66
+
67
+ **Use Cases**:
68
+
69
+ - [Use case 1]
70
+ - [Use case 2]
71
+ - [Use case 3]
72
+
73
+ ---
74
+
75
+ #### User Persona 2: {{PERSONA_2_NAME}}
76
+
77
+ **Demographics**:
78
+
79
+ - **Role**: {{ROLE}}
80
+ - **Organization Size**: {{ORG_SIZE}}
81
+ - **Technical Level**: {{TECH_LEVEL}}
82
+
83
+ **Goals**:
84
+
85
+ - [Goal 1]
86
+ - [Goal 2]
87
+
88
+ **Pain Points**:
89
+
90
+ - [Pain point 1]
91
+ - [Pain point 2]
92
+
93
+ **Use Cases**:
94
+
95
+ - [Use case 1]
96
+ - [Use case 2]
97
+
98
+ ---
99
+
100
+ ### Secondary Users
101
+
102
+ - **{{SECONDARY_USER_1}}**: [Description and role]
103
+ - **{{SECONDARY_USER_2}}**: [Description and role]
104
+
105
+ ---
106
+
107
+ ## Market & Business Context
108
+
109
+ ### Market Opportunity
110
+
111
+ **Market Size**: {{MARKET_SIZE}}
112
+
113
+ **Target Market**: {{TARGET_MARKET}}
114
+
115
+ > [Description of the market opportunity, competitive landscape, and positioning]
116
+
117
+ ### Business Model
118
+
119
+ **Revenue Model**: {{REVENUE_MODEL}}
120
+
121
+ > Examples: SaaS subscription, One-time purchase, Freemium, Usage-based
122
+
123
+ **Pricing Tiers** (if applicable):
124
+
125
+ - **Free Tier**: [Features, limitations]
126
+ - **Pro Tier**: ${{PRICE}}/month - [Features]
127
+ - **Enterprise Tier**: Custom pricing - [Features]
128
+
129
+ ### Competitive Landscape
130
+
131
+ | Competitor | Strengths | Weaknesses | Our Differentiation |
132
+ | ---------------- | ----------- | ------------ | --------------------- |
133
+ | {{COMPETITOR_1}} | [Strengths] | [Weaknesses] | [How we're different] |
134
+ | {{COMPETITOR_2}} | [Strengths] | [Weaknesses] | [How we're different] |
135
+
136
+ ---
137
+
138
+ ## Core Product Capabilities
139
+
140
+ ### Must-Have Features (MVP)
141
+
142
+ 1. **{{FEATURE_1}}**
143
+ - **Description**: [What it does]
144
+ - **User Value**: [Why users need it]
145
+ - **Priority**: P0 (Critical)
146
+
147
+ 2. **{{FEATURE_2}}**
148
+ - **Description**: [What it does]
149
+ - **User Value**: [Why users need it]
150
+ - **Priority**: P0 (Critical)
151
+
152
+ 3. **{{FEATURE_3}}**
153
+ - **Description**: [What it does]
154
+ - **User Value**: [Why users need it]
155
+ - **Priority**: P0 (Critical)
156
+
157
+ ### High-Priority Features (Post-MVP)
158
+
159
+ 4. **{{FEATURE_4}}**
160
+ - **Description**: [What it does]
161
+ - **User Value**: [Why users need it]
162
+ - **Priority**: P1 (High)
163
+
164
+ 5. **{{FEATURE_5}}**
165
+ - **Description**: [What it does]
166
+ - **User Value**: [Why users need it]
167
+ - **Priority**: P1 (High)
168
+
169
+ ### Future Features (Roadmap)
170
+
171
+ 6. **{{FEATURE_6}}**
172
+ - **Description**: [What it does]
173
+ - **User Value**: [Why users need it]
174
+ - **Priority**: P2 (Medium)
175
+
176
+ 7. **{{FEATURE_7}}**
177
+ - **Description**: [What it does]
178
+ - **User Value**: [Why users need it]
179
+ - **Priority**: P3 (Low)
180
+
181
+ ---
182
+
183
+ ## Product Principles
184
+
185
+ ### Design Principles
186
+
187
+ 1. **{{PRINCIPLE_1}}**
188
+ - [Description of what this means for product decisions]
189
+
190
+ 2. **{{PRINCIPLE_2}}**
191
+ - [Description]
192
+
193
+ 3. **{{PRINCIPLE_3}}**
194
+ - [Description]
195
+
196
+ **Examples**:
197
+
198
+ - **Simplicity First**: Favor simple solutions over complex ones
199
+ - **User Empowerment**: Give users control and flexibility
200
+ - **Speed & Performance**: Fast response times (< 200ms)
201
+
202
+ ### User Experience Principles
203
+
204
+ 1. **{{UX_PRINCIPLE_1}}**
205
+ - [How this guides UX decisions]
206
+
207
+ 2. **{{UX_PRINCIPLE_2}}**
208
+ - [How this guides UX decisions]
209
+
210
+ **Examples**:
211
+
212
+ - **Progressive Disclosure**: Show advanced features only when needed
213
+ - **Accessibility First**: WCAG 2.1 AA compliance
214
+ - **Mobile-First**: Design for mobile, enhance for desktop
215
+
216
+ ---
217
+
218
+ ## Success Metrics
219
+
220
+ ### Key Performance Indicators (KPIs)
221
+
222
+ #### Business Metrics
223
+
224
+ | Metric | Target | Measurement |
225
+ | ----------------------------------- | ----------------- | -------------- |
226
+ | **Monthly Active Users (MAU)** | {{MAU_TARGET}} | [How measured] |
227
+ | **Monthly Recurring Revenue (MRR)** | ${{MRR_TARGET}} | [How measured] |
228
+ | **Customer Acquisition Cost (CAC)** | ${{CAC_TARGET}} | [How measured] |
229
+ | **Customer Lifetime Value (LTV)** | ${{LTV_TARGET}} | [How measured] |
230
+ | **Churn Rate** | < {{CHURN_RATE}}% | [How measured] |
231
+
232
+ #### Product Metrics
233
+
234
+ | Metric | Target | Measurement |
235
+ | ---------------------------- | --------------------- | -------------- |
236
+ | **Daily Active Users (DAU)** | {{DAU_TARGET}} | [How measured] |
237
+ | **Feature Adoption Rate** | > {{ADOPTION_RATE}}% | [How measured] |
238
+ | **User Retention (Day 7)** | > {{RETENTION_RATE}}% | [How measured] |
239
+ | **Net Promoter Score (NPS)** | > {{NPS_TARGET}} | [How measured] |
240
+
241
+ #### Technical Metrics
242
+
243
+ | Metric | Target | Measurement |
244
+ | --------------------------- | ------- | ----------------------- |
245
+ | **API Response Time (p95)** | < 200ms | Monitoring dashboard |
246
+ | **Uptime** | 99.9% | Status page |
247
+ | **Error Rate** | < 0.1% | Error tracking (Sentry) |
248
+ | **Page Load Time** | < 2s | Web vitals |
249
+
250
+ ---
251
+
252
+ ## Product Roadmap
253
+
254
+ ### Phase 1: MVP (Months 1-3)
255
+
256
+ **Goal**: Launch minimum viable product
257
+
258
+ **Features**:
259
+
260
+ - [Feature 1]
261
+ - [Feature 2]
262
+ - [Feature 3]
263
+
264
+ **Success Criteria**:
265
+
266
+ - [Criterion 1]
267
+ - [Criterion 2]
268
+
269
+ ---
270
+
271
+ ### Phase 2: Growth (Months 4-6)
272
+
273
+ **Goal**: Achieve product-market fit
274
+
275
+ **Features**:
276
+
277
+ - [Feature 4]
278
+ - [Feature 5]
279
+ - [Feature 6]
280
+
281
+ **Success Criteria**:
282
+
283
+ - [Criterion 1]
284
+ - [Criterion 2]
285
+
286
+ ---
287
+
288
+ ### Phase 3: Scale (Months 7-12)
289
+
290
+ **Goal**: Scale to {{USER_TARGET}} users
291
+
292
+ **Features**:
293
+
294
+ - [Feature 7]
295
+ - [Feature 8]
296
+ - [Feature 9]
297
+
298
+ **Success Criteria**:
299
+
300
+ - [Criterion 1]
301
+ - [Criterion 2]
302
+
303
+ ---
304
+
305
+ ## User Workflows
306
+
307
+ ### Primary Workflow 1: {{WORKFLOW_1_NAME}}
308
+
309
+ **User Goal**: {{USER_GOAL}}
310
+
311
+ **Steps**:
312
+
313
+ 1. User [action 1]
314
+ 2. System [response 1]
315
+ 3. User [action 2]
316
+ 4. System [response 2]
317
+ 5. User achieves [goal]
318
+
319
+ **Success Criteria**:
320
+
321
+ - User completes workflow in < {{TIME}} minutes
322
+ - Success rate > {{SUCCESS_RATE}}%
323
+
324
+ ---
325
+
326
+ ### Primary Workflow 2: {{WORKFLOW_2_NAME}}
327
+
328
+ **User Goal**: {{USER_GOAL}}
329
+
330
+ **Steps**:
331
+
332
+ 1. [Step 1]
333
+ 2. [Step 2]
334
+ 3. [Step 3]
335
+
336
+ **Success Criteria**:
337
+
338
+ - [Criterion 1]
339
+ - [Criterion 2]
340
+
341
+ ---
342
+
343
+ ## Business Domain
344
+
345
+ ### Domain Concepts
346
+
347
+ Key concepts and terminology used in this domain:
348
+
349
+ 1. **{{CONCEPT_1}}**: [Definition and importance]
350
+ 2. **{{CONCEPT_2}}**: [Definition and importance]
351
+ 3. **{{CONCEPT_3}}**: [Definition and importance]
352
+
353
+ **Example for SaaS Authentication**:
354
+
355
+ - **Identity Provider (IdP)**: Service that authenticates users
356
+ - **Single Sign-On (SSO)**: One login for multiple applications
357
+ - **Multi-Factor Authentication (MFA)**: Additional verification step
358
+
359
+ ### Business Rules
360
+
361
+ 1. **{{RULE_1}}**
362
+ - [Description of business rule]
363
+ - **Example**: [Concrete example]
364
+
365
+ 2. **{{RULE_2}}**
366
+ - [Description]
367
+ - **Example**: [Example]
368
+
369
+ **Example for E-commerce**:
370
+
371
+ - **Inventory Reservation**: Reserved items held for 10 minutes during checkout
372
+ - **Refund Window**: Refunds allowed within 30 days of purchase
373
+
374
+ ---
375
+
376
+ ## Constraints & Requirements
377
+
378
+ ### Business Constraints
379
+
380
+ - **Budget**: ${{BUDGET}}
381
+ - **Timeline**: {{TIMELINE}}
382
+ - **Team Size**: {{TEAM_SIZE}} engineers
383
+ - **Launch Date**: {{LAUNCH_DATE}}
384
+
385
+ ### Compliance Requirements
386
+
387
+ - **{{COMPLIANCE_1}}**: [Description, e.g., GDPR, SOC 2, HIPAA]
388
+ - **{{COMPLIANCE_2}}**: [Description]
389
+ - **Data Residency**: [Requirements, e.g., EU data stays in EU]
390
+
391
+ ### Non-Functional Requirements
392
+
393
+ - **Performance**: API response < 200ms (95th percentile)
394
+ - **Availability**: 99.9% uptime SLA
395
+ - **Scalability**: Support {{CONCURRENT_USERS}} concurrent users
396
+ - **Security**: OWASP Top 10 compliance
397
+ - **Accessibility**: WCAG 2.1 AA compliance
398
+
399
+ ---
400
+
401
+ ## Stakeholders
402
+
403
+ ### Internal Stakeholders
404
+
405
+ | Role | Name | Responsibilities |
406
+ | ----------------------- | -------------------- | --------------------------------- |
407
+ | **Product Owner** | {{PO_NAME}} | Vision, roadmap, priorities |
408
+ | **Tech Lead** | {{TECH_LEAD_NAME}} | Architecture, technical decisions |
409
+ | **Engineering Manager** | {{EM_NAME}} | Team management, delivery |
410
+ | **QA Lead** | {{QA_LEAD_NAME}} | Quality assurance, testing |
411
+ | **Design Lead** | {{DESIGN_LEAD_NAME}} | UX/UI design |
412
+
413
+ ### External Stakeholders
414
+
415
+ | Role | Name | Responsibilities |
416
+ | --------------------------- | ----------- | --------------------------- |
417
+ | **Customer Advisory Board** | [Members] | Product feedback |
418
+ | **Investors** | [Names] | Funding, strategic guidance |
419
+ | **Partners** | [Companies] | Integration, co-marketing |
420
+
421
+ ---
422
+
423
+ ## Go-to-Market Strategy
424
+
425
+ ### Launch Strategy
426
+
427
+ **Target Launch Date**: {{LAUNCH_DATE}}
428
+
429
+ **Launch Phases**:
430
+
431
+ 1. **Private Beta** ({{START_DATE}} - {{END_DATE}})
432
+ - Invite-only, 50 beta users
433
+ - Focus: Gather feedback, fix critical bugs
434
+
435
+ 2. **Public Beta** ({{START_DATE}} - {{END_DATE}})
436
+ - Open signup
437
+ - Focus: Validate product-market fit
438
+
439
+ 3. **General Availability** ({{LAUNCH_DATE}})
440
+ - Full public launch
441
+ - Focus: Acquisition and growth
442
+
443
+ ### Marketing Channels
444
+
445
+ - **{{CHANNEL_1}}**: [Strategy, e.g., Content marketing, SEO]
446
+ - **{{CHANNEL_2}}**: [Strategy, e.g., Social media, Twitter/LinkedIn]
447
+ - **{{CHANNEL_3}}**: [Strategy, e.g., Paid ads, Google/Facebook]
448
+ - **{{CHANNEL_4}}**: [Strategy, e.g., Partnerships, integrations]
449
+
450
+ ---
451
+
452
+ ## Risk Assessment
453
+
454
+ ### Product Risks
455
+
456
+ | Risk | Probability | Impact | Mitigation |
457
+ | ---------- | --------------- | --------------- | --------------------- |
458
+ | {{RISK_1}} | High/Medium/Low | High/Medium/Low | [Mitigation strategy] |
459
+ | {{RISK_2}} | High/Medium/Low | High/Medium/Low | [Mitigation strategy] |
460
+
461
+ **Example Risks**:
462
+
463
+ - **Low adoption**: Users don't understand value → Clear onboarding, demos
464
+ - **Performance issues**: System slow at scale → Load testing, optimization
465
+ - **Security breach**: Data compromised → Security audit, penetration testing
466
+
467
+ ---
468
+
469
+ ## Customer Support
470
+
471
+ ### Support Channels
472
+
473
+ - **Email**: support@{{COMPANY}}.com
474
+ - **Chat**: In-app live chat (business hours)
475
+ - **Documentation**: docs.{{COMPANY}}.com
476
+ - **Community**: Forum/Discord/Slack
477
+
478
+ ### Support SLA
479
+
480
+ | Tier | Response Time | Resolution Time |
481
+ | ----------------- | ------------- | --------------- |
482
+ | **Critical (P0)** | < 1 hour | < 4 hours |
483
+ | **High (P1)** | < 4 hours | < 24 hours |
484
+ | **Medium (P2)** | < 24 hours | < 3 days |
485
+ | **Low (P3)** | < 48 hours | Best effort |
486
+
487
+ ---
488
+
489
+ ## Product Analytics
490
+
491
+ ### Analytics Tools
492
+
493
+ - **{{ANALYTICS_TOOL_1}}**: [Purpose, e.g., Google Analytics, Mixpanel]
494
+ - **{{ANALYTICS_TOOL_2}}**: [Purpose, e.g., Amplitude, Heap]
495
+
496
+ ### Events to Track
497
+
498
+ | Event | Description | Purpose |
499
+ | ------------------- | ---------------------- | ----------------- |
500
+ | `user_signup` | New user registration | Track acquisition |
501
+ | `feature_used` | User uses core feature | Track engagement |
502
+ | `payment_completed` | User completes payment | Track conversion |
503
+ | `error_occurred` | User encounters error | Track reliability |
504
+
505
+ ---
506
+
507
+ ## Localization & Internationalization
508
+
509
+ ### Supported Languages
510
+
511
+ - **Primary**: English (en-US)
512
+ - **Secondary**: [Languages, e.g., Japanese (ja-JP), Spanish (es-ES)]
513
+
514
+ ### Localization Strategy
515
+
516
+ - **UI Strings**: i18n framework (next-intl, react-i18next)
517
+ - **Date/Time**: Locale-aware formatting
518
+ - **Currency**: Multi-currency support
519
+ - **Right-to-Left (RTL)**: Support for Arabic, Hebrew (if needed)
520
+
521
+ ---
522
+
523
+ ## Data & Privacy
524
+
525
+ ### Data Collection
526
+
527
+ **What data we collect**:
528
+
529
+ - User account information (email, name)
530
+ - Usage analytics (anonymized)
531
+ - Error logs (for debugging)
532
+
533
+ **What data we DON'T collect**:
534
+
535
+ - [Sensitive data we avoid, e.g., passwords (only hashed), payment details (tokenized)]
536
+
537
+ ### Privacy Policy
538
+
539
+ - **GDPR Compliance**: Right to access, delete, export data
540
+ - **Data Retention**: [Retention period, e.g., 90 days for logs]
541
+ - **Third-Party Sharing**: [Who we share data with, why]
542
+
543
+ ---
544
+
545
+ ## Integrations
546
+
547
+ ### Existing Integrations
548
+
549
+ | Integration | Purpose | Priority |
550
+ | ----------------- | --------- | -------- |
551
+ | {{INTEGRATION_1}} | [Purpose] | P0 |
552
+ | {{INTEGRATION_2}} | [Purpose] | P1 |
553
+
554
+ ### Planned Integrations
555
+
556
+ | Integration | Purpose | Timeline |
557
+ | ----------------- | --------- | -------- |
558
+ | {{INTEGRATION_3}} | [Purpose] | Q2 2025 |
559
+ | {{INTEGRATION_4}} | [Purpose] | Q3 2025 |
560
+
561
+ ---
562
+
563
+ ## Changelog
564
+
565
+ ### Version 1.1 (Planned)
566
+
567
+ - [Future product updates]
568
+
569
+ ---
570
+
571
+ **Last Updated**: 2026-01-01
572
+ **Maintained By**: {{MAINTAINER}}
@@ -0,0 +1,38 @@
1
+ # MUSUBI Project Configuration
2
+ name: MUSUBIX
3
+ description: A software project using MUSUBI SDD
4
+ locale: ja
5
+ version: "0.1.0"
6
+ created: 2026-01-01
7
+
8
+ # Technology Stack
9
+ tech_stack:
10
+ approach: undecided
11
+ languages:
12
+ - undecided # To be determined
13
+
14
+
15
+ # Review Gate Settings (v6.2.0)
16
+ reviewGate:
17
+ requirements:
18
+ earsCheck: true
19
+ stakeholderCoverage: true
20
+ acceptanceCriteriaRequired: true
21
+ design:
22
+ c4Required: ['context', 'container', 'component']
23
+ adrRequired: true
24
+ constitutionalArticles: [1, 2, 7, 8]
25
+ implementation:
26
+ minCoverage: 80
27
+ coverageType: 'line'
28
+ lintStrict: true
29
+
30
+ # Traceability Settings (v6.2.0)
31
+ traceability:
32
+ patterns:
33
+ - 'REQ-[A-Z0-9]+-\\d{3}'
34
+ - 'IMP-\\d+\\.\\d+-\\d{3}(?:-\\d{2})?'
35
+ extractFrom:
36
+ - 'src/**/*.{ts,js}'
37
+ - 'tests/**/*.test.{ts,js}'
38
+ outputPath: 'storage/traceability/matrix.yml'