@amoree-code/ocean 1.6.2 → 1.8.0

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 (84) hide show
  1. package/README.md +10 -1
  2. package/dist/application/clients/desktop-watcher.js +234 -0
  3. package/dist/application/clients/opencode-plugin.js +4 -3
  4. package/dist/application/layout/layout-plan.js +1 -0
  5. package/dist/application/onboarding/steps.js +20 -1
  6. package/dist/infrastructure/desktop/claude-export.js +84 -0
  7. package/dist/infrastructure/desktop/desktop-chat.js +165 -0
  8. package/dist/infrastructure/desktop/indexeddb.js +158 -0
  9. package/dist/infrastructure/desktop/leveldb.js +247 -0
  10. package/dist/infrastructure/desktop/snappy.js +74 -0
  11. package/dist/infrastructure/process/service.js +8 -0
  12. package/dist/interfaces/cli/brief-command.js +17 -0
  13. package/dist/interfaces/cli/capture-command.js +1 -1
  14. package/dist/interfaces/cli/clients-command.js +15 -2
  15. package/dist/interfaces/cli/command-registry.js +31 -2
  16. package/dist/interfaces/cli/desktop-command.js +124 -0
  17. package/dist/interfaces/cli/distill-command.js +36 -0
  18. package/dist/interfaces/cli/express-command.js +18 -0
  19. package/dist/interfaces/cli/harvest-command.js +58 -0
  20. package/dist/interfaces/cli/help-command.js +34 -2
  21. package/dist/interfaces/cli/interests-command.js +33 -0
  22. package/dist/interfaces/cli/memory-command.js +37 -3
  23. package/dist/interfaces/cli/note-command.js +7 -0
  24. package/dist/interfaces/cli/setup-command.js +2 -1
  25. package/dist/interfaces/cli/telemetry-command.js +23 -0
  26. package/node_modules/@ocean/brain/dist/brain/brain-reindex.js +4 -1
  27. package/node_modules/@ocean/brain/dist/brain/brain-service.js +11 -1
  28. package/node_modules/@ocean/brain/dist/memory/brain-dump.js +73 -24
  29. package/node_modules/@ocean/brain/dist/memory/fact-routing.js +54 -0
  30. package/node_modules/@ocean/brain/dist/memory/frontmatter-flatten.js +89 -0
  31. package/node_modules/@ocean/brain/dist/memory/lessons.js +20 -0
  32. package/node_modules/@ocean/brain/dist/memory/memory-paths.js +3 -1
  33. package/node_modules/@ocean/brain/dist/memory/memory-review.js +19 -2
  34. package/node_modules/@ocean/brain/dist/memory/memory-write.js +45 -3
  35. package/node_modules/@ocean/brain/dist/memory/people.js +70 -0
  36. package/node_modules/@ocean/brain/dist/memory/routing.json +39 -0
  37. package/node_modules/@ocean/brain/dist/memory/session-facts.js +7 -1
  38. package/node_modules/@ocean/brain/dist/memory/session-promotion.js +1 -1
  39. package/node_modules/@ocean/brain/package.json +1 -1
  40. package/node_modules/@ocean/context/package.json +1 -1
  41. package/node_modules/@ocean/core/dist/shared/paths.js +7 -0
  42. package/node_modules/@ocean/core/package.json +1 -1
  43. package/node_modules/@ocean/loop/dist/handoff/handoff-service.js +5 -1
  44. package/node_modules/@ocean/loop/dist/hooks/desktop-facts.js +154 -0
  45. package/node_modules/@ocean/loop/dist/hooks/session-end-hook.js +1 -1
  46. package/node_modules/@ocean/loop/package.json +1 -1
  47. package/node_modules/@ocean/market/package.json +1 -1
  48. package/node_modules/@ocean/services/dist/brief/brief.js +218 -0
  49. package/node_modules/@ocean/services/dist/brief/interest-discovery.js +236 -0
  50. package/node_modules/@ocean/services/dist/brief/source-registry.json +35 -0
  51. package/node_modules/@ocean/services/dist/distill/distill.js +258 -0
  52. package/node_modules/@ocean/services/dist/doctor/workspace-doctor.js +129 -8
  53. package/node_modules/@ocean/services/dist/express/express.js +99 -0
  54. package/node_modules/@ocean/services/dist/harvest/harvest.js +453 -0
  55. package/node_modules/@ocean/services/dist/infrastructure/mcp/ocean-server.js +17 -1
  56. package/node_modules/@ocean/services/dist/journey/telemetry.js +81 -0
  57. package/node_modules/@ocean/services/dist/obsidian/folder-templates.js +82 -0
  58. package/node_modules/@ocean/services/dist/onboarding/onboarding.js +62 -0
  59. package/node_modules/@ocean/services/package.json +1 -1
  60. package/ocean-marketplace.json +82 -28
  61. package/package.json +7 -7
  62. package/skills/core/daily-harvest/SKILL.md +72 -0
  63. package/skills/core/memory-review/SKILL.md +53 -0
  64. package/skills/core/weekly-review/SKILL.md +24 -0
  65. package/skills/index.json +18 -0
  66. package/templates/workspace/02-personal/education/study/study.base +15 -0
  67. package/templates/workspace/02-personal/milestones/milestones.base +14 -0
  68. package/templates/workspace/02-personal/people/people.base +18 -0
  69. package/templates/workspace/06-templates/TEMPLATES.md +12 -0
  70. package/templates/workspace/06-templates/capture.md +9 -0
  71. package/templates/workspace/06-templates/daily.md +13 -0
  72. package/templates/workspace/06-templates/decision.md +8 -0
  73. package/templates/workspace/06-templates/failure.md +13 -0
  74. package/templates/workspace/06-templates/intelligence.md +7 -0
  75. package/templates/workspace/06-templates/interest.md +13 -0
  76. package/templates/workspace/06-templates/lesson.md +16 -0
  77. package/templates/workspace/06-templates/milestone.md +10 -0
  78. package/templates/workspace/06-templates/note.md +8 -0
  79. package/templates/workspace/06-templates/person.md +15 -0
  80. package/templates/workspace/06-templates/session.md +10 -0
  81. package/templates/workspace/06-templates/solution.md +14 -0
  82. package/templates/workspace/06-templates/study.md +14 -0
  83. package/templates/workspace/07-notes/.gitkeep +0 -0
  84. package/templates/workspace/MANIFEST.json +14 -0
@@ -0,0 +1,62 @@
1
+ import { factTarget } from "@ocean/brain/memory/fact-routing.js";
2
+ import { proposeMemory } from "@ocean/brain/memory/memory-write.js";
3
+ import { MemoryContractError } from "@ocean/core/domain/mcp/memory-contract.js";
4
+ import { proposeInterests, topicProposal, } from "../brief/interest-discovery.js";
5
+ // Onboarding for any user (T-314): the `interests` step of `ocean onboard` asks three questions
6
+ // (the identity step already asks the role). The answers are the user's own words, but they still
7
+ // go to review like every other proposal: goals as a fact candidate, stack and topics as interest
8
+ // candidates. Nothing is written as memory here.
9
+ export const ONBOARDING_QUESTIONS = [
10
+ {
11
+ key: "stack",
12
+ question: "Which tools and frameworks do you use? (comma separated)",
13
+ },
14
+ {
15
+ key: "goals",
16
+ question: "What are you working towards this year? (one per line or ; separated)",
17
+ },
18
+ {
19
+ key: "topics",
20
+ question: "Which topics do you want to follow? (comma separated)",
21
+ },
22
+ ];
23
+ const items = (text, split) => [
24
+ ...new Set((text ?? "")
25
+ .split(split)
26
+ .map((item) => item.replace(/\s+/g, " ").trim())
27
+ .filter((item) => item && item.length <= 80)),
28
+ ].slice(0, 20);
29
+ export async function onboard(answers) {
30
+ const facts = [];
31
+ const fact = async (type, title, content) => {
32
+ try {
33
+ const { candidate } = await proposeMemory({
34
+ content,
35
+ origin: "inferred",
36
+ source: "setup-onboarding",
37
+ target: await factTarget({ type, title }),
38
+ reason: "answered at ocean setup --onboard",
39
+ meta: { type },
40
+ });
41
+ facts.push(candidate);
42
+ }
43
+ catch (error) {
44
+ if (!(error instanceof MemoryContractError))
45
+ throw error;
46
+ }
47
+ };
48
+ const goals = items(answers.goals, /[;\n]/);
49
+ if (goals.length)
50
+ await fact("goal", "goals", `# Goals\n\n${goals.map((goal) => `- **${goal}**`).join("\n")}\n`);
51
+ const topics = [
52
+ ...items(answers.stack, /[,;\n]/).map((topic) => topicProposal(topic, "named in your stack at setup")),
53
+ ...items(answers.topics, /[,;\n]/).map((topic) => topicProposal(topic, "a topic you asked to follow at setup")),
54
+ ];
55
+ const interests = await proposeInterests(topics, {
56
+ apply: true,
57
+ origin: "onboarding",
58
+ source: "setup-onboarding",
59
+ });
60
+ return { facts, interests };
61
+ }
62
+ //# sourceMappingURL=onboarding.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/services",
3
- "version": "1.6.2",
3
+ "version": "1.8.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -5,9 +5,9 @@
5
5
  {
6
6
  "kind": "skill",
7
7
  "name": "dev.ocean.skills.business-logic",
8
- "version": "1.6.2",
8
+ "version": "1.8.0",
9
9
  "engines": {
10
- "ocean": ">=1.6.2"
10
+ "ocean": ">=1.8.0"
11
11
  },
12
12
  "source": {
13
13
  "type": "path",
@@ -23,9 +23,9 @@
23
23
  {
24
24
  "kind": "skill",
25
25
  "name": "dev.ocean.skills.catch-up",
26
- "version": "1.6.2",
26
+ "version": "1.8.0",
27
27
  "engines": {
28
- "ocean": ">=1.6.2"
28
+ "ocean": ">=1.8.0"
29
29
  },
30
30
  "source": {
31
31
  "type": "path",
@@ -41,9 +41,9 @@
41
41
  {
42
42
  "kind": "skill",
43
43
  "name": "dev.ocean.skills.core-thinking",
44
- "version": "1.6.2",
44
+ "version": "1.8.0",
45
45
  "engines": {
46
- "ocean": ">=1.6.2"
46
+ "ocean": ">=1.8.0"
47
47
  },
48
48
  "source": {
49
49
  "type": "path",
@@ -56,12 +56,30 @@
56
56
  "directory": "core-thinking"
57
57
  }
58
58
  },
59
+ {
60
+ "kind": "skill",
61
+ "name": "dev.ocean.skills.daily-harvest",
62
+ "version": "1.8.0",
63
+ "engines": {
64
+ "ocean": ">=1.8.0"
65
+ },
66
+ "source": {
67
+ "type": "path",
68
+ "path": "skills/core/daily-harvest"
69
+ },
70
+ "integrity": {
71
+ "sha256": "356cc76057780394e2ed485e6853fc675d1d03bfc3541268ccc3e9d3b2bfd76d"
72
+ },
73
+ "spec": {
74
+ "directory": "daily-harvest"
75
+ }
76
+ },
59
77
  {
60
78
  "kind": "skill",
61
79
  "name": "dev.ocean.skills.design-thinking",
62
- "version": "1.6.2",
80
+ "version": "1.8.0",
63
81
  "engines": {
64
- "ocean": ">=1.6.2"
82
+ "ocean": ">=1.8.0"
65
83
  },
66
84
  "source": {
67
85
  "type": "path",
@@ -77,9 +95,9 @@
77
95
  {
78
96
  "kind": "skill",
79
97
  "name": "dev.ocean.skills.graft",
80
- "version": "1.6.2",
98
+ "version": "1.8.0",
81
99
  "engines": {
82
- "ocean": ">=1.6.2"
100
+ "ocean": ">=1.8.0"
83
101
  },
84
102
  "source": {
85
103
  "type": "path",
@@ -95,9 +113,9 @@
95
113
  {
96
114
  "kind": "skill",
97
115
  "name": "dev.ocean.skills.loop",
98
- "version": "1.6.2",
116
+ "version": "1.8.0",
99
117
  "engines": {
100
- "ocean": ">=1.6.2"
118
+ "ocean": ">=1.8.0"
101
119
  },
102
120
  "source": {
103
121
  "type": "path",
@@ -110,12 +128,30 @@
110
128
  "directory": "loop"
111
129
  }
112
130
  },
131
+ {
132
+ "kind": "skill",
133
+ "name": "dev.ocean.skills.memory-review",
134
+ "version": "1.8.0",
135
+ "engines": {
136
+ "ocean": ">=1.8.0"
137
+ },
138
+ "source": {
139
+ "type": "path",
140
+ "path": "skills/core/memory-review"
141
+ },
142
+ "integrity": {
143
+ "sha256": "9d43b15aa4fe676a4e260943f072452fba749c83b99df94f2fc18a82a3efb8cd"
144
+ },
145
+ "spec": {
146
+ "directory": "memory-review"
147
+ }
148
+ },
113
149
  {
114
150
  "kind": "skill",
115
151
  "name": "dev.ocean.skills.session-handoff",
116
- "version": "1.6.2",
152
+ "version": "1.8.0",
117
153
  "engines": {
118
- "ocean": ">=1.6.2"
154
+ "ocean": ">=1.8.0"
119
155
  },
120
156
  "source": {
121
157
  "type": "path",
@@ -131,9 +167,9 @@
131
167
  {
132
168
  "kind": "skill",
133
169
  "name": "dev.ocean.skills.use-browser",
134
- "version": "1.6.2",
170
+ "version": "1.8.0",
135
171
  "engines": {
136
- "ocean": ">=1.6.2"
172
+ "ocean": ">=1.8.0"
137
173
  },
138
174
  "source": {
139
175
  "type": "path",
@@ -149,9 +185,9 @@
149
185
  {
150
186
  "kind": "skill",
151
187
  "name": "dev.ocean.skills.verification",
152
- "version": "1.6.2",
188
+ "version": "1.8.0",
153
189
  "engines": {
154
- "ocean": ">=1.6.2"
190
+ "ocean": ">=1.8.0"
155
191
  },
156
192
  "source": {
157
193
  "type": "path",
@@ -164,6 +200,24 @@
164
200
  "directory": "verification"
165
201
  }
166
202
  },
203
+ {
204
+ "kind": "skill",
205
+ "name": "dev.ocean.skills.weekly-review",
206
+ "version": "1.8.0",
207
+ "engines": {
208
+ "ocean": ">=1.8.0"
209
+ },
210
+ "source": {
211
+ "type": "path",
212
+ "path": "skills/core/weekly-review"
213
+ },
214
+ "integrity": {
215
+ "sha256": "b7cb9dc2e0e425648cbbf7081c4445fb3ebdb1cdaa333265f2ca9163e01974ea"
216
+ },
217
+ "spec": {
218
+ "directory": "weekly-review"
219
+ }
220
+ },
167
221
  {
168
222
  "kind": "mcp",
169
223
  "name": "dev.ocean/chrome-devtools",
@@ -183,9 +237,9 @@
183
237
  "npx"
184
238
  ]
185
239
  },
186
- "version": "1.6.2",
240
+ "version": "1.8.0",
187
241
  "engines": {
188
- "ocean": ">=1.6.2"
242
+ "ocean": ">=1.8.0"
189
243
  },
190
244
  "source": {
191
245
  "type": "path",
@@ -218,9 +272,9 @@
218
272
  "kind": "mcp",
219
273
  "name": "dev.ocean/mcp-gateway",
220
274
  "description": "One MCP endpoint for every registered server: Ocean's own and those installed from the marketplace.",
221
- "version": "1.6.2",
275
+ "version": "1.8.0",
222
276
  "engines": {
223
- "ocean": ">=1.6.2"
277
+ "ocean": ">=1.8.0"
224
278
  },
225
279
  "source": {
226
280
  "type": "path",
@@ -262,9 +316,9 @@
262
316
  "kind": "mcp",
263
317
  "name": "dev.ocean/obsidian",
264
318
  "description": "Ocean's Obsidian vault bridge over MCP.",
265
- "version": "1.6.2",
319
+ "version": "1.8.0",
266
320
  "engines": {
267
- "ocean": ">=1.6.2"
321
+ "ocean": ">=1.8.0"
268
322
  },
269
323
  "source": {
270
324
  "type": "path",
@@ -306,9 +360,9 @@
306
360
  "kind": "mcp",
307
361
  "name": "dev.ocean/ocean",
308
362
  "description": "Ocean's own MCP server: workspace status, tasks, handoffs, sessions and the brain.",
309
- "version": "1.6.2",
363
+ "version": "1.8.0",
310
364
  "engines": {
311
- "ocean": ">=1.6.2"
365
+ "ocean": ">=1.8.0"
312
366
  },
313
367
  "source": {
314
368
  "type": "path",
@@ -360,9 +414,9 @@
360
414
  "npx"
361
415
  ]
362
416
  },
363
- "version": "1.6.2",
417
+ "version": "1.8.0",
364
418
  "engines": {
365
- "ocean": ">=1.6.2"
419
+ "ocean": ">=1.8.0"
366
420
  },
367
421
  "source": {
368
422
  "type": "path",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@amoree-code/ocean",
3
3
  "description": "Local-first memory, tasks and session capture shared by every AI coding client: one private workspace for Claude, Codex, Gemini and more.",
4
- "version": "1.6.2",
4
+ "version": "1.8.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "AMEER ABDULKAREEM JABBAR LAMI",
@@ -45,12 +45,12 @@
45
45
  "@langchain/core": "1.2.14",
46
46
  "@langchain/langgraph": "1.4.19",
47
47
  "@modelcontextprotocol/sdk": "1.32.0",
48
- "@ocean/brain": "1.6.2",
49
- "@ocean/context": "1.6.2",
50
- "@ocean/core": "1.6.2",
51
- "@ocean/loop": "1.6.2",
52
- "@ocean/market": "1.6.2",
53
- "@ocean/services": "1.6.2",
48
+ "@ocean/brain": "1.8.0",
49
+ "@ocean/context": "1.8.0",
50
+ "@ocean/core": "1.8.0",
51
+ "@ocean/loop": "1.8.0",
52
+ "@ocean/market": "1.8.0",
53
+ "@ocean/services": "1.8.0",
54
54
  "playwright-core": "^1.48.0",
55
55
  "sqlite-vec": "0.1.9",
56
56
  "zod": "^4.6.5"
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: daily-harvest
3
+ description: Turn everything the inbox and the daily folder hold - sessions from every AI client, imported memories, candidates, corrections - into filed knowledge and a better system, with no manual review, then archive. Use when the owner says harvest, process the inbox, file everything, improve the knowledge, or clean up 00-inbox and 01-daily.
4
+ version: 1.0.0
5
+ category: core
6
+ ---
7
+
8
+ # Daily harvest
9
+
10
+ The owner decided (2026-11-16) that Ocean files what it learns on its own. You do not ask him to
11
+ review each item. You decide where each fact belongs, write it there, and report what you did
12
+ with a way to undo it. Only a contradiction stops and waits for him.
13
+
14
+ ## Where everything lives
15
+
16
+ - A session from any client (Claude Code, Claude Desktop, Codex, Gemini, …) is one record in
17
+ `01-daily/sessions/YYYY-MM/`, its client in `provider`.
18
+ - A fact is filed by **topic, not by which AI said it**: `routing.json` maps its type to a folder
19
+ (identity, preference, goal, education, career, project memory, decision, solution, discovery,
20
+ …). Its frontmatter keeps where it came from: `origin: imported|harvested`, `source:
21
+ <client>`, the date.
22
+ - Raw memory pulled from a client waits in `00-inbox/native/<client>/` until harvested, then
23
+ moves to `00-inbox/archive/native/<client>/<YYYY-MM>/`.
24
+
25
+ ## 1. The mechanical pass
26
+
27
+ Run `ocean harvest --pending --yes` (the service also runs it daily). For each day it writes the
28
+ summary block in `01-daily/<date>.md` (sessions per client, decisions, fixes, lessons, open next,
29
+ the owner's corrections, time per project), files structured Decisions / Problems → fixes /
30
+ Learned into `05-knowledge/` (a record that already says it is strengthened instead), and marks
31
+ the sessions harvested. Read its JSON: that is your work list.
32
+
33
+ ## 2. The judgement pass
34
+
35
+ Work through these in order. For every fact: search first (`ocean memory search`), then either
36
+ strengthen the record that holds it (merge into one current statement, fresh `updated` /
37
+ `last_verified`) or create the record where `routing.json` puts its type. Never duplicate.
38
+
39
+ 1. **Candidates** (`ocean memory review list`): a duplicate of a record → reject; new and
40
+ consistent → approve with `--type` (or `--to`), then merge cleanly (the memory-review skill's
41
+ step 3); unsure what it means → leave it and list it in the report.
42
+ 2. **Native memory** in `00-inbox/native/<client>/` and the files in `02-personal/imported/`:
43
+ split each into facts, file each by topic with `origin: imported` and its client, then move the
44
+ raw file to the archive. A project fact goes to that project's `memory/`.
45
+ 3. **Legacy session records** (no Decisions / Learned sections): read a month at a time; pull out
46
+ decisions, fixes and lessons; file them as above; add `harvested: <date>` to each record read.
47
+ 4. **Corrections** in the day summaries: one the owner gave twice, or with "always" / "never",
48
+ becomes a feedback record in `02-personal/work/` (rule, **Why:**, **How to apply:**). A rule
49
+ for every client goes to the backlog as a charter change, not into the charter itself.
50
+ 5. **The system itself**: an error recurring across sessions (`ocean telemetry --yes`); the same
51
+ manual steps in three or more sessions → a backlog line `skill: <what it would do>`; a failure
52
+ in `05-knowledge/failures/` with no linked solution → look for the fix in the sessions.
53
+ 6. **Knowledge hygiene**: merge records that say the same thing; list decisions whose
54
+ `last_verified` is over 90 days old; fix broken links; run `ocean memory sync --apply`.
55
+ 7. **The owner's journey**: a study session (IELTS, Letspeak) adds to his study log; finished,
56
+ notable work becomes a milestone (`status: done`); a project's state goes to its `memory/`.
57
+
58
+ **Stop and do not write** when a fact contradicts a record or one of his notes in `07-notes/`:
59
+ propose it with `contradicts` so it waits in `02-personal/CONFLICTS.md`. Never write a secret;
60
+ about other people, only what the work needs; never invent a detail.
61
+
62
+ ## 3. Archive
63
+
64
+ Run `ocean harvest archive --yes`: harvested days older than 30 days leave `01-daily/` for
65
+ `01-daily/archive/<YYYY-MM>/` (notes) and `01-daily/sessions/archive/<YYYY-MM>/` (records, still
66
+ searched). Nothing is deleted.
67
+
68
+ ## 4. Report
69
+
70
+ In the owner's language, short: days harvested, records created and strengthened (by folder),
71
+ facts filed from other AIs, corrections turned into rules, backlog lines added, what waits in
72
+ CONFLICTS.md, what moved to the archive, and `ocean harvest undo <date>` for any day he wants back.
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: memory-review
3
+ description: Review pending memory candidates with the owner one at a time - compare each with the record it would change, recommend, and merge approved facts cleanly into that record. Use when he says review candidates, review my memory, go through the proposals, or clear the inbox candidates.
4
+ version: 1.0.0
5
+ category: core
6
+ ---
7
+
8
+ # Memory review
9
+
10
+ Candidates are facts Ocean proposed (inferred, imported or harvested). None is memory until the
11
+ owner approves it. You prepare each decision; he makes it.
12
+
13
+ ## 1. Survey
14
+
15
+ Run `ocean memory review list`. Before asking anything, group what you see:
16
+
17
+ - **Duplicates**: the same source harvested twice (same `harvested from` path, same text). Decide
18
+ them once, together.
19
+ - **Already recorded**: read the target record (or search with `ocean memory search <q>`). A
20
+ candidate that adds nothing new is a reject to recommend, not a question to ask blind.
21
+ - **Age**: oldest first. Tell him the total and how many are older than seven days.
22
+
23
+ ## 2. One candidate at a time
24
+
25
+ For each, read the candidate file and the record it would change. Show, in plain words in his
26
+ language:
27
+
28
+ 1. **Now**: what the record says today (or that there is none).
29
+ 2. **Proposed**: what the candidate adds or changes, with its source and date.
30
+ 3. **Recommendation**: approve, merge, reject, or ask, with one line of why. Flag what may be
31
+ stale ("as of October; still true?").
32
+
33
+ Then ask one question and wait. Never approve without his answer; never batch items he has not
34
+ seen.
35
+
36
+ ## 3. Apply his answer
37
+
38
+ - **Approve, no target**: `ocean memory review approve <id> --type <type>` (`routing.json` picks
39
+ the folder) or `--to <path>`. A project fact goes to that project's `memory/`.
40
+ - **Approve, existing record**: `ocean memory review approve <id>` appends the candidate's text
41
+ to the record. Then merge by hand: fold the new facts into the right lines, delete what they
42
+ replace, remove the appended raw paragraph, keep the frontmatter flat and set `updated` and
43
+ `last_verified` to today. The record must read as one current statement, not a log.
44
+ - **Edit**: write his corrected version into the record, then reject the candidate.
45
+ - **Reject**: `ocean memory review reject <id>`.
46
+ - **His extra answers** (a date, "I cancelled that") go into the record too, dated.
47
+
48
+ Show him the few lines that changed after each one; nothing else.
49
+
50
+ ## 4. Close
51
+
52
+ Run `ocean memory doctor` and report the count still waiting. Never write secrets, never record
53
+ facts about third parties beyond what work needs, and never invent a detail he did not give.
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: weekly-review
3
+ description: Walk the owner through the week to inbox zero - the weekly digest, pending memory candidates, and inbox captures - deciding each item with him.
4
+ version: 1.0.0
5
+ category: core
6
+ ---
7
+
8
+ # Weekly review
9
+
10
+ Take the owner from a full inbox to zero, one decision at a time. He decides; you prepare.
11
+
12
+ 1. Run `ocean distill --week` (dry run) and show what it would do; on his yes, run it with
13
+ `--yes`. Open the digest it wrote in `01-daily/weekly/`.
14
+ 2. Walk `ocean memory review list`, oldest first. For each candidate, show its title, source and
15
+ proposed target in two lines, then ask: approve (`ocean memory review approve <id>`, with
16
+ `--type <type>` or `--to <path>` when it has no target), edit, or reject. Never approve
17
+ without his answer.
18
+ 3. Walk `00-inbox/captures/`: for each capture, file it where its type lives (routing.json),
19
+ turn it into a task or backlog line, or mark it `status: processed`.
20
+ 4. Run `ocean interests decay` (dry run) and the brief's keep/skip feedback he gives.
21
+ 5. Finish with `ocean doctor`: report `INBOX_STALE`, `FRONTMATTER_MISSING`, `TYPE_LOCATION`, and
22
+ one next step.
23
+
24
+ Ask one question at a time. Batch nothing he has not seen.
package/skills/index.json CHANGED
@@ -17,6 +17,12 @@
17
17
  "version": "1.0.0",
18
18
  "category": "core"
19
19
  },
20
+ {
21
+ "name": "daily-harvest",
22
+ "description": "Turn everything the inbox and the daily folder hold - sessions from every AI client, imported memories, candidates, corrections - into filed knowledge and a better system, with no manual review, then archive. Use when the owner says harvest, process the inbox, file everything, improve the knowledge, or clean up 00-inbox and 01-daily.",
23
+ "version": "1.0.0",
24
+ "category": "core"
25
+ },
20
26
  {
21
27
  "name": "design-thinking",
22
28
  "description": "Frame a problem, clarify the desired outcome, compare simple solutions, and define success before implementation.",
@@ -35,6 +41,12 @@
35
41
  "version": "1.0.0",
36
42
  "category": "core"
37
43
  },
44
+ {
45
+ "name": "memory-review",
46
+ "description": "Review pending memory candidates with the owner one at a time - compare each with the record it would change, recommend, and merge approved facts cleanly into that record. Use when he says review candidates, review my memory, go through the proposals, or clear the inbox candidates.",
47
+ "version": "1.0.0",
48
+ "category": "core"
49
+ },
38
50
  {
39
51
  "name": "session-handoff",
40
52
  "description": "Produce a compact continuation packet with the next action and verification commands.",
@@ -52,5 +64,11 @@
52
64
  "description": "Turn implementation claims into focused, repeatable verification checks.",
53
65
  "version": "1.0.0",
54
66
  "category": "core"
67
+ },
68
+ {
69
+ "name": "weekly-review",
70
+ "description": "Walk the owner through the week to inbox zero - the weekly digest, pending memory candidates, and inbox captures - deciding each item with him.",
71
+ "version": "1.0.0",
72
+ "category": "core"
55
73
  }
56
74
  ]
@@ -0,0 +1,15 @@
1
+ filters:
2
+ and:
3
+ - type == "study"
4
+ views:
5
+ - type: table
6
+ name: Study
7
+ order:
8
+ - file.name
9
+ - goal
10
+ - status
11
+ - started
12
+ - target_date
13
+ sort:
14
+ - property: target_date
15
+ direction: ASC
@@ -0,0 +1,14 @@
1
+ filters:
2
+ and:
3
+ - type == "milestone"
4
+ views:
5
+ - type: table
6
+ name: Timeline
7
+ order:
8
+ - file.name
9
+ - date
10
+ - kind
11
+ - status
12
+ sort:
13
+ - property: date
14
+ direction: DESC
@@ -0,0 +1,18 @@
1
+ filters:
2
+ and:
3
+ - file.inFolder("02-personal/people")
4
+ - type == "person"
5
+ views:
6
+ - type: table
7
+ name: People
8
+ order:
9
+ - file.name
10
+ - aliases
11
+ - role
12
+ - org
13
+ - relation
14
+ - projects
15
+ - last_seen
16
+ sort:
17
+ - property: last_seen
18
+ direction: DESC
@@ -13,6 +13,18 @@ Standardized templates for common document types used across Ocean workflows.
13
13
  | **project-claude.md** | Claude-specific project template — for project context and instructions |
14
14
  | **session.md** | Session record template — what happened, what was decided, what's next |
15
15
  | **task.md** | Task record template — scope, goal, constraints, artifacts, verification |
16
+ | **capture.md** | Quick capture into `00-inbox/captures/` |
17
+ | **daily.md** | Daily note in `01-daily/` |
18
+ | **note.md** | Your own note in `07-notes/` (agents never write there) |
19
+ | **lesson.md** · **solution.md** · **failure.md** | Knowledge records in `05-knowledge/` |
20
+ | **person.md** | One person in `02-personal/people/` (aliases in English and Arabic) |
21
+ | **interest.md** | One interest in `02-personal/interests/` (priority, keywords, sources) |
22
+ | **milestone.md** · **study.md** | Your journey: milestones and study plans |
23
+
24
+ Each record template starts with frontmatter whose `type:` decides its folder
25
+ (`kernel/packages/brain/src/memory/routing.json`); `ocean doctor` reports `TYPE_LOCATION`
26
+ when a record sits elsewhere and `FRONTMATTER_MISSING` when it has none. `{{date}}` and
27
+ `{{title}}` are filled by Obsidian's Templates plugin.
16
28
 
17
29
  ## Usage
18
30
 
@@ -0,0 +1,9 @@
1
+ ---
2
+ type: capture
3
+ created: {{date}}
4
+ source:
5
+ tags: []
6
+ ---
7
+
8
+ # {{title}}
9
+
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: daily
3
+ date: {{date}}
4
+ tags: []
5
+ ---
6
+
7
+ # {{date}}
8
+
9
+ ## Plan
10
+
11
+ ## Log
12
+
13
+ ## Notes
@@ -1,3 +1,11 @@
1
+ ---
2
+ type: decision
3
+ status: current
4
+ created: {{date}}
5
+ updated: {{date}}
6
+ tags: []
7
+ ---
8
+
1
9
  ### <Decision title>
2
10
  **Date:** YYYY-MM-DD
3
11
  **Context:** <what forced a choice>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: failure
3
+ created: {{date}}
4
+ tags: []
5
+ ---
6
+
7
+ # {{title}}
8
+
9
+ ## What failed
10
+
11
+ ## Root cause
12
+
13
+ ## Prevention
@@ -1,3 +1,10 @@
1
+ ---
2
+ type: research
3
+ status: current
4
+ created: {{date}}
5
+ tags: []
6
+ ---
7
+
1
8
  # <Topic>
2
9
 
3
10
  **Date:** YYYY-MM-DD
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: interest
3
+ priority: medium
4
+ keywords: []
5
+ sources: []
6
+ cadence: weekly
7
+ origin: owner
8
+ weight: 1
9
+ last_signal: {{date}}
10
+ ---
11
+
12
+ # {{title}}
13
+