Skip to content

Commit d2d388e

Browse files
Elle Mackeyclaude
andcommitted
Reorganize: Move agentic work to okp_mcp_agent/ subfolder
- Move 59 agentic files to dedicated okp_mcp_agent/ subfolder - Fix all imports (scripts.* -> relative imports, lightspeed_evaluation.agents -> okp_mcp_agent.core) - Fix config paths (config/okp_mcp_test_suites -> okp_mcp_agent/config/test_suites) - Update usage examples in docstrings - Create TODO.md and IMPORT_FIXES_NEEDED.md documentation - Create BRANCH_ORGANIZATION_REPORT.md for onboarding Prepares agent system for migration to okp-mcp repo. See okp_mcp_agent/TODO.md for migration checklist. Files moved: - agents/ (5 files): okp_mcp_agent.py, llm_advisor, solr_checker, etc. - bootstrap/ (5 files): JIRA extraction scripts - pattern_discovery/ (3 files): Pattern analysis - core/ (4 files): LinuxExpert, SolrExpert, PatternDiscovery - tests/ (17 files): All agent tests - config/ (35 files): test_suites, patterns, bootstrap artifacts - docs/ (10 files): Agent documentation - artifacts/ (13 files): Bootstrap run outputs Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d7e7787 commit d2d388e

219 files changed

Lines changed: 7734 additions & 35484 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Detect Secrets
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
detect-secrets:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.11'
18+
- name: Python version
19+
run: python --version
20+
- name: Install uv
21+
run: pip install --user uv
22+
- name: Install dependencies
23+
run: uv sync
24+
- name: Install devel dependencies
25+
run: uv sync --group dev
26+
- name: Scan for secrets
27+
run: make detect-secrets

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,11 @@ mcp_retrieval_output/
209209
okp_test_data/
210210
docs_draft/
211211

212+
# Claude Code cache and project files
213+
.claude/
214+
215+
# Demo workflow temporary working files (test_pattern_workflow.sh copies these from /tmp/)
216+
# Note: Versioned pattern files in config/bootstrap_YYYYMMDD/ are kept
217+
/patterns_report.json
218+
/config/tickets_with_patterns.yaml
219+

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ Before considering any code change complete, you **MUST** run:
4949
make black-format
5050

5151
# Run all pre-commit checks at once (same as CI)
52-
make pre-commit # Runs: bandit, check-types, pyright, docstyle, ruff, pylint, black-check
52+
make pre-commit # Runs: bandit, check-types, pyright, docstyle, ruff, pylint, black-check, detect-secrets
5353
# or Run each quality checks individually:
5454
make bandit # Security scan
55+
make detect-secrets # Scan for secrets/credentials
5556
make check-types # Type check
5657
make pyright # Type check
5758
make docstyle # Docstring style

BEST_PRACTICES_TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ done
193193
vim src/okp_mcp/tools.py
194194

195195
# Build and deploy
196-
podman build -t localhost/okp-mcp:elle .
196+
podman build -t localhost/okp-mcp:dev .
197197
# ... deploy to test environment ...
198198

199199
# Run 3 evals

0 commit comments

Comments
 (0)