Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
1a56f2e
feat: Add comprehensive RAG and context documentation
eoln Aug 10, 2025
85a018c
refactor: Replace static context with intelligent eol-rag-context MCP…
eoln Aug 10, 2025
3c71855
feat: implement eol-rag-context MCP server core components
eoln Aug 10, 2025
682e500
feat: add comprehensive indexing, knowledge graph, and file watching
eoln Aug 10, 2025
3d5629b
feat: complete eol-rag-context MCP server implementation
eoln Aug 10, 2025
756373c
test: add comprehensive unit tests for eol-rag-context (48% coverage)
eoln Aug 10, 2025
cdca6b8
feat: Add comprehensive unit tests achieving 43% coverage
eoln Aug 10, 2025
f38f053
test: Achieve 43% test coverage with comprehensive unit tests
eoln Aug 10, 2025
7f09e19
test: Add comprehensive test documentation and coverage analysis
eoln Aug 10, 2025
3011b9c
test: Improve unit tests for moderate coverage modules
eoln Aug 10, 2025
89e3461
test: improve unit test coverage from 43% to 51%
eoln Aug 10, 2025
16a4e54
test: comprehensive test suite achieving 51% coverage
eoln Aug 10, 2025
9aa1722
test: add comprehensive integration test suite
eoln Aug 10, 2025
863d272
test: add automated integration test infrastructure
eoln Aug 10, 2025
0bada0c
docs: add comprehensive testing documentation
eoln Aug 10, 2025
fc5c996
docs: add comprehensive tutorial and example scripts
eoln Aug 10, 2025
1fb6631
docs: add pull request summary for review
eoln Aug 10, 2025
2dfd5e0
feat: ensure tutorial example tests use real Redis v8 instances
eoln Aug 10, 2025
974e617
fix: resolve test failures and improve coverage
eoln Aug 10, 2025
3b0f68d
fix: correct sys.exit mock in tests to properly raise SystemExit
eoln Aug 10, 2025
5cd816b
test: add comprehensive coverage test file (WIP)
eoln Aug 10, 2025
5f76faa
test: fix integration test imports and document coverage reality
eoln Aug 10, 2025
b236105
test: add automated Redis setup and fix integration test infrastructure
eoln Aug 10, 2025
575092e
fix: resolve Redis import and connection issues in integration tests
eoln Aug 10, 2025
61e2d3a
fix: add metadata to document chunks and improve test coverage
eoln Aug 11, 2025
9d67dd0
docs: mark Phase 3 as completed in TODO
eoln Aug 11, 2025
23598d6
fix: resolve type conversion issues in indexer
eoln Aug 11, 2025
3371a94
fix: Phase 6 - API mismatches and method compatibility
eoln Aug 11, 2025
b39df4b
fix: Phase 7 - Full workflow integration tests
eoln Aug 11, 2025
055dfea
docs: fix API examples and method signatures to match implementation
eoln Aug 11, 2025
427fa6b
docs: add comprehensive documentation standards and implementation plan
eoln Aug 11, 2025
df17a34
feat: implement comprehensive GitHub Actions quality gate with multi-…
eoln Aug 11, 2025
3fa1911
fix: update GitHub Actions to use non-deprecated action versions
eoln Aug 11, 2025
d2ba400
fix: remove non-existent unittest-mock dependency from CI workflows
eoln Aug 11, 2025
8575727
docs: implement Phase 1 - MkDocs foundation setup
eoln Aug 11, 2025
f416bfd
fix: resolve CI failures - Black formatting, SARIF upload, and depend…
eoln Aug 11, 2025
ebf3997
docs: add comprehensive docstrings and dev dependencies for documenta…
eoln Aug 11, 2025
41b1eb5
fix: correct unit test expectations for document processor
eoln Aug 11, 2025
92a1be8
docs: enhance config.py and indexer.py with comprehensive Google-styl…
eoln Aug 11, 2025
cabf470
fix: resolve CI failures - add missing dependencies and fix Black for…
eoln Aug 11, 2025
7fa6838
fix: add missing beautifulsoup4 and markdown dependencies to all CI s…
eoln Aug 11, 2025
7eeb566
docs: add comprehensive docstrings to RedisVectorStore class and methods
eoln Aug 11, 2025
a4d54bb
fix: replace manual dependency installation with proper requirements.…
eoln Aug 11, 2025
6111694
docs: add comprehensive docstrings to semantic_cache.py
eoln Aug 11, 2025
f86da95
fix: resolve SARIF upload permission issue in security gate
eoln Aug 11, 2025
5e327d8
feat(docs): complete comprehensive Google-style docstrings for all co…
eoln Aug 11, 2025
cd6612a
fix: update GitHub Actions to latest versions (2025 compatibility)
eoln Aug 11, 2025
9dc6c7b
feat(docs): apply Black formatting and update documentation standards
eoln Aug 11, 2025
ed2f9cf
fix: resolve failing unit tests in embeddings module
eoln Aug 11, 2025
0327ed3
docs: update documentation and MkDocs configuration
eoln Aug 11, 2025
1607328
fix: add timeout configuration to prevent hanging unit tests
eoln Aug 11, 2025
0388364
fix: complete timeout configuration for hanging unit tests
eoln Aug 11, 2025
9d67b89
fix: resolve infinite loop in document chunking causing test hangs
eoln Aug 11, 2025
f72ba0e
fix: resolve Redis socket option error in CI/CD integration tests
eoln Aug 11, 2025
2497336
fix: resolve remaining CI test failures and Black formatting
eoln Aug 11, 2025
9001e2d
fix: apply Black formatting to scripts/validate_docs.py
eoln Aug 11, 2025
a5e17d6
fix: apply Black formatting to all Python files
eoln Aug 11, 2025
bedfb91
fix: add logo, favicon and update copyright in documentation
eoln Aug 11, 2025
2040761
fix: simplify logo to clean white EOL text on transparent background
eoln Aug 11, 2025
b084d1b
fix: add isort and flake8 to dev dependencies, fix all import sorting
eoln Aug 11, 2025
23c4551
fix: remove duplicate workflow runs on pull_request events
eoln Aug 11, 2025
e158cbf
fix: apply Black formatting after isort changes
eoln Aug 11, 2025
260efff
feat: implement comprehensive UV-based dependency management for mono…
eoln Aug 11, 2025
6814c5a
fix: resolve CI/CD issues for dependency management workflow
eoln Aug 11, 2025
e0c104b
fix: resolve typer dependency conflict with fastmcp
eoln Aug 11, 2025
4241497
fix: resolve unit test mock issues and fix remove_source bug
eoln Aug 12, 2025
cd2b42d
style: apply Black formatting to conftest.py
eoln Aug 12, 2025
bb42507
fix: update deprecated GitHub Actions to v4
eoln Aug 12, 2025
8dc7fd2
fix: workaround UV sync issue with fastmcp version resolution
eoln Aug 12, 2025
a8bcd71
fix: update pydantic requirement to match fastmcp dependency
eoln Aug 12, 2025
bb4e480
fix: ensure dev dependencies don't downgrade pydantic
eoln Aug 12, 2025
a36ab8a
fix: install fastmcp with email extra for pydantic compatibility
eoln Aug 12, 2025
a42a44c
fix: remove safety package to resolve pydantic version conflict
eoln Aug 12, 2025
2d68b2e
fix: fix Security Scanning workflow UV sync issue
eoln Aug 12, 2025
95a6ba3
fix: re-enable quality gate and test workflows for pull requests
eoln Aug 12, 2025
769f9a3
fix: resolve all Code Quality issues and add pre-commit hooks
eoln Aug 12, 2025
1ffd35f
fix: resolve CI/CD failures
eoln Aug 12, 2025
8f5aa0f
fix: update rich dependency version for fastmcp compatibility
eoln Aug 12, 2025
346cabc
fix: correct tree-sitter Parser initialization API
eoln Aug 12, 2025
895fb30
fix: resolve UV workspace dependency conflicts
eoln Aug 12, 2025
3fd5641
fix: CI/CD issues - flake8 code quality and integration test script
eoln Aug 12, 2025
e82d70f
fix: tree-sitter API compatibility for new version
eoln Aug 12, 2025
1416de5
refactor: consolidate and clean up test suite
eoln Aug 12, 2025
aeba4dd
fix: update CI workflow after test cleanup
eoln Aug 12, 2025
af0b091
test: add and fix unit tests to improve coverage
eoln Aug 12, 2025
2312d13
test: reorganize test suite and improve coverage to 63%
eoln Aug 12, 2025
697782d
test: remove invalid tests for non-existent methods
eoln Aug 12, 2025
2271e13
fix: correct YAML indentation in workflow file
eoln Aug 13, 2025
f5f7a52
fix: code formatting and linting issues
eoln Aug 13, 2025
97047f5
feat: implement comprehensive .claude folder structure with PRP comma…
eoln Aug 13, 2025
8ca2af6
feat: add test coverage analysis and improvement plan
eoln Aug 13, 2025
b286086
fix: add pre-commit hook fix as critical first task in test coverage …
eoln Aug 13, 2025
2122e4f
feat: standardize Python 3.13 across project and extend CI matrix
eoln Aug 13, 2025
643a587
docs: add PRP review report for test coverage plan
eoln Aug 13, 2025
1429b04
feat: activate test coverage improvement plan
eoln Aug 13, 2025
b097165
fix: update pre-commit hooks for Python 3.13 compatibility
eoln Aug 13, 2025
495d3cf
refactor: reorganize tests with proper fixture separation
eoln Aug 13, 2025
5213c76
fix: resolve file watcher fixture issues
eoln Aug 13, 2025
3c08feb
feat: add GitHub Actions workflow with Python 3.13 matrix support
eoln Aug 13, 2025
83a8e11
feat: extend GitHub Actions workflow with Python 3.13 matrix support
eoln Aug 13, 2025
7c7ae51
docs: update plan with Phase 1 completion status
eoln Aug 13, 2025
3e09728
feat: improve test coverage for redis_client and embeddings
eoln Aug 13, 2025
eb76c0f
test: achieve 72.63% test coverage milestone 🎯
eoln Aug 13, 2025
de26f59
test: achieve 70.16% coverage - phenomenal breakthrough! 🚀
eoln Aug 13, 2025
c7f4df8
test: achieve 72.11% coverage - 4 modules now 80%+! 🎯
eoln Aug 13, 2025
5197552
test: achieve 72.98% total coverage - 5 modules at 80%+! 🚀
eoln Aug 13, 2025
8978280
test: achieve 74.79% total coverage - 7 modules at/near 80%+!
eoln Aug 14, 2025
aeacd7b
test: achieve 85.97% coverage on knowledge_graph.py!
eoln Aug 14, 2025
572d462
fix: resolve all 22 failing unit tests for 100% pass rate
eoln Aug 14, 2025
2a074aa
fix: correct test path in GitHub workflow
eoln Aug 14, 2025
2e04e54
fix: update NetworkX mocking for Python 3.13 compatibility
eoln Aug 14, 2025
5044b35
fix: centralize test mocking with proper setup/teardown
eoln Aug 14, 2025
12036b4
fix: add proper FileSystemEventHandler mock for watchdog
eoln Aug 14, 2025
5e49de1
refactor: merge Test RAG Context into Quality Gate workflow
eoln Aug 14, 2025
b7574fd
docs: comprehensive test isolation and Python 3.13 compatibility lessons
eoln Aug 14, 2025
81a5d07
fix: resolve pre-commit hook auto-formatting and CI/CD sync issues
eoln Aug 14, 2025
7b481a4
fix: auto-format all files with Black and isort for Code Quality CI
eoln Aug 14, 2025
53c24f2
fix: resolve all Code Quality linting violations
eoln Aug 14, 2025
1fbb34a
fix: restore test content length for chunk overlap test
eoln Aug 14, 2025
3d69c34
test: add extended tests for semantic_cache and other modules - cover…
eoln Aug 14, 2025
52c1e6d
fix: correct test mocks to respect actual interfaces
eoln Aug 14, 2025
505ac8c
test: boost coverage to 79.33% - close to 80% target
eoln Aug 14, 2025
d5f44ac
fix: convert multi-line Python scripts to single-line in workflow
eoln Aug 14, 2025
e787bf6
perf: optimize CI/CD pipeline for faster integration tests
eoln Aug 14, 2025
19d8bb6
refactor: move CI Python scripts to external files
eoln Aug 14, 2025
423fb06
feat: implement artifact caching for ultra-fast CI/CD dependencies
eoln Aug 14, 2025
b6f279b
refactor: consolidate all workflows into single CI/CD pipeline
eoln Aug 14, 2025
1911b7c
perf: implement ultra-fast dependency caching with uv lock files
eoln Aug 14, 2025
9386069
fix: correct virtual environment paths in integration/performance tests
eoln Aug 14, 2025
0a90e75
feat: enhance wheel caching robustness and error handling
eoln Aug 14, 2025
1b1b609
docs: add performance optimization documentation
eoln Aug 14, 2025
322d260
fix: implement cross-workflow artifact download using GitHub CLI
eoln Aug 14, 2025
ee733bf
docs: update performance docs with cross-workflow artifact support
eoln Aug 14, 2025
e08962e
feat: implement separate unit and integration coverage metrics
eoln Aug 14, 2025
21d9e86
feat: add coverage badges and auto-commit system
eoln Aug 14, 2025
3057b74
fix: update workflow triggers to include badge paths
eoln Aug 14, 2025
ce515cc
trigger: force CI/CD execution to test badge system
eoln Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
31 changes: 31 additions & 0 deletions .claude/CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# .claude Directory Rules

## Context Engineering Principles

- WRITE: Use plans/ for persistent task tracking
- SELECT: Load context/ files based on task requirements
- COMPRESS: Keep context window <80% utilization
- ISOLATE: Respect directory boundaries

## Directory Navigation

- Always check for nested CLAUDE.md when entering subdirectories
- Subdirectory rules override parent rules
- Load relevant context before ANY operation

## Directory Structure

- **context/**: Domain-specific knowledge and patterns
- **plans/**: Task planning and tracking with state management
- **commands/**: Reusable command patterns and workflows
- **findings/**: Research reports and investigation results (YYYYMMDD_ prefix)
- **settings.local.json**: MCP server configuration

## Usage

When working in this directory:

1. Check for local CLAUDE.md files in subdirectories
2. Load appropriate context based on task type
3. Use plans/ for structured task management
4. Reference commands/ for common workflows
133 changes: 133 additions & 0 deletions .claude/commands/CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Commands Directory Rules

## Overview

The `.claude/commands/` directory enables custom slash commands in Claude Code, allowing you to create reusable prompt templates and workflows that can be shared with your team or kept for personal use.

## How It Works

Claude Code automatically recognizes any Markdown file in your project's `.claude/commands/` directory as a slash command. The filename becomes the command name, making it instantly available through the slash command menu when you type `/`.

## Command Types

### Project Commands (This Directory)

- **prp/**: Product Requirements Prompt commands for feature blueprints
- **quality/**: Quality check commands for validation and testing
- **deploy/**: Deployment commands (future)

Commands in this directory are:

- Available to all team members when checked into git
- Shown as `/project:command-name` in Claude Code
- Listed with "(project)" suffix in `/help`

### Personal Commands

You can also create personal commands in `~/.claude/commands/` that are:

- Available across all your Claude Code sessions
- Private to your local environment
- Shown as `/personal:command-name`

## Command Structure

Each command file should include:

1. **Purpose**: Clear description of what the command accomplishes
2. **Prerequisites**: Required setup, environment, or conditions
3. **Command Sequence**: Step-by-step instructions or prompts
4. **Success Criteria**: How to verify successful execution
5. **Troubleshooting**: Common issues and solutions

## Advanced Features

### Parameter Support

Use `$ARGUMENTS` to pass parameters to commands:

```markdown
# Example: .claude/commands/analyze-issue.md
Please analyze and fix the GitHub issue: $ARGUMENTS
```

Usage: `/project:analyze-issue 1234`

### File References

Include file contents using the `@` prefix:

```markdown
Review the implementation in @src/utils/helpers.py
Compare @src/old-version.py with @src/new-version.py
```

### Bash Command Execution

Execute bash commands before the slash command runs using the `!` prefix:

```markdown
!git status
Analyze the current git status and suggest next steps.
```

## Namespacing

Commands are organized by namespace:

- `/project:command-name` - Project-specific commands (this directory)
- `/personal:command-name` - Personal commands from ~/.claude/commands/
- `/command-name` - Built-in Claude Code commands

## Best Practices

1. **Keep commands focused** - Single responsibility per command
2. **Include error handling** - Account for common failure modes
3. **Document prerequisites** - Clear setup requirements
4. **Provide examples** - Show expected usage and output
5. **Test before committing** - Ensure commands work for team
6. **Use descriptive names** - Make command purpose obvious
7. **Version control** - Track changes to team commands in git

## Example Command

```markdown
# .claude/commands/review-code.md
Please perform a comprehensive code review:

1. Check for code style violations
2. Identify potential bugs or edge cases
3. Suggest performance improvements
4. Verify test coverage
5. Review documentation completeness

Focus on: $ARGUMENTS

Include specific line numbers and code examples in your feedback.
```

## Integration with EOL RAG Framework

Our custom commands extend Claude Code for RAG development:

- **PRP commands**: Generate comprehensive implementation blueprints
- **Quality commands**: Validate Python code and RAG performance
- **Context-aware**: Leverage .claude/context/ knowledge base

## References

- [Claude Code Overview](https://docs.anthropic.com/en/docs/claude-code/overview)
- [Slash Commands Documentation](https://docs.anthropic.com/en/docs/claude-code/slash-commands)
- [Claude Code Best Practices](https://www.anthropic.com/engineering/claude-code-best-practices)
- [Claude Code GitHub Repository](https://github.com/anthropics/claude-code)
- [CLI Reference](https://docs.anthropic.com/en/docs/claude-code/cli-reference)

## Community Resources

- [Awesome Claude Code](https://github.com/hesreallyhim/awesome-claude-code) - Curated list of commands and workflows
- [Claude Command Suite](https://github.com/qdhenry/Claude-Command-Suite) - 119+ professional slash commands
- [Claude Code Complete Guide](https://www.siddharthbharath.com/claude-code-the-complete-guide/) - Comprehensive tutorial

---

*This directory follows Claude Code's official slash command conventions, enabling powerful custom workflows for the EOL RAG Framework development.*
185 changes: 185 additions & 0 deletions .claude/commands/prepare-pr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# Prepare Pull Request Command

## Purpose

Create and push a pull request with proper preparation and description.

## Prerequisites

- All quality checks passed (run check-quality.md first)
- Working on feature branch (not main)
- Changes committed locally
- GitHub CLI (`gh`) installed and authenticated

## Command Sequence

### 1. Ensure Branch is Up to Date

```bash
# Fetch latest changes
git fetch origin main

# Rebase on main (or merge if preferred)
git rebase origin/main

# Resolve any conflicts if they arise
# git status
# git add <resolved-files>
# git rebase --continue
```

### 2. Run Final Quality Check

```bash
# Quick quality validation
python -m black src/ tests/ --check && \
python -m pytest tests/ -q
```

### 3. Review Changes

```bash
# View all changes
git diff origin/main...HEAD

# List changed files
git diff --name-only origin/main...HEAD

# Check commit history
git log --oneline origin/main..HEAD
```

### 4. Push Branch

```bash
# Push to remote
git push -u origin $(git branch --show-current)

# If rebased, might need force push
# git push -u origin $(git branch --show-current) --force-with-lease
```

### 5. Create Pull Request

```bash
# Create PR with title and body
gh pr create \
--title "[Type] Brief description" \
--body "$(cat <<EOF
## Summary
Brief description of what this PR accomplishes

## Changes
- List key changes
- Include important modifications
- Note any refactoring

## Testing
- Ran unit tests: \`pytest tests/\`
- Ran integration tests: \`pytest tests/integration/\`
- Coverage: XX%

## Checklist
- [ ] Tests passing
- [ ] Documentation updated
- [ ] Code formatted (Black)
- [ ] Type hints added
- [ ] No security issues

## Breaking Changes
None (or list them)

## Performance Impact
None (or describe impact)
EOF
)" \
--base main
```

### 6. Alternative: Create Draft PR

```bash
# Create as draft for work in progress
gh pr create --draft \
--title "[WIP] Feature description" \
--body "Work in progress..." \
--base main
```

### 7. View PR Status

```bash
# Check PR checks status
gh pr checks

# View PR in browser
gh pr view --web
```

## PR Title Conventions

- `feat:` New feature
- `fix:` Bug fix
- `docs:` Documentation only
- `style:` Formatting, no code change
- `refactor:` Code restructuring
- `test:` Adding tests
- `chore:` Maintenance

## Success Criteria

- ✅ Branch up to date with main
- ✅ All tests passing locally
- ✅ PR created successfully
- ✅ CI/CD checks triggered
- ✅ PR has clear description

## Troubleshooting

### Merge Conflicts

```bash
# If rebase has conflicts
git status
# Edit conflicted files
git add <resolved-files>
git rebase --continue
```

### Push Rejected

```bash
# If push rejected after rebase
git push --force-with-lease
```

### PR Checks Failing

```bash
# View check details
gh pr checks

# View specific workflow run
gh run list --branch $(git branch --show-current)
gh run view <run-id>
```

### Update Existing PR

```bash
# Add commits and push
git add .
git commit -m "Address review feedback"
git push

# Update PR description
gh pr edit --body "Updated description..."
```

## Best Practices

1. Keep PRs small and focused
2. Write descriptive commit messages
3. Respond to review feedback promptly
4. Update PR description as needed
5. Link related issues with "Fixes #123"
Loading
Loading