oneie 3.6.17 → 3.6.20
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/agents/agent-ops.md +63 -2
- package/.claude/commands/commit.md +95 -0
- package/.claude/commands/npx.md +2 -2
- package/.claude/commands/one.md +7 -1
- package/.claude/commands/push.md +113 -21
- package/.claude/commands/release.md +2 -2
- package/.claude/hooks/release-cli.sh +195 -0
- package/CLAUDE.md +119 -0
- package/README.md +778 -497
- package/package.json +1 -1
- package/.claude/agents/NEWS-QUICKSTART.md +0 -321
- package/.claude/agents/NEWS-README.md +0 -353
- package/.claude/hooks/README-knowledge-hooks.md +0 -451
- package/.claude/hooks/README-root-cleanup.md +0 -200
- package/.claude/hooks/README.md +0 -284
- package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/check-filenames.py +0 -177
- package/.claude/hooks/clean-post.py +0 -468
- package/.claude/hooks/clean-pre.py +0 -393
- package/.claude/hooks/clean-root-markdown.sh +0 -73
- package/.claude/hooks/done.py +0 -236
- package/.claude/hooks/format-hook.sh +0 -163
- package/.claude/hooks/hook-logger.sh +0 -173
- package/.claude/hooks/knowledge-post.py +0 -355
- package/.claude/hooks/knowledge-pre.py +0 -245
- package/.claude/hooks/notification-hook.sh +0 -279
- package/.claude/hooks/root-cleanup.py +0 -217
- package/.claude/hooks/security-hook.sh +0 -397
- package/.claude/hooks/tag-all-docs.py +0 -464
- package/.claude/hooks/test-validate-ontology.sh +0 -170
- package/.claude/hooks/todo.py +0 -368
- package/.claude/hooks/track-changes.sh +0 -101
- package/.claude/hooks/validate-ontology-structure-summary.md +0 -243
- package/.claude/hooks/validate-ontology-structure.py +0 -518
- package/TESTING-ONBOARDING.md +0 -185
package/package.json
CHANGED
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
# News Curation System - Quick Start
|
|
2
|
-
|
|
3
|
-
**Speed:** 7-10 minutes from topic request to published article
|
|
4
|
-
**Quality:** 2-3 carefully curated articles per session
|
|
5
|
-
**Feedback:** Real-time improvement based on user input
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## How It Works (5 Simple Steps)
|
|
10
|
-
|
|
11
|
-
### 1️⃣ **You Ask for News Topic**
|
|
12
|
-
```
|
|
13
|
-
User: "I want news about AI agents and multi-agent systems"
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Agent asks clarifying questions:
|
|
17
|
-
- "Any specific angle? (building, research, business, deployment)"
|
|
18
|
-
- "How technical should it be?"
|
|
19
|
-
- "Any platforms you want to focus on?"
|
|
20
|
-
|
|
21
|
-
### 2️⃣ **Agent Searches the Web**
|
|
22
|
-
```
|
|
23
|
-
Search: "AI agents multi-agent systems news 2025"
|
|
24
|
-
"Agent architecture breakthroughs"
|
|
25
|
-
"Multi-agent deployment patterns"
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Returns ranked list (top 5-10 sources):
|
|
29
|
-
- OpenAI Blog (95% relevant)
|
|
30
|
-
- Anthropic Research (92% relevant)
|
|
31
|
-
- Hacker News (75% relevant)
|
|
32
|
-
- Dev.to (70% relevant)
|
|
33
|
-
- Medium (65% relevant)
|
|
34
|
-
|
|
35
|
-
### 3️⃣ **Agent Crawls Top Articles**
|
|
36
|
-
For each source:
|
|
37
|
-
- Fetch full article content
|
|
38
|
-
- Extract key points (3-5 bullets)
|
|
39
|
-
- Check relevance (must be > 60/100)
|
|
40
|
-
- Grab image if available
|
|
41
|
-
|
|
42
|
-
Typical decision: Include top 3-5 articles that meet relevance threshold
|
|
43
|
-
|
|
44
|
-
### 4️⃣ **Agent Rewrites in Your Voice**
|
|
45
|
-
Takes original article and rewrites:
|
|
46
|
-
- Shorter, punchier headlines
|
|
47
|
-
- Emphasis on "why it matters" to ONE Platform
|
|
48
|
-
- Platform terminology used naturally
|
|
49
|
-
- Practical implications highlighted
|
|
50
|
-
- Original source linked
|
|
51
|
-
|
|
52
|
-
**Voice:** Professional, knowledgeable, helpful (not sensational)
|
|
53
|
-
|
|
54
|
-
### 5️⃣ **You Review & Approve**
|
|
55
|
-
Agent shows you the draft:
|
|
56
|
-
```markdown
|
|
57
|
-
---
|
|
58
|
-
title: "AI Agents Getting Smarter at Multi-Step Reasoning"
|
|
59
|
-
description: "..."
|
|
60
|
-
date: 2025-10-30
|
|
61
|
-
category: AI
|
|
62
|
-
relevanceScore: 85
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
[Article content]
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
**You choose:**
|
|
69
|
-
- ✅ **Publish** - Great! Goes live immediately
|
|
70
|
-
- ✏️ **Edit** - Give specific feedback for improvement
|
|
71
|
-
- ❌ **Skip** - Not the right fit, try next one
|
|
72
|
-
|
|
73
|
-
**Quick Feedback:**
|
|
74
|
-
- "This is great! Style like this going forward"
|
|
75
|
-
- "Too technical, make it more business-focused"
|
|
76
|
-
- "Love this one!"
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## File Structure
|
|
81
|
-
|
|
82
|
-
```
|
|
83
|
-
web/src/
|
|
84
|
-
├── content/
|
|
85
|
-
│ └── news/
|
|
86
|
-
│ ├── 2025-10-30-ai-agents-breakthrough.md
|
|
87
|
-
│ ├── 2025-10-28-astro-5-released.md
|
|
88
|
-
│ └── [more articles...]
|
|
89
|
-
└── pages/
|
|
90
|
-
└── news/
|
|
91
|
-
└── index.astro ← Displays all news articles
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
## Content Collection Schema
|
|
95
|
-
|
|
96
|
-
```yaml
|
|
97
|
-
title: String (required)
|
|
98
|
-
description: String (required)
|
|
99
|
-
date: Date (required)
|
|
100
|
-
author: String (default: "ONE News")
|
|
101
|
-
category: AI | Platform | Technology | Business | Community
|
|
102
|
-
source: String (optional - original URL)
|
|
103
|
-
tags: String[] (optional)
|
|
104
|
-
image: String (optional - image URL)
|
|
105
|
-
draft: Boolean (default: false)
|
|
106
|
-
readingTime: Number (optional - minutes)
|
|
107
|
-
featured: Boolean (default: false)
|
|
108
|
-
relevanceScore: Number (0-100)
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## Writing Style Guide
|
|
114
|
-
|
|
115
|
-
### ONE Platform Voice
|
|
116
|
-
|
|
117
|
-
✅ **Write like this:**
|
|
118
|
-
> "AI agents are getting better at multi-step reasoning. This matters for ONE Platform because our architecture is fundamentally agent-driven. As agents improve at coordinating across the 6-dimension ontology..."
|
|
119
|
-
|
|
120
|
-
❌ **Don't write like this:**
|
|
121
|
-
> "SHOCKING: AI agents undergo MAJOR TRANSFORMATION. Industry observers are STUNNED by the new capabilities..."
|
|
122
|
-
|
|
123
|
-
### Structure
|
|
124
|
-
|
|
125
|
-
1. **Headline** - Clear, benefit-focused
|
|
126
|
-
2. **What Happened** - 2-3 sentences of context
|
|
127
|
-
3. **Why It Matters** - Connection to ONE Platform/users
|
|
128
|
-
4. **Key Points** - 3-5 bullets of actionable insight
|
|
129
|
-
5. **Read More** - Link to original source
|
|
130
|
-
|
|
131
|
-
### Tone
|
|
132
|
-
|
|
133
|
-
- **Clear** - Explain complex topics simply
|
|
134
|
-
- **Direct** - Get to the point quickly
|
|
135
|
-
- **Practical** - Focus on implications, not just news
|
|
136
|
-
- **Balanced** - Report facts, not hype
|
|
137
|
-
- **Helpful** - Assume reader wants to apply this
|
|
138
|
-
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
## Speed Checklist
|
|
142
|
-
|
|
143
|
-
| Step | Time | Checklist |
|
|
144
|
-
|------|------|-----------|
|
|
145
|
-
| **Ask & Clarify** | 1 min | ✅ Understand topic, angle, depth |
|
|
146
|
-
| **Search Web** | 1-2 min | ✅ Find 10+ sources, rank top 5 |
|
|
147
|
-
| **Crawl Articles** | 2-3 min | ✅ Read abstracts, check relevance |
|
|
148
|
-
| **Evaluate** | 1 min | ✅ Pick best 3-5 articles (>60 score) |
|
|
149
|
-
| **Rewrite 1st** | 2-3 min | ✅ Original → ONE voice, preview |
|
|
150
|
-
| **Approve & Publish** | 1 min | ✅ You approve, file created |
|
|
151
|
-
| **Get Feedback** | < 1 min | ✅ "How was that? Any improvements?" |
|
|
152
|
-
| **TOTAL** | **7-10 min** | ✅ Live on `/news` page |
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
## Quality Targets
|
|
157
|
-
|
|
158
|
-
### Relevance Score (0-100)
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
90-100: Direct to ONE Platform, ontology, architecture
|
|
162
|
-
70-90: Adjacent (AI, infrastructure, web dev)
|
|
163
|
-
50-70: Interesting but tangential
|
|
164
|
-
<50: Archive or skip
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
Target: **Publish articles with 70+ relevance score**
|
|
168
|
-
|
|
169
|
-
### Reading Time
|
|
170
|
-
|
|
171
|
-
- **Best:** 3-5 minutes
|
|
172
|
-
- **Min:** 2 minutes
|
|
173
|
-
- **Max:** 8 minutes
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## Feedback Loop
|
|
178
|
-
|
|
179
|
-
### After Publishing
|
|
180
|
-
|
|
181
|
-
**Ask User:**
|
|
182
|
-
1. "How was the writing quality? (1-5 stars)"
|
|
183
|
-
2. "Anything to improve next time?"
|
|
184
|
-
3. "Should I find more like this?"
|
|
185
|
-
|
|
186
|
-
**Collect Feedback:**
|
|
187
|
-
- Quality rating (→ improves writing style)
|
|
188
|
-
- Style preferences (→ technical/business/creative)
|
|
189
|
-
- Topic interests (→ topics to focus on)
|
|
190
|
-
- Length/depth preferences (→ article structure)
|
|
191
|
-
|
|
192
|
-
### Improve Next Batch
|
|
193
|
-
|
|
194
|
-
**Remember preferences:**
|
|
195
|
-
- If user gives 5 stars on technical article → write more technical
|
|
196
|
-
- If feedback: "too long" → shorter articles next time
|
|
197
|
-
- If interested in AI → prioritize AI topics
|
|
198
|
-
|
|
199
|
-
**Track performance:**
|
|
200
|
-
- Which topics get most engagement?
|
|
201
|
-
- Which writing styles resonate?
|
|
202
|
-
- Which sources are most reliable?
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## Commands to Use
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
# Start news curation
|
|
210
|
-
/news "AI agents"
|
|
211
|
-
|
|
212
|
-
# Multiple topics at once
|
|
213
|
-
/news "AI agents, Astro, DevOps"
|
|
214
|
-
|
|
215
|
-
# Check recent articles
|
|
216
|
-
/news-check
|
|
217
|
-
|
|
218
|
-
# Get feedback on writing
|
|
219
|
-
/news-feedback "Great article! Love the practical angle"
|
|
220
|
-
|
|
221
|
-
# Configure preferences
|
|
222
|
-
/news-settings
|
|
223
|
-
|
|
224
|
-
# See all published news
|
|
225
|
-
/news-list
|
|
226
|
-
|
|
227
|
-
# Archive old articles
|
|
228
|
-
/news-archive [date]
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
## Example: Complete Workflow
|
|
234
|
-
|
|
235
|
-
**You:** "I want news about AI agents"
|
|
236
|
-
|
|
237
|
-
**Agent:**
|
|
238
|
-
> Great! A few quick questions:
|
|
239
|
-
> - Any specific angle? (research/tools/deployment/business)
|
|
240
|
-
> - How technical? (beginner/intermediate/advanced)
|
|
241
|
-
> - How long should articles be? (quick/medium/deep)
|
|
242
|
-
|
|
243
|
-
**You:** "Research and deployment, intermediate, medium length"
|
|
244
|
-
|
|
245
|
-
**Agent:**
|
|
246
|
-
> Searching for AI agent news...
|
|
247
|
-
>
|
|
248
|
-
> Found 15 relevant articles. Top 5:
|
|
249
|
-
> 1. OpenAI Blog - "Agent Tools Release" (95%)
|
|
250
|
-
> 2. Anthropic - "Constitutional AI Advances" (92%)
|
|
251
|
-
> 3. Hacker News - "Agent Discussion Thread" (78%)
|
|
252
|
-
> 4. Dev.to - "Building Agents" (72%)
|
|
253
|
-
> 5. Medium - "Agent Architecture" (68%)
|
|
254
|
-
>
|
|
255
|
-
> Crawling top articles...
|
|
256
|
-
>
|
|
257
|
-
> ## Preview
|
|
258
|
-
>
|
|
259
|
-
> **Title:** "AI Agents Get Better at Multi-Step Reasoning"
|
|
260
|
-
>
|
|
261
|
-
> *[article preview]*
|
|
262
|
-
>
|
|
263
|
-
> Ready to publish? (Yes/Edit/Skip)
|
|
264
|
-
|
|
265
|
-
**You:** "Yes"
|
|
266
|
-
|
|
267
|
-
**Agent:**
|
|
268
|
-
> ✅ Published: `/news/2025-10-30-ai-agents-breakthrough.md`
|
|
269
|
-
>
|
|
270
|
-
> Quality feedback? (1-5 stars, comments)
|
|
271
|
-
|
|
272
|
-
**You:** "5 stars! Love the practical angle connecting to ONE"
|
|
273
|
-
|
|
274
|
-
**Agent:**
|
|
275
|
-
> 🎯 Noted! Will write more articles connecting to platform architecture.
|
|
276
|
-
>
|
|
277
|
-
> Want another topic? Or more about AI agents?
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
## Tips for Best Results
|
|
282
|
-
|
|
283
|
-
1. **Be Specific** - "AI agents" not just "AI"
|
|
284
|
-
2. **Mix Breadth & Depth** - 1-2 deep dives, 2-3 quick updates per session
|
|
285
|
-
3. **Regular Feedback** - Quality ratings help improve future articles
|
|
286
|
-
4. **Check Results** - Visit `/news` page to see published articles
|
|
287
|
-
5. **Share Favorites** - Link people to articles that resonate
|
|
288
|
-
|
|
289
|
-
---
|
|
290
|
-
|
|
291
|
-
## Troubleshooting
|
|
292
|
-
|
|
293
|
-
**Q: Articles taking too long?**
|
|
294
|
-
A: Agent is crawling too many sources. Ask for "top 3 articles" instead of "all relevant articles"
|
|
295
|
-
|
|
296
|
-
**Q: Articles not relevant enough?**
|
|
297
|
-
A: Provide more specific topic. Instead of "technology", try "web development frameworks" or "cloud infrastructure"
|
|
298
|
-
|
|
299
|
-
**Q: Writing style off?**
|
|
300
|
-
A: Provide immediate feedback. "Less technical" / "More business-focused" helps agent calibrate
|
|
301
|
-
|
|
302
|
-
**Q: Want different length?**
|
|
303
|
-
A: Tell agent upfront. "Quick 2-min reads" vs "Deep 5-min dives" changes structure
|
|
304
|
-
|
|
305
|
-
---
|
|
306
|
-
|
|
307
|
-
## Next Level
|
|
308
|
-
|
|
309
|
-
Once you're comfortable with basic curation:
|
|
310
|
-
|
|
311
|
-
- **Batch Processing** - "Give me 5 articles on different AI topics"
|
|
312
|
-
- **Auto-Publish** - Mark certain sources as "always publish" (lower review)
|
|
313
|
-
- **Email Digest** - Weekly newsletter of curated news
|
|
314
|
-
- **Trending Topics** - Agent identifies what's trending, you approve
|
|
315
|
-
- **Multi-language** - Translate articles to other languages
|
|
316
|
-
|
|
317
|
-
---
|
|
318
|
-
|
|
319
|
-
**Bottom Line:** 7-10 minutes to curated, published news article in your voice. Fast feedback loop for continuous improvement. Start simple, scale as you like.
|
|
320
|
-
|
|
321
|
-
Get started: `/news "your topic"`
|
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
# ONE Platform News System
|
|
2
|
-
|
|
3
|
-
Fast, feedback-driven news curation system that turns your interests into published articles in 7-10 minutes.
|
|
4
|
-
|
|
5
|
-
## What's New
|
|
6
|
-
|
|
7
|
-
✅ **Content Collection** - `web/src/content/news/` for Astro content API
|
|
8
|
-
✅ **News Page** - `/news/` displays all published articles with filtering
|
|
9
|
-
✅ **News Agent** - Asks questions, searches web, rewrites in your voice
|
|
10
|
-
✅ **Sample Articles** - 2 examples showing the format and voice
|
|
11
|
-
✅ **Quick Start Guide** - Step-by-step workflow with timing
|
|
12
|
-
|
|
13
|
-
## Files Created
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
web/src/
|
|
17
|
-
├── content/
|
|
18
|
-
│ └── config.ts (updated - added news collection)
|
|
19
|
-
│ └── news/ (new)
|
|
20
|
-
│ ├── 2025-10-30-ai-agents-breakthrough.md
|
|
21
|
-
│ └── 2025-10-28-astro-5-released.md
|
|
22
|
-
│
|
|
23
|
-
└── pages/
|
|
24
|
-
└── news/
|
|
25
|
-
└── index.astro (new)
|
|
26
|
-
|
|
27
|
-
.claude/agents/
|
|
28
|
-
├── agent-news.md (new - full agent specification)
|
|
29
|
-
├── NEWS-QUICKSTART.md (new - quick reference)
|
|
30
|
-
└── NEWS-README.md (this file)
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Quick Start
|
|
34
|
-
|
|
35
|
-
### For Users (You)
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
# Start curation workflow
|
|
39
|
-
/news "AI agents"
|
|
40
|
-
|
|
41
|
-
# Agent will:
|
|
42
|
-
1. Ask clarifying questions (30 sec)
|
|
43
|
-
2. Search web for sources (1-2 min)
|
|
44
|
-
3. Crawl top articles (2-3 min)
|
|
45
|
-
4. Rewrite in your voice (2-3 min)
|
|
46
|
-
5. Show preview & ask approval (1 min)
|
|
47
|
-
6. Publish to /news page & get feedback (< 1 min)
|
|
48
|
-
|
|
49
|
-
# Total time: 7-10 minutes to published article
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### For Claude Code
|
|
53
|
-
|
|
54
|
-
The agent (`agent-news.md`) provides:
|
|
55
|
-
- **Input:** Topic request + user preferences
|
|
56
|
-
- **Process:** Web search → crawl → evaluate → rewrite → publish
|
|
57
|
-
- **Output:** Markdown file in `web/src/content/news/`
|
|
58
|
-
- **Feedback:** Quality ratings to improve future articles
|
|
59
|
-
|
|
60
|
-
## System Architecture
|
|
61
|
-
|
|
62
|
-
### Content Collection (Astro)
|
|
63
|
-
|
|
64
|
-
```typescript
|
|
65
|
-
// Type-safe schema for news articles
|
|
66
|
-
interface NewsArticle {
|
|
67
|
-
title: string;
|
|
68
|
-
description: string;
|
|
69
|
-
date: Date;
|
|
70
|
-
author: string;
|
|
71
|
-
category: 'AI' | 'Platform' | 'Technology' | 'Business' | 'Community';
|
|
72
|
-
source?: string; // Original article URL
|
|
73
|
-
tags: string[];
|
|
74
|
-
image?: string;
|
|
75
|
-
draft: boolean;
|
|
76
|
-
readingTime?: number;
|
|
77
|
-
featured: boolean;
|
|
78
|
-
relevanceScore: number; // 0-100
|
|
79
|
-
// Content in markdown body
|
|
80
|
-
}
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### News Page (`/news/`)
|
|
84
|
-
|
|
85
|
-
- ✅ Featured articles at top
|
|
86
|
-
- ✅ Articles grouped by category
|
|
87
|
-
- ✅ Filtering, sorting, tags
|
|
88
|
-
- ✅ Reading time estimates
|
|
89
|
-
- ✅ Relevance scores shown
|
|
90
|
-
- ✅ Links to original sources
|
|
91
|
-
- ✅ Dark mode support
|
|
92
|
-
|
|
93
|
-
### News Agent Workflow
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
1. ASK & UNDERSTAND
|
|
97
|
-
└─ What topics? How technical? What angle?
|
|
98
|
-
|
|
99
|
-
2. SEARCH WEB
|
|
100
|
-
└─ Find 10+ sources, rank by relevance
|
|
101
|
-
|
|
102
|
-
3. RANK SOURCES
|
|
103
|
-
└─ 90-100: Direct relevance
|
|
104
|
-
└─ 70-90: Adjacent (AI, infrastructure)
|
|
105
|
-
└─ 50-70: Interesting but tangential
|
|
106
|
-
└─ <50: Archive
|
|
107
|
-
|
|
108
|
-
4. CRAWL & EVALUATE
|
|
109
|
-
└─ Get full content, check quality, relevance > 60?
|
|
110
|
-
|
|
111
|
-
5. REWRITE
|
|
112
|
-
└─ Original voice → ONE Platform voice
|
|
113
|
-
└─ Add "why it matters" section
|
|
114
|
-
└─ Keep practical angle
|
|
115
|
-
|
|
116
|
-
6. PREVIEW & APPROVE
|
|
117
|
-
└─ You review, approve, edit, or skip
|
|
118
|
-
|
|
119
|
-
7. PUBLISH
|
|
120
|
-
└─ Create markdown file in web/src/content/news/
|
|
121
|
-
|
|
122
|
-
8. FEEDBACK
|
|
123
|
-
└─ Quality rating + preferences for next batch
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
## Writing Style
|
|
127
|
-
|
|
128
|
-
### What We Write
|
|
129
|
-
|
|
130
|
-
✅ Clear explanations of complex topics
|
|
131
|
-
✅ Connection to ONE Platform and users
|
|
132
|
-
✅ Practical implications
|
|
133
|
-
✅ Original sources linked
|
|
134
|
-
✅ Professional, knowledgeable tone
|
|
135
|
-
|
|
136
|
-
### What We Avoid
|
|
137
|
-
|
|
138
|
-
❌ Sensationalism or clickbait
|
|
139
|
-
❌ Unverified claims
|
|
140
|
-
❌ Oversimplification
|
|
141
|
-
❌ Self-promotion
|
|
142
|
-
❌ Academic jargon
|
|
143
|
-
❌ Unsourced statements
|
|
144
|
-
|
|
145
|
-
### Tone
|
|
146
|
-
|
|
147
|
-
- **Conversational** - Like talking to a knowledgeable friend
|
|
148
|
-
- **Helpful** - Focus on "how does this help me?"
|
|
149
|
-
- **Balanced** - Report facts, not opinions
|
|
150
|
-
- **Concise** - Scannable paragraphs, bullet points
|
|
151
|
-
|
|
152
|
-
## Key Features
|
|
153
|
-
|
|
154
|
-
### Speed
|
|
155
|
-
- **7-10 minutes** from topic request to published article
|
|
156
|
-
- **Parallel workflow** - Search while user answers questions
|
|
157
|
-
- **Smart evaluation** - Only publish relevance > 60
|
|
158
|
-
|
|
159
|
-
### Quality
|
|
160
|
-
- **Hand-curated** - You approve before publishing
|
|
161
|
-
- **Your voice** - Rewritten in ONE Platform style
|
|
162
|
-
- **Fact-checked** - Links to original sources
|
|
163
|
-
- **Relevant** - Filtered for platform connection
|
|
164
|
-
|
|
165
|
-
### Feedback Loop
|
|
166
|
-
- **Quality ratings** - Improve writing with each article
|
|
167
|
-
- **Preference learning** - Remember your style choices
|
|
168
|
-
- **Performance tracking** - See which topics resonate
|
|
169
|
-
- **Continuous improvement** - Better articles over time
|
|
170
|
-
|
|
171
|
-
## Examples
|
|
172
|
-
|
|
173
|
-
### Article 1: AI Agents
|
|
174
|
-
```
|
|
175
|
-
Title: "AI Agents Are Getting Smarter at Multi-Step Reasoning"
|
|
176
|
-
Category: AI
|
|
177
|
-
Relevance: 85%
|
|
178
|
-
Length: 4 min read
|
|
179
|
-
Featured: Yes
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
**Why published:**
|
|
183
|
-
- Direct relevance to ONE Platform (agent-driven architecture)
|
|
184
|
-
- Practical implications (multi-step coordination)
|
|
185
|
-
- High quality writing
|
|
186
|
-
- User approval
|
|
187
|
-
|
|
188
|
-
### Article 2: Astro 5
|
|
189
|
-
```
|
|
190
|
-
Title: "Astro 5 Ships with Streaming SSR and Edge Runtime Improvements"
|
|
191
|
-
Category: Platform
|
|
192
|
-
Relevance: 88%
|
|
193
|
-
Length: 5 min read
|
|
194
|
-
Featured: No
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
**Why published:**
|
|
198
|
-
- Direct impact (ONE is built on Astro 5)
|
|
199
|
-
- Performance improvements benefit platform
|
|
200
|
-
- Actionable (Astro version updates)
|
|
201
|
-
- User approval
|
|
202
|
-
|
|
203
|
-
## Using the News Page
|
|
204
|
-
|
|
205
|
-
### View All News
|
|
206
|
-
```
|
|
207
|
-
http://localhost:4321/news
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
### By Category
|
|
211
|
-
Articles automatically grouped:
|
|
212
|
-
- **AI** - Machine learning, agents, reasoning
|
|
213
|
-
- **Platform** - Astro, Convex, tools we use
|
|
214
|
-
- **Technology** - Web dev, infrastructure, performance
|
|
215
|
-
- **Business** - Platform economics, startups
|
|
216
|
-
- **Community** - User stories, integrations
|
|
217
|
-
|
|
218
|
-
### Filter & Search
|
|
219
|
-
- By tags
|
|
220
|
-
- By date (newest first)
|
|
221
|
-
- By reading time
|
|
222
|
-
- Relevance score
|
|
223
|
-
- Featured articles
|
|
224
|
-
|
|
225
|
-
## Integration with ONE Platform
|
|
226
|
-
|
|
227
|
-
### How News Connects to Ontology
|
|
228
|
-
|
|
229
|
-
**Things:** News articles are `thing_type: 'news_article'`
|
|
230
|
-
- `properties.source` - Original URL
|
|
231
|
-
- `properties.relevanceScore` - Platform relevance
|
|
232
|
-
- `properties.content` - Article markdown
|
|
233
|
-
|
|
234
|
-
**Connections:** Links to related topics
|
|
235
|
-
- `published_by` → person (NEWS agent/curator)
|
|
236
|
-
- `references` → other news/articles
|
|
237
|
-
- `category_of` → category (AI, Platform, etc.)
|
|
238
|
-
|
|
239
|
-
**Events:** Track news activity
|
|
240
|
-
- `news_published` - Article went live
|
|
241
|
-
- `news_viewed` - User read article
|
|
242
|
-
- `news_shared` - User shared article
|
|
243
|
-
- `feedback_given` - Quality rating submitted
|
|
244
|
-
|
|
245
|
-
**Knowledge:** RAG for news search
|
|
246
|
-
- Articles chunked and embedded
|
|
247
|
-
- Vector search for semantic matching
|
|
248
|
-
- Recommendations based on reading history
|
|
249
|
-
|
|
250
|
-
### Future Integration
|
|
251
|
-
|
|
252
|
-
1. **Convex Backend** - Store articles, track reads, comments
|
|
253
|
-
2. **Email Digest** - Weekly newsletter of curated news
|
|
254
|
-
3. **Feeds** - Subscribe by category/tag
|
|
255
|
-
4. **Analytics** - Which articles perform best
|
|
256
|
-
5. **Notifications** - Alert on new articles in topic
|
|
257
|
-
6. **AI Summaries** - One-paragraph summaries for scanning
|
|
258
|
-
7. **Multi-language** - Translate to 5+ languages
|
|
259
|
-
|
|
260
|
-
## Getting Started
|
|
261
|
-
|
|
262
|
-
### 1. Run the Dev Server
|
|
263
|
-
```bash
|
|
264
|
-
cd web
|
|
265
|
-
bun run dev
|
|
266
|
-
# Visit http://localhost:4321/news
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
### 2. Start Your First Curation
|
|
270
|
-
```bash
|
|
271
|
-
/news "AI agents"
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### 3. Follow the Workflow
|
|
275
|
-
- Answer agent's questions (30 sec)
|
|
276
|
-
- Review search results (1-2 min)
|
|
277
|
-
- Read article preview (1 min)
|
|
278
|
-
- Approve & publish (1 min)
|
|
279
|
-
|
|
280
|
-
### 4. Give Feedback
|
|
281
|
-
- Rate quality (1-5 stars)
|
|
282
|
-
- Comment on writing style
|
|
283
|
-
- Suggest topics
|
|
284
|
-
|
|
285
|
-
### 5. Iterate
|
|
286
|
-
- Agent learns your preferences
|
|
287
|
-
- Each article better than last
|
|
288
|
-
- Build library of great content
|
|
289
|
-
|
|
290
|
-
## Commands
|
|
291
|
-
|
|
292
|
-
```bash
|
|
293
|
-
/news "topic" # Start curation
|
|
294
|
-
/news-batch "a,b,c" # Multiple topics
|
|
295
|
-
/news-check # View recent articles
|
|
296
|
-
/news-list # All published news
|
|
297
|
-
/news-settings # Configure preferences
|
|
298
|
-
/news-feedback "msg" # Give feedback
|
|
299
|
-
/news-archive [date] # Archive old articles
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
## Documentation
|
|
303
|
-
|
|
304
|
-
- **agent-news.md** - Complete agent specification with workflow
|
|
305
|
-
- **NEWS-QUICKSTART.md** - Quick reference for users
|
|
306
|
-
- **NEWS-README.md** - This file
|
|
307
|
-
|
|
308
|
-
## Success Metrics
|
|
309
|
-
|
|
310
|
-
### Performance
|
|
311
|
-
- ✅ 7-10 min to publish
|
|
312
|
-
- ✅ 2-3 articles per session
|
|
313
|
-
- ✅ User approval rate > 90%
|
|
314
|
-
|
|
315
|
-
### Quality
|
|
316
|
-
- ✅ Average relevance score > 75
|
|
317
|
-
- ✅ User rating > 4/5 stars
|
|
318
|
-
- ✅ Original sources always linked
|
|
319
|
-
- ✅ Factually accurate
|
|
320
|
-
|
|
321
|
-
### Engagement
|
|
322
|
-
- ✅ Readers visit `/news` regularly
|
|
323
|
-
- ✅ Articles shared in community
|
|
324
|
-
- ✅ Feedback shapes future topics
|
|
325
|
-
- ✅ Growing library of content
|
|
326
|
-
|
|
327
|
-
## Philosophy
|
|
328
|
-
|
|
329
|
-
**Keep it simple and fast:**
|
|
330
|
-
- One question at a time
|
|
331
|
-
- Quick feedback loop
|
|
332
|
-
- Ship first, iterate with user input
|
|
333
|
-
- Focus on quality over quantity
|
|
334
|
-
- Publish 2-3 great articles/week
|
|
335
|
-
|
|
336
|
-
**Build on strong foundation:**
|
|
337
|
-
- Use Astro content collections (proven)
|
|
338
|
-
- Follow ONE Platform voice (consistent)
|
|
339
|
-
- Link to original sources (credible)
|
|
340
|
-
- Explain platform relevance (valuable)
|
|
341
|
-
- Iterate based on feedback (improving)
|
|
342
|
-
|
|
343
|
-
**Think long-term:**
|
|
344
|
-
- Build library of evergreen content
|
|
345
|
-
- Each article improves your voice
|
|
346
|
-
- Community learns from curated news
|
|
347
|
-
- Positions ONE as knowledgeable resource
|
|
348
|
-
|
|
349
|
-
---
|
|
350
|
-
|
|
351
|
-
**Status:** ✅ Ready to use
|
|
352
|
-
**Created:** 2025-10-30
|
|
353
|
-
**Next:** Start first news curation → `/news "your topic"`
|