oneie 2.0.8 → 2.0.9

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/CLAUDE.md CHANGED
@@ -284,6 +284,23 @@ bun test --watch
284
284
  - **Backend**: Convex Cloud (`shocking-falcon-870.convex.cloud`)
285
285
  - **Edge Runtime**: Cloudflare Workers compatibility
286
286
 
287
+ ## Root Directory File Policy
288
+
289
+ **CRITICAL:** Only these markdown files belong in the root directory:
290
+ - **README.md** - Platform overview and quick start
291
+ - **LICENSE.md** - Legal terms and conditions
292
+ - **CLAUDE.md** - Claude Code instructions (this file)
293
+ - **AGENTS.md** - AI agent coordination and rules
294
+
295
+ All other documentation belongs in the `one/` directory following the 6-dimension ontology:
296
+ - **one/events/** - Deployment plans, release notes, test results, agent summaries
297
+ - **one/knowledge/** - Architecture, patterns, rules, guides
298
+ - **one/connections/** - Protocols, workflows, integrations
299
+ - **one/things/** - Specifications, plans, agent definitions
300
+ - **one/people/** - Roles, governance, organization
301
+
302
+ **Why:** This keeps the root clean and scannable, while organizing all documentation by ontology dimensions.
303
+
287
304
  ## File Structure
288
305
 
289
306
  ```
@@ -310,7 +327,7 @@ ONE/
310
327
  ├── one/ # Platform documentation (41 files)
311
328
  │ ├── connections/ # Ontology, protocols, patterns
312
329
  │ ├── things/ # Architecture, specifications
313
- │ ├── events/ # Event specifications
330
+ │ ├── events/ # Event specifications, deployment history
314
331
  │ ├── knowledge/ # RAG, AI, implementation
315
332
  │ └── people/ # Roles, groups, governance
316
333
  │
package/folders.yaml CHANGED
@@ -87,6 +87,6 @@ exclude_patterns:
87
87
  deployment:
88
88
  github_repo: one-ie/one
89
89
  npm_package: oneie
90
- version: 2.0.8
90
+ version: 2.0.9
91
91
  homepage: https://one.ie
92
92
  license_url: https://one.ie/free-license
@@ -171,6 +171,17 @@
171
171
  },
172
172
  "active": "613025f84d05f0e8",
173
173
  "lastOpenFiles": [
174
+ "things/agents/agent-deploy.md",
175
+ "events/2025-10-15-private-files-secured.md",
176
+ "events/2024-10-14-final-sync-complete.md",
177
+ "events/2024-10-15-release-command-complete.md",
178
+ "events/2024-10-15-package-manager-tests.md",
179
+ "events/2024-10-15-handoff-to-clean.md",
180
+ "events/2024-10-15-agent-clean-v2-summary.md",
181
+ "events/2024-10-14-release-v2.0.6.md",
182
+ "events/2024-10-14-deployment-success.md",
183
+ "events/CLEANUP-RELEASE-V2.0.8.md",
184
+ "events/2024-10-14-deployment-plan.md",
174
185
  "README.md",
175
186
  "readme.md",
176
187
  "knowledge/metadata-system.md",
@@ -188,18 +199,7 @@
188
199
  "things/plans/deploy-to-cloudflare.md",
189
200
  "things/plans/backend-agnostic-frontend.md",
190
201
  "things/plans/3-groups.md",
191
- "things/plans/2-backend-agnostic-frontend.md",
192
- "things/plans/1-create-workflow-status.md",
193
- "things/ideas/2-backend-agnostic-frontend.md",
194
- "things/features/top-features.md",
195
- "things/features/remove-convex-deps.md",
196
- "things/features/improve.md",
197
- "things/features/dataprovider-interface/1-tests.md",
198
202
  "things/features/dataprovider-interface",
199
- "things/features/IMPLEMENTATION_SUMMARY.md",
200
- "things/features/DEPLOYMENT.md",
201
- "things/features/DECOUPLING.md",
202
- "things/features/AUTH_HOOKS_IMPLEMENTATION.md",
203
203
  "things/cli",
204
204
  "things/cascade/docs/examples/1-6-numbering-structure",
205
205
  "things/cascade/docs/examples/1-5-quality-loops",
package/one/README.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  > **Every intelligent system needs a coherent model of reality.**
4
4
 
5
+ ██████╗ ███╗ ██╗███████╗
6
+ ██╔═══██╗████╗ ██║██╔════╝
7
+ ██║ ██║██╔██╗ ██║█████╗
8
+ ██║ ██║██║╚██╗██║██╔══╝
9
+ ╚██████╔╝██║ ╚████║███████╗
10
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
11
+
12
+ Make Your Ideas Real
13
+
14
+ https://one.ie • npx oneie
15
+
5
16
  The ONE Ontology gives AI agents—and the humans who direct them—a complete, scalable architecture for understanding **who owns what, who can do what, what happened, and what it all means.**
6
17
 
7
18
  [![License](https://img.shields.io/badge/license-FREE-blue.svg)](../LICENSE.md)
@@ -0,0 +1,331 @@
1
+ ---
2
+ type: event
3
+ eventType: deployment
4
+ category: infrastructure
5
+ tags: [deployment, planning, release-management, infrastructure]
6
+ created: 2024-10-14
7
+ updated: 2024-10-14
8
+ status: completed
9
+ timestamp: 2024-10-14
10
+ kpis:
11
+ complexity: 7
12
+ impact: 9
13
+ completeness: 10
14
+ quality: 9
15
+ documentation: 10
16
+ score: 9.0
17
+ groupId: platform
18
+ actorRole: platform_owner
19
+ ---
20
+
21
+ # ONE Platform Full Deployment Plan
22
+
23
+ **Date**: 2025-10-14
24
+ **Version**: 2.0.4 → 2.0.5 (new patch release)
25
+ **Target**: npm + GitHub
26
+ **Status**: Ready for Execution ✅
27
+
28
+ ## Pre-Deployment Status
29
+
30
+ ### ✅ All Critical Checks Passed
31
+
32
+ - ✅ Repository structure validated
33
+ - ✅ npm authentication confirmed (logged in as: oneie)
34
+ - ✅ CLI binary exists and valid
35
+ - ✅ Build validated (9 JS files compiled)
36
+ - ✅ 397 ontology files synced
37
+ - ✅ Version format valid (semver)
38
+ - ✅ npm publish dry-run passed
39
+ - ✅ GitHub CLI authenticated
40
+ - ✅ Security: .npmignore excludes .env files
41
+
42
+ ### ⚠️ Acceptable Warnings (7)
43
+
44
+ 1. **one/**: On branch 'dev' (will merge to main during release)
45
+ 2. **one/**: 27 uncommitted changes (will commit during release)
46
+ 3. **web/**: 37 uncommitted changes (will commit during release)
47
+ 4. **backend/**: 12 uncommitted changes (will commit during release)
48
+ 5. **cli/**: 79 uncommitted changes (will commit during release)
49
+ 6. **apps/one/**: 5 uncommitted changes (will commit during release)
50
+ 7. **License**: May need review (not blocking)
51
+
52
+ ## Deployment Strategy
53
+
54
+ ### Phase 1: Version Bump (AUTOMATED)
55
+
56
+ ```bash
57
+ ./scripts/release.sh patch
58
+ ```
59
+
60
+ **This will:**
61
+ 1. Bump version: 2.0.4 → 2.0.5
62
+ 2. Update cli/package.json
63
+ 3. Update cli/folders.yaml
64
+ 4. Sync all documentation (503 ontology + 49 .claude files)
65
+ 5. Generate apps/one/README.md
66
+ 6. Show git status for review
67
+
68
+ **User actions:**
69
+ - Answer 'y' to commit prompts
70
+ - Answer 'y' to push prompts
71
+ - Answer 'y' to tag creation
72
+
73
+ **Duration**: ~30 seconds
74
+
75
+ ### Phase 2: Git Repository Pushes (AUTOMATED)
76
+
77
+ The release script will prompt for:
78
+
79
+ 1. **one/** → `one-ie/ontology`
80
+ - Commit: "chore: update ontology documentation"
81
+ - 27 files to commit
82
+
83
+ 2. **web/** → `one-ie/web`
84
+ - Commit: "feat: update web frontend"
85
+ - 37 files to commit
86
+
87
+ 3. **backend/** → `one-ie/backend`
88
+ - Commit: "feat: update backend services"
89
+ - 12 files to commit
90
+
91
+ 4. **cli/** → `one-ie/cli`
92
+ - Commit: "chore: release v2.0.5"
93
+ - 79 files to commit
94
+ - Tag: v2.0.5
95
+
96
+ 5. **apps/one/** → `one-ie/one`
97
+ - Commit: "chore: release v2.0.5"
98
+ - 5 files to commit
99
+ - Tag: v2.0.5
100
+
101
+ **Duration**: ~60 seconds
102
+
103
+ ### Phase 3: npm Publish (MANUAL)
104
+
105
+ ```bash
106
+ cd cli
107
+ npm publish --access public
108
+ ```
109
+
110
+ **Verification:**
111
+ ```bash
112
+ npm view oneie@2.0.5
113
+ npx oneie@latest --version # Should show 2.0.5
114
+ ```
115
+
116
+ **Duration**: ~10 seconds
117
+
118
+ ### Phase 4: Test Installation (VERIFICATION)
119
+
120
+ ```bash
121
+ # Test global install
122
+ npm install -g oneie@latest
123
+
124
+ # Test npx usage
125
+ npx oneie@latest --version
126
+
127
+ # Test project creation
128
+ npx oneie@latest init test-deployment
129
+ cd test-deployment
130
+ ls -la # Verify structure
131
+ ```
132
+
133
+ **Expected structure:**
134
+ ```
135
+ test-deployment/
136
+ ├── one/ # 397 ontology files
137
+ ├── .claude/ # 49 config files
138
+ ├── CLAUDE.md
139
+ ├── README.md
140
+ └── LICENSE.md
141
+ ```
142
+
143
+ **Duration**: ~30 seconds
144
+
145
+ ### Phase 5: GitHub Releases (MANUAL)
146
+
147
+ Create releases for tagged versions:
148
+
149
+ **CLI Release** (https://github.com/one-ie/cli/releases/new):
150
+ ```
151
+ Tag: v2.0.5
152
+ Title: ONE CLI v2.0.5
153
+ Description:
154
+ ## What's New
155
+ - Synced 6-dimension ontology (397 files)
156
+ - Updated Claude Code configuration (15 agents, 14 hooks, 12 commands)
157
+ - Security: Enhanced .npmignore to exclude .env files
158
+ - Updated version management across all configs
159
+
160
+ ## Installation
161
+ ```bash
162
+ npm install -g oneie
163
+ # or
164
+ npx oneie@latest --version
165
+ ```
166
+
167
+ ## Quick Start
168
+ ```bash
169
+ npx oneie init my-project
170
+ cd my-project
171
+ cd web && bun install && bun run dev
172
+ ```
173
+ ```
174
+
175
+ **Master Assembly Release** (https://github.com/one-ie/one/releases/new):
176
+ ```
177
+ Tag: v2.0.5
178
+ Title: ONE Platform v2.0.5
179
+ Description:
180
+ ## Complete ONE Platform Release
181
+
182
+ This release includes:
183
+ - ✅ 6-dimension ontology (Groups, People, Things, Connections, Events, Knowledge)
184
+ - ✅ 397 documentation files
185
+ - ✅ 15 Claude Code AI agents
186
+ - ✅ Complete deployment system
187
+ - ✅ Release automation scripts
188
+
189
+ ## Repositories
190
+ - **CLI**: https://github.com/one-ie/cli
191
+ - **Ontology**: https://github.com/one-ie/ontology
192
+ - **Web**: https://github.com/one-ie/web
193
+ - **Backend**: https://github.com/one-ie/backend
194
+
195
+ ## Get Started
196
+ ```bash
197
+ npx oneie@latest init my-project
198
+ ```
199
+ ```
200
+
201
+ **Duration**: ~5 minutes
202
+
203
+ ### Phase 6: Deploy Web to Cloudflare (OPTIONAL)
204
+
205
+ ```bash
206
+ cd web
207
+ bun run build
208
+ wrangler pages deploy dist --project-name=one-platform
209
+ ```
210
+
211
+ **Duration**: ~2 minutes
212
+
213
+ ## Rollback Plan (If Needed)
214
+
215
+ ### If npm publish fails:
216
+
217
+ ```bash
218
+ # Within 24 hours, can unpublish
219
+ npm unpublish oneie@2.0.5
220
+
221
+ # Or deprecate
222
+ npm deprecate oneie@2.0.5 "Use 2.0.4 instead"
223
+ ```
224
+
225
+ ### If critical bug found:
226
+
227
+ ```bash
228
+ # Hotfix process
229
+ git checkout -b hotfix/2.0.6 v2.0.5
230
+ # Fix bug
231
+ ./scripts/release.sh patch # Creates 2.0.6
232
+ cd cli && npm publish --access public
233
+ ```
234
+
235
+ ### If need to revert git:
236
+
237
+ ```bash
238
+ # Revert commits
239
+ cd cli
240
+ git revert HEAD
241
+ git push origin main
242
+
243
+ cd ../apps/one
244
+ git revert HEAD
245
+ git push origin main
246
+ ```
247
+
248
+ ## Success Criteria
249
+
250
+ After deployment, verify:
251
+
252
+ - [ ] `npx oneie@latest --version` shows 2.0.5
253
+ - [ ] `npx oneie@latest init test-project` creates correct structure
254
+ - [ ] test-project has 397 ontology files in one/
255
+ - [ ] test-project has .claude/ with agents, hooks, commands
256
+ - [ ] GitHub releases created for cli and apps/one
257
+ - [ ] npm shows version 2.0.5 at https://www.npmjs.com/package/oneie
258
+ - [ ] No critical errors in first 24 hours
259
+
260
+ ## Post-Deployment Tasks
261
+
262
+ 1. **Update documentation site** (if needed)
263
+ ```bash
264
+ cd docs && npm run build && wrangler pages deploy dist
265
+ ```
266
+
267
+ 2. **Announce release**
268
+ - Tweet from @ONE_ie
269
+ - Post to Discord/Slack
270
+ - Update website
271
+
272
+ 3. **Monitor npm downloads**
273
+ ```bash
274
+ npm info oneie
275
+ ```
276
+
277
+ 4. **Monitor GitHub stars/forks**
278
+ - https://github.com/one-ie/one
279
+ - https://github.com/one-ie/cli
280
+
281
+ ## Timeline
282
+
283
+ | Phase | Duration | Type |
284
+ |-------|----------|------|
285
+ | 1. Version bump & sync | 30s | Automated |
286
+ | 2. Git pushes | 60s | Automated (with prompts) |
287
+ | 3. npm publish | 10s | Manual |
288
+ | 4. Test installation | 30s | Verification |
289
+ | 5. GitHub releases | 5m | Manual |
290
+ | 6. Cloudflare deploy | 2m | Optional |
291
+ | **Total** | **~8 minutes** | **Full deployment** |
292
+
293
+ ## Risk Assessment
294
+
295
+ ### Low Risk ✅
296
+ - Version bump (automated, tested)
297
+ - Documentation sync (tested with 552 files)
298
+ - Git commits and pushes (reversible)
299
+ - npm publish (can deprecate if issues)
300
+
301
+ ### Medium Risk ⚠️
302
+ - Breaking changes in ontology (mitigated by semver patch)
303
+ - npm package size (mitigated by .npmignore)
304
+
305
+ ### High Risk ❌
306
+ - None identified
307
+
308
+ ## Go/No-Go Decision
309
+
310
+ ### GO ✅
311
+
312
+ **Reasons:**
313
+ 1. All pre-deployment checks passed (0 errors)
314
+ 2. Version validated and ready (2.0.5)
315
+ 3. Test release completed successfully
316
+ 4. npm authentication confirmed
317
+ 5. GitHub authentication confirmed
318
+ 6. Rollback procedures documented
319
+ 7. All critical files present and valid
320
+ 8. Build artifacts validated
321
+ 9. Security checks passed
322
+ 10. Documentation comprehensive (397 files)
323
+
324
+ **Recommendation**: ✅ PROCEED WITH DEPLOYMENT
325
+
326
+ ---
327
+
328
+ **Prepared by**: Claude Code
329
+ **Reviewed on**: 2025-10-14
330
+ **Approval**: Ready for execution
331
+ **Next step**: Run `./scripts/release.sh patch`