oneie 3.6.14 → 3.6.16

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 (312) hide show
  1. package/.claude/agents/agent-director.md +6 -6
  2. package/.claude/agents/agent-onboard.md +8 -8
  3. package/.claude/commands/cascade.md +49 -20
  4. package/.claude/commands/create.md +397 -0
  5. package/.claude/commands/npx.md +64 -113
  6. package/.claude/commands/one.md +10 -28
  7. package/.claude/commands/plan.md +65 -65
  8. package/.claude/commands/push.md +63 -452
  9. package/.claude/commands/release.md +26 -395
  10. package/.claude/hooks/README-knowledge-hooks.md +4 -4
  11. package/.claude/hooks/README.md +13 -13
  12. package/.claude/hooks/clean-root-markdown.sh +73 -0
  13. package/.claude/hooks/track-changes.sh +101 -0
  14. package/.claude/skills/ontology/README.md +1 -1
  15. package/CLAUDE.md +38 -25
  16. package/one/README.md +3 -3
  17. package/one/connections/documentation.md +1 -1
  18. package/one/connections/inference.md +9 -9
  19. package/one/connections/workflow-copy.md +1 -1
  20. package/one/connections/workflow-onboarding.md +85 -85
  21. package/one/connections/workflow.md +1 -1
  22. package/one/groups/groups.md +31 -31
  23. package/one/groups/one.md +26 -26
  24. package/one/knowledge/100-inference-quick-reference.md +38 -38
  25. package/one/knowledge/ai-token-crypto-analysis-framework.md +15 -15
  26. package/one/knowledge/archived/ontology.old.md +11 -11
  27. package/one/knowledge/audit-agent-onboard-alignment.md +1 -1
  28. package/one/knowledge/cli-claude-handoff.md +36 -36
  29. package/one/knowledge/crypto-analysis-strategy.md +8 -8
  30. package/one/knowledge/event-driven-documentation.md +270 -0
  31. package/one/knowledge/knowledge.md +28 -28
  32. package/one/knowledge/lessons-website-building-focus.md +1 -1
  33. package/one/knowledge/metadata-system.md +11 -11
  34. package/one/knowledge/ontology-crypto.md +19 -19
  35. package/one/knowledge/ontology-documentation.md +7 -7
  36. package/one/knowledge/ontology-engineering.md +3 -3
  37. package/one/knowledge/ontology-files.yaml +3 -3
  38. package/one/knowledge/ontology-release.md +3 -3
  39. package/one/knowledge/ontology.md +10 -10
  40. package/one/knowledge/ontology.yaml +7 -7
  41. package/one/knowledge/score.md +4 -4
  42. package/one/knowledge/todo-template.md +55 -55
  43. package/one/knowledge/todo.md +55 -55
  44. package/one/knowledge/typescript-patterns.md +1 -1
  45. package/one/knowledge/x402-research.md +1 -1
  46. package/one/people/anthony-o-connell.md +19 -19
  47. package/one/people/people.md +1 -1
  48. package/one/things/IMPLEMENTATION_STATUS.md +12 -12
  49. package/one/things/agents/agent-backend.md +4 -4
  50. package/one/things/agents/agent-clean.md +16 -16
  51. package/one/things/agents/agent-deploy.md +6 -6
  52. package/one/things/agents/agent-sales.md +6 -6
  53. package/one/things/claude/agents/nextjs-15-specialist.md +1 -1
  54. package/one/things/demo-design-summary.md +6 -6
  55. package/one/things/examples/enterprise/crm-saas.md +24 -24
  56. package/one/things/features/2-1-dataprovider-interface.md +6 -6
  57. package/one/things/features/2-3-effectts-services.md +7 -7
  58. package/one/things/features/2-4-react-hooks.md +4 -4
  59. package/one/things/features/2-cli.md +3 -3
  60. package/one/things/features/2-design.md +2 -2
  61. package/one/things/features/use-one-backend.md +2 -2
  62. package/one/things/files.yaml +3 -3
  63. package/one/things/implementation/backend-guide.md +1 -1
  64. package/one/things/interface.md +8 -8
  65. package/one/things/landing-page-implementation.md +10 -10
  66. package/one/things/legal/privacy-policy.md +2 -2
  67. package/one/things/legal/terms-of-service.md +6 -6
  68. package/one/things/master-workflow-plan.md +16 -16
  69. package/one/things/plans/0-in-sync.md +136 -0
  70. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +4 -4
  71. package/one/things/plans/ai-elements.md +7 -7
  72. package/one/things/plans/ai-integration.md +3 -3
  73. package/one/things/plans/ai-sdk.md +8 -8
  74. package/one/things/plans/backend-cleanup-quickstart.md +3 -3
  75. package/one/things/plans/backend-ontology-conformance.md +40 -40
  76. package/one/things/plans/backend-status.md +6 -6
  77. package/one/things/plans/backend-target-structure.md +2 -2
  78. package/one/things/plans/backend.md +1 -1
  79. package/one/things/plans/better-auth-any-backend.md +1 -1
  80. package/one/things/plans/components.md +32 -32
  81. package/one/things/plans/convex-agents.md +8 -8
  82. package/one/things/plans/deep-researcher-agent.md +1 -1
  83. package/one/things/plans/development-plan.md +49 -49
  84. package/one/things/plans/development-workflow.md +1 -1
  85. package/one/things/plans/effect.md +6 -6
  86. package/one/things/plans/execution-strategy.md +61 -61
  87. package/one/things/plans/existing-infrastructure.md +1 -1
  88. package/one/things/plans/frontend-effects.md +10 -10
  89. package/one/things/plans/group-folder-multi-tenancy.md +95 -95
  90. package/one/things/plans/integrate-frontend-and-backend.md +9 -9
  91. package/one/things/plans/onboarding.md +2 -2
  92. package/one/things/plans/ontology-6-dimensions.md +7 -7
  93. package/one/things/plans/ontology-compliance-audit.md +1 -1
  94. package/one/things/plans/phase-1-foundation.md +12 -12
  95. package/one/things/plans/readme-backend-cleanup.md +3 -3
  96. package/one/things/plans/sequence.md +129 -129
  97. package/one/things/plans/skills.md +30 -30
  98. package/one/things/plans/start-new.md +5 -5
  99. package/one/things/plans/sync-checklist.md +4 -4
  100. package/one/things/plans/unified-implementation-plan.md +1 -1
  101. package/one/things/plans/update-demos.md +53 -53
  102. package/one/things/plans/use-our-backend.md +30 -30
  103. package/one/things/plans/wave1-onboarding-100-inferences.md +152 -152
  104. package/one/things/plans/wave1-onboarding-vision.md +7 -7
  105. package/one/things/plans/wave1-orchestration-summary.md +67 -67
  106. package/one/things/plans/wave1-specialist-assignments.md +121 -121
  107. package/one/things/products/ontology.md +2 -2
  108. package/one/things/repos/all-repos.md +0 -0
  109. package/one/things/structure.md +2 -2
  110. package/one/things/tests/2-1-dataprovider-interface.md +2 -2
  111. package/one/things/tests/2-1-test-analysis.md +1 -1
  112. package/one/things/things.md +3 -3
  113. package/one/things/todo-acp-integration.md +33 -33
  114. package/one/things/todo-ai.md +37 -37
  115. package/one/things/todo-api.md +114 -114
  116. package/one/things/todo-assignment.md +39 -39
  117. package/one/things/todo-buy-chatgpt.md +113 -113
  118. package/one/things/todo-components.md +211 -211
  119. package/one/things/todo-ecommerce-frontend.md +82 -82
  120. package/one/things/todo-ecommerce.md +36 -36
  121. package/one/things/todo-effects.md +36 -36
  122. package/one/things/todo-frontend-effects.md +25 -25
  123. package/one/things/todo-landing-page.md +63 -63
  124. package/one/things/todo-mail.md +73 -73
  125. package/one/things/todo-master-plan.md +32 -32
  126. package/one/things/todo-onboard.md +48 -48
  127. package/one/things/todo-one-ie.md +48 -48
  128. package/one/things/todo-page.md +42 -42
  129. package/one/things/todo-plans.md +48 -48
  130. package/one/things/todo-refactoring-plan.md +5 -5
  131. package/one/things/todo-sequence.md +98 -98
  132. package/one/things/todo-use-our-backend.md +219 -219
  133. package/one/things/todo-x402.md +116 -116
  134. package/one/things/video-script-ontology.md +20 -20
  135. package/package.json +7 -2
  136. package/.claude/commands/build.md +0 -293
  137. package/one/.claude/settings.local.json +0 -11
  138. package/one/.obsidian/app.json +0 -8
  139. package/one/.obsidian/appearance.json +0 -1
  140. package/one/.obsidian/community-plugins.json +0 -5
  141. package/one/.obsidian/core-plugins.json +0 -33
  142. package/one/.obsidian/plugins/easy-bake/main.js +0 -361
  143. package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
  144. package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
  145. package/one/.obsidian/plugins/editing-toolbar/data.json +0 -328
  146. package/one/.obsidian/plugins/editing-toolbar/main.js +0 -12
  147. package/one/.obsidian/plugins/editing-toolbar/manifest.json +0 -10
  148. package/one/.obsidian/plugins/editing-toolbar/styles.css +0 -1338
  149. package/one/.obsidian/plugins/terminal/data.json +0 -154
  150. package/one/.obsidian/plugins/terminal/main.js +0 -197
  151. package/one/.obsidian/plugins/terminal/manifest.json +0 -14
  152. package/one/.obsidian/plugins/terminal/styles.css +0 -32
  153. package/one/.obsidian/workspace.json +0 -266
  154. package/one/events/2024-10-14-deployment-plan.md +0 -330
  155. package/one/events/2024-10-14-deployment-success.md +0 -447
  156. package/one/events/2024-10-14-final-sync-complete.md +0 -250
  157. package/one/events/2024-10-14-release-v2.0.6.md +0 -414
  158. package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
  159. package/one/events/2024-10-15-handoff-to-clean.md +0 -347
  160. package/one/events/2024-10-15-package-manager-tests.md +0 -442
  161. package/one/events/2024-10-15-release-command-complete.md +0 -416
  162. package/one/events/2025-10-15-private-files-secured.md +0 -359
  163. package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
  164. package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
  165. package/one/events/ALIGNMENT_SUMMARY.md +0 -280
  166. package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
  167. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
  168. package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
  169. package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
  170. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
  171. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
  172. package/one/events/CLAUDE copy.md +0 -897
  173. package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
  174. package/one/events/CONNECTIONS_DEMO.md +0 -519
  175. package/one/events/CREATE-WEBSITE.md +0 -460
  176. package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -522
  177. package/one/events/CUSTOM-DOMAIN.md +0 -375
  178. package/one/events/DELIVERABLES.md +0 -450
  179. package/one/events/DEMO-GROUPS-PAGE.md +0 -410
  180. package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
  181. package/one/events/DEMO_COMPONENTS.md +0 -505
  182. package/one/events/DEMO_HOOKS_INDEX.md +0 -352
  183. package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
  184. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
  185. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
  186. package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
  187. package/one/events/DEMO_SETUP.md +0 -494
  188. package/one/events/DEPLOYMENT copy.md +0 -444
  189. package/one/events/DEPLOYMENT.md +0 -196
  190. package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
  191. package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
  192. package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
  193. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
  194. package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
  195. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
  196. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
  197. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
  198. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
  199. package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
  200. package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
  201. package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
  202. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
  203. package/one/events/GROUPS-MIGRATION.md +0 -643
  204. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
  205. package/one/events/HANDOFF.md +0 -331
  206. package/one/events/HOOKS-DEMO.md +0 -459
  207. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -521
  208. package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
  209. package/one/events/INSTALL-TESTS.md +0 -311
  210. package/one/events/INSTALLATION_FOLDERS.md +0 -534
  211. package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
  212. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
  213. package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
  214. package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
  215. package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
  216. package/one/events/INTEGRATION-SUMMARY.md +0 -671
  217. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
  218. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
  219. package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
  220. package/one/events/LICENSE.md +0 -107
  221. package/one/events/MCP-CONFIGURATION.md +0 -354
  222. package/one/events/MCP-SETUP-COMPLETE.md +0 -223
  223. package/one/events/MIGRATION-REPORT.md +0 -453
  224. package/one/events/MIGRATION.md +0 -87
  225. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1645
  226. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -591
  227. package/one/events/NODE-UPGRADE.md +0 -129
  228. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
  229. package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
  230. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
  231. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -543
  232. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -473
  233. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
  234. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
  235. package/one/events/PACKAGE-STRUCTURE.md +0 -328
  236. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
  237. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
  238. package/one/events/QA-CHECKLIST.md +0 -692
  239. package/one/events/QUICK-START-ONTOLOGY.md +0 -426
  240. package/one/events/README-archived.md +0 -537
  241. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
  242. package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
  243. package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
  244. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
  245. package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
  246. package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
  247. package/one/events/SHOP-BUILD-STATUS.md +0 -132
  248. package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
  249. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
  250. package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
  251. package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
  252. package/one/events/STRIPE-INTEGRATION.md +0 -432
  253. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
  254. package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
  255. package/one/events/TEST-PLAN-INDEX.md +0 -364
  256. package/one/events/TEST-PLAN.md +0 -1435
  257. package/one/events/TEST-SUMMARY.md +0 -411
  258. package/one/events/TESTING-DELIVERY.txt +0 -372
  259. package/one/events/TESTS-QUICK-REF.md +0 -280
  260. package/one/events/TRANSITIONS-QUICK-START.md +0 -159
  261. package/one/events/TRANSPARENCY-FIXES.md +0 -293
  262. package/one/events/TYPESCRIPT_FIXES.md +0 -170
  263. package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
  264. package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
  265. package/one/events/VIEW-TRANSITIONS.md +0 -446
  266. package/one/events/agent-director-enhancement-summary.md +0 -404
  267. package/one/events/agent-onboard-implementation-summary.md +0 -475
  268. package/one/events/agent-ontology-alignment-completion.md +0 -263
  269. package/one/events/backend-integration-tests.md +0 -624
  270. package/one/events/backend-structure-diagram.txt +0 -393
  271. package/one/events/backend-structure-summary.txt +0 -269
  272. package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
  273. package/one/events/clean-agent-todo-analysis-summary.md +0 -336
  274. package/one/events/cloudflare-automation-complete.md +0 -350
  275. package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
  276. package/one/events/contact-page-complete.md +0 -316
  277. package/one/events/convex-analysis-index.md +0 -322
  278. package/one/events/convex-structure-analysis.md +0 -718
  279. package/one/events/deployment-installation-folders.md +0 -178
  280. package/one/events/deployment-ops-summary.md +0 -386
  281. package/one/events/deployment-verification.md +0 -366
  282. package/one/events/design-spec-complete.md +0 -226
  283. package/one/events/documentation-audit-index.md +0 -473
  284. package/one/events/documentation-audit-summary.md +0 -417
  285. package/one/events/documentation-improvement-roadmap.md +0 -906
  286. package/one/events/documentation-standards-compliance-report.md +0 -538
  287. package/one/events/events.md +0 -563
  288. package/one/events/frontend-effects-complete.md +0 -584
  289. package/one/events/frontend-effects-orchestration.md +0 -1356
  290. package/one/events/frontend-effects-risk-register.md +0 -1055
  291. package/one/events/frontend-effects-week1-assignments.md +0 -1594
  292. package/one/events/hook-ontology-alignment-summary.md +0 -528
  293. package/one/events/installation-folders-workflow-integration.md +0 -458
  294. package/one/events/landing-page-generator.md +0 -476
  295. package/one/events/legal-assessment-2025-10-16.md +0 -1917
  296. package/one/events/onboarding-implementation-complete.md +0 -523
  297. package/one/events/ontology-test-examples.md +0 -580
  298. package/one/events/phase1-backend-implementation-complete.md +0 -536
  299. package/one/events/release.md +0 -272
  300. package/one/events/root-cleanup-alignment-report.md +0 -265
  301. package/one/events/separate-implementation-status.md +0 -555
  302. package/one/events/session-summary-2025-10-18.md +0 -366
  303. package/one/events/skills-complete.md +0 -351
  304. package/one/events/skills-infer-6-10-summary.md +0 -70
  305. package/one/events/skills-phase1-complete.md +0 -281
  306. package/one/events/structural-analysis-architecture-vs-plans.md +0 -559
  307. package/one/events/test-dashboard.md +0 -363
  308. package/one/events/test-index.md +0 -379
  309. package/one/events/test-report-ontology.md +0 -600
  310. package/one/events/testing-summary.md +0 -362
  311. package/one/events/todo-refactoring-complete.md +0 -408
  312. package/one/events/wave1-backend-implementation-complete.md +0 -698
@@ -1,419 +1,50 @@
1
1
  ---
2
2
  allowed-tools: Task(agent-ops:*)
3
- description: Execute full ONE Platform release via agent-ops specialist
3
+ description: Release CLI to npm
4
4
  ---
5
5
 
6
- # /release - Full ONE Platform Release
6
+ # /release - Release CLI to npm
7
7
 
8
- **Purpose:** Delegate to `agent-ops` specialist to execute the complete release process including npm publish, GitHub pushes, and Cloudflare Pages deployment.
8
+ Release the CLI to npm registry.
9
9
 
10
- **Reference Architecture:** See `one/knowledge/ontology-release.md` for complete platform specification, file mapping, and deployment strategy.
10
+ ## Usage
11
11
 
12
- ## How It Works
13
-
14
- This command **MUST** delegate to the `agent-ops` specialist agent, which has the expertise and tools to handle:
15
- 1. Pre-deployment validation
16
- 2. Version bumping
17
- 3. File synchronization
18
- 4. Git operations
19
- 5. npm publishing
20
- 6. Cloudflare deployments (using CLOUDFLARE_GLOBAL_API_KEY)
21
- 7. Verification and reporting
22
-
23
- ## Two-Site Architecture
24
-
25
- **CRITICAL:** ONE Platform uses a two-site architecture:
26
-
27
- - **oneie/** - Production site (source of truth) deployed to https://one.ie
28
- - **web/** - Starter template (AUTO-GENERATED) distributed via `npx oneie`
29
-
30
- **Golden Rule:** NEVER edit web/ directly. It is generated from oneie/ via transform script.
31
-
32
- **Workflow:**
33
- ```
34
- oneie/ (edit here)
35
- ↓
36
- bun run build:starter (generates)
37
- ↓
38
- web/ (never edit)
12
+ ```bash
13
+ /release patch # Bug fix (1.0.0 → 1.0.1)
14
+ /release minor # New feature (1.0.0 → 1.1.0)
15
+ /release major # Breaking change (1.0.0 → 2.0.0)
16
+ /release sync # Sync files without version bump
39
17
  ```
40
18
 
41
- ## Release Types
19
+ ## What It Does
20
+
21
+ Runs `/Users/toc/Server/ONE/scripts/release-cli.sh [type]` which:
42
22
 
43
- - `/release patch` - Bug fixes (3.3.5 → 3.3.6)
44
- - `/release minor` - New features (3.3.5 → 3.4.0)
45
- - `/release major` - Breaking changes (3.3.5 → 4.0.0)
46
- - `/release sync` - Sync files without version bump
23
+ 1. Syncs `.claude/*` to `cli/.claude/`
24
+ 2. Syncs `/one/*` to `cli/one/`
25
+ 3. Syncs root markdown files (CLAUDE.md, README.md, etc.)
26
+ 4. Bumps version in `cli/package.json` (if not sync)
27
+ 5. Builds the CLI
28
+ 6. Publishes to npm registry
47
29
 
48
30
  ## Your Task
49
31
 
50
- **CRITICAL:** You MUST delegate this entire release to the `agent-ops` specialist by using the Task tool:
32
+ Delegate to agent-ops to run the script:
51
33
 
52
34
  ```typescript
53
35
  Task({
54
36
  subagent_type: "agent-ops",
55
- description: "Execute full release",
56
- prompt: `Execute a ${releaseType} release for ONE Platform:
37
+ description: "Release CLI to npm",
38
+ prompt: `Run: /Users/toc/Server/ONE/scripts/release-cli.sh ${releaseType}
57
39
 
58
- 1. Run pre-deployment validation
59
- 2. Execute release script: ./scripts/release.sh ${releaseType}
60
- 3. Publish to npm: cd cli && npm publish --access public
61
- 4. Verify deployment:
62
- - npm: npx oneie@latest --version
63
- - Web: Check Cloudflare deployment URL
64
- - GitHub: Verify tags created
65
- 5. Report summary with all live URLs
66
-
67
- IMPORTANT: The CLOUDFLARE_GLOBAL_API_KEY is set in .env and provides FULL ACCESS to Cloudflare API for automated deployments.`
68
- })
40
+ Wait for completion and report success with the new version.`,
41
+ });
69
42
  ```
70
43
 
71
- ## Agent-Ops Responsibilities
72
-
73
- ### Step 1: Pre-Deployment Validation
74
- 1. Run `./scripts/pre-deployment-check.sh`
75
- 2. Verify all checks pass (0 errors)
76
- 3. If errors found, report to user and STOP
77
- 4. If warnings only, continue
44
+ ## After Release
78
45
 
79
- ### Step 2: Generate Starter Template
80
- 1. Generate web/ from oneie/ source:
81
- ```bash
82
- cd oneie
83
- bun run build:starter
84
- ```
85
- 2. This runs `scripts/generate-starter.sh` which:
86
- - Copies all files from oneie/ to web/
87
- - Replaces homepage with simple 3-option template chooser
88
- - Simplifies Sidebar.tsx to 2 navigation items (Stream, License)
89
- - Reduces blog content to 1 example post
90
- - Reduces products to 3 examples
91
- - Updates package.json name to "oneie-starter"
92
- - Creates AUTO-GENERATED warning in README.md
93
- 3. Commit generated web/ changes
46
+ Install the new version:
94
47
 
95
- ### Step 3: Version Bump & Sync
96
- 1. Run `./scripts/release.sh [patch|minor|major]`
97
- 2. This will:
98
- - Bump version in cli/package.json
99
- - Sync 518+ files to distribution repos:
100
- - `/one/*` → `cli/one/` and `apps/one/one/`
101
- - `/.claude/*` → `cli/.claude/` and `apps/one/one/.claude/`
102
- - `/oneie/*` → `apps/oneie/` (production site)
103
- - `/web/*` → `apps/one/web/` (starter template)
104
- - `CLAUDE.md`, `README.md`, `LICENSE.md`, `SECURITY.md` → all targets
105
- - `oneie/AGENTS.md` → `apps/one/one/AGENTS.md`
106
- - **AUTOMATICALLY** commit and push to GitHub repos:
107
- - oneie/ → github.com/one-ie/oneie
108
- - web/ → github.com/one-ie/web
109
- - Show git status for review
110
- 3. When prompted for cli/ "Commit and push?", answer 'y'
111
- 4. When prompted "Create tag?", answer 'y'
112
-
113
- ### Step 4: npm Publish
114
- 1. `cd cli`
115
- 2. Run `npm publish --access public`
116
- 3. Wait for completion
117
- 4. Verify: `npm view oneie version`
118
- 5. Report new version to user
119
-
120
- ### Step 5: Build & Deploy to Cloudflare
121
-
122
- **Two-Site Architecture:**
123
- - **oneie/** → https://one.ie (Wrangler project: oneie) - Full production site
124
- - **web/** → https://web.one.ie (Wrangler project: web) - Starter template
125
-
126
- **Deployment Process:**
127
-
128
- 1. **Deploy Production Site (oneie/):**
129
- ```bash
130
- cd oneie
131
- bun run build
132
- wrangler pages deploy dist --project-name=oneie
133
- # Deployed to: https://one.ie
134
- ```
135
-
136
- 2. **Deploy Starter Template (web/):**
137
- ```bash
138
- cd web
139
- bun run build
140
- wrangler pages deploy dist --project-name=web
141
- # Deployed to: https://web.one.ie
142
- ```
143
-
144
- **Automatic Mode (if CLOUDFLARE_GLOBAL_API_KEY is set):**
145
- - Scripts automatically use global API key from `.env`
146
- - Deploys via Cloudflare API without confirmation
147
- - Shows deployment status and URLs
148
- - **Zero manual intervention needed**
149
-
150
- **Standalone Deployment:**
151
48
  ```bash
152
- # Deploy production site (oneie)
153
- scripts/cloudflare-deploy.sh deploy oneie oneie/dist production
154
-
155
- # Deploy starter template (web)
156
- scripts/cloudflare-deploy.sh deploy web web/dist production
157
-
158
- # Check deployment status
159
- scripts/cloudflare-deploy.sh status oneie
160
- scripts/cloudflare-deploy.sh status web
161
-
162
- # List recent deployments
163
- scripts/cloudflare-deploy.sh list oneie 5
164
- scripts/cloudflare-deploy.sh list web 5
49
+ npx oneie@latest --version
165
50
  ```
166
-
167
- ### Step 6: Verification
168
- 1. Test npm package: `npx oneie@latest --version`
169
- 2. Report all live URLs:
170
- - npm: https://www.npmjs.com/package/oneie
171
- - Production Site: https://one.ie
172
- - Starter Template: https://web.one.ie
173
- - GitHub oneie: https://github.com/one-ie/oneie
174
- - GitHub web: https://github.com/one-ie/web
175
- - GitHub CLI: https://github.com/one-ie/cli
176
-
177
- ### Step 7: Summary Report
178
- Provide a concise summary:
179
- ```
180
- ✅ Release v2.0.X Complete!
181
-
182
- 📦 npm: oneie@2.0.X (live)
183
- 🌐 Production: https://one.ie (deployed)
184
- 🎁 Starter: https://web.one.ie (deployed)
185
- 🏷️ GitHub: v2.0.X tagged
186
- ⏱️ Total time: ~X minutes
187
-
188
- Architecture:
189
- - oneie/ → one.ie (full production site)
190
- - web/ → web.one.ie (auto-generated starter)
191
-
192
- Next steps:
193
- - Create GitHub releases
194
- - Test installation: npx oneie@latest
195
- - Test starter template: npx oneie init my-project
196
- - Monitor for errors
197
- ```
198
-
199
- ## Important Notes
200
-
201
- **You MUST:**
202
- - ✅ Run pre-deployment checks first
203
- - ✅ Stop if critical errors found
204
- - ✅ Build web before deploying
205
- - ✅ Verify npm publish succeeded
206
- - ✅ Capture and report all URLs
207
- - ✅ Provide clear success/failure status
208
-
209
- **You MUST NOT:**
210
- - ❌ Skip pre-deployment validation
211
- - ❌ Deploy without building first
212
- - ❌ Continue if npm publish fails
213
- - ❌ Forget to report deployment URLs
214
-
215
- ## Error Handling
216
-
217
- ### If pre-deployment check fails:
218
- 1. Report specific errors to user
219
- 2. Suggest fixes
220
- 3. STOP - do not proceed
221
-
222
- ### If npm publish fails:
223
- 1. Check if already published: `npm view oneie@X.X.X`
224
- 2. If version exists, bump patch and retry
225
- 3. Report to user
226
-
227
- ### If Cloudflare deploy fails:
228
- 1. Check if build succeeded
229
- 2. Report wrangler error
230
- 3. Suggest: Check environment variables
231
- 4. Continue (deployment can be done separately)
232
-
233
- ## When to Use
234
-
235
- Use `/release` when you want to:
236
- - ✅ Deploy a new version to production
237
- - ✅ Publish CLI updates to npm
238
- - ✅ Update web frontend on Cloudflare
239
- - ✅ Create git tags for version
240
- - ✅ Execute full release pipeline
241
-
242
- ## When NOT to Use
243
-
244
- Do NOT use `/release` if:
245
- - ❌ You're still developing/testing
246
- - ❌ There are failing tests
247
- - ❌ You haven't committed changes
248
- - ❌ You're not ready for production
249
-
250
- **Instead:** Use individual commands like `/push-cli` or test locally first.
251
-
252
- ## Example Usage
253
-
254
- **User:** `/release patch`
255
-
256
- **Claude:**
257
- 1. Runs pre-deployment check
258
- 2. Validates (0 errors, 7 warnings)
259
- 3. Runs release.sh patch
260
- 4. Bumps version 2.0.6 → 2.0.7
261
- 5. Syncs 552 files
262
- 6. Commits and pushes to GitHub
263
- 7. Publishes to npm
264
- 8. Builds web
265
- 9. Deploys to Cloudflare
266
- 10. Reports success with all URLs
267
-
268
- ## Prerequisites
269
-
270
- Before running `/release`, ensure:
271
- - ✅ You're in the ONE root directory
272
- - ✅ All changes are committed (or acceptable)
273
- - ✅ You're logged in to npm (`npm whoami`)
274
- - ✅ Wrangler is authenticated
275
- - ✅ Release scripts exist in `scripts/`
276
-
277
- **For Automated Cloudflare Deployment:**
278
-
279
- **Option 1: Global API Key (FULL ACCESS - Recommended for automated deployments):**
280
- - ✅ Set `CLOUDFLARE_GLOBAL_API_KEY` in root `.env`
281
- - ✅ Set `CLOUDFLARE_ACCOUNT_ID` in root `.env`
282
- - ✅ Set `CLOUDFLARE_EMAIL` in root `.env`
283
- - ✅ Provides complete programmatic access to Cloudflare API
284
- - ✅ Zero manual intervention needed
285
-
286
- **Option 2: API Token (Scoped access):**
287
- - ✅ Set `CLOUDFLARE_API_TOKEN` environment variable
288
- - ✅ Set `CLOUDFLARE_ACCOUNT_ID` environment variable
289
-
290
- **Without these credentials:**
291
- - The script falls back to interactive wrangler CLI deployment
292
- - Still fully functional, just requires manual confirmation
293
-
294
- **CRITICAL:** The `CLOUDFLARE_GLOBAL_API_KEY` in `.env` provides **FULL ACCESS** to the Cloudflare API. This is required for fully automated deployments via `/release` command.
295
-
296
- ## Frontend Onboarding Environment Variables
297
-
298
- **New in v3.6.0:** The frontend now supports organization-specific onboarding via environment variables in `web/.env.local`:
299
-
300
- ```bash
301
- # Organization Configuration (Frontend Onboarding)
302
- ORG_NAME=your-org-name # Reserved: "one" for ONE Platform
303
- ORG_WEBSITE=https://example.com # Reserved: "https://one.ie" for ONE Platform
304
- ORG_FOLDER=your-org-folder # Reserved: "onegroup", "one" for ONE Platform
305
- ONE_BACKEND=off # "off" = frontend-only, "on" = full platform
306
- ```
307
-
308
- **How it works:**
309
- - `ORG_NAME=one` → Full ONE Platform homepage with complete navigation
310
- - `ORG_NAME=acme` → Customer org homepage with GetStartedPrompt interface
311
- - `ONE_BACKEND=off` → Frontend-only mode (no Convex, no auth)
312
- - `ONE_BACKEND=on` → Full platform with backend features
313
-
314
- **Reserved values** (protected in CLI via validation):
315
- - Name: `one`
316
- - Folders: `onegroup`, `one`
317
- - Website: `https://one.ie`, `one.ie`
318
-
319
- **Testing:**
320
- See `TESTING-ONBOARDING.md` for complete test guide.
321
-
322
- ## MCP Server Configuration
323
-
324
- **Important:** The `.mcp.json` file configures MCP (Model Context Protocol) servers and is automatically synced to all target repositories:
325
-
326
- ```json
327
- {
328
- "mcpServers": {
329
- "shadcn": {
330
- "command": "npx",
331
- "args": ["shadcn@latest", "mcp"]
332
- },
333
- "stripe": {
334
- "url": "https://mcp.stripe.com"
335
- }
336
- }
337
- }
338
- ```
339
-
340
- **What it provides:**
341
- - **shadcn MCP:** Access to shadcn/ui component library via MCP
342
- - **Stripe MCP:** Stripe API integration via Model Context Protocol
343
-
344
- **Synced to:**
345
- - `cli/.mcp.json` - For CLI MCP server access
346
- - `apps/one/one/.mcp.json` - For assembly repo MCP access
347
-
348
- ## Post-Release Tasks
349
-
350
- After `/release` succeeds, remind user to:
351
- 1. Create GitHub releases (manual)
352
- 2. Test installation: `npx oneie@latest`
353
- 3. Verify web deployment
354
- 4. Monitor npm downloads
355
- 5. Check for errors in first 24 hours
356
-
357
- ## Installation Folder Sync (Optional)
358
-
359
- **Note:** `INSTALLATION_NAME` is different from `ORG_NAME`:
360
- - `INSTALLATION_NAME` - Backend/filesystem identifier for org-specific documentation
361
- - `ORG_NAME` - Frontend environment variable controlling UI/branding
362
- - Both can have the same value (e.g., "acme") but serve different purposes
363
-
364
- If installation folders need to be synced across repositories:
365
-
366
- ```bash
367
- # Sync installation folder to assembly repo
368
- if [ -d "/${INSTALLATION_NAME}" ]; then
369
- echo "📦 Syncing installation folder: ${INSTALLATION_NAME}"
370
-
371
- # Copy to assembly repo
372
- rsync -av --delete \
373
- "/${INSTALLATION_NAME}/" \
374
- "apps/one/${INSTALLATION_NAME}/"
375
-
376
- # Commit and push
377
- cd apps/one
378
- git add "${INSTALLATION_NAME}/"
379
- git commit -m "chore: sync installation folder ${INSTALLATION_NAME}"
380
- git push
381
-
382
- echo "✅ Installation folder synced"
383
- fi
384
- ```
385
-
386
- **Update version bump to include installation folder in changelog:**
387
-
388
- ```bash
389
- # Generate changelog entry
390
- cat >> CHANGELOG.md <<EOF
391
-
392
- ## [${NEW_VERSION}] - $(date +%Y-%m-%d)
393
-
394
- ### Added
395
- - Frontend onboarding system with ORG_NAME/ORG_WEBSITE/ONE_BACKEND
396
- - Reserved name validation in CLI (prevents use of "one", "one.ie")
397
- - GetStartedPrompt component for customer organizations
398
- - MinimalSidebar layout with Blog + License only
399
- - Installation folder multi-tenancy support
400
- - Hierarchical file resolution with group support
401
- - CLI: \`npx oneie init\` to create installation folders
402
- - Frontend: Auto-resolution of installation-specific files
403
-
404
- ### Changed
405
- - Frontend conditionally renders based on ORG_NAME environment variable
406
- - Backend can be disabled with ONE_BACKEND=off for frontend-only development
407
- - Documentation updated across CLAUDE.md, AGENTS.md, README.md
408
-
409
- ### Security
410
- - Reserved name protection prevents brand confusion
411
- - Path traversal prevention in file resolution
412
- - Symlink validation
413
- - Audit logging for file access
414
- EOF
415
- ```
416
-
417
- ---
418
-
419
- **Full Release Pipeline: npm → GitHub → Cloudflare Pages → Production! 🚀**
@@ -7,7 +7,7 @@ The knowledge tagging hooks automatically map all created/modified artifacts to
7
7
  - 📊 Automatic ontology dimension mapping (groups, people, things, connections, events, knowledge)
8
8
  - 🏷️ Semantic labeling aligned with Reality-as-DSL architecture
9
9
  - 🔍 RAG-ready artifact indexing for AI agent learning
10
- - 📈 Knowledge tracking per inference (Infer 1-100)
10
+ - 📈 Knowledge tracking per inference (Cycle 1-100)
11
11
  - 🧠 Complete audit trail of created knowledge
12
12
  - 🎯 Guided documentation paths for each dimension
13
13
 
@@ -96,7 +96,7 @@ Runs **after** Write/Edit operations to create knowledge entries:
96
96
 
97
97
  1. 📝 Creates knowledge entry with ontology dimension mapping
98
98
  2. 🏷️ Tags with semantic labels (dimension:*, artifact:*, technology:*, etc.)
99
- 3. 🔗 Links to current inference context (Infer 1-100)
99
+ 3. 🔗 Links to current inference context (Cycle 1-100)
100
100
  4. 💾 Saves to daily knowledge log (~/.claude/knowledge-log/)
101
101
  5. 🔐 Generates content hash for versioning
102
102
  6. 📊 Tracks ontology version (3.0.0)
@@ -374,7 +374,7 @@ These hooks implement **Dimension 6: Knowledge** while mapping all artifacts to
374
374
  Every artifact created is:
375
375
  1. ✅ Mapped to correct **ontology dimension** (1-6)
376
376
  2. 🏷️ Tagged with **semantic labels** (dimension:*, artifact:*, etc.)
377
- 3. 🔗 Linked to **inference context** (Infer 1-100)
377
+ 3. 🔗 Linked to **inference context** (Cycle 1-100)
378
378
  4. 📊 Indexed for **RAG search** (embeddings ready)
379
379
  5. 🎯 Guided to **dimension docs** (ontology alignment)
380
380
 
@@ -439,7 +439,7 @@ Remove from `.claude/settings.local.json`:
439
439
  ## See Also
440
440
 
441
441
  - **`validate-ontology-structure.py`**: Validates 6-dimension ontology structure
442
- - **`todo.py`**: Inference context tracking (Infer 1-100)
442
+ - **`todo.py`**: Inference context tracking (Cycle 1-100)
443
443
  - **`done.py`**: Marks inferences complete
444
444
  - **`/one/knowledge/ontology.md`**: Complete 6-dimension ontology spec (Version 3.0.0)
445
445
  - **`/one/knowledge/todo.md`**: 100-inference execution sequence
@@ -56,15 +56,15 @@ dimension=$(get_inference_dimension 15)
56
56
  ```
57
57
 
58
58
  **Dimension Mapping:**
59
- - Infer 1-10: `foundation` (setup and validation)
60
- - Infer 11-30: `things` (backend schema & frontend components)
61
- - Infer 31-40: `connections` (integration & relationships)
62
- - Infer 41-50: `people` (authentication & authorization)
63
- - Infer 51-60: `knowledge` (RAG & embeddings)
64
- - Infer 61-70: `quality` (testing & validation)
65
- - Infer 71-80: `design` (wireframes & UI)
66
- - Infer 81-90: `events` (performance & optimization)
67
- - Infer 91-100: `deployment` (deployment & documentation)
59
+ - Cycle 1-10: `foundation` (setup and validation)
60
+ - Cycle 11-30: `things` (backend schema & frontend components)
61
+ - Cycle 31-40: `connections` (integration & relationships)
62
+ - Cycle 41-50: `people` (authentication & authorization)
63
+ - Cycle 51-60: `knowledge` (RAG & embeddings)
64
+ - Cycle 61-70: `quality` (testing & validation)
65
+ - Cycle 71-80: `design` (wireframes & UI)
66
+ - Cycle 81-90: `events` (performance & optimization)
67
+ - Cycle 91-100: `deployment` (deployment & documentation)
68
68
 
69
69
  #### get_specialist_agent(hook_name)
70
70
  Detects specialist agent from hook name patterns.
@@ -91,7 +91,7 @@ Logs a message with ontology context.
91
91
 
92
92
  ```bash
93
93
  log_message "INFO" "Processing user entities"
94
- # Output: [2025-11-03 21:32:23] [INFO] [Infer 15] [things] Processing user entities
94
+ # Output: [2025-11-03 21:32:23] [INFO] [Cycle 15] [things] Processing user entities
95
95
  ```
96
96
 
97
97
  #### log_hook_execution(hook_name, command, start_time, end_time, exit_code)
@@ -107,7 +107,7 @@ log_hook_execution "backend-mutation" "test" "$start" "$end" 0
107
107
  **Output:**
108
108
  ```
109
109
  [2025-11-03 21:32:23] [EVENT] hook_executed | hook=backend-mutation | inference=15 | dimension=things | agent=agent-backend | duration=134ms | exit_code=0 | ontology_version=1.0.0
110
- [2025-11-03 21:32:23] [INFO] [Infer 15] [things] Hook completed successfully: backend-mutation
110
+ [2025-11-03 21:32:23] [INFO] [Cycle 15] [things] Hook completed successfully: backend-mutation
111
111
  ```
112
112
 
113
113
  #### get_time_ms()
@@ -122,12 +122,12 @@ start=$(get_time_ms)
122
122
 
123
123
  ### Standard Log Entry
124
124
  ```
125
- [timestamp] [level] [Infer N] [dimension] message
125
+ [timestamp] [level] [Cycle N] [dimension] message
126
126
  ```
127
127
 
128
128
  Example:
129
129
  ```
130
- [2025-11-03 21:32:23] [INFO] [Infer 15] [things] Hook completed successfully: backend-mutation
130
+ [2025-11-03 21:32:23] [INFO] [Cycle 15] [things] Hook completed successfully: backend-mutation
131
131
  ```
132
132
 
133
133
  ### Event Log Entry
@@ -0,0 +1,73 @@
1
+ #!/bin/bash
2
+
3
+ # Clean Markdown Hook - ONE Platform
4
+ # Moves unwanted markdown files to one/events/
5
+ # Root allowed: README.md, CLAUDE.md, AGENTS.md, LICENSE.md, SECURITY.md
6
+ # /web allowed: README.md, CLAUDE.md, AGENTS.md, LICENSE.md, SECURITY.md
7
+ # Everything else moves to one/events/ (6-dimension EVENTS dimension)
8
+
9
+ PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}"
10
+ EVENTS_DIR="$PROJECT_DIR/one/events"
11
+
12
+ # Allowed files (same for both root and web)
13
+ ALLOWED_FILES=(
14
+ "README.md"
15
+ "CLAUDE.md"
16
+ "AGENTS.md"
17
+ "LICENSE.md"
18
+ "SECURITY.md"
19
+ )
20
+
21
+ # Create events directory if it doesn't exist
22
+ mkdir -p "$EVENTS_DIR"
23
+
24
+ # Function to clean markdown files in a directory
25
+ clean_directory() {
26
+ local dir="$1"
27
+ local dir_name=$(basename "$dir")
28
+
29
+ if [ ! -d "$dir" ]; then
30
+ return
31
+ fi
32
+
33
+ # Find all markdown files in this directory (max depth 1)
34
+ while IFS= read -r file; do
35
+ filename=$(basename "$file")
36
+
37
+ # Check if file is in allowed list
38
+ is_allowed=0
39
+ for allowed in "${ALLOWED_FILES[@]}"; do
40
+ if [ "$filename" = "$allowed" ]; then
41
+ is_allowed=1
42
+ break
43
+ fi
44
+ done
45
+
46
+ # If not allowed, move it to one/events/
47
+ if [ $is_allowed -eq 0 ]; then
48
+ # Add timestamp and source directory to avoid collisions
49
+ timestamp=$(date +%Y%m%d-%H%M%S)
50
+
51
+ # If root, just use filename; if /web, prefix with "web-"
52
+ if [ "$dir_name" = "web" ]; then
53
+ new_name="web-${filename%.md}-${timestamp}.md"
54
+ else
55
+ new_name="${filename%.md}-${timestamp}.md"
56
+ fi
57
+
58
+ echo "Moving $(basename "$file") → one/events/$new_name"
59
+ mv "$file" "$EVENTS_DIR/$new_name"
60
+
61
+ # Stage the changes for git
62
+ git add -A "$file" "$EVENTS_DIR/$new_name" 2>/dev/null || true
63
+ fi
64
+ done < <(find "$dir" -maxdepth 1 -name "*.md" -type f)
65
+ }
66
+
67
+ # Clean root directory
68
+ clean_directory "$PROJECT_DIR"
69
+
70
+ # Clean /web directory
71
+ clean_directory "$PROJECT_DIR/web"
72
+
73
+ exit 0