Skip to content

Chore/audit fixes 20260601 2103 - #84

Merged
agjs merged 7 commits into
mainfrom
chore/audit-fixes-20260601-2103
Jun 1, 2026
Merged

Chore/audit fixes 20260601 2103#84
agjs merged 7 commits into
mainfrom
chore/audit-fixes-20260601-2103

Conversation

@agjs

@agjs agjs commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • bun run check (or bun run check:full for the cross-app pass) from the repo root
  • Stack smoke if compose/infra touched: cd infra/compose/compose && ./dev.sh up

App merge bars

Area Command
API cd apps/api && bun run validate
UI cd apps/ui && bun run validate
Docs cd apps/docs && bun run build:ci
Repo drift bun run check (from repo root)

Conventions

  • No any, no blind as, no !
  • New env vars in schema + .env.example (+ SECURITY.md when relevant)
  • Tests updated for changed behavior

Screenshots

agjs added 7 commits June 1, 2026 21:06
stripBackticks only removed leading/trailing backticks, so a cell like `path` (note) left a trailing backtick on the split token — scripts-catalog.json shipped 'dev/preflight-host-dev.sh`'. Strip every backtick and regenerate.

Audit: F001
validate-compose pinned docker/build-push-action@v6.18.0 and setup-buildx@v3.10.0 while the release workflow used v7.2.0 / v4.1.0. Align on the newer pins so each action resolves to one SHA repo-wide.

Audit: F003 (parity lint-meta rule tracked as follow-up)
Shared env-access rule was enforced at 0.1.1 in ui vs 0.1.3 in api; unify so the same env-access checks run in both apps.

Audit: F004
ui pins engines.node >=24.0.0; api had only bun and docs none, despite all three using Node tooling (tsx/knip/node *.mjs). Declare consistently so older-Node environments get a warning.

Audit: F006
apps/docs used caret ranges while api/ui pin exact. Pinned each dep to its currently-resolved version (astro 6.3.6, sharp 0.34.5, etc. — not the caret floor) so installs are deterministic and --frozen-lockfile stays satisfiable.

Audit: F005
…nel.ts

Guardrail-first: web-push.channel.ts had no test while its email/in-app/sse peers did. Extend logic-files-require-test-sibling to include .channel.ts so the gap surfaces as a lint:meta violation, then add the missing test (suppressed-on-no-subscriptions + missing-delivery-row no-op). Full api suite green (1052 pass).

Audit: F008
Adds an 'Audit skills' section documenting the repo-root /audit-monorepo (read-only JSON audit) and /execute-audit (autonomous guardrail-first remediation) skills, and notes that root .claude/skills/ holds cross-app/audit skills.

Audit: docs follow-up (user request)
@agjs
agjs merged commit 0bd8eb6 into main Jun 1, 2026
28 checks passed
@agjs
agjs deleted the chore/audit-fixes-20260601-2103 branch June 1, 2026 19:37
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