Skip to content

Wayfinder map: 2026-07-09 security-audit remediation #103

Closed
11 of 11 issues completed
Closed

Description

@tonibergholm

Destination

Audit findings #1–#4 and #6 from the 2026-07-09 security audit fixed, tested, and merged to main, with scripts/run-demo.sh green end-to-end at close; the MCP URL policy decided (ADR'd if needed); socket DoS budgets (finding #5) either fixed in-map or explicitly deferred to a tracked issue.

Notes

  • Execution is in-map (override of wayfinder's plan-only default): fix tickets end in merged PRs, not decisions.
  • Work all fixes in .worktrees/<slug>/ per repo worktree discipline; one conceptual change per PR.
  • AFK tickets end in a PR; Toni reviews and merges — nothing lands unreviewed. HITL (grilling) tickets resolve only with Toni live.
  • Fixes ship in the open with plain commit messages, no advisory. Revisit trigger: if a design partner or any external deployment materializes before map close, revisit disclosure.
  • Verification bar: every fix PR carries regression tests for its specific hole; failure-injection tests where a fix touches 2PC commit plumbing; the get_raw fix re-checks snapshot-model §9 perf targets; the map closes only with the Postgres CI suites and the full demo green on main.
  • ADR-0014 was accepted as written (Status flipped 2026-07-09, charting session). If implementation finds it underspecifies something load-bearing (key provisioning, TTL, CLI UX), stop and surface a decision — don't invent policy.
  • Charting decisions (2026-07-09): destination = fixes landed, not plan-only; tiering = findings Bump Rust toolchain to 1.95.0 #1–Chunk D (part 1): trigger-based streamer + delta-sized snapshots #4 and chore: ignore agent-harness runtime state, keep main clean #6 must-fix, Chunk D (part 2): pg_advisory_lock serialises snapshots across processes #5 defer-or-fix; interim hard-reject ships first and is superseded by the full gate; finding Chunk D (part 1): trigger-based streamer + delta-sized snapshots #4 split into caps (straight fix) + URL policy (decision, then fix); Postgres CI job lands early as the harness.
  • Per-finding evidence (file:line) lives in each ticket body.

Decisions so far

MAP COMPLETE (2026-07-10): closed on the security destination (Toni's decision). All six audit findings fixed, tested, merged, and verified present in main HEAD. The literal "run-demo.sh green" criterion was reinterpreted per CLAUDE.md's "aspirational" framing; the demo's baseline-ask hang + portability gaps are proven independent of the security work and carried forward as issue #124.

Not yet specified

Out of scope

Activity

  1. tonibergholm commented on Jul 10, 2026

    @tonibergholm
    MemberAuthor

    Map complete. The 2026-07-09 security-audit remediation is done: all six findings fixed, tested, merged, and verified present in main HEAD (two criticals — branch-path traversal, self-authorized destructive rollback; two highs — get_raw integrity, MCP response caps; two mediums — MCP URL policy, socket read-idle timeout), plus the Postgres CI harness. Two ADRs landed (0014 Accepted, 0016 written). A live regression (the #115 merge silently dropping the interim gate) was caught and fixed. Demo-runnability is carried forward as #124, outside this map's destination per Toni's close decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:mapWayfinder map issue — the canonical shared map

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions