chore: remove AI session save/resume helpers #56

Merged
rootiest merged 1 commits from chore/remove-ai-session-save into main 2026-06-17 20:31:29 +00:00
Owner

Summary

Removes the AI session save/resume system entirely — the hook scripts that captured session IDs and the resume functions that consumed them.

Removed functions

  • save_claude_session.fish, save_antigravity_session.fish — session-start hook scripts that wrote .claude_session / .antigravity_session
  • claude-resume.fish, antigravity-resume.fish, code-resume.fish — consumers of those session files

Docs

  • docs/fish-config.md — dropped the three function sections and the session-helper mention in the python3 dependency note
  • docs/fish-config.index — removed the orphaned keyword entries
  • Generated html/, wiki/, and man page are rebuilt by build-docs.yml on merge to main

Out-of-repo cleanup (not part of this diff)

  • Removed the SessionEnd hook registration from ~/.claude/settings.json
  • Removed the dangling SessionEnd hook from ~/.gemini/settings.json (it pointed at an already-deleted save_gemini_session.fish)
  • Swept and deleted leftover session-id droppings across $HOME: 27 .claude_session and 9 .gemini_session files

Left intact

agy, antigravity-ide, claude, claude-pr, claude-docs, superpowers, scrub — none touch the session files. The .gitignore .claude* / .antigrav* patterns are general AI-file rules, not part of this setup.

Manual Verification

  • Open a new fish shell — no errors about missing save_claude_session / claude-resume / code-resume functions
  • Run type claude-resume antigravity-resume code-resume save_claude_session save_antigravity_session — all report "could not find"
  • Confirm agy, claude, antigravity-ide, superpowers still work normally
  • Start and exit a Claude Code session — no .claude_session file appears in the cwd
  • config_help (or man fish-config) — no claude-resume / antigravity-resume / code-resume entries remain
  • After merge, confirm build-docs.yml regenerated the HTML/wiki/man page without the removed sections
## Summary Removes the AI session save/resume system entirely — the hook scripts that captured session IDs and the resume functions that consumed them. ### Removed functions - `save_claude_session.fish`, `save_antigravity_session.fish` — session-start hook scripts that wrote `.claude_session` / `.antigravity_session` - `claude-resume.fish`, `antigravity-resume.fish`, `code-resume.fish` — consumers of those session files ### Docs - `docs/fish-config.md` — dropped the three function sections and the session-helper mention in the `python3` dependency note - `docs/fish-config.index` — removed the orphaned keyword entries - Generated `html/`, `wiki/`, and man page are rebuilt by `build-docs.yml` on merge to `main` ### Out-of-repo cleanup (not part of this diff) - Removed the `SessionEnd` hook registration from `~/.claude/settings.json` - Removed the dangling `SessionEnd` hook from `~/.gemini/settings.json` (it pointed at an already-deleted `save_gemini_session.fish`) - Swept and deleted leftover session-id droppings across `$HOME`: 27 `.claude_session` and 9 `.gemini_session` files ### Left intact `agy`, `antigravity-ide`, `claude`, `claude-pr`, `claude-docs`, `superpowers`, `scrub` — none touch the session files. The `.gitignore` `.claude*` / `.antigrav*` patterns are general AI-file rules, not part of this setup. ## Manual Verification - [x] Open a new fish shell — no errors about missing `save_claude_session` / `claude-resume` / `code-resume` functions - [x] Run `type claude-resume antigravity-resume code-resume save_claude_session save_antigravity_session` — all report "could not find" - [x] Confirm `agy`, `claude`, `antigravity-ide`, `superpowers` still work normally - [x] Start and exit a Claude Code session — no `.claude_session` file appears in the cwd - [x] `config_help` (or `man fish-config`) — no `claude-resume` / `antigravity-resume` / `code-resume` entries remain - [x] After merge, confirm `build-docs.yml` regenerated the HTML/wiki/man page without the removed sections
rootiest added 1 commit 2026-06-17 20:28:06 +00:00
Drop the save-session/resume system entirely:

- functions/save_claude_session.fish, save_antigravity_session.fish
  (session-start hook scripts)
- functions/claude-resume.fish, antigravity-resume.fish, code-resume.fish
  (consumers of the .claude_session/.antigravity_session files)

Also updates docs/fish-config.md (removes the three function sections,
drops the session-helper mention from the python3 dependency note) and
docs/fish-config.index (removes the orphaned keyword entries). Generated
html/wiki/man are rebuilt by build-docs.yml on merge.

External hook registrations were removed from ~/.claude/settings.json and
~/.gemini/settings.json (the latter pointed at an already-deleted
save_gemini_session.fish); those files live outside this repo.
rootiest merged commit 6a6eff2d00 into main 2026-06-17 20:31:29 +00:00
rootiest deleted branch chore/remove-ai-session-save 2026-06-17 20:31:29 +00:00
Sign in to join this conversation.