Skip to content

docs(qa): seed-mode-matrix scores the three live seed modes; retired insert and replace are refused at the draft save - #35580

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-35297-seed-mode-matrix-live-modes
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-35297-seed-mode-matrix-live-modes

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #35297
repo:objectstack#1 · os-sales · session_01L6bhgTvfMcASUnKeoEVUo7
Refs #34975 (items 1, 2)
Clause-②: no
Metadata-protocol: none

维护者速读

  1. 用户能看到什么变化:用户无感;只改内部质检清单里"示例数据写入方式"这条测试项,以及另一条测试项里的一步。
  2. 为什么做:示例数据的两种旧写入方式已经下线,清单仍按旧的五种方式写,每日质检巡检因此在主干上报红。
  3. 出错会怎样:写错只会让质检人员按错误步骤测试,不影响产品;只动文档,可直接撤回。
  4. 要你做什么:无。

What changes

The checklist data is revised because the platform surface changed (two modes retired), not to green the gate: every live-mode clause and verdict is unchanged.

Tests

The expected answer for the retired modes was measured, not assumed: at base b65488a8, the save door's own suite (packages/metadata-protocol/src/protocol.seed-external-id-refusal.test.ts, the retired-mode case) was run with a temporary log line (restored, git diff HEAD empty, blob hash equal to HEAD). Both a draft with mode insert and one with mode replace answer code INVALID_METADATA, status 422, one issue {path: mode, code: invalid_value} whose message is the mode's prescription. That is an in-process reading of the protocol call, not an HTTP run.

Gate readings at head 1ad833b
  • pnpm check:platform-checklist (full chain, self-tests included) exit 0: check-platform-checklist: OK — 16 areas, 433 items (425 active, 3 planned). At base it exited 1 with the one VARIANTS STALE problem.
  • The 17 families node scripts/pm/dispatch-gates.mjs --commands derives for this diff, each exit 0; --ran reconciliation: 17 run, 0 NOT-MEASURED (a DERIVED zero).
  • node scripts/pm/overlap-check.mjs: origin/main merges cleanly; fix(settings)!: offer the knowledge settings only where the knowledge service is mounted #34223 shares platform-core.json, but its hunks sit at lines 640 to 1000 (this diff is at 3208 to 3350) and GitHub already reports it mergeable: false against main.

Acceptance notes

  • The suggested extractor guard (refuse a declaration with no bracket list of its own) is not in this PR. extractEnumMembers has no self-test battery, so the guard and its row would need a new battery, a roster entry, the floor bump and both dispatch legs, which is more than the diff it would guard. The failure it prevents was already loud (red), just badly worded ("0 members").
  • No changeset: the diff touches only docs/qa/**, which no package's files[] ships; skip-changeset is set with this create.

Verification

Read first: the seed-mode-matrix item's steps[4] and [5] and acceptance[3] and [4] (the new refusal wording), then the access-security seed step.

Two-minute check: pnpm check:platform-checklist prints check-platform-checklist: OK and exits 0.


Generated by Claude Code

…insert/replace are refused at the draft save

The seed-mode-matrix enumSource pinned SeedMode at 5, but SeedMode is now
enumWithRetiredValues(SEED_MODE_VALUES, SEED_MODE_RETIRED) with no list of its
own, so the extractor read 0 and check:platform-checklist went red on main.
The pin now counts SEED_MODE_VALUES (3), and the item's steps, clauses,
variants and knownGaps are revised to the live modes, with insert and replace
scored as refused at the draft save (422 INVALID_METADATA at mode, measured
in-process at b65488a). The agent-ceiling seed step is rekeyed off
mode insert, and FOLLOW-UPS K6 is marked resolved.

Claude-Session: https://claude.ai/code/session_01L6bhgTvfMcASUnKeoEVUo7
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 19, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTvfMcASUnKeoEVUo7

Final green head for L1: 1ad833bbdb0cabfa55361ee91f60cd31d0aad607 (area b1-F). Check-runs on it: 28 success, 23 skipped, 0 failed, 0 pending; mergeable clean against main. Diff 3 files +34/−25 (docs/qa/platform-checklist only), so above the 50-line self-review line: L1 goes to thread L1-a. Not a governed surface.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U

维护者速读

  • 用户能看到什么变化:没有。只改内部测试清单:种子模式清单改为只测现存的三种模式,已退役的 insert、replace 改为“草稿保存即被拒”;另一条清单的种子步骤不再用 insert。主干上红着的清单检查因此转绿。
  • 要你做什么:不需要你做任何事,区域审完自己落地。

席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head 1ad833bbdb0cabfa55361ee91f60cd31d0aad607 · 2026-11-19T16:29Z

  • 形态 — draft, base main, 1 commit, 3 files, +34/−25, all under docs/qa/platform-checklist/ (no package path, nothing shipped). Merge-base b65488a8. check-governed-merges.mjs --pr 35580: NOT governed, 59 lines. Clause-②: no; no contract face ⇒ no L2 owed. Fixes #35297 (check:platform-checklist red on main) is right: the dev measured the checker exit 1 on base with only this item's VARIANTS STALE (0 vs 5), and exit 0 at this head. Refs #34975 (items 1, 2) carries no closing keyword (items 3–4 stay open there). skip-changeset: tests/docs-only confirmed by my own read of the file list; Check Changeset success.
  • Read against source at this head:
    • seed.zod.ts: SeedMode = enumWithRetiredValues(SEED_MODE_VALUES, SEED_MODE_RETIRED), SEED_MODE_VALUES the three live modes, SEED_MODE_RETIRED holding the insert / replace prescriptions whose text opens "seed.mode: 'insert' was removed in @objectstack/spec 18.7.0 …" — matches steps[4]/[5], acceptance[3]/[4], title, variants (5 → 3) and source[0]. enumSource.export: SEED_MODE_VALUES, expect: 3: the checker reads it (gate green); nit: the key is named export and SEED_MODE_VALUES is a module const, so a rename there re-reds the pin — that is the pin doing its job.
    • The stored-dataset knownGap points at packages/metadata-protocol/src/seed-loader-retired-mode-34613.test.ts, which exists at this head. Dropping the two insert-duplication gaps is right: the mode they describe no longer parses.
    • access-security.agent-ceiling-set-assignment-refusal rev 3: the seed drafts drop mode: 'insert' for the default (ignore) plus externalId: ['user_id', 'permission_set']; composite externalId is admitted (the save door's suite judges externalId.N per member). ignore inserts the absent junction row, so the leg still reaches the ceiling rule it scores. No clause changed.
    • FOLLOW-UPS K6 marked resolved by fix(spec,metadata-protocol)!: retire the seed modes insert and replace, which inserted every record again on each replay #34791 (seed: an unkeyed (insert/replace) inline seed is inserted again on every un-walled start, so the first row's person references stay NULL and the dataset duplicates #34613), with the parse refusal and the stored-dataset load refusal — both present at this head.
  • Your question — the 422 shape measured in-process, not over HTTP: accepted. The reading comes from the save door's own suite (protocol.seed-external-id-refusal.test.ts, it.each([['insert'], ['replace']]) "the retired mode %s is refused with its prescription", run at base with the answer logged). The REST meta door carries the same envelope to the wire: packages/rest/src/meta-flow-save-retired-spelling.test.ts pins code, status and a top-level res.body.issues[] for a meta save refusal, and studio-authoring rev 3 records the same INVALID_METADATA shape measured over REST. The item is a checklist step a live run will score, not a claim of a past run, so an in-process grounding is enough to write it; the first live run confirms or revises it.
  • 门禁 — 51 check-runs on this head: 28 success, 23 skipped, 0 failure; Lint & Repo Gates (which runs check:platform-checklist) and TypeScript Type Check success. The dev's local derived set: 17/17 exit 0, check:platform-checklist exit 0 vs base exit 1.
  • 范围外去向 — none. overlap-check exit 1 names fix(settings)!: offer the knowledge settings only where the knowledge service is mounted #34223 (draft, stale, already dirty against main) on a far region of platform-core.json; not this PR's to resolve.
  • 落地条款 — not governed: b1-F lands this head after this ACCEPT. A new push needs a fresh L1 only if it changes more than a main merge.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTvfMcASUnKeoEVUo7

Landing · 2026-11-19T16:30Z · area b1-F, after L1-a ACCEPT 7015264229 on head 1ad833bb (no push since).

Probe Reading
check-governed-merges.mjs --pr 35580 NOT governed · 59 changed lines ≤ 3000
check-runs on 1ad833bbdb0cabfa55361ee91f60cd31d0aad607 51: 28 success, 23 skipped, 0 failed · mergeable_state clean · K = 4 since b65488a8

State: ready + auto-merge now; #35297 closes on merge. #34975 keeps items 3–4 and is released after the merge.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 19, 2026 16:30
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit e35cf03 Nov 19, 2026
52 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35297-seed-mode-matrix-live-modes branch November 19, 2026 16:50
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/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check:platform-checklist is red on main

2 participants