Skip to content

Journal destination: the notebook holds routed questions and observations (#161) - #166

Merged
wschenk merged 2 commits into
mainfrom
cursor/journal-destination-161
Aug 8, 2026
Merged

Journal destination: the notebook holds routed questions and observations (#161)#166
wschenk merged 2 commits into
mainfrom
cursor/journal-destination-161

Conversation

@wschenk

@wschenk wschenk commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

The Journal destination lands (docs/desk.md, D2). The /journal route grows its notebook section at /journal/notebook: every route = journal Thread files in as an entry — the walker's own words, the full Enrichment report readable in place (EnrichmentReport, with sources, mentions, and the research trace), and links to the Thread and its published Artifact page. Un-routing at the desk removes the entry and nothing else; the Thread keeps its Captures and Enrichments.

Draft-worthiness rides the Enrichment the way every other judgment does: a DRAFT: header parsed beside TITLE:/KIND: (lib/enrichment/system-instruction.ts), stored on the Enrichment (draft_worthy on the Neon row, plumbed through the fake and real gateway clients, process.ts, and both repositories), and read back as the notebook's post-candidate flag. Draft candidates can be listed together at /journal/notebook?drafts=1 — the queue the tweet/article pipeline pulls from. Selection logic is pure (lib/journal/notebook.ts) so the same code serves the device's local Threads and the repositories under test. The Map Journal topbar links to the Notebook and back.

One rider commit (d525d56), separate from the ticket work: the session-start skill sync (skills-lock.json) pulled the ask-matt skill's new upstream PHASE-BOUNDARIES.md reference file beside its tracked SKILL.md. It's committed on its own so it reads as the vendored sync it is — drop that commit if the sync should land another way.

Closes #161

Test plan

  • Acceptance criteria from the ticket covered at the named seams
    • tests/journal-notebook.spec.ts (memory repositories): routing to Journal produces an entry with words + report; journal-only selection ordered newest-settled first; DRAFT: header round-trips end-to-end through the enrichment pipeline into the draft-candidate queue; entry carries its Thread and Artifact page; un-routing removes the entry while Captures and Enrichments stay whole.
    • tests/journal-notebook-ui.spec.ts (public browser seam): route a Thread from the desk, read the entry at /journal/notebook — words, report, draft flag, Thread + Artifact links — list draft candidates together, then un-route and see the entry gone with the Thread's history untouched.
  • pnpm exec tsc --noEmit clean; eslint clean on all changed files; new specs plus the neighboring thread-filing / enrichment / artifact / sync-hydrate suites green locally (136 passed).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WeJuNWLgJNWoi2DCGLg92T

…ith their reports

The Journal destination lands (docs/desk.md, D2; closes with PR against
issue #161). /journal grows its notebook section at /journal/notebook:
every route = journal Thread files in as an entry — the walker's own
words, the full Enrichment report readable in place, links to the Thread
and its published Artifact page. Un-routing at the desk removes the
entry and nothing else; the Thread keeps its history.

Draft-worthiness rides the Enrichment the way every other judgment does:
a DRAFT header parsed beside TITLE/KIND, stored on the Enrichment
(draft_worthy on the Neon row), and read back as the notebook's
post-candidate flag — the queue the tweet/article pipeline pulls from,
listed together at /journal/notebook?drafts=1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WeJuNWLgJNWoi2DCGLg92T
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
walking-thoughts Ready Ready Preview Aug 8, 2026 1:14am

Request Review

Session-start skill sync (skills-lock.json, mattpocock/skills) pulled a
new upstream reference file beside the tracked SKILL.md. Committed
separately from the #161 work so it reads as the vendored sync it is —
drop this commit if the sync should land another way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WeJuNWLgJNWoi2DCGLg92T
@wschenk
wschenk merged commit bb77738 into main Aug 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Journal destination: the notebook holds routed questions and observations

2 participants