GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5) · Issue #7786 · developing-today/code

id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5) #7786

New issue
Copy link
New issue
Copy link
Closed
Closed
id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5)#7786
Copy link
Assignees
dezren39
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/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
ID platform program

Description

@dezren39
dezren39
opened on Nov 8, 2026
Issue body actions

Implementation step 5 of the design in #5683 (design record: doc/2026-11-08_design_id5683.md §6, PR #7781).

Scope

Intranet-mode servers:

  • Boundary mechanisms, strongest first: mTLS client identity / org IdP assertion (strong), VPN/overlay membership (medium), source IP ranges (weak).
  • Gate generic user activity from outside the boundary via evaluate() with Plane::Transport; no new gate.
  • 2FA step-up at: new network, privilege escalation, admin actions. Bounded window (declared per scope, default short, e.g. 15 min), logged.
  • Org-escrowed credentials: proxy assertions ("member of group G", "residency attested"), not raw values, wherever an assertion suffices. Every proxy use audited; user can see what was shared.
  • Fail closed for generic activity when boundary / IdP / VPN is unreachable. Break-glass held by a named role, use logged loudly and surfaced to admins — never an automatic fallback.

Acceptance

  • Property test: with the boundary unreachable and no break-glass, generic activity is never allowed.
  • Step-up window expiry forces re-step-up on the next privileged action.
  • Every proxy use and every break-glass use produces an audit record.

Design: doc/2026-11-08_design_id5683.md §6. Parent: #5683.

Acceptance criteria

  • The problem described above is confirmed against current main (reproduced or traced to the named code path), or the issue is closed with that evidence.
  • A fix/implementation addressing the described behaviour is merged via PR referencing this issue, with tests naming their oracle where the change has meaningful invariants.
  • Related step/sibling issues from the same filing batch are cross-linked and any dependency is recorded as a native blocked-by relation.

Activity

Next
  1. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    Contributor
    More actions

    CODE-2319

  2. dezren39
    added
    kind/enhancement
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 8, 2026
  3. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-08 14:12 CST
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: Intake pass on issue id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5) #7786.
    • Expectation: m — triage via the queue and route to the owning step of its parent batch.
    • Links: parent context in the issue title/body (filed 2026-11-08 in a numbered step batch)

    Related: filed minutes apart with its sibling step issues from the same batch (see the issue titles referencing the same parent); no merged PR or commit found at intake time that resolves this step — it reads as live, not solved.

    Notes: New, unlabelled at filing; acceptance criteria appended to the body by the monitor (original body preserved verbatim above the new section). Labels normalized: kind/enhancement, priority/normal, effort/m, status/needs-triage, app/id where the pkgs/id context applies, meta/enriched.

    Risks: Step-batch issues can duplicate or be superseded by the parent design's own decomposition — the triaging lane should confirm this step is not already covered by a sibling before implementing.

    Suggested approach: Triage through the queue; confirm scope against the parent issue, record any dependency as a native blocked-by relation, then route to a fix packet.

  4. dezren39
    added a parent issue on Nov 9, 2026
    • design(id): residency & boundaries framework — opt-in evidence, sanctions, and intranet-mode capabilities #5683
  5. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    and removed
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    on Nov 10, 2026
  6. 13 remaining items

  7. dezren39
    added
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  8. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: repo queue worker, lane any-c (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-any-c run 2026-11-14; task 15266
    • Task: task 15266 for issue id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5) #7786 (triage) — completed as triaged.

    State found (revalidated fresh, 2026-11-14): fully unblocked, designed, and unimplemented — implementation now enqueued.

    • Design settled: doc/2026-11-08_design_id5683.md §6 covers this step end-to-end (§6.1 boundary mechanisms, §6.2 generic-activity gating, §6.3 step-up points, §6.4 escrowed-credential proxying, §6.5 degraded behaviour + break-glass). The design ticket id: design: intranet-mode servers (from #5683) #5879 was closed today as settled by that record (task 15236, note on id: design: intranet-mode servers (from #5683) #5879).
    • Substrate is merged: sibling steps are all CLOSED — id: boundary declaration record and invariants (#5683 step 2) #7782 (declaration record), id: evidence assurance layer — assurance levels, provenance, privacy classes (#5683 step 1) #7783 (evidence assurance), id: public-IP evidence derivation, retention, and contradiction handling (#5683 step 3) #7784 (IP evidence), id: sanctions boundary data model — versioned lists, grandfathering, appeals (#5683 step 4) #7785 (sanctions model), id: wire boundary enforcement into signup/login, worlds, and federation surfaces (#5683 step 6) #7787 (surface wiring). On main: boundary.rs declares CapabilityKind::Network, boundary_surfaces.rs provides the FrameworkOutcome adapter + §8 logging, residency.rs provides evaluate() with Plane::Transport.
    • Step 5 itself has no code: a grep across pkgs/id finds no network-identity predicate evaluation, no step-up window state, no escrow proxying/audit, and no break-glass anywhere. The declaration kind exists; the behaviour behind it does not.

    Enqueued: task 16828 — "Implement #5683 step 5 (#7786): intranet-mode gating, 2FA step-up windows, org-escrowed credential proxying", kind small_fix, priority 30 (this issue's priority/high): network predicates through the shared adapter (never as residency hops), generic-activity gating via evaluate()/Plane::Transport with the declaration-required degraded outcome (missing outcome = invalid declaration), declared step-up events with bounded windows + expiry + logging, assertion-only escrow proxying with full audit (no raw values) + revocation, and opt-in break-glass with loud logging — with this issue's three acceptance oracles as named tests (fail-closed property; step-up expiry; audit on every proxy/break-glass use) plus the consent invariant from record §6.4 (missing consent configuration authorizes no proxy use). (The enqueue revived the dedupe key from cancelled predecessor task 14555.) Full packet text is in the task payload and at ~/hatch/scratch-p7786.md on the laptop.

    Cross-links: parent #5683; design ticket #5879 (closed); siblings #7782–#7785, #7787 (closed). This issue stays open until task 16828 merges.

    Task 15266 completes as triaged with follow_up_task_ids [16828].

  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 14, 2026
  10. dezren39
    added a commit that references this issue on Nov 14, 2026

    Merge pull request #10290 from developing-today/queue/16828-7786-step…

    883adf7
  11. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — merged in PR #10290

    • Agent: repo queue worker, lane code-c (repo-worker-code)
    • Task: task 16828 · issue id: intranet-mode gating, 2FA step-up, and org-escrowed credential proxying (#5683 step 5) #7786 · parent design(id): residency & boundaries framework — opt-in evidence, sanctions, and intranet-mode capabilities #5683 (step 5) · design id: design: intranet-mode servers (from #5683) #5879 · substrate id: boundary declaration record and invariants (#5683 step 2) #7782–id: sanctions boundary data model — versioned lists, grandfathering, appeals (#5683 step 4) #7785, id: wire boundary enforcement into signup/login, worlds, and federation surfaces (#5683 step 6) #7787
    • Outcome: PR id-core: intranet-mode gating, 2FA step-up, org-escrowed credential proxying (#7786, #5683 step 5) #10290 merged (merge commit 883adf7). New id-core module intranet implements design §6 end-to-end: declared network mechanisms (IP ranges / overlay / mTLS / IdP assertion) with required-mechanism enforcement points; the network predicate as a typed PredicateResult rendered through the shared FrameworkOutcome adapter (never a residency placement hop), with §3.4's bar in the adapter (IP-only adverse results can never become a final Deny); step-up windows over declaration-enumerated events with stated durations (expiry forces re-step-up; completions logged; new-network = first-seen boundary context); org-escrow assertion proxying whose audit records carry claim kind, assurance, issuer, recipient, declaration version, opaque reference, subject and time — no value field exists on either the assertion or its audit record — with explicit consent selection (missing consent authorizes nothing), per-use approval, revocation, user visibility, and privacy-rule-only value disclosure; degraded behaviour selected by the declaration (missing outcome = invalid declaration) and a fail-closed gate only a completed, roled, loudly-logged break-glass record can open.
    • Tests: cargo test -p id-core — 441 passed, 0 failed, including the acceptance oracles as named tests (proptest fail-closed property: boundary unreachable + no break-glass ⇒ never allowed; step-up expiry; audit-on-use for escrow and break-glass; missing-degraded-outcome and missing-consent rejections). cargo fmt clean. Environment note: cargo clippy cannot run on the laptop right now (clippy-driver/rustc 1.99.x mismatch poisons precompiled deps with E0514 for any target dir) — unrelated to this change; the test gate builds with the same toolchain. Codex review on the PR failed to run (usage limits) with zero findings, per the standing pattern today. CI on main queued at merge.
    • Issue closes: step 5 has code, and with it every design(id): residency & boundaries framework — opt-in evidence, sanctions, and intranet-mode capabilities #5683 framework step is implemented.
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  13. dezren39
    closed this as completedon Nov 14, 2026
  14. developing-today
    added
    status:done
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

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/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • ID platform programNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.