openalmanac 0.2.38 → 0.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openalmanac",
3
- "version": "0.2.38",
3
+ "version": "0.2.40",
4
4
  "description": "OpenAlmanac — pull, edit, and push articles to the open knowledge base",
5
5
  "type": "module",
6
6
  "bin": {
@@ -108,22 +108,24 @@ When the download finishes, run the filter step:
108
108
  node ${CLAUDE_SKILL_DIR}/scripts/ingest.js <subreddit> filter --stats-only
109
109
  ```
110
110
 
111
- This shows the quality distribution how many posts at each quality level, with sample posts. Use this to decide the right quality threshold. Then present it to the user:
111
+ This returns quality scores and sample posts at each level. Present the results as a table:
112
112
 
113
113
  ```
114
114
  Download complete. X posts, Y comments from r/<subreddit>.
115
115
 
116
- Here's what the data looks like:
116
+ | Quality | Posts | What's in it | Example |
117
+ |-----------|-------|--------------|---------|
118
+ | **high** | ~300 | Best guides, deep discussions, tutorials | "I designed a mechanism to make locks unpickable" (279 upvotes) |
119
+ | **medium** (recommended) | ~900 | Solid community knowledge, good Q&A | "Does anyone know about this lock?" (19 upvotes, 9 comments) |
120
+ | **low** | ~1,800 | Includes casual posts and quick questions | "Mul-T-Lock Interactive" (31 upvotes) |
121
+ | **all** | ~3,000 | Everything that isn't deleted | — |
117
122
 
118
- high quality (top 10%): ~300 posts best discussions, guides, educational content
119
- medium (top 30%): ~900 posts solid community knowledge
120
- low (top 60%): ~1,800 posts — includes questions and casual posts
121
- all: ~3,000 posts
122
-
123
- I'd recommend medium for the foundation — good balance of quality and coverage.
124
- We can dip into the rest during Phase 2.
123
+ I'd recommend medium good balance of quality and coverage.
124
+ We can always dip into the rest during Phase 2.
125
125
  ```
126
126
 
127
+ Fill in the actual numbers and sample titles from the `--stats-only` output. The samples make it real — the user can see what kind of posts are at each level.
128
+
127
129
  Wait for the user to pick (or confirm your recommendation), then run:
128
130
 
129
131
  ```bash
@@ -154,18 +156,30 @@ Read 20-30 corpus entries (prioritize high-score posts) to understand the landsc
154
156
  list_articles(community_slug: "<subreddit>", sort: "most_referenced")
155
157
  ```
156
158
 
157
- Identify 15-20 core topics grouped by theme. These should be the foundational articles every reader of this wiki would expect. Present them to the user grouped by theme:
159
+ Identify 15-20 core articles. **Favor nouns over themes** specific things people would look up, not vague survey topics.
160
+
161
+ - **~70% nouns:** Specific locks, tools, people, techniques, concepts. "American Lock 1100", "Spool Pin", "Tension Wrench", "LockPickingLawyer". These are the building blocks — what people search for, link to, and learn from.
162
+ - **~30% structural themes:** Only the big ones that serve as entry points and tie nouns together. "Belt System", "Lock Picking Basics". Not vague surveys — each should be a real article that teaches something.
163
+
164
+ Bad: "Security Pin Mechanics" (vague theme, reads like a textbook chapter)
165
+ Good: "Spool Pin", "Serrated Pin", "Mushroom Pin" (specific nouns — then link them from a "Security Pins" overview)
166
+
167
+ Present them to the user grouped by category, but make clear most articles are about specific things:
158
168
 
159
169
  ```
160
170
  Here's what I'd build for the foundation:
161
171
 
162
- Lock Anatomy
163
- Cylinder, Warding, Master Keying
172
+ Locks
173
+ American Lock 1100, Abus 55/40, Master Lock #3, Kwikset SmartKey
174
+
175
+ Components
176
+ › Spool Pin, Serrated Pin, Tension Wrench, Key Pin
164
177
 
165
178
  Techniques
166
- › Bumping, Comb Picking, Impressioning
179
+ › Bumping, Raking, Single Pin Picking
167
180
 
168
- [etc.]
181
+ Community
182
+ › LockPickingLawyer, BosnianBill, Belt System
169
183
 
170
184
  Want to add or change anything?
171
185
  ```
@@ -355,6 +369,11 @@ openalmanac.org/communities/<subreddit>/wiki
355
369
  - The description should have personality — capture the community's vibe, not a generic taxonomy
356
370
  - Find a good cover image with `search_images`
357
371
 
372
+ ### File access
373
+ - Use `Glob` and `Read` tools to browse and read files in `~/.openalmanac/` — do NOT use `Bash(ls ...)` or `Bash(cat ...)`
374
+ - Use `Write` and `Edit` tools to modify files — do NOT use `Bash(echo ...)` or `Bash(sed ...)`
375
+ - The only Bash command you should use is the ingest script
376
+
358
377
  ### What NOT to do
359
378
  - Don't estimate how long things will take
360
379
  - Don't make small talk or ask personal questions