oneie 3.5.0 → 3.6.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.
Files changed (132) hide show
  1. package/.claude/agents/agent-director.md +902 -22
  2. package/.claude/agents/agent-onboard-example-output.md +600 -0
  3. package/.claude/agents/agent-onboard.md +576 -0
  4. package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
  5. package/.claude/commands/one.md +375 -5
  6. package/.claude/commands/release.md +64 -3
  7. package/CLAUDE.md +55 -69
  8. package/dist/commands/init.d.ts +5 -6
  9. package/dist/commands/init.d.ts.map +1 -1
  10. package/dist/commands/init.js +101 -101
  11. package/dist/commands/init.js.map +1 -1
  12. package/dist/index.js +6 -5
  13. package/dist/index.js.map +1 -1
  14. package/dist/utils/installation-setup.d.ts +24 -1
  15. package/dist/utils/installation-setup.d.ts.map +1 -1
  16. package/dist/utils/installation-setup.js +85 -1
  17. package/dist/utils/installation-setup.js.map +1 -1
  18. package/dist/utils/launch-claude.d.ts +6 -0
  19. package/dist/utils/launch-claude.d.ts.map +1 -0
  20. package/dist/utils/launch-claude.js +51 -0
  21. package/dist/utils/launch-claude.js.map +1 -0
  22. package/dist/utils/validation.d.ts +48 -0
  23. package/dist/utils/validation.d.ts.map +1 -0
  24. package/dist/utils/validation.js +73 -0
  25. package/dist/utils/validation.js.map +1 -0
  26. package/folders.yaml +1 -1
  27. package/one/.obsidian/core-plugins.json +33 -0
  28. package/one/.obsidian/workspace.json +20 -20
  29. package/one/connections/workflow-onboarding.md +683 -0
  30. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
  31. package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
  32. package/one/events/DEPLOYMENT.md +178 -0
  33. package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
  34. package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
  35. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
  36. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
  37. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
  38. package/one/events/HANDOFF.md +313 -0
  39. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
  40. package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
  41. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
  42. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
  43. package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
  44. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
  45. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
  46. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
  47. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
  48. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
  49. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
  50. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
  51. package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
  52. package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
  53. package/one/events/SHOP-BUILD-STATUS.md +114 -0
  54. package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
  55. package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
  56. package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
  57. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
  58. package/one/events/agent-director-enhancement-summary.md +386 -0
  59. package/one/events/agent-onboard-implementation-summary.md +457 -0
  60. package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
  61. package/one/events/landing-page-generator.md +458 -0
  62. package/one/events/onboarding-implementation-complete.md +505 -0
  63. package/one/events/release.md +254 -0
  64. package/one/events/separate-implementation-status.md +537 -0
  65. package/one/knowledge/100-inference-quick-reference.md +431 -0
  66. package/one/knowledge/agent-onboard-usage.md +612 -0
  67. package/one/knowledge/cli-claude-handoff.md +718 -0
  68. package/one/knowledge/ontology-blog.yaml +31 -0
  69. package/one/knowledge/ontology-cheatsheet.md +591 -0
  70. package/one/knowledge/ontology-community.yaml +42 -0
  71. package/one/knowledge/ontology-core-universal.md +722 -0
  72. package/one/knowledge/ontology-core.yaml +50 -0
  73. package/one/knowledge/ontology-courses.yaml +53 -0
  74. package/one/knowledge/ontology-creator.md +376 -0
  75. package/one/knowledge/ontology-developer-guide.md +789 -0
  76. package/one/knowledge/ontology-education.md +920 -0
  77. package/one/knowledge/ontology-index.md +354 -0
  78. package/one/knowledge/ontology-migration-guide.md +811 -0
  79. package/one/knowledge/ontology-minimal.yaml +1 -1
  80. package/one/knowledge/ontology-portfolio.yaml +31 -0
  81. package/one/knowledge/ontology-quickstart.md +576 -0
  82. package/one/knowledge/ontology-shop.yaml +121 -0
  83. package/one/knowledge/ontology-tokens.yaml +32 -0
  84. package/one/knowledge/ontology-tutorial.md +434 -0
  85. package/one/knowledge/ontology-video-script.md +890 -0
  86. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
  87. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
  88. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
  89. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
  90. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
  91. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
  92. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
  93. package/one/things/docs/ecommerce/QUICK-START.md +368 -0
  94. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
  95. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
  96. package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
  97. package/one/things/docs/ecommerce/demo.astro +309 -0
  98. package/one/things/plans/agent-director-100-inference-plans.md +410 -0
  99. package/one/things/plans/dual-website-strategy.md +612 -0
  100. package/one/things/plans/feature-based-sites.md +821 -0
  101. package/one/things/plans/multi-ontology-architecture.md +836 -0
  102. package/one/things/plans/onboarding.md +32 -0
  103. package/one/things/plans/separate.md +15 -17
  104. package/one/things/plans/start-new.md +738 -0
  105. package/package.json +2 -2
  106. package/one/things/claude/hooks/agent-hook-manager.js +0 -525
  107. package/one/things/claude/hooks/agent-load-balancer.js +0 -271
  108. package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
  109. package/one/things/claude/hooks/cascade-feedback.js +0 -297
  110. package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
  111. package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
  112. package/one/things/claude/hooks/file-organization-engine.js +0 -427
  113. package/one/things/claude/hooks/file-organization-monitor.js +0 -269
  114. package/one/things/claude/hooks/hook-config-manager.js +0 -202
  115. package/one/things/claude/hooks/hook-orchestrator.js +0 -662
  116. package/one/things/claude/hooks/hook-performance-report.js +0 -120
  117. package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
  118. package/one/things/claude/hooks/memory-optimizer.js +0 -510
  119. package/one/things/claude/hooks/ontology-compliance.js +0 -394
  120. package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
  121. package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
  122. package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
  123. package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
  124. package/one/things/claude/hooks/simple-load-balancer.js +0 -238
  125. package/one/things/claude/hooks/startup-optimizer.js +0 -625
  126. package/one/things/claude/hooks/story-scoring-system.js +0 -445
  127. package/one/things/claude/hooks/story-validation-engine.js +0 -473
  128. package/one/things/claude/hooks/structure-synchronizer.js +0 -194
  129. package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
  130. package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
  131. package/one/things/claude/hooks/trinity-validation-system.js +0 -392
  132. package/one/things/plans/organizations-to-groups.md +0 -705
@@ -0,0 +1,254 @@
1
+ # Release Process
2
+
3
+ ## Current Release: v3.0.3
4
+
5
+ **Release Date:** October 16, 2025
6
+ **Type:** Patch Release (Security & TypeScript Fixes)
7
+ **Status:** ✅ Complete
8
+
9
+ ## What's New in v3.0.0
10
+
11
+ ### Breaking Changes
12
+ - Complete 100-inference workflow implementation
13
+ - 6-dimension ontology fully deployed
14
+ - Multi-repo architecture (cli, web, backend, ontology, assembly)
15
+ - New CLI structure with CASCADE interface
16
+
17
+ ### New Features
18
+ - ✅ Complete inference-based planning system (100 inferences)
19
+ - ✅ 412 ontology documentation files
20
+ - ✅ 15 AI agents + 17 hooks + 10 commands
21
+ - ✅ Full CASCADE menu interface (/one, /now, /next, /todo, /done)
22
+ - ✅ Multi-tenant group architecture with hierarchical nesting
23
+ - ✅ 66 entity types, 25 connection types, 67 event types
24
+
25
+ ### Improvements
26
+ - Enhanced pre-deployment validation (10 checks)
27
+ - Comprehensive documentation ecosystem
28
+ - Better sync across 5 repositories
29
+ - Improved version management
30
+
31
+ ## Release Checklist (v3.0.3)
32
+
33
+ - [x] Pre-deployment validation passed (4 warnings, 0 errors)
34
+ - [x] Version bumped: 3.0.0 → 3.0.3
35
+ - [x] Security fix applied (redacted example credentials)
36
+ - [x] TypeScript errors fixed (icon types)
37
+ - [x] CLI published to npm (oneie@3.0.3)
38
+ - [x] Web deployed to Cloudflare Pages
39
+ - [x] GitHub tags pushed (v3.0.3)
40
+ - [x] Documentation updated (agent-ops.md, release.md, typescript-patterns.md)
41
+ - [ ] GitHub releases created (manual step)
42
+ - [ ] Stakeholders notified
43
+
44
+ ## Repositories Affected
45
+
46
+ 1. **cli** (https://github.com/one-ie/cli.git) - Command line interface
47
+ 2. **web** (https://github.com/one-ie/web) - Web application
48
+ 3. **backend** (https://github.com/one-ie/backend.git) - Convex backend
49
+ 4. **one** (https://github.com/one-ie/ontology.git) - Ontology documentation
50
+ 5. **apps/one** (https://github.com/one-ie/one.git) - Assembly repository
51
+
52
+ ## npm Package
53
+
54
+ - **Package:** oneie
55
+ - **Previous Version:** 3.0.0
56
+ - **Current Version:** 3.0.3
57
+ - **Registry:** https://www.npmjs.com/package/oneie
58
+ - **Install:** `npx oneie@latest`
59
+
60
+ ## Deployment URLs (v3.0.3)
61
+
62
+ - **npm:** https://www.npmjs.com/package/oneie (v3.0.3 LIVE)
63
+ - **Web:** https://935003a1.web-d3d.pages.dev (v3.0.3 DEPLOYED)
64
+ - **Custom Domain:** https://web.one.ie (if configured)
65
+ - **GitHub CLI:** https://github.com/one-ie/cli (tag v3.0.3)
66
+ - **GitHub One:** https://github.com/one-ie/one (tag v3.0.3)
67
+
68
+ ## Post-Release Tasks
69
+
70
+ 1. Create GitHub releases for all 5 repos
71
+ 2. Test installation: `npx oneie@latest`
72
+ 3. Verify web deployment working
73
+ 4. Monitor npm downloads
74
+ 5. Check for errors in first 24 hours
75
+ 6. Notify community and stakeholders
76
+
77
+ ## Known Issues
78
+
79
+ - None at release time
80
+
81
+ ## Migration Guide
82
+
83
+ For users upgrading from v2.x to v3.0:
84
+
85
+ 1. **CLI Changes:**
86
+ - New CASCADE interface with /one menu
87
+ - Inference-based planning replaces day-based planning
88
+ - 100-inference workflow now standard
89
+
90
+ 2. **Breaking Changes:**
91
+ - Multi-repo architecture (was monorepo)
92
+ - New file sync system
93
+ - Updated ontology structure (6 dimensions consolidated)
94
+
95
+ 3. **Upgrade Steps:**
96
+ ```bash
97
+ npm uninstall -g oneie
98
+ npx oneie@latest
99
+ ```
100
+
101
+ ## Contributors
102
+
103
+ - Anthony O'Connell (Platform Owner)
104
+ - Claude Code (Engineering Director)
105
+
106
+ ---
107
+
108
+ ## Troubleshooting Common Release Issues
109
+
110
+ ### 1. GitHub Push Protection (SECRET FOUND)
111
+
112
+ **Error:**
113
+ ```
114
+ remote: error: GH013: Repository rule violations found
115
+ remote: - Push cannot contain secrets
116
+ ```
117
+
118
+ **Cause:** Example credentials in documentation that look real enough to trigger scanning.
119
+
120
+ **Fix:**
121
+ ```bash
122
+ # 1. Find the offending file/line from error message
123
+ # 2. Edit file to use obvious placeholders
124
+ .claude/agents/agent-ops.md:289
125
+ GITHUB_TOKEN=ghp_your-github-token-here # Not real
126
+
127
+ # 3. Reset git history if already committed
128
+ cd apps/one
129
+ git reset --hard <commit-before-secret>
130
+
131
+ # 4. Re-run release with fixed files
132
+ /release patch
133
+ ```
134
+
135
+ ### 2. TypeScript Build Errors (Icon Types)
136
+
137
+ **Error:**
138
+ ```
139
+ Type 'ForwardRefExoticComponent<...>' is not assignable to '(props: SVGProps) => Element'
140
+ ```
141
+
142
+ **Fix:**
143
+ ```typescript
144
+ // Change icon type definition from:
145
+ icon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
146
+
147
+ // To:
148
+ icon: React.ComponentType<React.SVGProps<SVGSVGElement>>;
149
+ ```
150
+
151
+ ### 3. Version Already Published
152
+
153
+ **Error:**
154
+ ```
155
+ npm WARN publish Version 3.0.3 already published
156
+ ```
157
+
158
+ **Fix:**
159
+ Let the release script auto-increment:
160
+ ```bash
161
+ ./scripts/release.sh patch # Auto-bumps to next version
162
+ ```
163
+
164
+ ### 4. Web Build Fails
165
+
166
+ **Error:**
167
+ ```
168
+ error: script "build" exited with code 1
169
+ 6 errors
170
+ ```
171
+
172
+ **Diagnosis:**
173
+ ```bash
174
+ cd web
175
+ bunx astro check # See all errors
176
+ bunx astro check 2>&1 | grep "error" # Filter errors
177
+ ```
178
+
179
+ **Common Fixes:**
180
+ - Fix TypeScript errors one by one
181
+ - Run `bunx astro sync` to regenerate types
182
+ - Check for missing `client:load` directives
183
+ - Verify import paths are correct
184
+
185
+ ### 5. Cloudflare Warnings (Astro.request)
186
+
187
+ **Warning:**
188
+ ```
189
+ [WARN] `Astro.request.headers` used in prerendered pages
190
+ ```
191
+
192
+ **Fix (pick one):**
193
+ ```astro
194
+ ---
195
+ // Option 1: Make page server-rendered
196
+ export const prerender = false;
197
+
198
+ // Option 2: Remove header dependency
199
+ // Option 3: Conditional based on SSR
200
+ const headers = import.meta.env.SSR ? Astro.request.headers : null;
201
+ ---
202
+ ```
203
+
204
+ ## Release Timeline (Actual v3.0.3)
205
+
206
+ | Time | Step | Duration | Status |
207
+ |-------|------|----------|--------|
208
+ | 13:00 | Pre-deployment checks | 2 min | ✅ PASS (4 warnings) |
209
+ | 13:01 | Commit changes | 1 min | ✅ Done |
210
+ | 13:02 | Release script | 3 min | ⚠️ Blocked (secret found) |
211
+ | 13:03 | Security fix | 2 min | ✅ Credentials redacted |
212
+ | 13:04 | Git history cleanup | 1 min | ✅ Reset & retry |
213
+ | 13:05 | Release retry | 2 min | ✅ SUCCESS |
214
+ | 13:06 | npm publish | 1 min | ✅ Live (oneie@3.0.3) |
215
+ | 13:07 | Web build | 3 min | ⚠️ Failed (TypeScript) |
216
+ | 13:08 | Fix icon types | 1 min | ✅ Fixed |
217
+ | 13:09 | Web build retry | 2 min | ✅ SUCCESS |
218
+ | 13:10 | Cloudflare deploy | 1 min | ✅ Live |
219
+ | 13:11 | Verification | 1 min | ✅ All systems go |
220
+
221
+ **Total Time:** ~15 minutes (including 2 issues resolved)
222
+
223
+ ## Lessons Learned (v3.0.3)
224
+
225
+ 1. **Security First**
226
+ - Always use obvious placeholders in docs (`your-token-here`)
227
+ - Pre-scan for secrets before commit
228
+ - Git history cleanup when secrets committed
229
+
230
+ 2. **TypeScript Strictness**
231
+ - Icon types need `React.ComponentType<SVGProps>` not function signatures
232
+ - Run `bunx astro check` before building
233
+ - Fix all errors, don't ignore warnings
234
+
235
+ 3. **Version Management**
236
+ - Let release script handle all version bumps
237
+ - Never manually edit package.json versions
238
+ - Verify sync across all repos post-release
239
+
240
+ 4. **Build Before Deploy**
241
+ - Always build web before deploying to Cloudflare
242
+ - Fix TypeScript errors first
243
+ - Test locally before production
244
+
245
+ 5. **Git History Hygiene**
246
+ - Reset commits if secrets found
247
+ - Re-run release to create clean history
248
+ - Never force-push without understanding why
249
+
250
+ ---
251
+
252
+ **Generated:** October 16, 2025
253
+ **Inference:** 100/100 Complete
254
+ **Last Updated:** v3.0.3 Release (Security & TypeScript fixes)