Skip to content

Commit f371220

Browse files
GeneAIclaude
authored andcommitted
improve: Fix repo URLs, update versions, consolidate workflows
- Fix repository URLs from /empathy to /empathy-framework in pyproject.toml, README.md, and docs/get-the-book.md - Update stale version references in .claude/CLAUDE.md (v1.9.4/v2.2.5 → v2.2.7) - Remove duplicate PyPI publishing from release.yml (now handled by publish-pypi.yml via OIDC trusted publishing) - Add code-quality job to tests.yml with tech debt threshold monitoring - Add site/ (MkDocs build output) to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 283bacb commit f371220

File tree

7 files changed

+57
-22
lines changed

7 files changed

+57
-22
lines changed

.claude/CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Empathy Framework - Production Security Configuration
22
# Location: ./.claude/CLAUDE.md
3-
# Project: empathy-framework v2.2.5
3+
# Project: empathy-framework v2.2.7
44
# Classification: INTERNAL
55

66
# Import pattern library summary (auto-generated)
@@ -149,7 +149,7 @@ pytest tests/test_claude_memory.py -v
149149
"timestamp": "2025-11-24T03:30:00Z",
150150
"event_id": "evt_abc123",
151151
"project": "empathy-framework",
152-
"version": "1.9.4",
152+
"version": "2.2.7",
153153
"user_id": "[email protected]",
154154
"action": "llm_request",
155155

@@ -405,5 +405,5 @@ By working on this project, I confirm:
405405
---
406406
407407
*This configuration enforces enterprise security while enabling the five-level empathy system.*
408-
*Last updated: 2025-11-24*
409-
*Empathy Framework v2.2.5*
408+
*Last updated: 2025-12-15*
409+
*Empathy Framework v2.2.7*

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,5 @@ jobs:
7575
--notes-file RELEASE_NOTES.md \
7676
--verify-tag
7777
78-
- name: Publish to PyPI
79-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
80-
env:
81-
TWINE_USERNAME: __token__
82-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
83-
run: |
84-
twine upload dist/* --verbose
78+
# PyPI publishing is handled by publish-pypi.yml via OIDC trusted publishing
79+
# which triggers when this release is created

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,43 @@ jobs:
6161
- name: Security scan with Bandit
6262
run: bandit -c .bandit -r src/ empathy_llm_toolkit/ coach_wizards/ empathy_software_plugin/ --severity-level medium --confidence-level medium
6363

64+
code-quality:
65+
runs-on: ubuntu-latest
66+
steps:
67+
- uses: actions/checkout@v4
68+
69+
- name: Set up Python
70+
uses: actions/setup-python@v5
71+
with:
72+
python-version: '3.11'
73+
cache: 'pip'
74+
75+
- name: Install dependencies
76+
run: |
77+
python -m pip install --upgrade pip
78+
pip install -e .[software]
79+
80+
- name: Count tech debt markers
81+
id: debt
82+
run: |
83+
# Count TODO, FIXME, HACK, XXX markers
84+
DEBT_COUNT=$(grep -rE "(TODO|FIXME|HACK|XXX):" --include="*.py" src/ empathy_llm_toolkit/ empathy_software_plugin/ empathy_os/ 2>/dev/null | wc -l || echo 0)
85+
echo "debt_count=$DEBT_COUNT" >> $GITHUB_OUTPUT
86+
echo "Found $DEBT_COUNT tech debt markers"
87+
88+
# Warn if above threshold (configurable)
89+
THRESHOLD=400
90+
if [ "$DEBT_COUNT" -gt "$THRESHOLD" ]; then
91+
echo "::warning::Tech debt count ($DEBT_COUNT) exceeds threshold ($THRESHOLD)"
92+
fi
93+
94+
- name: Upload debt report
95+
uses: actions/upload-artifact@v4
96+
with:
97+
name: tech-debt-report
98+
path: |
99+
patterns/tech_debt/
100+
64101
build:
65102
runs-on: ubuntu-latest
66103
needs: [test, lint]

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,6 @@ server.json
101101
# Generated book files
102102
dist/empathy-book.*
103103
ebook-site/
104+
105+
# MkDocs build output
106+
site/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
**The AI collaboration framework that predicts problems before they happen.**
44

55
[![PyPI](https://img.shields.io/pypi/v/empathy-framework)](https://pypi.org/project/empathy-framework/)
6-
[![Tests](https://img.shields.io/badge/tests-2%2C040%2B%20passing-brightgreen)](https://github.com/Smart-AI-Memory/empathy/actions)
6+
[![Tests](https://img.shields.io/badge/tests-2%2C040%2B%20passing-brightgreen)](https://github.com/Smart-AI-Memory/empathy-framework/actions)
77
[![License](https://img.shields.io/badge/license-Fair%20Source%200.9-blue)](LICENSE)
88
[![Python](https://img.shields.io/badge/python-3.10+-blue)](https://www.python.org)
9-
[![GitHub stars](https://img.shields.io/github/stars/Smart-AI-Memory/empathy?style=social)](https://github.com/Smart-AI-Memory/empathy)
9+
[![GitHub stars](https://img.shields.io/github/stars/Smart-AI-Memory/empathy-framework?style=social)](https://github.com/Smart-AI-Memory/empathy-framework)
1010

1111
```bash
1212
pip install empathy-framework
@@ -90,9 +90,9 @@ print(result.prevention_steps) # How to prevent it
9090

9191
## Get Involved
9292

93-
**[Star this repo](https://github.com/Smart-AI-Memory/empathy)** if you find it useful
93+
**[Star this repo](https://github.com/Smart-AI-Memory/empathy-framework)** if you find it useful
9494

95-
**💬 [Join Discussions](https://github.com/Smart-AI-Memory/empathy/discussions)** - Questions, ideas, show what you built
95+
**💬 [Join Discussions](https://github.com/Smart-AI-Memory/empathy-framework/discussions)** - Questions, ideas, show what you built
9696

9797
**📖 [Read the Book](https://smartaimemory.com/book)** - Deep dive into the philosophy and implementation
9898

docs/get-the-book.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ We'd really appreciate if you could:
5050

5151
<div style="display: flex; gap: 20px; flex-wrap: wrap; margin: 20px 0;">
5252

53-
<a href="https://github.com/Smart-AI-Memory/empathy" target="_blank" style="flex: 1; min-width: 200px; padding: 20px; background: #f6f8fa; border-radius: 8px; text-decoration: none; color: inherit; text-align: center;">
53+
<a href="https://github.com/Smart-AI-Memory/empathy-framework" target="_blank" style="flex: 1; min-width: 200px; padding: 20px; background: #f6f8fa; border-radius: 8px; text-decoration: none; color: inherit; text-align: center;">
5454
<strong style="font-size: 1.5em;">:star:</strong><br>
5555
<strong>Star on GitHub</strong><br>
5656
<span style="color: #666; font-size: 0.9em;">Help others discover Empathy</span>
5757
</a>
5858

59-
<a href="https://github.com/Smart-AI-Memory/empathy/discussions" target="_blank" style="flex: 1; min-width: 200px; padding: 20px; background: #f6f8fa; border-radius: 8px; text-decoration: none; color: inherit; text-align: center;">
59+
<a href="https://github.com/Smart-AI-Memory/empathy-framework/discussions" target="_blank" style="flex: 1; min-width: 200px; padding: 20px; background: #f6f8fa; border-radius: 8px; text-decoration: none; color: inherit; text-align: center;">
6060
<strong style="font-size: 1.5em;">:speech_balloon:</strong><br>
6161
<strong>Share Feedback</strong><br>
6262
<span style="color: #666; font-size: 0.9em;">Tell us what you're building</span>
@@ -89,7 +89,7 @@ When you download through Gumroad, you'll automatically receive:
8989
<div style="text-align: center; padding: 20px; background: #f6f8fa; border-radius: 8px; margin-top: 40px;">
9090

9191
<p style="margin: 0 0 10px 0; color: #666;">
92-
Questions? Open an issue on <a href="https://github.com/Smart-AI-Memory/empathy/issues">GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>
92+
Questions? Open an issue on <a href="https://github.com/Smart-AI-Memory/empathy-framework/issues">GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>
9393
</p>
9494

9595
<p style="margin: 0; color: #888; font-size: 0.9em;">

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ Documentation = "https://www.smartaimemory.com/docs"
186186
"Getting Started" = "https://www.smartaimemory.com/docs/getting-started"
187187
FAQ = "https://www.smartaimemory.com/docs/faq"
188188
Book = "https://www.smartaimemory.com/book"
189-
Repository = "https://github.com/Smart-AI-Memory/empathy"
190-
Issues = "https://github.com/Smart-AI-Memory/empathy/issues"
191-
Discussions = "https://github.com/Smart-AI-Memory/empathy/discussions"
192-
Changelog = "https://github.com/Smart-AI-Memory/empathy/blob/main/CHANGELOG.md"
189+
Repository = "https://github.com/Smart-AI-Memory/empathy-framework"
190+
Issues = "https://github.com/Smart-AI-Memory/empathy-framework/issues"
191+
Discussions = "https://github.com/Smart-AI-Memory/empathy-framework/discussions"
192+
Changelog = "https://github.com/Smart-AI-Memory/empathy-framework/blob/main/CHANGELOG.md"
193193

194194
[tool.setuptools]
195195
# Package discovery

0 commit comments

Comments
 (0)