Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
# bf-65xl
title: Add a new-bean affordance to the project view
status: in-progress
status: completed
type: feature
priority: high
created_at: 2026-08-06T14:33:51Z
updated_at: 2026-08-06T15:39:16Z
updated_at: 2026-08-09T00:57:44Z
---

The project view has no create affordance. The only way to create a bean is from a bean detail page, so an empty project is a dead end and a top-level bean requires opening an unrelated bean to clear its parent. Reuse the existing CreateBeanForm and the '+ New bean' disclosure pattern; place it responsively for mobile and desktop.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# bf-fv21
title: Apply Renovate security updates and release 0.3.1
status: completed
type: task
priority: normal
created_at: 2026-11-04T14:33:56Z
updated_at: 2026-11-04T18:09:13Z
---

Apply the five open Renovate security PRs (#48 hono 4.13.11, #49 vitest 4.1.11, #50 dompurify 3.4.17, #51 vite 8.2.4, #52 zod 4.6.6) in one PR with the 0.3.1 changelog entry, and run the full gate and E2E. Merging and tagging v0.3.1 follow the PR.

- [x] Bump hono, vitest, dompurify, vite, zod
- [x] Full CI gate + E2E pass
- [x] CHANGELOG 0.3.1 entry

## Summary of Changes

- Lockfile-only bumps: hono 4.13.11, zod 4.6.6, dompurify 3.4.17, vite 8.2.4, vitest 4.1.11, plus @vitest/coverage-v8 4.1.11 (exact peer of vitest). `pnpm dedupe` removed the zod 4.4.3 copy held by knip and eslint-plugin-react-hooks.
- Checked reachability: no runtime advisory reaches this code (node-server serveStatic, no parseBody/jsx, no constrained zod collections, DOMPurify string mode with a non-removing hook). vite/vitest are dev-only.
- CHANGELOG 0.3.1 entry, also covering the #46 toolchain upgrades.
- Full gate passed (715 tests, 98%+ coverage); E2E 60/60.
- Pre-existing, not introduced here: MaxListenersExceededWarning in apps/server events.test.ts (same count on main lockfile).

## Follow-up: CI audit and image scan

CI on #53 failed Audit (62 advisories) and Image Scan (30 node-pkg + 15 gobinary HIGH/CRITICAL), all accumulated on main since August.

- Refreshed transitive deps within range (undici, fast-uri, shell-quote, seroval, js-yaml, brace-expansion, busboy, graphql-tools, smol-toml), @hono/node-server 2.1.6, vitest/coverage-v8 4.1.12, jsdom 30.1.3, codegen chain (graphql-tools/utils 12).
- Ignored GHSA-g3hv-75wg-m249 (minimatch 10, ESLint) and GHSA-mrhx-c7xc-m3w5 (zod 3, codecov plugin) in pnpm-workspace.yaml auditConfig: no upstream fix; user chose ignore. Server zod floored at ^4.6.6.
- Go 1.26.10, x/net 0.60.0, x/text 0.42.0 in build-beans.sh; local Trivy scan clean.
- Gate, server integration and E2E (60/60) re-run against the rebuilt beans binary.
4 changes: 2 additions & 2 deletions .beans/bf-gm8t--update-all-pending-renovate-dependencies.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
# bf-gm8t
title: Update all pending Renovate dependencies
status: in-progress
status: completed
type: task
priority: normal
created_at: 2026-08-06T17:18:31Z
updated_at: 2026-08-06T17:30:59Z
updated_at: 2026-08-09T00:57:08Z
---

Apply all 21 Renovate dashboard updates and run the full CI gate.
Expand Down
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,44 @@ All notable changes to this project are documented here. The format is based on
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.1] - 2026-11-04

Clears the advisories that had accumulated against the image since 0.3.0: in
the server's and the UI's own dependencies, in the tooling that ships beside
them, and in the bundled `beans` binary. It also brings the toolchain up to
date. Nothing to do to upgrade.

### Security

- The runtime dependencies move past their advisories: `hono` 4.13.11,
`@hono/node-server` 2.1.6, `zod` 4.6.6 and `dompurify` 3.4.17. The nearest
miss was `@hono/node-server`'s `serveStatic`, which decoded the request path
twice and so let a request skip path-scoped middleware. Here it serves only
the public UI bundle, after every API route and behind headers that apply to
every path, so nothing protected sat behind it. The rest cover code this app
does not call: hono's own `serveStatic`, `parseBody()` and `hono/jsx`, zod's
length-constrained collections, and DOMPurify's `IN_PLACE` mode.
- The `beans` binary is now built with Go 1.26.10, `golang.org/x/net` 0.60.0
and `golang.org/x/text` 0.42.0, clearing the fifteen high-severity findings
the image scan reported against it.
- Tooling that sits in the image's `node_modules` without running in it is
refreshed too. That includes a critical command-injection fix in
`shell-quote`, pulled in by GraphQL Codegen, along with `undici`, `fast-uri`,
`seroval`, `js-yaml`, `@fastify/busboy`, `vite` 8.2.4 and `vitest` 4.1.12.
`seroval` comes in through TanStack Router but is tree-shaken out of the UI
bundle.
- Two development-only advisories have no upstream fix yet and are ignored by
`pnpm audit`, with the reasoning beside them in `pnpm-workspace.yaml`:
minimatch 10 under ESLint, and zod 3 under the Codecov bundle plugin. Neither
reads anything but this repository's own configuration.

### Changed

- The toolchain moves to pnpm 11 and TypeScript 6, along with the rest of the
pending updates, among them zod 4, graphql 17 and jsdom 30. TypeScript stops
at 6 because typescript-eslint cannot load under 7 yet. Contributors pick up
pnpm 11 through `packageManager`, with nothing to install by hand.

## [0.3.0] - 2026-08-05

A full audit before the repository goes public. This closes several ways a
Expand Down Expand Up @@ -395,6 +433,7 @@ local-first, Markdown-backed issue tracker.
subprocess timeout. Host filesystem paths are no longer exposed by
`GET /api/projects`. See [`docs/SECURITY.md`](docs/SECURITY.md).

[0.3.1]: https://github.com/ThePrismSystem/beans-web/releases/tag/v0.3.1
[0.3.0]: https://github.com/ThePrismSystem/beans-web/releases/tag/v0.3.0
[0.2.1]: https://github.com/ThePrismSystem/beans-web/releases/tag/v0.2.1
[0.2.0]: https://github.com/ThePrismSystem/beans-web/releases/tag/v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# a newer patch can fix stdlib CVEs that the image-scan job's gobinary scan
# would otherwise catch drifting. CI derives its toolchain from this line (see
# .github/workflows/ci.yml) so both sides compile beans with the identical Go.
FROM golang:1.26.5-bookworm AS beans-builder
FROM golang:1.26.10-bookworm AS beans-builder
# Keep in sync with the pin in .github/workflows/ci.yml — the image must ship
# the binary CI tested against.
ARG BEANS_VERSION=v0.4.2
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"chokidar": "^5.0.0",
"hono": "^4.13.0",
"tsx": "^4.23.9",
"zod": "^4.4.3"
"zod": "^4.6.6"
},
"devDependencies": {
"@types/node": "^24.13.3",
Expand Down
2 changes: 2 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ words:
# The /proc mount option that hides other users' processes; named in
# SECURITY.md as an operator mitigation for the same exposure.
- hidepid
# TanStack Router's serializer; named in the 0.3.1 changelog's advisory list.
- seroval
ignorePaths:
- node_modules
- dist
Expand Down
Loading
Loading