Files
CV_Site_Nuxt/OKF_Nuxt/decisions/index.md
T
Noel Sabia f32ad07648
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Canceled after 28s
PR Check / Typecheck (pull_request) Canceled after 0s
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
PR Check / AI code review (opencode) (pull_request) Canceled after 0s
fix: unblock the release PR - real production image, reviewed audit ignores
The release PR (chore: release main) failed two checks, both verified
locally before pushing:

- droast: the empty production Dockerfile failed DF071 (no
  instructions). The new Dockerfile is a runnable Node server (SSR):
  multi-stage, manifests-first layers, digest-pinned node:26-slim (same
  digest as the dev container), non-root uid 1000, node-fetch
  HEALTHCHECK. Measured: docker build succeeds in-image, container
  serves HTTP 200 and reports healthy; droast reports 0 errors.
- audit: two high advisories with NO patched release anywhere
  (node-forge <=1.4.0 and braces <=3.0.3 are the newest npm versions;
  both build-time-only paths under nitropack). Recorded as
  auditConfig.ignoreGhsas in pnpm-workspace.yaml with the reason and
  removal condition - the audit output still names what it skipped.
  pnpm 11 ignores the pnpm field in package.json (caught locally via
  the WARN before pushing); settings live in pnpm-workspace.yaml.

OKF_Nuxt: recorded the production-image and audit-policy decisions,
updated log, indexes and open questions.
2026-10-18 21:14:12 +02:00

1.6 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.
  • AI review setup - Plan model, env-only auth against prompt injection, read-only agent, and the verdict line as the posting gate.
  • 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.
  • 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.