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
1 change: 1 addition & 0 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches: [main]
pull_request:
paths: ["js/**"]
merge_group:

defaults:
run:
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Python Package

on:
push:
paths: ["python/**"]
branches: [main]
pull_request:
paths: ["python/**"]
merge_group:

defaults:
run:
working-directory: python

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: python/pyproject.toml
- name: Install package and test deps
run: pip install -e . && pip install pytest ruff
- name: Lint (fatal errors only)
run: ruff check . --select=E9,F63,F7,F82
- name: Run tests
run: python -m pytest tests/ -x -q --tb=short

publish:
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build
run: pip install build && python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
# working-directory default does NOT apply to uses actions;
# path is relative to $GITHUB_WORKSPACE
packages-dir: python/dist/
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,19 @@ python/agentseal/probes/rag_poisoning.py
python/agentseal/probes/multimodal.py
python/agentseal/genome.py
python/agentseal/report.py

# Private infrastructure (multi-agent pipeline, NOT open source)
CLAUDE.md
.claude/
.pi/
justfile
ruff.toml
agent.sh
develop.sh
research.sh
work.sh
sync.sh
validate.sh
audit.sh
research/
docs/superpowers/
Loading
Loading