Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- '.github/CODEOWNERS'
code:
- '**/*.py'
- 'requirements.txt'
- 'pyproject.toml'
- 'pytest.ini'
- 'mcp.json.example'
Expand All @@ -48,8 +47,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
pip install -e ".[dev]"
- name: Check generated edge navigation doc
if: steps.changes.outputs.code == 'true'
run: python scripts/generate_edge_navigation.py --check
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,17 @@ dependencies = [
"sentence-transformers>=5.4.0,<6",
"tree-sitter>=0.25.2,<0.26",
"tree-sitter-java>=0.23.5,<0.24",
"pydantic>=2.0,<3",
"unidiff>=0.7.3,<1",
]

[project.optional-dependencies]
dev = [
"pytest>=7",
"pytest-asyncio>=0.21",
"ruff>=0.4",
]

[project.urls]
Homepage = "https://github.com/HumanBean17/java-codebase-rag"
Repository = "https://github.com/HumanBean17/java-codebase-rag"
Expand Down
144 changes: 0 additions & 144 deletions requirements.txt

This file was deleted.

14 changes: 7 additions & 7 deletions tests/test_agent_skills_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,25 +167,25 @@ def test_edge_type_refs_are_valid(self):
class TestBodyStructure:
"""Skill body must contain key sections."""

def test_has_canonical_workflow(self):
def test_has_workflow_patterns(self):
_, body = _read_skill()
assert "## Canonical workflow" in body, "SKILL.md missing '## Canonical workflow'"
assert "## Workflow Patterns" in body, "SKILL.md missing '## Workflow Patterns'"

def test_has_decision_tree(self):
def test_has_decision_framework(self):
_, body = _read_skill()
assert "## Decision tree" in body, "SKILL.md missing '## Decision tree'"
assert "## Decision Framework" in body, "SKILL.md missing '## Decision Framework'"

def test_has_recovery_playbook(self):
_, body = _read_skill()
assert "## Recovery playbook" in body, "SKILL.md missing '## Recovery playbook'"
assert "## Recovery Playbook" in body, "SKILL.md missing '## Recovery Playbook'"

def test_has_edge_taxonomy(self):
_, body = _read_skill()
assert "## Edge taxonomy" in body, "SKILL.md missing '## Edge taxonomy'"

def test_has_navigation_patterns(self):
def test_has_tool_inventory(self):
_, body = _read_skill()
assert "## Common navigation patterns" in body, "SKILL.md missing '## Common navigation patterns'"
assert "## Tool Inventory" in body, "SKILL.md missing '## Tool Inventory'"

def test_has_reasoning_preamble(self):
_, body = _read_skill()
Expand Down
Loading