Skip to content

Batch: 41 specs (May 2026 — through post-registration org flow) - #33

Merged
fclairamb merged 411 commits into
mainfrom
feat/batch-todos-2026-05
May 3, 2026
Merged

fclairamb merged 411 commits into
mainfrom
feat/batch-todos-2026-05

Conversation

@fclairamb

@fclairamb fclairamb commented May 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Bundled implementation of 41 specs from specs/todos/, processed
sequentially with one branch per spec merged into
feat/batch-todos-2026-05. Each spec ships its own commits (start →
plan → implement → QA → archive → merge), so individual changes can be
audited via git log --first-parent.

Highlights of the May 2026 additions (specs 47–56)

Test plan

  • Backend builds (make build-backend)
  • Dash0 + status0 + dash builds (make build-dash0,
    make build-status0, make build-dash)
  • Backend lint (make lint-back) — 0 issues
  • Dash lint (make lint-dash) — 0 issues
  • Backend tests (make test) — green, including
    TestValidateAutoJoinRegex (19 cases)
  • CI green
  • E2E smoke against the new flows (no-org cards, pending requests
    admin page, status-page detail header at three viewports,
    dashboard breadcrumb, list-page h1 icons)

🤖 Generated with Claude Code

fclairamb and others added 30 commits May 3, 2026 02:22
Bumps SolidPing's documented state to reflect what shipped in Apr-May 2026:
group-incident correlation, on-call schedules, escalation policies, ack/snooze/
manual-resolve, credentials encryption at rest, labels (autocomplete +
filtering), check clone/templates, Slack Marketplace direct install, JMAP-based
email passive checks, and the Minecraft checker split. Check-type count moves
30 -> 32. Notification channels recount stays at 9.

Replaces the now-obsolete Dec 2025 features-roadmap (every priority shipped)
with a current snapshot organized around closing the last competitive gaps
(Telegram/Teams/PagerDuty channels, status-page subscribers, screenshots) and
lowering switching cost (importers, Terraform provider, app discovery).

Removes the group-incidents idea (shipped in done/2026/04) and trims Discord
out of notification-channels.md so it no longer reads as pending.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds 12 MCP improvement specs (created in a parallel session, were
sitting untracked) and 3 email-experience specs (registration/invite
async via the email job, X-Mailer header identity fix, template polish).

Numbered 13–27 across 2026-05-03; the implement-todos loop will pick
them up in chronological order.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Collapses the four-call triage flow (get_check + list_results +
list_incidents active + list_incidents resolved) into a single
purpose-built tool. The shaper trims raw results to N-per-region while
preserving the upstream DESC-by-time ordering so an LLM gets a
self-contained "what's wrong with check X?" briefing in one round-trip.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Resolves gocritic hugeParam (160-byte CheckResponse) and rangeValCopy
(184-byte ResultResponse) lint findings. Pure cosmetic — no behavior
change.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Backend builds, lint clean (0 issues), all 99 tests in internal/mcp pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
New MCP aggregator tool collapsing the 4-call triage flow
(get_check + list_results + 2x list_incidents) into a single
diagnose_check call.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds events.Service to the MCP Handler. When the caller passes
with="events" (or "check,events"), get_incident now embeds up to 50
most-recent timeline events alongside the incident — letting an LLM
do incident review in one call instead of chaining a separate events
fetch.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds events timeline to MCP get_incident via with=events flag (cap 50).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds full status-pages plumbing to MCP — 5 page tools (list/get/
create/update/delete), 4 section tools (list/create/update/delete),
and 4 resource tools (list/create/update/delete). Field names and
PATCH semantics mirror the REST surface for consistency.

This unblocks the "draft a customer-facing status update via Claude"
workflow that was previously blocked by the read-only MCP surface.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds 13 MCP tools covering status pages, sections, and resources.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds maintenancewindows.Service to the MCP Handler. The 6 tools cover
list/get/create/update/delete plus set_maintenance_window_checks.
create_maintenance_window also accepts checkUids/checkGroupUids inline
(handled as create-then-attach in the tool) so a single call covers
the common 'schedule maintenance on these checks' use case.

Tool descriptions include concrete RFC3339 and RRULE examples — LLMs
get these wrong otherwise.

Also renames propMaintenanceWindowUID → propUID (generic) and reuses
it from get_incident.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds 6 MCP tools for scheduling maintenance windows.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Three new MCP tools that together unlock natural-language check
creation: list_check_types (discover what's supported),
get_check_type_samples (get a working starting config), validate_check
(dry-run before persisting). Tool descriptions are written to teach
the LLM the workflow chain.

Threads checktypes.Service through mcp.NewHandler — wired in
server.go by hoisting the existing checkTypesService construction
above the MCP handler init.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Adds 3 MCP tools (list_check_types, get_check_type_samples,
validate_check) to unblock natural-language check creation.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sweeps every *Def() function across tools_checks, tools_results,
tools_incidents, tools_connections, tools_groups, tools_regions, plus
the new tools from specs 13-17 to apply uniform description rules:

- Every parameter gets an example value when the type isn't obvious
  from the name (RFC3339 timestamps show one, enums list values plus
  a representative choice, identifiers show both UID and slug forms).
- Tool descriptions briefly say when to use the tool vs adjacent
  alternatives (list_checks vs diagnose_check, list_results vs
  diagnose_check, etc.).
- Cross-cutting concepts (identifier, RFC3339 bounds, region slugs,
  label filter, limit, cursor) are factored into descIdentifier /
  descRFC3339Lower / descRFC3339Upper / descRegionsFilter /
  descLabelFilter / descLimit / descCursor in constants.go for a
  single source of truth.

Adds TestAllToolDescriptionsMeetMinimum that enforces a 40-char
floor on tool descriptions and 20-char on parameter descriptions
to prevent regressions.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
fclairamb and others added 23 commits May 3, 2026 23:26
- Replace status badges with dot indicators on the title row
- Single flex row header at all viewports — actions pinned right
- Add-section / add-check triggers become icon-only with tooltips
- View / Modify get tooltips below sm where labels are hidden

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- Wire up the empty breadcrumb branch on /orgs/$org/ to show
  LayoutDashboard + "Dashboard"
- h1 becomes "Dashboard" with the same icon; org name moves to a
  small muted subtitle next to the existing tagline

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Reject dangerous registration patterns at PATCH-settings time and
defensively skip leftover unsafe stored patterns at registration
confirmation, so a setting like ".*" cannot adopt every future signup.

- validateAutoJoinRegex: structural + free-webmail denylist + synthetic
  permissiveness probes
- New ErrorCode INVALID_AUTO_JOIN_REGEX returned as 400 from
  PATCH /api/v1/orgs/{org}/settings
- autoJoinMatchingOrgs logs and skips patterns that fail validation
  instead of crashing registration

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Mirror migration on Postgres + SQLite. Adds Bun model with relations
and CRUD on the db.Service interface, including a transactional
ApproveMembershipRequest that flips the row to approved AND inserts
the organization_members row in one tx.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- POST/GET/DELETE /api/v1/auth/membership-requests for the requester
- GET / approve / reject under /api/v1/orgs/{org}/membership-requests
  with admin gating
- /auth/me now exposes pendingMembershipRequests so the no-org screen
  can render the user's pending and rejected requests
- Approval is transactional (status flip + new organization_members row
  in one tx) — no half-baked state
- 7-day cooldown blocks requesters from spam-pinging admins after a
  rejection; admins can override by re-approving instantly

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- Rebuilt /no-org with two CTAs: create org (existing flow) and
  request to join an org by slug; pending/rejected requests list
  with cancel button.
- New admin /orgs/$org/organization/requests page (status tabs +
  approve dialog with role pick + reject dialog with reason).
- Settings page surfaces INVALID_AUTO_JOIN_REGEX inline beneath the
  field; adds a "test against email" preview input.
- Six new typed hooks for membership requests with proper
  query-invalidation on mutate.
- en/fr/de/es i18n keys for the new copy.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…/test

Mirrors the sidebar's icon-per-section so the user gets visual
continuity between the sidebar nav-item, the breadcrumb, and the page
title. Sweep covers checks, incidents, events, status-pages list, and
badges. The breadcrumb branch also picks up the previously-empty
badges and test routes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@fclairamb fclairamb changed the title Batch: 36 specs (zero-downtime dev reload → availability bug fix) Batch: 41 specs (May 2026 — through post-registration org flow) May 3, 2026
Prefixing with "0" was a no-op when the random signature already
started with '0' — flaky in CI. Pick a flip char that differs from
sig[0] so tampering always changes the bytes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@fclairamb
fclairamb merged commit 86312f1 into main May 3, 2026
10 checks passed
@fclairamb
fclairamb deleted the feat/batch-todos-2026-05 branch May 3, 2026 22:02
fclairamb added a commit that referenced this pull request Oct 11, 2026
## What & why

Deals with every open alert on the Security tab.

**Fixed in this PR**
- Dependabot #9: `github.com/moby/go-archive` v0.2.0 → v0.3.0 (tar
archive can write outside the extraction dir).
- Dependabot #10: `github.com/moby/sys/user` v0.4.0 → v0.4.1 (unbounded
parsing DoS).
- CodeQL #65 (clear-text logging, grdp `sec.go`): `sendFlagged` logged
the plaintext PDU in hex at debug level, and the client info PDU carries
the RDP password. It now logs the length only. Also removed the debug
logs of the client random and the four NTLM signing/sealing keys (same
class of leak, not flagged).
- CodeQL #61 (allocation-size overflow, `credentials/secret_fields.go`):
map size hint is now `max(a, b)` instead of `a + b`. Same change on
`MergePatch`.

**Dismissed (no code change)**
- #72-#81, #68-#71 (weak crypto / weak hashing in vendored
`third_party/grdp`): RC4, MD4, MD5, SHA-1 and DES are mandated by RDP
standard security and NTLM. Same reasoning as the VNC DES alerts
#94/#95.
- #31 (MD5 in `checksip`): SIP digest auth (RFC 3261/2617) is MD5.
- #33 (SHA-256 on password, `passwords/bcrypt.go`): pre-hash before
bcrypt to bypass the 72-byte limit. bcrypt is the slow hash.
- #54 (InsecureSkipVerify, `checkrdp`): leaf-only certificate inspection
by design, same as #62/#93.
- #47/#48 (cookie Secure, `statuspagelock`): `Secure: httpx.IsTLS(req)`,
same as #44/#59.
- #39 (request forgery, `jmap/client.go`): the JMAP session URL is set
by a super admin (instance operator), and reaching their own mail
server, often on the LAN, is the feature. Same as the Freebox alert #35.
- #17 (clear-text logging, `slack/commands.go`): map-value taint through
the check config, the password never reaches the log. Same as #18.

## How to test

- `go build ./...` and `go test ./internal/crypto/credentials/
./internal/checkers/checkrdp/...` in `server/`
- `go test ./...` in `server/third_party/grdp`
- `golangci-lint` v2.14.0 on `internal/crypto/...`: 0 issues

## Checklist
- [x] `go build`, lint and tests pass on the touched packages (full
`make test` left to CI)
- [ ] Tests added or updated for the change (log-only and size-hint
changes, existing tests cover behaviour)
- [ ] Docs updated (not user-visible)
- [ ] Schema changes (none)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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