docs(work): update session-hygiene progress

This commit is contained in:
dan 2026-01-25 11:49:24 -08:00
parent 90114b451a
commit 796200a277
2 changed files with 8 additions and 3 deletions

View file

@ -85,6 +85,7 @@
{"id":"skills-7n4","title":"Design: Rollback strategy for failed workers","description":"Consensus gap: No rollback strategy. Handle: stuck workers, rejected reviews, merge conflicts. Branch archive/delete, state reset for re-assignment, evidence preservation for debugging.","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-10T13:55:24.144602107-08:00","created_by":"dan","updated_at":"2026-01-15T20:33:21.029844282-08:00","closed_at":"2026-01-15T20:33:21.029844282-08:00","close_reason":"Merged into skills-ya3n (stale worker salvage)","dependencies":[{"issue_id":"skills-7n4","depends_on_id":"skills-s6y","type":"blocks","created_at":"2026-01-10T13:55:24.147809879-08:00","created_by":"dan"}]}
{"id":"skills-7s0","title":"Compare STATIC_DATA.md with upstream","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-03T20:15:55.193704589-08:00","updated_at":"2025-12-03T20:19:29.659256809-08:00","closed_at":"2025-12-03T20:19:29.659256809-08:00","dependencies":[{"issue_id":"skills-7s0","depends_on_id":"skills-ebh","type":"discovered-from","created_at":"2025-12-03T20:15:55.195160705-08:00","created_by":"daemon","metadata":"{}"}]}
{"id":"skills-7sh","title":"Set up bd-issue-tracking Claude Code skill from beads repo","description":"Install the beads Claude Code skill from https://github.com/steveyegge/beads/tree/main/examples/claude-code-skill\n\nThis skill teaches Claude how to effectively use beads for issue tracking across multi-session coding workflows. It provides strategic guidance on when/how to use beads, not just command syntax.\n\nFiles to install to ~/.claude/skills/bd-issue-tracking/:\n- SKILL.md - Core workflow patterns and decision criteria\n- BOUNDARIES.md - When to use beads vs markdown alternatives\n- CLI_REFERENCE.md - Complete command documentation\n- DEPENDENCIES.md - Relationship types and patterns\n- WORKFLOWS.md - Step-by-step procedures\n- ISSUE_CREATION.md - Quality guidelines\n- RESUMABILITY.md - Making work resumable across sessions\n- STATIC_DATA.md - Using beads as reference databases\n\nCan symlink or copy the files. Restart Claude Code after install.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-03T17:53:43.254007992-08:00","updated_at":"2025-12-03T20:04:53.416579381-08:00","closed_at":"2025-12-03T20:04:53.416579381-08:00"}
{"id":"skills-7v88","title":"Consolidate skills to single Nix-managed source","description":"## Context\nSkills are scattered across multiple directories with partial overlap:\n- ~/.codex/skills/ (10 skills)\n- ~/.claude/skills/ (9 skills)\n- ~/.pi/agent/skills/ (4 skills)\n- ~/.config/opencode/skills/ (7 skills)\n\nSee docs/intent/2026-01-25-skill-organization.md and docs/approach/2026-01-25-skill-organization.md\n\n## Work\nFollow docs/work/2026-01-25-skill-organization.md (14 items across 3 phases)\n\n## Decisions Needed\n- skill-creator, skill-installer (codex only) — keep or drop?\n- web-search (opencode only) — make universal?\n- IAW skills (intent/approach/work) — currently pi-only, should be universal\n\n## Inventory\n| Skill | codex | claude | pi | opencode |\n|-------|-------|--------|-----|----------|\n| approach | | | ✓ | |\n| code-review | ✓ | ✓ | | |\n| hq | ✓ | ✓ | | |\n| intent | | | ✓ | |\n| niri-window-capture | ✓ | ✓ | | ✓ |\n| nix-review | | ✓ | | ✓ |\n| ops-review | ✓ | ✓ | | |\n| orch | ✓ | ✓ | | ✓ |\n| playwright-visit | ✓ | ✓ | | ✓ |\n| ralph-work-loop | | | ✓ | |\n| screenshot-latest | ✓ | ✓ | | ✓ |\n| skill-creator | ✓ | | | |\n| skill-installer | ✓ | | | |\n| web-search | | | | ✓ |\n| work | | | ✓ | |\n| worklog | ✓ | ✓ | | ✓ |","status":"open","priority":2,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-25T11:38:39.656818695-08:00","created_by":"dan","updated_at":"2026-01-25T11:38:39.656818695-08:00"}
{"id":"skills-827e","title":"Verify getBranchStatus() usage or remove","description":"[DEAD] LOW git.nim:130-143 - getBranchStatus() may be unused. Verify usage across codebase, delete if unused.","status":"closed","priority":4,"issue_type":"task","created_at":"2026-01-10T19:52:14.081128399-08:00","created_by":"dan","updated_at":"2026-01-11T15:46:39.036708173-08:00","closed_at":"2026-01-11T15:46:39.036708173-08:00","close_reason":"Closed"}
{"id":"skills-85au","title":"ui-query: improve exception handling (avoid bare except pass)","status":"closed","priority":2,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-15T14:22:04.212145461-08:00","created_by":"dan","updated_at":"2026-01-15T15:39:09.790757355-08:00","closed_at":"2026-01-15T15:39:09.790757355-08:00","close_reason":"Added --debug flag and log_debug() to all scripts. Exception handlers now log context when debug enabled."}
{"id":"skills-8ak","title":"Evaluate: Git bundle checkpoints (SkillFS pattern)","description":"SkillFS pattern: every agent sandbox is a git repo. Session ends → git bundle stored. New session → restore from bundle, continue where left off. Provides: persistence across sessions, full audit trail via git log, crash recovery. Evaluate if this fits our architecture or if worktrees are sufficient. See github.com/mupt-ai/skillfs","status":"open","priority":4,"issue_type":"task","created_at":"2026-01-10T15:41:00.52226419-08:00","created_by":"dan","updated_at":"2026-01-15T20:39:32.827364079-08:00","dependencies":[{"issue_id":"skills-8ak","depends_on_id":"skills-s6y","type":"blocks","created_at":"2026-01-10T15:41:00.523166841-08:00","created_by":"dan"}]}

View file

@ -14,15 +14,16 @@ Link to: [docs/approach/2026-01-24-session-hygiene.md](../approach/2026-01-24-se
- Verification: `ls ~/.pi/agent/extensions/session-hygiene/index.ts`
- [x] **W002**: Implement git status helper
- [x] **W003**: Implement footer widget showing dirty file count
- Verification: `pi -e ~/.pi/agent/extensions/session-hygiene -p "test" 2>&1 | head -5` (no syntax errors)
- [ ] **W003**: Implement footer widget showing dirty file count
- [x] **W003**: Implement footer widget showing dirty file count
- Verification: Start pi in a dirty repo, observe widget shows file count
- [ ] **W004**: Hook tool_result to update widget after bash/write/edit
- [x] **W004**: Hook tool_result to update widget after bash/write/edit
- Verification: In pi, write a file, observe widget count increases
- [ ] **W005**: Implement git_commit tool (stage files + commit)
- [x] **W005**: Implement git_commit tool (stage files + commit)
- Verification: `pi -p "Use git_commit to commit README.md with message 'test: verify tool'"` in test repo
### Phase 2: /commit Command
@ -40,6 +41,9 @@ Link to: [docs/approach/2026-01-24-session-hygiene.md](../approach/2026-01-24-se
- (2026-01-24 23:xx) W001: `ls ~/.pi/agent/extensions/session-hygiene/index.ts` → exists
- (2026-01-24 23:xx) W002: jiti load fails on missing module (expected) — syntax valid
- (2026-01-24 23:xx) W003: Widget shows "4 files" in dim gray, disappears after commit
- (2026-01-24 23:xx) W004: Widget updates after file writes
- (2026-01-24 23:xx) W005: git_commit tool worked — committed docs, widget disappeared
## Notes