Skip to content

docs(pm-dispatch): cloud ci:full scope adds PRs that change repo-root test inputs - #34606

Merged
os-zhuang merged 1 commit into
mainfrom
claude/project-thread-ih5nwj
Nov 17, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/project-thread-ih5nwj

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Warren · project thread

Refs objectstack-ai/cloud#4749. Follow-up to #34416. Governed (Tier H): draft, merged by the maintainer by hand.

维护者速读

  1. 问题:cloud#4746 落地后,cloud AGENTS.md 规定改到仓根文件(lockfile、vitest.shared.ts、根 turbo.json 等)的 PR 要加 ci:full;车道说明里「ci:full 只给 pin 轮次与改 workflow 的 PR」与之冲突。
  2. 改法:只改 lanes/cloud.md 第 28 行,ci:full 改为三类:pin 轮次、改 .github/workflows/**、改仓根文件的 PR。
  3. 口径:同一行指向 cloud AGENTS.md 第 7 条,仓根文件清单不在这里重述。
  4. 配套:cloud#4754 合 main 时把同样的三类写进 AGENTS.md 第 7 条。
  5. 行数:仍 28 行,该行 119 B,棘轮不动。
  6. 需要你做的:审阅后手动合入。

What changes

.claude/skills/pm-dispatch/references/lanes/cloud.md line 28, item ③:

  • before: ci:full only for pin rounds (.objectstack-sha changes) and PRs that change .github/workflows/**; the rest run the affected tier.
  • after: ci:full only for pin rounds, PRs that change .github/workflows/**, and PRs that change the repo-root files (pointer to cloud AGENTS.md rule 7).

Why

The build-and-test timeout change (cloud#4746) caps a non-ci:full PR at 50 minutes while a root-file change widens the affected tier to every package, so such PRs must carry ci:full. The seat's Go (2026-11-17 02:59Z) chose to name three classes in both places.

Verification

Run in the container at head 35cf050:

  • pnpm check:pm-skill-ratchet → 0 (28 lines, ceiling 28; line 28 is 119 bytes)
  • pnpm check:pm-skill-id-lint → 0
  • pnpm check:pm-governed-prose → 0
  • pnpm check:skill-links → 0

Clause-②: no
Metadata-protocol: none

Human Minimum

  • 1–2, 6–7 n/a (skill text only).
  • 3. No formatter ran.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. Publishes nothing (skip-changeset).
  • 8. English, apart from the lane's 维护者速读 block.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQwxbXY2nauW96XKVHkXmW

… test inputs

The cloud lane's third CI rule now names the same three classes as cloud
AGENTS.md rule 7 after the build-and-test timeout change: pin rounds, PRs
that change .github/workflows/**, and PRs that change the repo-root files
that widen the affected tier to every package.

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

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 35cf050ecf3ddaeb69b669c471a4ef61e2854803
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/lanes/cloud.md + none
Security-touching: no

Review of objectstack-ai/objectstack PR #34606 for card objectstack-ai/cloud#4749 (with objectstack-ai/cloud#3779). Inputs: both cards with every comment, the PR body, file list, the net diff against main at 8dd8192c (merge base 144cdc25), and the check-runs on the head. Read to judge, not reviewed: cloud AGENTS.md rule 7 on cloud main (3acee2b8) and on cloud PR #4754's head (b1749637), cloud .github/workflows/test.yml and root turbo.json, and the line ceilings in scripts/pm/check-skill-line-ratchet.mjs.

① Derived judgments

  • File list: .claude/skills/pm-dispatch/references/lanes/cloud.md only, 1 line added and 1 removed, line 28 (item ③ of the CI-minutes entry). Right: it matches the PR body.
  • Before (set by PR docs(pm-dispatch): cloud lane CI-minute rules in orders and Go text #34416, merged): ci:full only for pin rounds (.objectstack-sha changes) and PRs that change .github/workflows/**, the rest run the affected tier. After: ci:full only for pin rounds, PRs that change .github/workflows/** and PRs that change repo-root files, with a pointer to cloud AGENTS.md rule 7.
  • Size: the file stays at 28 lines against a ceiling of 28, and line 28 is 119 bytes against the 120-byte line ceiling (read from the tree; the ratchet itself was not run here).
  • Check-runs on the head: the PR is a draft, so most jobs are skipped, and skipped is not a pass. Completed with success: Auto Label, Test UI, Test Core, Dogfood Regression Gate (the three aggregate jobs over skipped shards) and Lint · scoped · query-options erasure. Lint · CI, release & engine gates was still in progress at the time of this record, so it has no verdict yet; the seat reads it before ACCEPT. The only gate evidence for the pm-skill checks is the dev's own container run in the PR body, which this record does not adopt as a gate verdict.
  • No accept-set, schema or public-surface change: skill prose only.

② Semver level

Nothing is published: one internal skill reference file. The PR carries skip-changeset, which matches. Clause-②: no on the PR body and the card; the diff agrees.

③ Boundary flags

④ Design judgment

lanes/cloud.md line 28 against the rule it points to.

  • Against cloud AGENTS.md rule 7 on PR saveMetaItem 是 #4632 词表覆盖不到的持久性接缝:8 处 catch 完全静默吞掉元数据写入失败 #4754's head: rule 7 there says 「ci:full 只给三类 PR:pin 轮次(.objectstack-sha 有变化)、改 .github/workflows/** 的 PR,以及上面说的改到仓根文件、受影响档会扩成全部包的 PR;其余 PR 走受影响档」. The lane line names the same three classes in the same order, keeps 「只给」, and points to rule 7 for the detail. Agrees.
  • Against cloud main: rule 7 has no 「只给」 sentence yet, but it carries cloud#4746's sentence that a PR without ci:full that changes the repo-root files which widen the affected tier to every package must add ci:full and push. The two-class lane line on objectstack main contradicts that sentence; the three-class line does not. Agrees, and it fixes a live contradiction.
  • Against the workflow: cloud test.yml line 1013 caps a pull_request without the label at 50 minutes and with it at 60, so the third class has a real effect. Holds.
  • What the line dropped. 「余走受影响档」: implied by 「只给」, and stated in rule 7. The gloss 「.objectstack-sha 变」 on pin rounds: stated in rule 7 on saveMetaItem 是 #4632 词表覆盖不到的持久性接缝:8 处 catch 完全静默吞掉元数据写入失败 #4754's head, and a standing term in this lane. Neither loss changes the rule.
  • Attempt to break it: 「改仓根文件的 PR」 read alone. See N1.

No must-fix, no should-fix.

  • N1 (nit) — 「改仓根文件的 PR」 is wider on its face than the class it stands for. Rule 7 means the repo-root files that widen the affected tier to every package (lockfile, vitest.shared.ts, root turbo.json, .objectstack-sha and the like, the list tier.mjs reads from root turbo.json), not every file at the repo root: README.md and AGENTS.md are repo-root files too, and a PR that changes only those runs the affected tier. The pointer in the same line names rule 7 as the authority, and a card thread reads cloud AGENTS.md in any case, so the contract is not changed; the cost of the loose reading is a full-tier run that was not needed. The line is 119 bytes of 120, so a tighter wording has to trade for it, for example dropping the second 「cloud 」 (line 27 already names cloud AGENTS.md) to make room for a qualifier.
  • N2 (nit) — the PR title says 「repo-root test inputs」 while the line says 「仓根文件」. The files in question are turbo global dependencies and root test inputs both; the line and rule 7 are the contract, the title is not.

Implemented-by: claude/project-thread-ih5nwj
Reviewed-by: session_01JQwxbZqfEd7pcckjz3pGqn

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

ACCEPT · objectstack#34606 @ 35cf050e (Refs objectstack-ai/cloud#4749) · 2026-11-17T03:10Z

  • Contract review (rules face) PASS on this head: comment 6936867644. One line of lanes/cloud.md (28 lines, line 119 B, both inside their ceilings) now names the same three ci:full classes as cloud AGENTS.md rule 7 on cloud#4754's head; it also removes the contradiction between the current two-class line and cloud#4746 already on cloud main. Nits N1/N2 accepted, not blocking. skip-changeset is right.
  • CI: draft, so most jobs skipped (not a pass); the jobs that ran are green (Lint & Repo Gates, Test Core, Test UI, Dogfood Regression Gate).
  • Governed (.claude/**): stays draft for the maintainer, no auto-merge.

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/xs 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.

3 participants