Skip to content

Assemble & order the phase specs #33

Closed

Description

@tonibergholm

Part of #24

Question

With every finding's decision locked, cluster the addressed findings into small focused phase spec issues (P31+, repo's P28/P29 pattern), order them, and write the specs — each carrying its decisions, rationale, and THREAT-MODEL.md updates. Blocked by all five decision tickets.

Activity

  1. self-assigned this
    on Jul 10, 2026
  2. tonibergholm commented on Jul 10, 2026

    @tonibergholm
    MemberAuthor

    Resolution

    Assembled into three ordered phase specs, smallest-first, each labelled ready-for-agent (label created — the triage vocabulary existed only in docs until now):

    1. P31: HTTP listener resource limits (sc serve --http) — audit High sc+http near-term posture: loopback-default + read-only server mode #2; zero deps; all four bounds; carries the THREAT-MODEL wording for both defer re-affirmations (env-var exposure, signature replay). Goes first: smallest, and its socket timeouts sit beneath P32's TLS wrap.
    2. P32: in-binary TLS — sc+https:// via rustls (crates/tlsio) — audit High Security hardening: audit findings → decided spec #1; new crate + first TLS dep (ADR required); TOFU/SPKI pinning UX; P29 gate tightening; corrected two-legged proxy docs. Native dependency wired on P31.
    3. P33: randomized protected-path encryption (dual-read, randomized-write) — the convergent-equality boundary; largest and format-touching; independent of the transport pair, ordered last.

    Rejected shapes: merging P31+P32 (one oversized review against the P28/P29 small-phase pattern) and a fourth docs-only phase (a phase with no code; the wording rides P31's THREAT-MODEL touch instead).

    Map disposition of all six audit findings: High #1 → P32; High #2 → P31; Medium (advisory scan) → executed in-map, live on main (PR #37); convergent-equality boundary → P33; env-var boundary → deferred with rationale (#31); signature-replay boundary → deferred with rationale (#32). Destination reached — the map closes with this ticket.

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

Metadata

Metadata

Assignees

Labels

wayfinder:grillingWayfinder ticket: HITL grilling/decision

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions