feat(claude-sessions): narrate the instance's own development#164
Merged
Conversation
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>
# Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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]):require_data_dirTOCTOU betweenexists()andis_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
_assemble(cfg, kind): lands in SKILL only, not DREAMING/RESEARCH (mode: [consolidation]);{{INSTANCE_NAME}}renders correctly./Users/,~/, and private-repo names — none present).🤖 Generated with Claude Code