Skip to content

feat(claude-sessions): narrate the instance's own development#164

Merged
jordanrburger merged 2 commits into
mainfrom
upstream/patterns-claude-sessions
Jun 23, 2026
Merged

feat(claude-sessions): narrate the instance's own development#164
jordanrburger merged 2 commits into
mainfrom
upstream/patterns-claude-sessions

Conversation

@jordanrburger

Copy link
Copy Markdown
Collaborator

Part of the de-personalized Patterns batch — upstreaming accumulated instance rules into the engine phases (Phase-1 work for the connector-based migration, #156). Follows the method from #157. Last file in the queued batch.

What

One rule added to phases/connectors/claude-sessions.md (assembles into SKILL only — connector phase, requires: claude_sessions, mode: [consolidation]):

  • Narrate the instance's own development (Pattern require_data_dir TOCTOU between exists() and is_dir() #65) — work on the system itself (commits/PRs against the engine/plugin or a companion app, sessions spent building the instance) is invisible to the standard connector scans, which target the user's work product (the repos/trackers tied to projects). Sweep the instance's own dev repos' git deltas each run and narrate them; surface an instance-owned PR that's open/waiting (or stale ≥48h) like any work-product PR. Frames the vault's own delta as already covered (Git Setup phase) and extends the same treatment to the instance's other repos.

De-personalization note

Pattern #65's originating incident named specific private repos and absolute /Users/... paths. Per the batch's explicit instruction to parameterize repo names/paths, the rule reads the repo set from this instance's configuration and hardcodes nothing — no user paths, no private-repo names. An instance whose only repo is its vault just relies on the existing vault narration.

Verification

  • Assembly checked via _assemble(cfg, kind): lands in SKILL only, not DREAMING/RESEARCH (mode: [consolidation]); {{INSTANCE_NAME}} renders correctly.
  • Diff grepped clean of names / employer / customers / Slack IDs / repo-PR-Linear IDs / user paths (specifically checked for /Users/, ~/, and private-repo names — none present).

🤖 Generated with Claude Code

Jordan Burger and others added 2 commits June 23, 2026 14:10
Upstreamed from accumulated instance experience into the claude-sessions
outbound-scan (assembles into SKILL only, requires: claude_sessions):

Work on the system itself — commits/PRs against the engine/plugin or a
companion app, sessions spent building the instance — is invisible to the
standard connector scans, which target the user's work product. Sweep the
instance's own dev repos' git deltas each run and narrate them, surfacing
an instance-owned open/stale PR like any work-product PR.

The repo set is parameterized: read from this instance's configuration,
never hardcoded — no user paths, no private-repo names.

Generic rule; originating example (which named specific repos/paths) dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jordanrburger jordanrburger merged commit 5a7c7df into main Jun 23, 2026
5 checks passed
@jordanrburger jordanrburger deleted the upstream/patterns-claude-sessions branch June 23, 2026 21:53
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