Repository navigation
qa(checklist): split the device variant out of the auth-method matrix, and cover restart persistence and SCIM key revocation - #33421
Merged
Conversation
…s a non-reader gets as 404 approvals.request-page-reply-and-reader-visibility acceptance[1], approvals.quorum-m-of-n steps[4] and approvals.decision-action-matrix acceptance[6] expected 403 FORBIDDEN from a caller who cannot read the request. ApprovalService.refuseUnreadableRequest answers that caller REQUEST_NOT_FOUND (404) before any slate or submitter check, so the request's existence never leaks; 403 stays the answer to a reader who holds no slot. Each item gets a revision bump and a history row. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kHpQrXX5yTHRb5h4F
…rovals items to what main does Each item's text is re-read from source on main and re-pointed where the v18.4.0 sweep found it stale: the refusal codes and statuses a caller now meets, the doors a console click actually posts, the app a request page opens under, the runtime fixtures a run needs, and counts that grew (route ledgers, retired definitions). Two negatives read the design now: the status mirror's user-less cascade fails only if its data operation lands, and a forged delegation may be refused at the object gate as well as by the delegation guard. One revision bump and one history row per item. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kHpQrXX5yTHRb5h4F
…, and cover restart persistence and SCIM key revocation - identity-auth.auth-method-matrix: device authorization, which no stock boot can switch on, moves to a new item identity-auth.device-authorization- grant with its blocked(environment) marker, so the parent's per-variant clauses can score whole. The enterprise SSO half stays, with its boot recipe (OS_SSO_ENABLED and a trusted-origin IdP). - api-backend.package-rest-lifecycle: a clause that the manifest served after a restart equals the last one written. - identity-auth.scim-deactivation-revokes-api-keys: new item; a directory deactivation leaves each key answering 403 API_KEY_REVOKED, a re-activation re-arms none, and no one restores them. - identity-auth.admin-lifecycle-operations: the walled admin already owns the Default Organization; the fixture line says which organization Create User joins and how to make the intended one current. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kHpQrXX5yTHRb5h4F
Contributor
Author
|
domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX 席位核对 · ACCEPT · head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Leehom · project thread
domain:devx#4 · os-project-manager · session_01FEkQ5kHpQrXX5yTHRb5h4F
Part of #33353
Clause-②: no
Metadata-protocol: none
维护者速读
identity-auth.auth-method-matrix(第 8 行),把设备授权拆成新条目identity-auth.device-authorization-grant(blocked environment);给api-backend.package-rest-lifecycle加一条「重启后清单等于最后一次写入」的验收(第 196 行);新建identity-auth.scim-deactivation-revokes-api-keys,断言 fix(plugin-auth): a directory deactivation revokes the user's API keys, and no one restores them #33075 的 SCIM 停用吊销 API key 后请求得 403API_KEY_REVOKED(第 232 行);重测并改正identity-auth.admin-lifecycle-operations的 fixtures.requires[2]。只改两个 JSON 文件。pnpm check:platform-checklist,预期退出码 0。What changes
docs/qa/platform-checklist/areas/identity-auth.json(two items changed, two new) andapi-backend.json(one item changed), text only. Each changed item gets exactly onerevisionbump and onehistoryrow citing #33353 and the base it was read at (bd439f17); each new item starts at revision 1 with a history row naming where it came from. No other file. The drive rows (1–4, 6, 7, 9, 10, 106, 114) andapi-backend.error-envelope-ledgerare not touched.identity-auth.auth-method-matrixidentity-auth.device-authorization-grantapi-backend.package-rest-lifecycleidentity-auth.scim-deactivation-revokes-api-keysidentity-auth.admin-lifecycle-operationsWhy
Row 8, the split. The README's Lifecycle rules allow Append, Change and Retire, and never delete. So the parent is Changed: the device variant, its step and its knownGap move out, and the title names where they went. The device variant is Appended as its own item, which starts at revision 1 and names the parent in its history row. The new item keeps the parent's acceptance meaning for device authorization: the advertisement matches the mounted routes, the RFC 8628 flow signs in, the console
/auth/devicepage works, and an off-host/device/codecall is refused. It carriesblocked: environment, because no stockos devoros serveswitch turns onplugins.deviceAuthorization(serve.ts maps only the four switches above). Nothing is narrowed: every clause that applied to device authorization in the parent now applies in the child.Row 8, SSO stays. The card read both SSO and device authorization as blocked by environment. Main says otherwise for SSO:
OS_SSO_ENABLEDturns the SSO plugin on andOS_TRUSTED_ORIGINSadmits a mock IdP. QA run QA run · touched:8e3d4a54 (27/52) · c4196099 · 2026-11-13 · 23 PASS / 1 PARTIAL / 3 FAIL / 0 BLOCKED / 25 NOT-RUN #33092 drove it this way. So enterprise SSO stays in the parent as a drivable variant, and its fixture recipe is now infixtures.requires[2]andsteps[4].Row 196.
updatePackagepersists the manifest before it answers (protocol-package-install.ts). Boot hydration reads, for each package id, the row with the latestupdated_at(service-package index.ts). Write stamps are millisecond-monotonic (package-table.ts), so two writes cannot tie. The new step restarts the server on the same database. The new clause then requires that both the detail and the list serve the2.0.0overwrite from steps[5], and that the list has exactly one row for the package.Row 232. This follows the checklist-author skill. The author re-read fix(plugin-auth): a directory deactivation revokes the user's API keys, and no one restores them #33075 and main, and the item sits beside
identity-auth.scim-refused-audit-row, since the SCIM lifecycle reconcile is what revokes the key. It has three clauses, each settled by source:active: false, the key answers 403API_KEY_REVOKEDwith thescim_deactivatedmessage.revoked: falsewrite is refused with 403PERMISSION_DENIED.Getting a SCIM-provisioned user to hold a key over HTTP is a recipe that has not been driven live. It is recorded as a knownGap: if the recipe fails, a runner marks the item
blocked: fixtureand cites the unit pins as partial evidence.Batch A note. Re-measured, the line was stale. A walled boot binds the platform-owner admin as owner of the Default Organization, and
selectActiveOrgstarts the session on it, so the admin does not start without an organization. The line now says this and keeps the instruction to make the intended org current.qa-fixture walled-bootdoes that by default.Tests
No test was added or changed, because the diff is checklist text. There is nothing to ablate (os-dev.md: docs are not ablated). Authoring was scoped and done in sequence by one reader (checklist-author, without the sweep's subagents), because the order names the three rows.
Acceptance notes
skip-changeset:docs/qa/**ships in no package.origin/mainwas merged intoclaude/project-thread-v8xylorather than force-pushed (AGENTS.md section 3 keeps force-push forclaude/issue-*branches). The diff againstorigin/mainwas empty before the edit commit.Verification
Run on head
ee860d83(branchclaude/project-thread-v8xylo, merge baseorigin/mainbd439f17). The gate list came fromnode scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack(16 commands), and each exit code was captured before any pipe:16 derived, 16 run, all exit 0; --ran reconciliation exit 0
dispatch-gates --ran: "16 derived famil(ies) accounted for — 16 run, 0 NOT-MEASURED", exit 0.--tier: no mandate derived from the paths; 208 changed lines (+192 / -16), under the 3000-line human-merge threshold.No package is touched, so no package build, test, typecheck or scoped
pnpm lintis owed. Every other check family belongs to CI and is read from this PR's check-runs.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5kHpQrXX5yTHRb5h4F