alivesession-context-rebuild

Featured

Merge multiple sessions into one working context and detect conflicts between parallel sessions. Dispatches subagent swarm to read files touched, extract log history, and resolve contradictory state. Use when resuming after days away or when parallel sessions may have written conflicting decisions. For browsing or reviving individual sessions, use alive:session-history instead.

AI & Automation 127 stars 8 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
70
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Session Context Rebuild You're returning to work that spans multiple sessions — possibly conflicting ones. The context window is empty but the walnut isn't. This skill dispatches subagents to deeply reconstruct what happened, what changed, where conflicts exist, and what the merged state should be. Then you resume with full context as if you never left. --- ## When to Use - Returning to a walnut after days/weeks away - Context was lost to compaction mid-session - Multiple sessions touched the same walnut in parallel and need merging - Picking up someone else's work in a shared walnut - "What was I doing here?" moments --- ## Process ### Phase 1: Scout (single agent) Dispatch one `general-purpose` subagent to map the territory. It reads the `session-history/SKILL.md` file and applies its browse logic against `.alive/_squirrels/`, then reports back: - Which sessions touched this walnut, when, by whom (engine) - Which files each session worked on (`working:` field in squirrel YAML) - Which bundles were active - Whether sessions overlap (parallel/conflicting work) - Unsaved stash items from crashed sessions **Cross-walnut detection:** the scout performs two queries, not one: 1. **Walnut-tagged match** — squirrel YAMLs where `walnut: {target}` (the obvious set) 2. **Routed-stash match** — squirrel YAMLs where any stash item's `routed:` field contains the target walnut name (catches maintenance sessions with `walnut: null` that routed work to this walnut) Merge-dedupli...

Details

Author
alivecontext
Repository
alivecontext/alive
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category