Skip to content

th-d85dfa: teach th prime the SQLite-era pearls workflow - #547

Merged
brentrager merged 1 commit into
mainfrom
th-d85dfa-pearls-guidance
Sep 9, 2026
Merged

brentrager merged 1 commit into
mainfrom
th-d85dfa-pearls-guidance

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Problem

th prime (the primer every harness session loads) was rewritten for SQLite in #522 only as far as removing Dolt. It still had no word that worktrees share the machine-global store (agents kept hopping to main to file pearls), no checkpoint/handoff commands (#523), and a ### Sync heading that actually held search/stats.

Solution

Rewrite the pearls parts of crates/smooth-cli/prompts/prime.md: worktrees-share-the-store rule (verified against resolve_project_root, which keys on git rev-parse --git-common-dir), push/pull are notices, a "Checkpoints & handoff" section (checkpoint, show --handoff, prime --in-progress), "Search & stats" named honestly, a "Team sync" section pointing at th pearls sync (th-19cca5, #529), and a close-pearl/checkpoint step in the session-close checklist.

Sibling PR fixes the same wording in smooai's CLAUDE.md; smooblue's main was already fixed by SmooAI/smooblue#100.

Verification

Prose only — no code changed, so no test was added (prime.md is not covered by one today). oxfmt --check clean. Pearl th-d85dfa.

🤖 Generated with Claude Code

https://claude.ai/code/session_01M9HmiTg9pYARWUdaXYasqq

The primer every session loads still described the Dolt world implicitly:
no mention that worktrees share the store, no checkpoint/handoff commands,
and a 'Sync' heading that held search/stats. Pearls are one machine-global
SQLite file now (PR #522), push/pull are notices, and handoff is
checkpoint + show --handoff (PR #523), so the primer says so.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M9HmiTg9pYARWUdaXYasqq
@changeset-bot

changeset-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8ed6a56

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smooai/smooth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@brentrager
brentrager enabled auto-merge (squash) September 9, 2026 01:57
@brentrager
brentrager merged commit b4c50b4 into main Sep 9, 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.

1 participant