Files
Noel Sabia c626cc9c1d
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Canceled after 45s
PR Check / Secret scan (gitleaks) (pull_request) Canceled after 0s
PR Check / Dependency audit (pull_request) Canceled after 0s
PR Check / Dockerfile lint (droast) (pull_request) Canceled after 0s
feat(ci): replace opencode review with PR-Agent
Run PR-Agent as a pinned webhook server on the Gitea Docker network and review on PR open plus slash commands. The per-PR opencode installer and verdict-posting step are removed.

The server-side .env stays outside the repository; deploy/pr-agent/ holds the compose definition and operator notes.
2026-10-30 21:00:53 +01:00

2.3 KiB

Decisions

  • PR pipeline layering - What runs pre-commit, what runs in Gitea Actions, what the AI review does, and the cost rule that decides.
  • PR-Agent for Gitea reviews - A pinned webhook server replaces the per-PR opencode job; internal-only, scoped bot, OpenCode Go model.
  • AI review setup (opencode) - Superseded 2026-10-30; kept for the env-only auth and verdict-gate reasoning.
  • Vulnerability audit policy - Blocking audit, reviewed ignore-list for unfixable advisories, and the pnpm-11 settings home.
  • Release engineering - release-please in manifest mode, conventional commits as input, message format enforced at commit time.
  • Snyk paused and secrets policy - Why the job is skipped rather than deleted, and the token scopes every workflow secret needs.
  • Publishing images to the own registry - A release tag builds and pushes to registry.noelsabia.dev; main pushes do not build.
  • Dev container shape - The source is bind-mounted into a container that already holds the dependencies, and the dev server runs as the image's node user.
  • Build layer order - Why the manifests are copied before the source, and what invalidates what.
  • Build context filter - What .dockerignore may exclude, and the one thing it must never exclude.
  • Production image shape - Multi-stage, digest-pinned, non-root runnable Node server; measured build and serve.
  • Repository and compose layout - The Dockerfiles live with the app; the stack is assembled in Local_Development.
  • Mockup layout - One DESIGN.md per screen, with the screenshot and the source embedded.
  • Icons via Nuxt Icon - Every icon comes from @nuxt/icon with the Material Symbols collection installed locally; the 3.9 MiB icon webfont is gone and three icons cost 1.23 kB.
  • SEO stack and site metadata - One site.config.mjs feeds canonical URLs, sitemap, robots, schema.org and the static OG card; the dynamic OG renderer and skew protection stay off.