Skip to content

chore: add Dependabot + pre-commit configs - #143

Merged
jramos merged 4 commits into
mainfrom
chore/dependabot-precommit
Jun 28, 2026
Merged

chore: add Dependabot + pre-commit configs#143
jramos merged 4 commits into
mainfrom
chore/dependabot-precommit

Conversation

@jramos

@jramos jramos commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

Triage #106 — adds the missing infra-hygiene configs, tailored to our stack (uv-managed, py3.10–3.13 matrix), not a copy of upstream's.

  • .github/dependabot.yml: weekly uv ecosystem (native — reads pyproject + uv.lock and updates the lockfile; GA 2025-03) + github-actions (keeps actions/checkout + astral-sh/setup-uv current).
  • .pre-commit-config.yaml: opt-in hygiene hooks — trailing-whitespace, end-of-file-fixer, check-yaml/check-toml, check-merge-conflict, check-added-large-files (uv.lock excluded as a legit large file). pre-commit added to the dev group.
  • Scoped deliberately: dropped upstream's ruff/ruff-format (the tree isn't ruff-clean — ~2080 files exceed the 88-char default; adopting linting needs a line-length policy or reformat first) and kept gitleaks separate (triage docs(item 5): skill-delivery bug fixed; difficulty probe is a null #107). No application code touched.

Hooks enforce on changed files going forward; a one-time pre-commit run --all-files cleanup (~18 pre-existing EOF/whitespace nits, mostly committed report JSONs) is a deferred follow-up so this PR stays scoped to the tooling.

Test Plan

  • uv sync installs pre-commit into the dev group (lock delta is just the dev-group promotion).
  • uv run pre-commit run --files .github/dependabot.yml .pre-commit-config.yaml pyproject.toml — all hooks pass (verified locally).
  • check-yaml self-validates both new YAML files.
  • Dependabot activates server-side once on the default branch (native uv ecosystem; uv.lock is committed).

jramos added 4 commits June 28, 2026 13:10
Dependabot: weekly 'pip' (PEP-621 project deps) + 'github-actions' (keeps actions/checkout + astral-sh/setup-uv current) ecosystems. Pre-commit: opt-in hygiene hooks (trailing-whitespace, end-of-file-fixer, check-yaml/toml, check-merge-conflict, check-added-large-files with uv.lock excluded). ruff/ruff-format deferred (codebase isn't ruff-clean; needs a line-length policy first); gitleaks tracked separately. Adds pre-commit to the dev group (already resolved transitively). No application code; hooks enforce on changed files going forward.
Dependabot has native uv support (GA 2025-03): package-ecosystem: uv reads pyproject + uv.lock directly and updates the lockfile, which the pip ecosystem would have left stale on our uv-managed project.
@jramos
jramos enabled auto-merge (squash) June 28, 2026 19:29
@jramos
jramos merged commit 39c14c5 into main Jun 28, 2026
4 checks passed
@jramos
jramos deleted the chore/dependabot-precommit branch June 28, 2026 19:31
jramos added a commit that referenced this pull request Jul 6, 2026
…ne new item (#150)

Incremental upstream review. Backlog steady at 72 open; six new PRs #142-#147.
Five already covered -> SKIP; one genuinely-new latent bug -> new action item.

- NousResearch#142: 5 of 6 fixes are covered clusters
  (GEPA/DSPy-3.2 compat x3, validate-full). The 6th is real and new here: find_skill
  via Path.rglob('SKILL.md') skips symlinked skill dirs on Python <3.13
  (skill_sources.py:63/67/80). Promoted to a CHERRY-PICK action item (recommended).
- #143: our #102 — state.db read-only importer already shipped; only cross-platform
  discovery extras. SKIP.
- #144/#145: Sunwo0u HSE sanitized evidence packets, report-only, no mechanism. SKIP.
- #146: extraction cluster — our skill_text is a @Property over signature.instructions,
  so its 'dead input field' premise is upstream-only. SKIP.
- #147: compat + material_diff reporting subsumed by our behavioral deploy gate. SKIP.

Review-log entry + new action-item row + 2026-07-06 snapshot delta.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant