end-session: 2026-10-13 log, context, README
Claude-Session: https://claude.ai/code/session_01SCd4vYV3ig6CpcPV9PCsC6
This commit is contained in:
11
CONTEXT.md
11
CONTEXT.md
@@ -2,14 +2,11 @@
|
||||
|
||||
Current work focus and active tasks. Used by `context-load` to orient agents at session start.
|
||||
|
||||
## Pending Push
|
||||
## Recent
|
||||
|
||||
Three repos committed locally, not yet pushed (SSH key `gitea.ai-enablement.2026` required):
|
||||
- `claude-foundations`: session lifecycle scripts + systemd config (`install-systemd.sh`, `claude-sessions-shutdown`, `claude-sessions`, `config/systemd/user/`)
|
||||
- `custom-claude-skills`: `/exit-session` skill + `--all-profiles` flag in `install.sh`
|
||||
- `small-scripts`: `claude-tmux` registry hook
|
||||
|
||||
Recovery: `ssh-add ~/.ssh/gitea.ai-enablement.2026` then push each repo.
|
||||
- `claude-sessions` (2026-10-13): new session defaults to cwd's CLAUDE.md project; new and resumed sessions attach (recover attaches only when one session is selected). Pushed (11ee50e). Not yet tried live end-to-end from the menu.
|
||||
- Sonnet driver in `small-scripts/scripts/claude-profile` now `claude-sonnet-5-5`; other drivers (haiku, opus, fable) still on older IDs.
|
||||
- Untracked, left alone: `insights-claude-md-profile-PLAN.md`, `scripts/__pycache__/` (consider gitignoring).
|
||||
|
||||
## Active
|
||||
|
||||
|
||||
@@ -154,6 +154,6 @@ rm <file>.pre-lint
|
||||
| `scripts/set-topic.sh` | Set the session topic: `set-topic.sh <cwd> "topic text"` |
|
||||
| `scripts/extract-transcripts.py` | Transcript backup tracking — register backups, list unprocessed, extract conversation text, mark processed |
|
||||
| `scripts/list-transcripts-here.sh` | Wrapper calling `extract-transcripts.py --list $(pwd)` — used in `/log` skill pre-gathered context |
|
||||
| `scripts/claude-sessions` | Session lifecycle manager — registry, interactive menu, recover after restart, gc. Symlinked to `~/sbin/` |
|
||||
| `scripts/claude-sessions` | Session lifecycle manager — registry, interactive menu (new session defaults to cwd project; new/resume land you in tmux), recover after restart, gc. Symlinked to `~/sbin/` |
|
||||
| `scripts/claude-sessions-shutdown` | Graceful shutdown — sends `/exit-session` to all Claude tmux sessions, waits, force-kills. Called by systemd |
|
||||
| `scripts/install-systemd.sh` | Install `config/systemd/user/claude-sessions-save.service` to `~/.config/systemd/user/`, enable and start |
|
||||
|
||||
17
memory/log/2026-10-13.100156.md
Normal file
17
memory/log/2026-10-13.100156.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Session Log -- 2026-10-13
|
||||
|
||||
## Summary
|
||||
Improved `claude-sessions`: new sessions default to the cwd's CLAUDE.md project, and both new and resumed sessions now attach instead of leaving the user at the shell. Moved the default Sonnet model to claude-sonnet-5-5. Pushed claude-foundations and small-scripts.
|
||||
|
||||
## Decisions
|
||||
- Decision: Default model changed in `claude-profile` (small-scripts), not `claude-sessions` -- Rationale: the `sonnet` driver->model-ID map lives there; claude-sessions only passes a mode.
|
||||
- Decision: `recover` attaches only when exactly one session is selected -- Rationale: cannot attach to several; multi-select stays detached.
|
||||
- Decision: `claude-sessions resume <id>` CLI still attaches only with `--attach` -- Rationale: scripted use; only menu/recover paths changed.
|
||||
|
||||
## Gotchas Discovered
|
||||
- **[claude-sessions]** Menu "n" called `cmd_spawn` with `attach=False`, and `cmd_spawn` execs `claude-tmux`, so the user was dropped to the shell. Fix: pass `attach=True` (claude-tmux already supports `--attach`, using switch-client inside tmux).
|
||||
- **[claude-sessions]** `find_claude_md_dir` walks parents up to $HOME, so under `~/dev/claude/<x>` with no CLAUDE.md of its own it offers `~/dev/claude` (root has a CLAUDE.md).
|
||||
|
||||
## Key Context
|
||||
- Model IDs: `projects/small-scripts/scripts/claude-profile` `driver_model_id()`; spec `specs/claude-profile.spec.md`. Other drivers (haiku 4.5, opus 4-8, fable-5) not updated.
|
||||
- Commits: claude-foundations 11ee50e, small-scripts 3461453.
|
||||
Reference in New Issue
Block a user