generated from coulomb/repo-seed
Some checks failed
ci / validate-registry (push) Has been cancelled
Closes the registry maintenance loop from inside each domain repo: interactive prompting for judgment calls, full automation for safe and high-confidence changes, both backed by the llm-connect HTTP bridge. - New modules: maintain.py, maintain_llm.py, patches.py, interactive.py - Schema: schemas/registry-patch.schema.json - CLI: reuse-surface maintain; establish --scaffold --hook - Sibling templates: Makefile fragment, pre-commit hook - Deterministic signal collectors extended; validate cwd auto-detect - Docs, gap priority 28, SCOPE update - Tests: test_maintain.py, test_interactive.py (59 pytest total) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
validate-registry:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out source
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Install package
|
|
run: python -m pip install -e ".[dev]"
|
|
|
|
- name: Validate capability registry
|
|
run: reuse-surface validate --relations --fail-on-warnings
|
|
|
|
- name: Compose federated index
|
|
run: reuse-surface federation compose
|
|
|
|
- name: Generate catalog and graph
|
|
run: |
|
|
reuse-surface catalog
|
|
reuse-surface graph --check --fail-on-warnings
|
|
|
|
- name: Registry maintain dry-run (informational)
|
|
run: reuse-surface maintain --all --auto --no-llm || true
|
|
|
|
- name: Registry stats (informational)
|
|
run: reuse-surface stats || true
|
|
|
|
- name: Workstation roster federation stats (informational)
|
|
run: |
|
|
reuse-surface stats --roster registry/federation/local-repo-roster.yaml \
|
|
--federation-ready --format json || true
|
|
|
|
- name: Planning cohort report (informational)
|
|
run: reuse-surface report cohorts --planning-min D4 || true
|
|
|
|
- name: Registry gap report (informational)
|
|
run: reuse-surface report gaps || true
|
|
|
|
- name: Run tests
|
|
run: pytest -q |