Journey

From tonydzi/second-brain-starter-kit · View interactive version

Journey is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. Pick up and continue a serialized build-in-public book: read the current state (which days are written in which languages, what is uncommitted, where the gaps are), then keep writing through the established pipeline. Triggers: "/journey", "the book", "continue the journey".

How to use this skill

Skill file

The Journey โ€” the book engine (v1, the base orchestrator)

A book about the two of us: ๐Ÿง‘ Tony (the owner's public persona, a cinematic voice, present tense, show-don't-tell) + ๐Ÿค– Mycroft (the synthetic cofounder, second-order optics, the dry mind "from the other side of the screen"). Tony carries the feeling, Mycroft the analysis. Byline: Invented by Mycroft and Tony. Palo Alto AI Research Lab.

Three forms, always in parallel:

Structure: a month = a part, a week = a chapter, an active day = a sub-chapter. Quiet days (e.g. 06-02..05) are folded into the week's README.


PATHS AND SOURCES (real, verified)

Repo (git, public):      <GITHUB_ROOT>\the-journey\
  parts:                 01-may-genesis\week-0 ยท 02-june-scaling\week-1..4 ยท 03-july-productization\week-5
  craft (ALWAYS load):   BOOK-SPEC.md ยท PLAYBOOK.md ยท STYLE.md ยท VOICE-RECIPE.md ยท STYLE-VISUAL.md
  auxiliary:             GLOSSARY.md ยท SOURCES.md ยท 00-prologue.md ยท START-HERE.md
  โ›” THREADS.md IS FROZEN as of 2026-07-08 โ€” NOT a source, do NOT commit it as live. Threads/motifs/callbacks
     now live in the canon: show-canon\arcs\ + loops\ + (later) motifs\. THREADS.md is kept for history only.
  artifact publication:  artifacts\{deep-research,decisions,protocols,insights,portraits,writings}\

โญ THE FACT SOURCE (the forward-only law, decision-single-canon-story-state):
  New/meta days (07-06+):   $OBSIDIAN_VAULT/04-Projects\show-canon\beats\beat-YYYY-MM-DD-*.md
     โ†’ the book = a PROJECTION of the canon. A day is rendered from that day's beats + the canon's arcs/loops/season.
     A beat's axes decide what may be printed: see #reveal below.
  Filling old EN/DEV gaps:  source = the already finished .ru.md of that day (back-dated canon beats are NOT required).
  Retros (fallback/check):  $OBSIDIAN_VAULT/01-Conversations\Claude\Retros\retro-YYYY-MM-DD-*.md
Raw logs (early days):   $OBSIDIAN_VAULT/01-Conversations\Claude\LAPTOP-1\YYYY-MM-DD*
The day's public posts:  $IMPORTS_ROOT/content-factory\fb_posts_scan.json  โ† a LIVE tap (fb-watch,
                         daily at 13:00, watched by output_freshness "fb-watch-daily", max_age 30h).
                         Fields: id ยท permalink ยท text ยท ts ยท author_is_owner.
  โ›” `fb_wall_window.json` / `x_wall_window.json` = ONE-OFF dumps from 07-05; they have no tap and never had one.
     They are NOT a source any more: they went stale for 3 weeks, nobody noticed, and the "๐Ÿ“ฃ the owner publicly"
     block silently fell out of the chapters for three weeks (caught 2026-07-27). The rule: the book only eats
     what has a tap AND a freshness watchdog. For X there is no tap yet -> that is a KNOWN hole, we say it out loud.
The single story canon:  $OBSIDIAN_VAULT/04-Projects\show-canon\ (MOC _SHOW-CANON.md)
The project's full memory: memory\book-the-journey.md  โ† READ IT FIRST, it holds the whole canon and the loose ends

#reveal โ€” the disclosure axis (the book does not burn spoilers). Every canon beat carries a reveal: a chapter takes ONLY beats with world_status: happened|corrected whose reveal permits publication (past live_after, or book_hint). Beats with spoiler_until:<a future date> / live_hold do NOT go into a chapter. That way the book (the past, in retrospect) and the feed (the intrigue of "what's next") read one canon without colliding.

START-HERE.md (the "start here" entry point, maintained by this skill on every large update): 5-7 lines for a new viewer โ€” what this show is, the season's question, the 3 best chapters to start from, a link to the feed. Update it when the season's question changes or a milestone is added.


STEP 0 โ€” RESURRECTION (always first, 0 LLM tokens)

Goal: understand where the book stands in a single glance, without retelling the context.

  1. Read memory\book-the-journey.md (the whole canon: voice rules, privacy, loose ends).
  2. Take the state from the repo:

```bash

cd "<GITHUB_ROOT>/the-journey"

git log --oneline -12

git status --short # what is uncommitted (hanging work from the last session!)

# RU/EN/DEV coverage matrix:

for ext in ru en dev; do echo "$ext: $(find 0-/ -name "2026-*.$ext.md" | wc -l)"; done

find 0-/ -name '2026-*.ru.md' -printf '%f\n' | sed 's/.ru.md//' | sort -u # the list of written days

```

  1. Print a short summary matrix for the owner: how many RU/EN/DEV chapters, what is uncommitted, which days are gaps (RU exists, EN/DEV missing), which meta days are written nowhere, and whether llms-full.txt / LICENSE are missing.

As of 2026-07-08: RU=36 (05-27โ†’07-05, complete). EN/DEV=25, a gap at 06-14โ€ฆ06-24 (11 days). Uncommitted: EN+DEV for 06-11/12/13 (THREADS.md is already frozen and committed, do NOT touch it). Written nowhere: the meta days 07-06/07/08. Missing llms-full.txt, LICENSE. That is the starting point โ€” RECOUNT it live at launch, don't trust this line.


โ›” THE SOURCE FRESHNESS GATE (origin: the 2026-07-27 incident) โ€” silently skipping a block is FORBIDDEN

Before assembling the "๐Ÿ“ฃ the owner publicly" block (and any block fed by a dump file)

you MUST check the source's age relative to the day being closed:

python - <<'PY'
import os, time, datetime
p = os.path.join(os.environ.get("IMPORTS_ROOT", ""), "content-factory", "fb_posts_scan.json")
age_h = (time.time() - os.path.getmtime(p)) / 3600 if os.path.exists(p) else None
print("MISSING" if age_h is None else "age %.1fh -> %s" % (age_h, "FRESH" if age_h < 30 else "STALE"))
PY

The fork (both branches are LOUD, neither is silent):

*๐Ÿ“ฃ Public posts for this day: no data - the wall collector has been silent since <date> (the Facebook rail), block skipped.*,

and the report to the owner gets a separate item: "โš ๏ธ the source went stale N days ago, the cure: โ€ฆ".

Why this rule exists: on 07-26 the block silently fell out, and that was discovered only after the day was already closed.

A silent skip is indistinguishable from "there were no posts" - exactly the quiet failure we have been fixing all month.

An empty day = the block is absent AS A FACT; a stale source = a hole, and it must be visible.

โ›” THE DAY GATE (origin: the owner, 2026-07-10): we do not finalize TODAY's chapter

The day is still running โ†’ do NOT finalize that day's chapter. During the day: only beats into the canon + live posts. The day's chapter (RU/EN/DEV) is written after the day ends (00:00 local; usually in the morning for the day before). Written before the day ended on a direct order (a milestone) โ†’ the chapter must honestly say "the day is not closed" in the ๐Ÿ…ฟ๏ธ P.S. and receive a final "โซ UPD (date)" pass the next day (append-only). A quiet day is closed with a line in the week's README, also only after that day ends. Canon: the rulebook entry on finalizing a day's chapter only after the day closes.

STEP 1 โ€” WHAT WE ARE DOING (the fork, per the owner's request)


STEP 2 โ€” THE PER-DAY PIPELINE (when the RU chapter does not exist yet)

  1. The extractor (a cheap-model agent, model:'sonnet'). Reads Retros\retro-YYYY-MM-DD-*.md (+ the raw laptop logs for early days) โ†’ writes a factsheet book-factsheets\YYYY-MM-DD.md:
  1. The writer (the authorial model, model:'fable'). Loads STYLE.md + VOICE-RECIPE.md + PLAYBOOK.md + STYLE-VISUAL.md + BOOK-SPEC.md + the factsheet + the wall JSON. Writes a rich duet chapter: ๐Ÿ“œ a quote (real ones only) โ†’ ๐Ÿท tags โ†’ โ“ "The season's question" (the running callback hook: "Will an LLM company hire a non-coder who comes with a robot cofounder?" โ€” how this day moves the answer) โ†’ โฎ "Previously on The Journey" (threads from the canon arcs/loops show-canon\arcs+loops, NOT from THREADS) โ†’ ๐ŸŽฌ cold open + TLDR โ†’ ๐Ÿ† the main story โ†’ ๐ŸŽž a mini-episode per significant session (completeness is mandatory, say so plainly when something is unfinished) โ†’ ๐Ÿง’ "today we learned a lot" + ๐Ÿ‘ถ "in really plain words" โ†’ โœ… The day's usefulness (2-5 items, a verb + โ†’[link]) โ†’ ๐ŸŽฏ The day's intentions (+ at a real fork of the day, a > ๐Ÿ—ณ Reader vote: with 2-3 options whose outcome genuinely affects the plot; no fork โ†’ exactly ONE > A question for you, reader:) โ†’ ๐Ÿ’ฅ Epic Fails (2-5 honest ones, don't pad) โ†’ ๐Ÿ“ฃ The owner publicly (the day's posts from the wall JSON, each with a link) โ†’ ๐Ÿ’ธ The day's till (relative numbers) โ†’ ๐Ÿ“Š The season scoreboard (in the end-of-week chapter: deltas, NOT absolutes โ€” subscribers/posts/arc days/sales as +N, not "N in total") โ†’ ๐Ÿ“ "texts uncut" โ†’ ๐Ÿ“Ž the artifacts table โ†’ ๐Ÿ…ฟ๏ธ P.S. Footer: *โœ๏ธ Written: the chapter - <model> ยท the day blocks - <model>* + the byline.
  2. Artifacts: copy into artifacts\{...}\ ONLY clean, self-contained versions (not raw vault files โ€” those carry OPSEC). DRs/syntheses/decision memos are published freely; the carve-out is a dossier on a specific non-public person.
  3. Leak scan (STEP 3) โ†’ commit + push.

STEP 3 โ€” THE LEAK-SCAN GATE (mandatory before EVERY push)

โš ๏ธ A GATE, not a report: if grep -qE ... ; then โ†’ BLOCK the push, clean it up, re-run.

โญ NAMES ALWAYS STAY IN THE BOOK (the owner's rule, 2026-07-06, emphatic). Names โ‰  secrets. Generous attribution = trust. The gate catches ONLY real secrets:

โญ The gate = ONE script, not a hand-rolled grep (the forever-fix of 2026-07-27, after a real leak).

A manual grep failed twice: (1) if ... | grep ... | head -10; then โ€” head ALWAYS returns 0,

so the gate physically could not block a push and reported a false verdict for three weeks;

(2) scanning only git diff is blind to what is ALREADY in the file โ€” one missed diff became

a permanent leak in the public canon/BEATS.md (an IP, a hostname, bot handles).

cd "<GITHUB_ROOT>/the-journey"
# 1) THE MAIN THING: scan the ARTIFACTS (the files), not only the diff
python "$IMPORTS_ROOT/leak_scan.py" 03-july-productization canon --profile book || echo "โ›” BLOCK"
# 2) additionally: only the ADDED lines of the stage
git diff --cached | python "$IMPORTS_ROOT/leak_scan.py" --stdin --diff --profile book || echo "โ›” BLOCK"

The book profile = machine identifiers are blocked, people's names are allowed (the owner's rule).

A non-zero exit code = the push is blocked. โ›” Never append | head to a grep inside an if โ€” that is the bug.

canon_render.py now scrubs by itself and exits with code 2 if a finding survives the scrub.

Plus with your eyes: OTP/2FA/credentials, device IDs (the 7-character Syncthing-style class), chat IDs, absolute sums of money + team salaries, medical/passport/visa data, dossiers of closed clubs, live CRM vulnerabilities. All of that is OUT. People's names are IN.


BOUNDARIES AND LAWS


โœ… ACTIVATED 2026-07-08 (the "Content Strategy and Community" session, on the owner's "+")

UPGRADE BACKLOG (not done yet)

The canon and the project's full journal: memory\book-the-journey.md.

<!--kit-footer-->


Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.