GeezerVison is showing github.com — impl(pm-stack): SSO relying-party H7 — gate-relaxation drill (child of #9086) · Issue #14265 · developing-today/code
impl(pm-stack): SSO relying-party H7 — gate-relaxation drill (child of #9086) #14265DescriptionChild slice of #9086 (design: PR #14089, §4.4 + §5 slice H7). Depends on H6. Policy change itself is Drew's ruling (design §8), not this issue.
What
Dry-run the §4.4 relaxation (add a test enrollment, verify default read-only-on-nothing, remove it) WITHOUT changing production policy.
Acceptance
- Drill log + runbook merged.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T09:46:10Z",
"session_id": "ses_e5df312c27dffeADY66CKCTD85",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "queue/21642-14039-native-lancedb-reader",
"sha": "9e6b4adf64e54d8c623c329257bbac3b1f859266"
},
"auth_subject": "oc-code-04",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026
Triage verdict — code-g, 2026-11-24 (queue task 23358)
Verdict: VALID slice, BLOCKED on H6. Fresh state: #14265 OPEN (effort/s, app/pm-stack, epic/pm-stack); parent #9086 OPEN; design PR #14089 referenced. Scope is a gate-relaxation drill + runbook (§4.4 dry-run: add test enrollment, verify default, remove it — no production policy change; the policy change itself is Drew ruling per design §8, not this issue).
Blocker: H7 depends on H6 (#14264, first-consumer full loop + #1182 retirement), still OPEN. Task 23358 blocked on #14264; unblocks when H6 closes. developing-today-fleet commented on Nov 25, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-24 22:14 CST
- Found via: monitor reconciliation — intake enrichment (protocol §5)
- Task: Intake pass on this issue: verified still live (open, no merged PR found in this pass that explicitly resolves it), appended acceptance criteria, normalized labels
- Expectation: A worker can pick this up from the acceptance criteria above without further triage
- Links: n/a
Notes: Child of #9086 (SSO relying-party series); already carries priority/normal, effort/s and app/pm-stack — only kind, status and acceptance criteria were missing.
Risks: Drills touch live gate settings; the drill plan must include the restore step before it starts.
Suggested approach: Run the H7 drill per the #9086 series plan, record evidence here, restore gates, file any defect separately.
Related: No related issues or PRs surfaced in this bounded intake pass beyond those already linked in the body.
dezren39 commented on Nov 25, 2026
H7 drill landed — PR #15250 (xaltha lane, 2026-11-25)
Claim-check first: no open PR for #14265; the earlier triage (code-g, task 23358) recorded BLOCKED on H6 (#14264). H6's live proof still stands open and this drill does not substitute for it — but the drill itself does not need live traffic: it runs against throwaway provider configs/stores, so it was executed now instead of re-triaging.
Landed (PR #15250):
- Automated drill
h7_gate_relaxation_drill_add_verify_remove in pkgs/idp-provider/tests/doors.rs: pre-drill denial → add test enrollment (one allowlist entry) → enrolled login + claims check → remove enrollment → post-drill denial. Production gate settings untouched by construction (harness-owned config, in-memory stores).
- Runbook + drill log:
doc/2026-11-25T20-55-00Z_runbook_h7-gate-relaxation-drill/ — acceptance "drill log + runbook merged" is met when test(idp-provider): H7 gate-relaxation drill + runbook (#14265) #15250 merges.
Drill finding — defect filed as #15249: §4.4's default (newly enrolled account = read-only on no tenant) does not exist in the current single-account provider: a newly enrolled identity auto-links to the owner account and is issued its full role set. Relaxation by allowlist entry is safe today only for Drew's own door identities; multi-account enrollment is #15249.
Verification: remote only — fleet-command.yml run https://github.com/developing-today/fleet/actions/runs/45698783079 (cargo test --test doors h7_gate_relaxation_drill_add_verify_remove in pkgs/idp-provider, branch @ 62a2a23) was still queued at note time (runner backlog); its conclusion is the remaining evidence item. No CI logs read (metadata only).
Remaining on this issue: H6 (#14264) live first-consumer proof, then this issue's drill record closes against the merged runbook. developing-today-fleet commented on Nov 25, 2026 H7 drill follow-through from the #15249 fix (PR #15313, felix lane):
The defect the drill recorded is fixed on main-bound PR #15313: a never-seen allowlisted identity now enrolls into its own account holding only read-only instead of linking to the owner account. Acceptance criterion 3 of #15249 — updating the drill — lives on PR #15250's branch, so it rides with that PR. Exact changes needed there:
- Drill step 1 assertions (
h7_gate_relaxation_drill_add_verify_remove): the block asserting the observed defective behaviour becomes the §4.4 oracle —
claims["sub"] must be assert_ne!("drew") and should equal the identity row's account_id for google:{TEST_SUB};
claims["roles"] becomes serde_json::json!(["read-only"]);
- the
is_active assertion stays.
The step's comment block ('Observed gate behaviour: the provider holds ONE account…') should be rewritten to describe the fixed behaviour.
- Drill harness: the owner's Google/GitHub subjects must be declared in the harness
account.identities (as PR fix(idp-provider): enroll non-owner allowlisted identities into their own read-only account (#15249) #15313 does on main) — after the fix, an undeclared allowlisted identity enrolls read-only instead of linking to drew, so the branch's same-account door tests would otherwise land on enrolled accounts. Its pending-identity test likewise needs a subject that is not a declared identity.
With those two edits the drill passes against the fixed provider and asserts the §4.4 default directly. dezren39 commented on Nov 25, 2026 Verification update (xaltha lane, 2026-11-25 ~16:41 CST follow-up): PR #15250's remote verification run 45698783079 (fleet-command, developing-today/fleet) has concluded — status completed, conclusion success (created 2026-11-25T20:50:34Z, completed 21:50:57Z). Metadata only — no CI logs read. This closes the drill's remaining evidence item noted earlier; H6 (#14264) live first-consumer proof remains the open item on this issue. Refs #14265 developing-today-fleet commented on Nov 26, 2026
Shepherd update on PR #15250 — verification failed on the merged result, not merged (2026-11-26)
PR #15250 (head 2475983d9bbf0ea89213050235bd636d7a30b641) still asserts the pre-#15249-fix behaviour (sub == "drew", full ROLES). Since PR #15313 merged (2026-11-25T23:48:06Z, merge commit 560486754fef40a219d737ba87c09c967a5d059e), that assertion set is superseded — exactly as the felix lane's note above anticipated.
Fresh evidence: fleet-command.yml run https://github.com/developing-today/fleet/actions/runs/45801023113, dispatched against pull/15250/merge with cargo test -p idp-provider --test doors h7_gate_relaxation_drill_add_verify_remove, concluded failure (the target-command step failed; checkout/container steps succeeded). The earlier success run 45698783079 covered only the old pre-fix head 62a2a23a0.
Full evidence comment is on PR #15250. Next action: apply the felix lane's two edits (drill assertions + harness identity declarations, plus the runbook finding) on the PR branch, then re-verify on the merge ref before merge. This issue stays open for the H6 (#14264) live proof regardless. developing-today-fleet commented on Nov 26, 2026
Fix applied to PR #15250, verification still failing — not merged (direct fix lane AT, 2026-11-26)
Applied the felix lane's specification to PR #15250's branch xaltha/14265-h7-drill via the Git-API contents route (claim comment on the PR first):
Re-verification on pull/15250/merge with cargo test -p idp-provider --test doors h7_gate_relaxation_drill_add_verify_remove failed twice at the "Execute target command" step (checkout/container steps succeeded):
PR #15250 was therefore not merged. Full evidence: #15250 (comment). Diagnosis needs the CI log read (held class for this lane) to distinguish a compile error from an assertion failure; then fix forward on the branch and re-verify. This issue stays open for the H6 (#14264) live proof regardless. dezren39 commented on Nov 26, 2026
H7 drill landed: PR #15250 merged 2026-11-26T13:00:15Z (merge 23c0c2cb1d021b26380b61e6c638d621b4132bdf) with the step-1 assertions updated to the §4.4 oracle per the felix lane's spec, verified on the exact merge-result tree — run https://github.com/developing-today/fleet/actions/runs/45821953891, full pkgs/idp-provider doors suite, "Execute target command" step success. (The earlier verification failures on pull/15250/merge were a fleet-command checkout refspec defect — the command never ran; filed as #15592.) #15249 is now closed (all three criteria met). This issue stays open for the H6 live proof, as before. developing-today-fleet commented on Nov 27, 2026
Lane code-j — H7 premise re-check, 2026-11-27 ~14:40Z. Handed #14265 by fleet agent next (shortlist rung).
Fresh verification: H7's own slice already landed — PR #15250 MERGED 2026-11-26T13:00:15Z delivering the drill (pkgs/idp-provider/tests/doors.rs) and the runbook (doc/2026-11-25T20-55-00Z_runbook_h7-gate-relaxation-drill/). No competing slice started, no code/branch/build changes this pickup. The remaining open item per the 11-25 lane note is H6's live first-consumer proof, owned by #14264 (OPEN, status/blocked, updated 11:25Z) — not startable from this issue. Standing down until #14264 advances; no new slice to land here. developing-today-fleet commented on Nov 27, 2026 Sweep triage 2026-11-27 — H7 slice complete, closing
Fresh verification this run (origin/main 9f7d1d4):
- PR test(idp-provider): H7 gate-relaxation drill + runbook (#14265) #15250 MERGED 2026-11-26T13:00:15Z (merge 23c0c2c): H7 gate-relaxation drill + runbook.
- Drill test on main: pkgs/idp-provider/tests/doors.rs:1184+ fn h7_gate_relaxation_drill_add_verify_remove (add test enrollment, verify default read-only-on-nothing, remove it; ends with pre-drill state restored).
- Runbook on main: doc/2026-11-25T20-55-00Z_runbook_h7-gate-relaxation-drill/2026-11-25T20-55-00Z_runbook_h7-gate-relaxation-drill.md present.
- Acceptance met: drill log + runbook merged; drill record posted (11-26 lane note, exact-tree run 45821953891 full doors suite success); production gate left in pre-drill state (drill is add/verify/remove test enrollment only).
Remaining H6 live first-consumer proof is separately owned by OPEN #14264 (status/blocked, rechecked 2026-11-27T11:25Z, gated on H3 #14261 + H4 #14262) — not orphaned by this close. No live claim on this issue (code-j stood down 14:33Z after verifying the landing). developing-today-fleet commented on Nov 27, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|