Skip to content

fix(service-storage): scope the sys_file / sys_upload_session update and delete doors to the acting organization (#13178) - #13527

Merged
zhuangjianguo merged 1 commit into
mainfrom
claude/issue-13178-tenant-audit-half-repairs
Aug 30, 2026
Merged

zhuangjianguo merged 1 commit into
mainfrom
claude/issue-13178-tenant-audit-half-repairs

Conversation

@claude

@claude claude Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #13178

Repairs the four half-repairs the maintainer's 2026-08-30 ruling (第 5 场总监席决裁批 #7, verbatim 「批 #7 同意」) narrowed this card to: the update and delete siblings of the two inserts #12745 and #12928 already fixed. Nothing else in the census's 24 context-less call sites, and nothing in the 175, is touched.

How the four sites were located

The ruling's own execution note forbids copying its line numbers, so they were re-derived against today's tree. Input: the census os-dev-report (comment 5468253235), which names each site by file, verb and object — never relied on for a line number. Resolution, run in the worktree at merge base bcef1cfac:

grep -nE "\.(insert|update|delete|upsert|create|bulkCreate|bulkDelete|updateMany|deleteMany)\(" \
  packages/services/service-storage/src/metadata-store.ts

That enumerates all eight engine calls the store issues, which is what makes the pairing checkable rather than asserted: the two insert calls carry an options bag and the four update/delete calls did not.

site at HEAD verb object state before this PR
metadata-store.ts updateFile update sys_file no context — the un-repaired half of #12745
metadata-store.ts deleteFile delete sys_file no context — same
metadata-store.ts updateSession update sys_upload_session no context — the un-repaired half of #12928
metadata-store.ts deleteSession delete sys_upload_session no context — same

All four were still unfixed at merge base — verified by that enumeration, not assumed from the census.

What #12745 / #12928 did, and how this matches

Both landed the same three-part shape (c94be6291d, 2ff01cf7fa): an optional StorageWriteContext parameter on the store method; writeOptionsFor(context) folded onto the engine options bag; and the acting organization threaded at the route. This PR is that shape on the remaining four verbs — same helper, same { context: { tenantId } } spelling, same "absent means absent" rule where a caller with no organization produces the byte-identical pre-repair call.

One thing genuinely differs, and it is documented rather than glossed. Write-side tenancy in the SQL driver is two mechanisms wearing one option: on insert injectTenantOnInsert STAMPS the tenant column from options.tenantId; on update and delete applyTenantScope SCOPES the statement with it. So the same bag buys a value on one verb and a reach on the other. Consequences, both measured in the new suite:

Because the meaning differs, the engine-absent Map stand-in is deliberately NOT changed. createFile's stand-in records a value so a later read can return it; there is no value to record on these verbs, only a reach to enforce, and enforcing a tenant wall over a process-local Map would stand up a second isolation mechanism outside the driver that owns the real one.

Scope fences, discharged

  • ⛔ The guard ORDER in auditMissingTenant is untouched — packages/drivers/driver-sql/** has no diff in this PR at all. The reading that isSystem writes return at the bypassTenantAudit guard one step before the posture gate is the class-level diagnosis, and it is not acted on here.
  • ⛔ No class-level device was added or prepared. No CI gate walking write call sites, no throwing audit under a test env var, no per-boot report. Those three are 暂缓 behind the design card, and whether isSystem writes belong in this control scope at all is a question this PR neither answers nor leans on.
  • ⛔ No packages/spec change, no ADR, no release notes, no test skipped or re-baselined.

Paths touched, declared in full

path why
packages/services/service-storage/src/metadata-store.ts the four sites
packages/services/service-storage/src/storage-routes.ts the production callers — without it the store's new parameter has no producer
packages/services/service-storage/src/tenant-audit-update-delete-half-repairs.test.ts new suite, 21 cases
scripts/engine-double-contract.pinned.json +3 rows. The gate asked for exactly this (New pinned coverage is GOOD … the ledger just has to learn about it); written with --write, 0 lost
.changeset/tenant-audit-update-delete-half-repairs.md minor — argued in the changeset body

Docs-drift advisory — read, and NOT falsified

The drift run flags content/docs/permissions/attachments-access.mdx as carrying both sys_file and sys_upload_session. I read the page in full (141 lines). It is accurate as written and nothing was changed.

Its three subjects are the sys_attachment parent-derived access model (create / read / delete on the join row), the download gate, and the ADR-0057 storage-byte lifecycle. This PR touches none of them: no sys_attachment path, no download endpoint, no reap guard. The two doors it changes are upload-side writes on the metadata rows.

The decisive reading is an absence, so it is measured rather than asserted: grep -icE "organization|tenant|multi-tenant|org " over that page returns 1, and the single hit is the phrase "org logos" in a list of non-attachments file examples. The page makes no tenancy claim at all, so there is nothing on it for an organization-scoping change to contradict. Its nearest sentence — the upload entry points "stamp owner_id on the new sys_file" — is about the insert and about owner_id, both untouched.

The four release-owned pages in the same advisory were read but not edited (they are read-only in a code PR). A targeted cross-grep for any claim pairing these two tables with organization or tenant scoping returns zero rows across content/docs/releases/*.mdx. The one v17 line naming a sys_file / sys_upload_session write is the #5216 durability correction ("a write that never landed stops reporting success"), which this PR does not touch. No release page is wrong, so there is nothing to file as a docs-only card.

Verification

Union re-run after the final commit, at e02648ef1b. Every heavy run went through scripts/pm/os-verify-lock.sh; the verdicts quoted are the lines that entry point printed, never a bare $? behind a pipe.

  • pnpm --filter @objectstack/service-storage test — 32 files, 506 tests, all pass (21 of them new).
  • tsc --noEmit --pretty false -p packages/services/service-storage/tsconfig.json — 51 errors, exactly the check-type-check-coverage ledger entry, and 0 of them in any of the three touched files. That entry's note says the margin is gone and the next new error reds on arrival, so this is the load-bearing number. --listFiles confirms all three files are inside the program — the count is a measurement of them, not a program that excludes them.
  • Gate family derived with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack (change set taken from the merge base by the script itself). Green: engine-double-contract, where-matcher, objectql-double-limit, query-options-erasure, type-check-coverage, cross-package-test-inputs (both invocations), test-source-alias, type-source-resolution, route-envelope, undeclared-dep-imports, logger-receiver-detach, nul-bytes, i18n, i18n-stale-fill, doc-authoring, published-files, slot-lookup, page-declaration-shape, ci-filter-parity, comment-mask-adoption, keyed-text-bounds, plugin-teardown-shape, shard-attestation, changeset-gate-self-tests, objectui-changeset, pm-half-states, adr-0087-registration, changeset-no-major, empty-changeset, release-rehearsal-clone, docs-audit/affected-docs.
  • pnpm lint (eslint . --no-inline-config, repo-wide) — exit 0, no findings, held the lock 67s.
  • pnpm check:i18n — OK, 9 packages, all bundles in sync, service-storage among them, after its ten-package build closure.
  • Two gates first went red and were repaired, not baselined: engine-double-contract (ledger taught the new pins) and query-options-erasure (a findOne query bag was erased to any; typed as DriverQuery instead, test surface back to 240 at the ceiling).

Ablation

Implementation committed first; the mutation stripped ...options from all four sites, under an EXIT INT TERM trap with an absolute repo root.

  • Mutation proven on disk by anchored counts in both directions: repaired-anchor 4 → 0, ablated-anchor 0 → 4, and the blob hash moved.
  • Direction predicted before running: the store, route and engine-leg cases go red; the driver-leg cases stay green because they drive the driver directly and never reach the store. Observed: 10 failed / 11 passed, and the ten are exactly the ten predicted.
  • No rebuild involved, and none is claimed: the mutated file is a same-package relative import (./metadata-store.js), so the suite reads it from source. @objectstack/driver-sql is source-aliased by this package's vitest config; nothing mutated resolves through dist/.
  • Restore proven by observation, not by exit code: blob hash back to the HEAD blob, git diff HEAD empty, git status --porcelain empty over the whole tree.

Not measured — stated as not-measured, not folded into green

  • check:type-check-debt (the ratchet invocation) was not run — it re-runs tsc for every ledger entry and needs the whole workspace closure built, which does not fit the container's foreground ceiling under lock contention. Declared narrowing: the only ledger entry a three-file service-storage diff can move was measured directly, with the gate's own invocation shape, and is the 51 above. The rest of the ledger has no path in this diff.
  • check:dual-build-cjs-loads needs the Build Core artifacts; left to CI.
  • check-test-completeness and scripts/pm/check-half-states.mjs both exited with their own PREREQUISITE NOT MET code (3) — no test log, no token. Neither is a finding.
  • Not measured end-to-end through a real ObjectQL over a real SqlDriver in one process. The chain is pinned as two legs that meet: real ObjectQL proves context.tenantId reaches DriverOptions.tenantId on both verbs, and a real SqlDriver on live SQLite proves what that option then does. A single full-stack fixture would be stronger and is not here.
  • No claim about a licensed walled install. Auto-stamping organization_id lives in the out-of-tree enterprise middleware, so "the write now carries its tenant" is a statement about the call site.

Authored by Claude Code, session session_01F3jdziLbAPGeceVNmSox5L (recorded in prose because a body edit normalises the footer link).

Generated by Claude Code


Generated by Claude Code

…and delete doors to the acting organization (#13178)

The four un-repaired halves of the two inserts #12745 and #12928 fixed:
`updateFile`, `deleteFile`, `updateSession` and `deleteSession` now take the
same optional `StorageWriteContext` the create doors take, and the upload routes
pass it -- two of them had already resolved the session and discarded it.

On these verbs the context SCOPES rather than stamps (`applyTenantScope`, not
`injectTenantOnInsert`), so another organization's row stops being reachable
while `organization_id IS NULL` rows stay in reach -- which is what keeps the
pre-#12928 population, deliberately not backfilled, from being stranded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3jdziLbAPGeceVNmSox5L
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Aug 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/service-storage, touching 8 documentable anchor(s).

7 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/api/plugin-endpoints.mdx (via sys_file (literal))
  • content/docs/automation/approvals.mdx (via sys_file (literal))
  • content/docs/deployment/cli.mdx (via sys_file (literal))
  • content/docs/kernel/contracts/storage-service.mdx (via sys_file (literal))
  • content/docs/permissions/attachments-access.mdx (via sys_file (literal), sys_upload_session (literal))
  • content/docs/protocol/objectql/types.mdx (via sys_file (literal))
  • content/docs/ui/translations.mdx (via sys_file (literal), sys_upload_session (literal))

⛔ 5 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/implementation-status.mdx (via sys_file (literal))
  • content/docs/releases/index.mdx (via sys_file (literal))
  • content/docs/releases/v15.mdx (via sys_file (literal), sys_upload_session (literal))
  • content/docs/releases/v16.mdx (via sys_file (literal), sys_upload_session (literal))
  • content/docs/releases/v17.mdx (via sys_file (literal), sys_upload_session (literal))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 47 of 219 client-bound route-ledger rows — the other 172 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 172: 14 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 56 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 102 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.

Coarse fallback — 6 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 57827b617e1f6f38a684b5b1daf56c8a7455cb81 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from ebe64d74142ccdb69693b09753e016c030a0e0d2 — the merge of head e02648ef1b1d200f20079b602b7af735e61c2b73 into base 57827b617e1f6f38a684b5b1daf56c8a7455cb81, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin ebe64d74142ccdb69693b09753e016c030a0e0d2 && git checkout ebe64d74142ccdb69693b09753e016c030a0e0d2
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 57827b617e1f6f38a684b5b1daf56c8a7455cb81 e02648ef1b1d200f20079b602b7af735e61c2b73 && git checkout -B drift-repro 57827b617e1f6f38a684b5b1daf56c8a7455cb81 && git merge --no-ff e02648ef1b1d200f20079b602b7af735e61c2b73

node scripts/docs-audit/affected-docs.mjs --json 57827b617e1f6f38a684b5b1daf56c8a7455cb81

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 57827b617e1f6f38a684b5b1daf56c8a7455cb81 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

Copy link
Copy Markdown
Collaborator

PM review — ACCEPT, with landing held until CI converges (25 success · 2 skipped · 6 still running · 0 red at time of writing; Lint & Repo Gates, Test Core 1–2/6 and the three Dogfood shards are outstanding). My bar is every check green, not the required subset. ⛔ I do not merge it.

What I verified myself, on the diff and on origin/main — not from the report

  1. Fences, on the actual 5-file diff. 0 lines in content/docs/releases/, packages/spec/, docs/adr/, .claude/, skills/.
  2. The guard order is untouched, by construction rather than by claim — driver-sql has zero files in this PR. Ruling 1.4's deferral to design card design: isSystem 写入是否在租户审计控制范围内?——#13178 类级装置(A/B/C)的共同前置,从未被裁过 #13491 held without needing to be argued.
  3. scripts/engine-double-contract.pinned.json is +15 / −0 — purely additive rows registering the new test file's own delete / findOne / update calls. Nothing removed, no existing expectation loosened. That is registration, and it is the file where re-baselining would have hidden.
  4. The docs-drift pointer I relayed, re-measured independently with a control. The report claims content/docs/permissions/attachments-access.mdx makes no tenancy claim, so there is nothing for an organization-scoping change to contradict. Re-run on origin/main (57827b617e): grep -icE "organization|tenant|\borg\b" → 1, and that one hit is line 93's "org logos". Positive control sys_file → 5, so the file was read and the pattern discriminates. ⇒ an absence, measured, not assumed. The four release-owned pages were read and correctly not edited, and the cross-grep for a claim pairing these tables with organization scoping returned zero — so there is genuinely nothing to file, and none was invented.

The three Zone 2 assumptions, and the one that matters

  • A — BROKE, and it was mine. I assumed the four sites were in driver-sql; they are in service-storage. Zone 2 is exactly where that belonged: as a falsifiable hypothesis it cost nothing, and as a Zone 1 specification it would have pointed the work at the wrong package.
  • C — BENT, and this is the substantive finding of the run. I assumed "same table, same class" made the repair a mechanical copy of the insert halves. It is not: the same option stamps on insert (injectTenantOnInsert) but scopes on update/delete (applyTenantScope), so it buys a reach rather than a value. ⭐ The consequence was handled the conservative way — an organization_id IS NULL row deliberately stays reachable, so the pre-multi-org: sys_upload_session is never org-stamped either — StorageMetadataStore.createSession inserts without a context #12928 population the ruling explicitly declined to backfill is not stranded. That is the right call and it is the kind of thing that would have been silently wrong under a literal copy.
  • D — HELD, and upgraded from weak to measured. I declined to open the open PRs' file lists and said so, marking my clearance a weak title-level reading. The executor did the work: all 10 open PRs enumerated, only fix(core,rest,services): fail loud when a permission-store read fails #13475 touches service-storage, and only storage-service-plugin.ts — disjoint from this PR's metadata-store.ts / storage-routes.ts. My weak reading was right, and it is no longer weak.

Two gates went red first and were repaired, not baselined

engine-double-contract (the ledger taught the 3 new pins through its own --write, "0 lost") and query-options-erasure (a findOne query bag erased to any, typed as DriverQuery instead). ⛔ Neither was silenced.

The out-of-scope finding is the honest kind

#13528 — deleteFile / deleteSession have no shipped-source caller; only tests reach them, with a positive control showing 7 shipped callers for the update pair. So half the repaired reach is exercised only by tests today. The repair stays correct — the two verbs are the ruled scope and the parameter is the store's contract — and disclosing it rather than quietly shipping a reach nobody exercises is the right handling. Routed pm:retriage; grading is triage's.

⇒ On full green I flip ready and enqueue. If any of the six outstanding checks reds, it is diagnosed and relayed — ⛔ no assertion relaxed to reach green.


Generated by Claude Code

@zhuangjianguo
zhuangjianguo marked this pull request as ready for review August 30, 2026 17:06
@zhuangjianguo
zhuangjianguo disabled auto-merge August 30, 2026 17:07
@zhuangjianguo
zhuangjianguo added this pull request to the merge queue Aug 30, 2026
Merged via the queue into main with commit f087c37 Aug 30, 2026
36 checks passed
@zhuangjianguo
zhuangjianguo deleted the claude/issue-13178-tenant-audit-half-repairs branch August 30, 2026 17:30
os-tesla pushed a commit that referenced this pull request Oct 25, 2026
…over (objectui#13497) (#13527)

<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoTQxYKRxtUGN5xTm23ThWwo)_

Fixes #13497
Part of #25677

Clause-②: no
Metadata-protocol: none

⛔ **Governed surface (`.github/workflows/**`, Tier H).** This PR stays a
draft until an APPROVED review from an authorized approver (os-zhuang or
hotlong) is on record; the merge-queue leg of the Governed Surface Queue
Guard refuses it otherwise. No agent seat approves it; the dispatch seat
lands it after the approval.

## 维护者速读(草稿)

- **改了什么:** 把 `dependabot-auto-merge.yml` 的唯一 job 关掉(`if:
false`),只改这一个文件,文件头写明原因和怎么恢复。
- **为什么改:** 这个 job 用 GITHUB_TOKEN 把 Dependabot PR 放进合并队列。GitHub 不会为
GITHUB_TOKEN 触发的事件启动 workflow,所以这个合并组永远没有检查在跑,要等约 63 分钟超时才被踢出;排在它后面的所有
PR(包括 objectui→objectstack 合并的各张卡)都干等。Dependabot 每次 rebase 都会重来一次。今天
10:54Z 又一次:#13438 的合并组 0 个 run,排在后面的 #13515 合并组 5/5 已绿,在等它。
- **风险与代价(含回滚):** 合并之后到 cutover 归档之前,Dependabot PR 不再被自动批准、入队或评论;要落某个
Dependabot PR 就手动入队。没有新增 secret,没有缩短队列超时,没有删任何 required check。回滚 = 把 job
的条件改回 `github.actor == 'dependabot[bot]'`(文件头写了),或者 revert 这个 PR。
- **席位意见:**
- **你要做的(一个动作):** 读完 diff 后在本 PR 点 Approve。

## What changes

One file, `.github/workflows/dependabot-auto-merge.yml`:

- The `dependabot` job's condition becomes `if: false`, with a one-line
pointer to the header.
- A new header block says why the job is off, what the ruling ruled out,
and how to turn it back on (restore `github.actor == 'dependabot[bot]'`,
and fix the GITHUB_TOKEN enqueue first).
- Every step is left as it was. Nothing else in the repository changes.

## Why

The job's last step enqueues with `gh pr merge --auto --squash
--match-head-commit` under `GITHUB_TOKEN`. GitHub starts no workflow run
for an event that `GITHUB_TOKEN` caused, so the merge group gets no
`merge_group` runs, its required checks never report, and it holds the
head of the queue until the check timeout removes it. The card's
measurements (the third removal, still pending when the card was filed,
is read from #13438's timeline):

| enqueued (`added_to_merge_queue`, by `github-actions[bot]`) | removed
(`removed_from_merge_queue`) | held |
|---|---|---|
| 2026-10-24 05:31Z | 06:35Z | 64 min |
| 2026-10-24 23:16Z | 2026-10-25 00:19Z | 63 min |
| 2026-10-25 02:34Z | 03:34Z | 60 min |

A fourth cycle was live while this PR was written: Dependabot
force-pushed #13438 at 10:40:58Z, `github-actions[bot]` enqueued it at
10:54:47Z, and at 11:55Z its merge group
(`gh-readonly-queue/main/pr-13438-…`, head `6523401e4b`) had **0**
workflow runs, while the group right behind it (#13515, enqueued by the
fleet App) had **5 of 5** runs at `success`, waiting.

The triage ruling on #13497 (comment 6393154205) chose the cheaper of
the card's two ways, because this repository is archived at the
#25677 cutover: stop enqueuing Dependabot pull
requests from Actions, by dropping the enqueue step or disabling the
workflow until cutover. ⛔ No App or PAT secret, no shorter queue
timeout, no dropped required checks.

### Why the whole job, not just the enqueue step

Both forms were measured against the tests that read this workflow:

| Form | `scripts/__tests__/dependabot-merge-gate.test.ts` |
|---|---|
| Delete the "Enqueue for merge" step only | **2 failed** / 33 passed:
"has no `gh pr merge` that is not behind a green gate" (its anti-vacuity
count reads 0) and "runs the gate script and tells it which SHA to
judge" (no `--match-head-commit` left) |
| `if: false` on the job (this PR) | 35 passed |

Dropping only the step would mean rewriting those two pins as well. It
would also keep the gate running on every Dependabot rebase in the
cutover window: one runner polling for up to 40 minutes, only to approve
a pull request that nothing enqueues. With the job off, the workflow
stays as it is, and the tests that pin it don't change.

## Verification (local, head `b3d92a46a4`)

| Gate | Exit / verdict |
|---|---|
| `node scripts/check-governed-queue-guard.mjs --test
.github/workflows/dependabot-auto-merge.yml` | 3 = GOVERNED
(`.github/workflows/**` x1), as expected |
| `node scripts/check-changeset-presence.mjs` | 0, no changeset owed |
| `check-control-bytes`, `check-action-ref-convention`,
`check-pre-install-import-graph` (`--self-test` and run),
`check-shell-escape-residue`, `check-governed-queue-guard --self-test`,
`check-required-check-set --self-test`, `check-bash32-floor`,
`check-new-cross-file-line-citations`, `check-doc-links` | 0 each |
| vitest, the four `scripts/__tests__` files that name this workflow | 0
(159 tests) |
| vitest, all of `scripts/__tests__` (under `os-verify-lock`) | 1: 5863
passed, 3 failed, all `Test timed out in 15000ms` in files that do not
read this workflow (`check-i18n-dead-keys`, `check-vi-mock-inherit`,
`dollar-dialect-alias-census`); the same three files re-run alone on
this head: 0 (259 tests) |
| YAML parse of the edited file | job `if` is the boolean `false`; 10
steps, unchanged |

What can't be tested on this PR: the workflow triggers only on a
Dependabot pull request, so this PR can't run the changed job. The check
comes after the merge: the next Dependabot force-push should produce a
skipped `dependabot` job and no `added_to_merge_queue` event.

## Acceptance notes

- Prose elsewhere still says this workflow approves and enqueues:
`content/docs/guide/ci-cd-pipeline.md` (workflow table row and the
"Dependabot Auto-Merge" section), `AGENTS.md` (the governed-surface list
and the merge-queue paragraph), the `dependabot-auto-merge.yml` reason
in `scripts/check-action-ref-convention.mjs`, and header comments in
`scripts/dependabot-merge-gate.mjs` and
`scripts/check-governed-queue-guard.mjs`. Not changed here: the card's
scope is the workflow, and the repository is archived at cutover. These
are reported to the dispatch seat.
- Fixing this doesn't clear the current queue head. The #13438 entry
enqueued at 10:54:47Z stays until its timeout, or until a maintainer
removes it from the queue.

- [x] Adds no product-specific widget, dialog, hook or string (see
AGENTS.md › Product-neutral renderer)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Session: `https://claude.ai/code/session_01DqwYJmM7nGqhoj84ZUJ9Cz`

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: os-zhuang <jack@objectstack.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants