Skip to content

riattivazione session tracker - #11

Merged
fulvian merged 3 commits into
fix/session-tracking-reactivationfrom
main
Oct 13, 2025
Merged

riattivazione session tracker#11
fulvian merged 3 commits into
fix/session-tracking-reactivationfrom
main

Conversation

@fulvian

@fulvian fulvian commented Oct 12, 2025

Copy link
Copy Markdown
Owner

No description provided.

fulvian and others added 3 commits October 11, 2025 23:53
CHANGES:
- Remove PR approval requirements (enforce_admins: false)
- Keep essential protections (force push/delete disabled)
- Enable direct push to main for simplified workflow
- Add .gitignore patterns for test/temporary files
- Add setup-minimal-protection.sh script

ADDED DOCUMENTATION:
- DevStream session startup guide
- Semantic search testing guide
- Vector search optimization reports
- Implementation plans for multiple features
- Analysis and verification reports

ADDED SCRIPTS:
- Migration and backfill utilities
- Embedding verification tools
- Branch protection management scripts

WORKFLOW: git add → git commit → git push (direct to main)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Complete guide for new direct-push workflow with minimal protections.

INCLUDES:
- Daily workflow (git add → commit → push)
- Branch protection configuration (Opzione B)
- Security guarantees and rationale
- Special scenarios (force push, emergency override)
- Management scripts documentation
- Local ↔️ Remote sync strategy
- Troubleshooting guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ture

Remove unreliable session tracking system that consistently produced incomplete
and unusable session summaries despite multiple fix attempts. Simplify codebase
by removing complex session management that added no reliable value.

BREAKING CHANGES:
- Session tracking hooks (SessionStart, SessionEnd, PreCompact) removed
- work_sessions database table dropped
- Cross-session summary preservation no longer supported

Changes:
- Remove .claude/hooks/devstream/sessions/ directory (14 files)
- Remove session tracking from post_tool_use.py hook
- Disable DEVSTREAM_HOOK_SESSIONSTART and DEVSTREAM_HOOK_STOP in .env.devstream
- Remove SessionEnd/SessionStart/PreCompact from .claude/settings.json
- Update CLAUDE.md with deprecation notice
- Drop work_sessions and session_migration_log database tables

Project Structure Cleanup (separate improvement):
- Move documentation to docs/{architecture,guides,implementation,verification}/
- Move scripts to scripts/ directory
- Move test files to tests/{fixtures,manual}/ directories
- Move config files to config/ directory
- Remove 20+ obsolete test files from root directory

Alternatives for session tracking:
- Use git log for commit history
- Use mcp__devstream__devstream_search_memory for past work
- Implementation plans saved in docs/development/plan/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@fulvian
fulvian merged commit 5936b83 into fix/session-tracking-reactivation Oct 13, 2025
1 check passed
fulvian added a commit that referenced this pull request Oct 13, 2025
* feat: Simplify GitHub workflow - minimal branch protection for solo dev

CHANGES:
- Remove PR approval requirements (enforce_admins: false)
- Keep essential protections (force push/delete disabled)
- Enable direct push to main for simplified workflow
- Add .gitignore patterns for test/temporary files
- Add setup-minimal-protection.sh script

ADDED DOCUMENTATION:
- DevStream session startup guide
- Semantic search testing guide
- Vector search optimization reports
- Implementation plans for multiple features
- Analysis and verification reports

ADDED SCRIPTS:
- Migration and backfill utilities
- Embedding verification tools
- Branch protection management scripts

WORKFLOW: git add → git commit → git push (direct to main)

🤖 Generated with [Claude Code](https://claude.com/claude-code)



* docs: Add simplified GitHub workflow documentation

Complete guide for new direct-push workflow with minimal protections.

INCLUDES:
- Daily workflow (git add → commit → push)
- Branch protection configuration (Opzione B)
- Security guarantees and rationale
- Special scenarios (force push, emergency override)
- Management scripts documentation
- Local ↔️ Remote sync strategy
- Troubleshooting guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)



* refactor: Remove session tracking system and reorganize project structure

Remove unreliable session tracking system that consistently produced incomplete
and unusable session summaries despite multiple fix attempts. Simplify codebase
by removing complex session management that added no reliable value.

BREAKING CHANGES:
- Session tracking hooks (SessionStart, SessionEnd, PreCompact) removed
- work_sessions database table dropped
- Cross-session summary preservation no longer supported

Changes:
- Remove .claude/hooks/devstream/sessions/ directory (14 files)
- Remove session tracking from post_tool_use.py hook
- Disable DEVSTREAM_HOOK_SESSIONSTART and DEVSTREAM_HOOK_STOP in .env.devstream
- Remove SessionEnd/SessionStart/PreCompact from .claude/settings.json
- Update CLAUDE.md with deprecation notice
- Drop work_sessions and session_migration_log database tables

Project Structure Cleanup (separate improvement):
- Move documentation to docs/{architecture,guides,implementation,verification}/
- Move scripts to scripts/ directory
- Move test files to tests/{fixtures,manual}/ directories
- Move config files to config/ directory
- Remove 20+ obsolete test files from root directory

Alternatives for session tracking:
- Use git log for commit history
- Use mcp__devstream__devstream_search_memory for past work
- Implementation plans saved in docs/development/plan/

🤖 Generated with [Claude Code](https://claude.com/claude-code)



---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant