Commit graph

5 commits

Author SHA1 Message Date
Jacob Magar
0d2c3ec045 fix: update all stale scripts/ references to bin/
Sweep remaining references to the old scripts/ directory that were
missed when scripts/ was renamed to bin/ in 1.3.6.

Fixes active config (ci.yml, .pre-commit-config.yaml, Justfile) and
documentation (CHECKLIST, INVENTORY, MARKETPLACE, SCRIPTS, REPO).

hooks/scripts/ and skills/unraid/scripts/ are intentional and unchanged.
2026-04-05 19:23:27 -04:00
Jacob Magar
dc44d73006 feat(claude-homelab-f58m): add generate-cli recipe
Adds generate-cli recipe targeting local HTTP server for on-demand CLI
generation. Includes schema-hash caching, timeout 30, token-embedding
warning. Generated CLIs embed OAuth token — personal/local-only, never
commit or distribute.
2026-04-05 17:20:40 -04:00
Jacob Magar
ebf0b0387b test: add middleware ordering regression tests, just targets, fix base URL derivation
TestMiddlewareOrdering (6 tests): stacked WellKnown→BearerAuth integration
tests that prove the ordering invariant for issue #17. Includes a negative
test that explicitly verifies the wrong order (BearerAuth outer) produces
401 on /.well-known/ — the exact regression scenario.

Justfile: add test-http, test-http-no-auth, test-http-remote targets.

test-http.sh: harden BASE_URL derivation to handle trailing slashes and
non-/mcp URL suffixes correctly.

Auth test suite now: 42 tests (was 26).
2026-04-03 23:06:33 -04:00
Jacob Magar
d533060276 feat: add just publish recipe for tag-triggered releases 2026-04-03 02:49:23 -04:00
Jacob Magar
583fed3cd1 chore(quality-gates): add Justfile, .pre-commit-config.yaml, and check scripts
- Justfile: standard recipes (dev, test, lint, fmt, typecheck, validate-skills,
  build, up, down, restart, logs, health, test-live, setup, gen-token,
  check-contract, clean) using uv/ruff for Python
- .pre-commit-config.yaml: four hooks (skills-validate, docker-security,
  no-baked-env, ensure-ignore-files)
- scripts/: copy check-docker-security.sh, check-no-baked-env.sh,
  check-outdated-deps.sh, ensure-ignore-files.sh, lint-plugin.sh from
  claude-homelab canonical source; all chmod +x

Closes claude-homelab-5sy
2026-03-31 17:25:56 -04:00