Skip to content

id: design: intranet-mode servers (from #5683) #5879

Closed

Description

@dezren39

Summary

Follow-on design ticket from #5683 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.

What this design must settle

Boundary definition, generic-activity gating, fail-closed behaviour, and break-glass for intranet-mode servers.

Context from the parent

The parent framework — Drew-ruled opt-in and framework-first — fixes how residency evidence, sanctions boundaries, and intranet mode are represented and enforced. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.

Decision record expected

Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.

Relations

Parent: #5683. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass).

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  5. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage findings (task 10281, lane code-u, direct lane)

    Verdict: VALID design ticket, correctly filed and linked — ACTIONABLE AS A DESIGN PASS in parallel with its siblings, per the parent's own triage ordering. Not superseded.

    Evidence (fresh, 2026-11-05):

    Ordering / next action (recorded per triage acceptance):

    • This design pass may proceed in parallel with its siblings. Where it overlaps the shared vocabulary, it should consume — not redefine — the terms being settled in issue id: design: residency evidence model (from #5683) #5876 (residency evidence model) and issue id: design: sanctions boundary data model (from #5683) #5878 (sanctions boundary data model); any point where this design would change a parent decision (Drew-ruled opt-in, framework-first; every restriction an opt-in capability, default off) must be recorded explicitly on this issue rather than silently forked, per the filing.
    • The design pass closes this ticket with a recorded decision: boundary definition, generic-activity gating, fail-closed behaviour, and break-glass shape, plus rejected alternatives and implementation invariants. Implementation timing is a separate decision, possibly months out (per the filing), so this triage enqueues no implementation follow-up.
    • Priority is low per the parent framing; this should not pre-empt higher-priority app/id design work. No status/blocked is set: unlike a stage-gated design, nothing external blocks the design pass itself.

    This triage (task 10281) completes as triaged; issue #5879 stays open as the design ticket of record.

  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

  7. 49 remaining items

  8. added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    priority/lowNice to have; do when convenient
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 14, 2026
  9. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — design settled by the parent record; closing this ticket

    • Agent: repo queue worker, lane any-c (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-any-c run 2026-11-14; task 15236
    • Task: task 15236 for issue id: design: intranet-mode servers (from #5683) #5879 (triage) — completed as triaged with the disposition below.

    Disposition: the recorded decision this ticket asks for exists — in the parent framework record — so this design ticket closes. Implementation is already filed and queued separately.

    Task 10281's triage (2026-11-05) correctly found no intranet-mode decision record on main at that time. That changed on 2026-11-08: doc/2026-11-08_design_id5683.md (the #5683 framework record) treats intranet-mode servers in its §6, at decision depth, answering every question this ticket names:

    • Boundary definition — §6.1: a network capability declared over source IP ranges (weak), VPN/overlay membership (medium), mTLS client identity (strong), or org IdP assertion (strong); the declaration names which mechanisms satisfy the boundary at which enforcement points; no mechanism is auto-selected or upgraded, and privileged-action requirements must be explicit.
    • Generic-activity gating — §6.2: for an enabled declaration, connections from outside the boundary cannot perform ordinary user activity; the network-identity predicate is a typed PredicateResult through the shared outcome adapter, explicitly NOT translated into a residency.rs placement hop (a co-crossed residency predicate composes separately through the same adapter).
    • Fail-closed / degraded behaviour — §6.5: the declaration must explicitly select its degraded-mode outcome (boundary unreachable, IdP/VPN down); no fail-closed or fail-open result is inferred from enabling the mode, and a missing outcome makes the declaration invalid.
    • Break-glass — §6.5: a separate opt-in capability with a named role; its use is logged loudly and surfaced to admins; a human action, never an automatic fallback.
    • §6.3 additionally settles 2FA step-up points (explicitly enumerated events, declaration-stated window duration, logged), and §6.4 the org-escrowed credential model (assertions proxied, not raw values; full audit shape; revocation semantics) — with the one open point (consent model, record §11) recorded in the record itself as an invariant: it must be explicitly selected before any escrow/proxy use, and missing consent configuration authorizes nothing.

    This ticket's filing permits exactly this form: "Close this design with a recorded decision (on this issue or in a doc/ record linked from it)". The parent record is that record, linked here. Its own decomposition (§11 of the record) names the implementation as a separate issue — #7786 "id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5)", which is OPEN, enriched, priority/high, and already queued as a small-fix task. No new follow-on is enqueued from this triage; nothing here pre-empts or re-decides the parent's Drew-ruled framework (opt-in, framework-first, default off).

    Closing #5879 as completed on this basis; if the program wants a standalone design_id5879 file for symmetry with its siblings (#5876, #5881), §6 of the parent record is the text to excerpt — the decisions do not need re-making.

    Task 15236 completes as triaged, follow_up_task_ids [] (#7786's task already exists).

  10. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · duplicate packet — #5879 already triaged and closed earlier today

    • Agent: repo queue worker, lane any-c (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-any-c run 2026-11-14; task 16795

    Task 16795 duplicates task 15236 (same lane, this shift), which triaged #5879 and closed it as completed at 2026-11-14T11:56:31Z: the intranet-mode design is settled by the parent record (doc/2026-11-08_design_id5683.md §6.1–6.5), and implementation is already queued via #7786 (whose step-5 follow-on is task 16828). Re-verified closed in this claim. Task 16795 completes as already_done; no changes made.

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

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/lowNice to have; do when convenientstatus/donestatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions