hypomnema 1.8.0 → 1.8.2
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-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +46 -0
- package/README.ko.md +8 -6
- package/README.md +8 -6
- package/commands/crystallize.md +32 -6
- package/commands/graph.md +7 -4
- package/commands/lint.md +8 -1
- package/commands/query.md +6 -4
- package/commands/resume.md +1 -0
- package/commands/verify.md +12 -1
- package/docs/ARCHITECTURE.md +26 -12
- package/docs/CONTRIBUTING.md +15 -6
- package/hooks/hypo-compact-guard.mjs +126 -23
- package/hooks/hypo-cwd-change.mjs +20 -19
- package/hooks/hypo-first-prompt.mjs +31 -16
- package/hooks/hypo-lookup.mjs +10 -5
- package/hooks/hypo-session-start.mjs +180 -2
- package/hooks/hypo-shared.mjs +410 -83
- package/hooks/hypo-web-fetch-ingest.mjs +9 -13
- package/package.json +2 -1
- package/scripts/doctor.mjs +32 -3
- package/scripts/graph.mjs +22 -2
- package/scripts/init.mjs +5 -1
- package/scripts/lib/crystallize-args.mjs +38 -2
- package/scripts/lib/crystallize-close-apply.mjs +745 -450
- package/scripts/lint.mjs +242 -39
- package/scripts/query.mjs +22 -2
- package/scripts/resume.mjs +177 -2
- package/scripts/upgrade.mjs +2 -2
- package/scripts/verify.mjs +22 -2
- package/templates/SCHEMA.md +23 -1
- package/templates/hypo-automation.md +4 -2
- package/templates/hypo-config.md +1 -1
- package/templates/hypo-guide.md +1 -1
- package/skills/crystallize/SKILL.md +0 -189
- package/skills/graph/SKILL.md +0 -58
- package/skills/ingest/SKILL.md +0 -107
- package/skills/lint/SKILL.md +0 -59
- package/skills/query/SKILL.md +0 -62
- package/skills/verify/SKILL.md +0 -96
package/skills/verify/SKILL.md
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Surface wiki knowledge that is stale or past its verify-by date and prompt review. Use when the user asks what needs re-checking, wants to audit knowledge freshness, or is reviewing the wiki for rot.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
You are running `/hypo:verify`. Check all wiki pages for `verify_by` and `verify_by_date` fields, surface overdue pages, and guide a review pass.
|
|
6
|
-
|
|
7
|
-
## What this does
|
|
8
|
-
|
|
9
|
-
- Scans all pages for `verify_by` (a question to re-check) and `verify_by_date` (deadline)
|
|
10
|
-
- Groups results: **overdue**, **due soon** (within 14 days), and **ok**
|
|
11
|
-
- After the script runs, you help the user review and update each overdue page
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Step 1 — Locate package root
|
|
16
|
-
|
|
17
|
-
Bundled scripts here run via `${CLAUDE_PLUGIN_ROOT}/scripts/`. To resolve that package root: if `${CLAUDE_PLUGIN_ROOT}` is already an absolute path, use it; otherwise read `pkgRoot` from `~/.claude/hypo-pkg.json` (only when non-empty and the target script exists under it); otherwise use the `hypo@hypomnema` (or legacy `hypomnema@hypomnema`) installPath in `~/.claude/plugins/installed_plugins.json`; if none resolve, stop and tell the user to run `hypomnema upgrade --apply` (or `/hypo:upgrade` on a plugin install) or reinstall instead of guessing the cache layout.
|
|
18
|
-
|
|
19
|
-
If the user specified a Hypomnema directory, pass it as `--hypo-dir="<path>"`. Otherwise omit the flag and the script resolves the Hypomnema root automatically via `HYPO_DIR` → `hypo-config.md` scan → `~/hypomnema`.
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## Step 2 — Run verify
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
node ${CLAUDE_PLUGIN_ROOT}/scripts/verify.mjs \
|
|
27
|
-
[--hypo-dir="<path>"] \
|
|
28
|
-
[--file="<path>"] \
|
|
29
|
-
[--json]
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Options:
|
|
33
|
-
- `--file=<path>` — check a single file only
|
|
34
|
-
- `--json` — output results as JSON
|
|
35
|
-
|
|
36
|
-
Show the output verbatim.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Step 3 — Interpret results
|
|
41
|
-
|
|
42
|
-
- **overdue** — `verify_by_date` is in the past; the page needs immediate review
|
|
43
|
-
- **due soon** — `verify_by_date` is within 14 days; worth reviewing this session
|
|
44
|
-
- **ok** — no verify fields, or deadline is far enough out
|
|
45
|
-
|
|
46
|
-
A page with `verify_by` but no `verify_by_date` is treated as **ok** (no deadline set — add `verify_by_date` to schedule a review).
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## Step 4 — Review overdue pages
|
|
51
|
-
|
|
52
|
-
For each overdue page, in priority order:
|
|
53
|
-
|
|
54
|
-
1. Read the page content.
|
|
55
|
-
2. Show the `verify_by` question to the user.
|
|
56
|
-
3. Ask: "Is this still accurate? (yes / no / partially)"
|
|
57
|
-
4. Based on the answer:
|
|
58
|
-
- **yes** — update `last_reviewed: <today>` and push `verify_by_date` forward by 90 days.
|
|
59
|
-
- **no / partially** — help the user edit the page to correct the outdated content, then update `last_reviewed` and `verify_by_date`.
|
|
60
|
-
5. Offer to move to the next overdue page.
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Step 5 — Update frontmatter
|
|
65
|
-
|
|
66
|
-
After each review, apply the updated `last_reviewed` and `verify_by_date` fields to the page frontmatter. Do not change any other fields unless the user approves.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## Step 6 — Append stale items to open-questions.md
|
|
71
|
-
|
|
72
|
-
For each page reviewed as **no** or **partially** (content found stale or incorrect):
|
|
73
|
-
|
|
74
|
-
1. Open `<wiki-root>/pages/open-questions.md`. If absent, create it with this frontmatter:
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
---
|
|
78
|
-
title: Open Questions
|
|
79
|
-
type: open-questions
|
|
80
|
-
updated: <today YYYY-MM-DD>
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
# Open Questions
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
2. Append an entry:
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
- [ ] Re-verify [[<page-slug>|<page-title>]]: <verify_by question> (surfaced: <today YYYY-MM-DD>)
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
3. Save the file. Do not remove or reorder existing entries.
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
> **Citation convention.** When you reference a wiki page in your response, link it as `[[page-slug]]` so it stays connected in the graph. The observability audit scores sessions on search / ingest / feedback activity (recorded by `hypo-session-record`), not on these inline citations; run `/hypo:audit` to inspect and see [[pages/observability/_index]].
|