Skip to content

docs(skills): area claims carry an Area: line instead of a per-area lease label - #35363

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-w9aa30
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-w9aa30

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread

Part of #35350

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;派发规则不再让各区给卡挂「lease:区名」标签,区名改写在认领评论的 Area 行里。
  • 为什么做:你说每开一个区就多一个标签,仓库会乱,同意改成写在认领评论里并更新技能文本。
  • 出错会怎样:只是派发记账方式变了,别的区仍能从认领评论和指派人看出卡已有人做;撤回本次改动即恢复旧写法。
  • 要你做什么:无,席位审核后落地;旧标签的删除在本次合并之后另做。

What changes

Ruling-ref: the maintainer, 2026-11-19, seat 5 project thread, verbatim: 「派发是需要加上 lease 标签吗?仓库中会搞出一堆混乱的标签」 (05:56Z); after seat 5 proposed dropping the per-area label in favour of the claim comment, the assignee and the seat's area table: 「同意,立卡更新skills」 (05:57Z). Quoted on the card body.

This PR is the card's item 1 (skill text) only. Item 2 (deleting the existing per-area labels) runs after this merges and is not in this diff, which is why the card stays open.

  1. .claude/skills/pm-dispatch/references/area-lease.md (line count unchanged, 71):
    • Pre-claim re-read: the "leave it alone" signal for another area is now another area's Area: line (in a Claim:), beside the existing other-assignee and other-Claim: checks; it no longer names a label.
    • Claim: the dispatch pair no longer adds a per-area label in the same write; the Claim: comment carries an Area: AREA line.
    • Post-claim read-back checks pm:dispatched and the assignee only.
  2. .claude/skills/pm-dispatch/references/lanes/objectstack.md (line count unchanged, 35): area names stay lane-unique and seat-prefixed; the sentence that the label follows the area name is replaced by "the area name lives only in the lease table and the claim comment's Area: line".

No script reads the per-area label family: git grep of lease: over scripts/pm/** and .github/workflows/** at base 3819afe matches only Release:-family lines, a prose comment in fleet-token.mjs about the write lease, and the label seeder in ensure-pm-labels.sh (a creator, not a reader; see Acceptance notes).

Tests

Text-only diff under .claude/**; no package is touched, so no build or package test is owed. Gates below.

Acceptance notes

  • scripts/pm/ensure-pm-labels.sh still seeds eight per-area labels (the server lane's pilot areas A1 to A5, E1, E2, E2b) in a loop, and its header comment still describes an area session hanging the label at claim time. Once card item 2 deletes those labels, any rerun of the vocabulary script (default or reconcile mode) recreates them. That block is left untouched here (outside this PR's skill-text scope); it should be removed together with the item-2 deletions, or in a follow-up on the same card. check:pm-label-desc-cap has a floor of 12 descriptions against 52 today, so dropping the loop does not trip it.
  • The SKILL.md Claim: template has no Area: row; area sessions get the line from area-lease.md's claim rule. Not changed here (the card names only the area-lease and lane lines).

Verification

Local gates at head 37684a5
  • node scripts/pm/check-skill-line-ratchet.mjs → exit 0; area-lease.md is 71 lines (ceiling 71; headroom 0), lanes/objectstack.md is 35 lines (ceiling 35; headroom 0). Every edited line is within the 120-byte line budget (120, 114, 116, 107 bytes).
  • pnpm check:pm-skill-id-lint → exit 0; self-test: 23 cases pass, 120 file(s) clean.
  • node scripts/pm/overlap-check.mjs → VERDICT clean exit 0: merges cleanly with origin/main (3819afe) and with the one open PR sharing a file, docs(pm-dispatch): split the platform readings by subject; platform-readings.md becomes their index #35337 (area-lease.md).
  • node scripts/pm/dispatch-gates.mjs --commands derived 19 families from this diff; all 19 run locally, each exit 0; --ran reconciliation: 19 run, 0 NOT-MEASURED (a DERIVED zero).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G

…, not a lease label

An area claim no longer hangs a per-area label: the Claim: comment carries
an Area: line, the pre-claim re-read looks for another area's Area: line in
a live Claim:, and the post-claim read-back checks pm:dispatched and the
assignee only. The objectstack lane keeps area names unique and
seat-prefixed, recorded in the lease table and the Area: line.

Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G
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/xs documentation Improvements or additions to documentation labels Nov 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

L1 — ACCEPT (area fleet-1) · 2026-11-19T06:24Z

Head: 37684a55c127957e740a9a5c7dea6e940d8d86cd · card #35350 item 1 (claim 7001254101) · dev report 7001555964.

  • PR shape: draft, base main, Part of #35350 with no verb beside it (item 2, the label deletions, runs after merge), Clause-②: no, Metadata-protocol: none, skip-changeset. 维护者速读 four business lines, 要你做什么 = 无.
  • Diff read in full by the area (4 lines changed, line counts unchanged): area-lease.md :30 another area's Area: line replaces lease:*; :37 the claim carries Area: <区>, no label; :38 read-back checks pm:dispatched and the assignee only; lanes/objectstack.md :23 area names live in the lease table and the Area: line. Each matches the card's item 1 and the ruling quoted on it.
  • Grep: no .claude/** passage tells a seat to type lease:* after this PR; no script or workflow reads lease:*. Remaining: scripts/pm/ensure-pm-labels.sh :435–456 still creates the pilot lease:* labels — owed with card item 2 (remove the loop before the deletions, or the reconcile run re-creates them).
  • Gates: ratchet (71/71, 35/35), check:pm-skill-id-lint, and the 19 derived families exit 0 locally (--ran reconciled). Overlap check clean, including docs(pm-dispatch): split the platform readings by subject; platform-readings.md becomes their index #35337. CI on this head was still running at ACCEPT.

Governed .claude/** (Tier S): handed to the seat for L2 and landing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 37684a55c127957e740a9a5c7dea6e940d8d86cd
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/area-lease.md, .claude/skills/pm-dispatch/references/lanes/objectstack.md + none

PR #35363, card #35350 (Part of, the card's item 1 only). Net diff against main (merge-base 3819afeca1): 2 files, 4 insertions, 4 deletions; both files keep their line counts (71, 35). No file in the diff implements or enforces the two hits files, so the scope ends at hits.

① Derived judgments

  • Claim write set — narrows, right. The area claim stops adding a per-area lease: label in the dispatch write and carries an Area: AREA line in the Claim: comment instead (area-lease.md:37). That is the card's item 1, second bullet, and the maintainer's ruling quoted on the card body.
  • Pre-claim leave-alone set — right. area-lease.md:30 keeps the other-assignee and other-Claim: signals and swaps the foreign label for another area's Area: line. Mutual exclusion does not weaken: pm:dispatched and the Claim: comment were already the claim state, and the label only named which area held it.
  • Post-claim read-back — right. area-lease.md:38 reads back pm:dispatched and the assignee, the two things the dispatch atomic pair writes; nothing is left that the read-back fails to check as a label.
  • Readers of the label family — none, confirmed in the tree at this head. A grep of lease: over .claude/**, scripts/pm/**, .github/** and AGENTS.md leaves, apart from Release:-family lines and one prose comment about the token write lease in fleet-token.mjs:521, only the seeder in scripts/pm/ensure-pm-labels.sh:435-454, a creator and not a reader. .claude/** has zero matches. No gate, workflow or half-state check loses an input.
  • No public surface. Nothing under packages/**, no schema, no published skill (skills/**) is touched.
  • Gate verdicts. Every non-skipped check-run on this head concluded success, including Lint · PM dispatch-gates (line ratchet and id lint), Lint · repo & tooling gates, PR-body guards and Governed Surface Queue Guard.

② Semver level

Nothing is published: the diff is two internal skill reference files under .claude/**. The PR carries skip-changeset, and Check Changeset concluded success. Clause-②: no is correct — no authorable metadata, no runtime behaviour and no package API changes. Metadata-protocol: none is correct.

③ Boundary flags

  • open_questions 1 — the ensure-pm-labels.sh seeder (lines 435-456) still creates eight per-area labels and its header still says an area session hangs the label at claim. Answered: option A. It stays out of this PR, which is correct for a skill-text-only Part of PR, and it must land on this card BEFORE the item-2 deletions, since a rerun of the vocabulary script would recreate the labels and the script header is the stated authority for label-object cleanup (SKILL.md's script table). Until then the card's Done-when is not met; the card rightly stays open. Routing of that one-file PR is the seat's.
  • Deviation 1 (local branch name differs from the pushed branch) — no effect on the reviewed tree; the head is the one named above.
  • Deviation 2 (model-free commit trailers) — follows AGENTS.md; nothing to answer.
  • Deviation 3 (the scripts/pm edit was refused and not retried) — correct stop; covered by the answer above.
  • Out-of-scope note: the SKILL.md Claim: template has no Area: row. Accepted as is: the Pre-claim lane:, Pre-claim deps: and Prior rulings read: lines are likewise taught only in area-lease.md and absent from the template, so the area-only line sits where its siblings sit. The card's own claim already carries the line and PR-body guards passed with it.
  • SQL push-down: not applicable — no code, no query.

④ Design judgment

No must-fix, no should-fix.

area-lease.md — read against the card's item 1 and against the files it cites on this head (execution-duties.md dispatch pair, the SKILL.md label-write steps and Claim: template, lanes/objectstack.md:17). The three edited lines say what the card orders, cite files that exist and still say what the lines rely on, and no other line in the file still depends on the label. Attempts to break it: (a) two areas of one seat share the account, so the assignee cannot tell them apart — holds anyway, pm:dispatched plus a foreign Claim: already stop the second claim, and lanes/objectstack.md:17 reads 「他区」 as other seat or other area; (b) a claim parser rejecting an unknown line — the live claim on the card carries Area: and the claim guard is green; (c) a collision with the area: label family — that family is a label compare only, no reader takes it from a comment line.

lanes/objectstack.md — read against the same ruling and the lane's own neighbouring lines. Line 23 keeps the uniqueness and seat-prefix rule and drops the label sentence, as ordered.

  • N1 (nit) — area-lease.md:30 drops the card's qualifier 「in a live Claim:」: the re-read list is labels, assignee and the last comment, while the Area: line sits in the newest Claim:, which is seldom the last comment, and a released claim's Area: line is not live. Worst case is an area leaving a free card alone; the old label was staler still (a release never removed it). Accepted deviation or a wording touch on the item-2 follow-up.
  • N2 (nit) — lanes/objectstack.md:23 says the area name is recorded 「只」 in the lease table and the Area: line, while line 25 says area name and path roots live only in the lease table and line 27 has the area declared in a seat-post comment. The sense is clear (definition in the table, per-card mark in the claim); the 「只」 is one word too strong. Accepted deviation.

Implemented-by: claude/project-thread-w9aa30
Reviewed-by: isolated-l2-35363

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

维护者速读

  • 用户能看到什么变化:用户无感;派发认领不再给卡片打区域标签,改在认领评论里写一行区域。
  • 为什么做:你说派发标签会把仓库标签搞乱,同意立卡改技能。
  • 出错会怎样:最坏是某个区域误以为一张空卡有人在做而没去领,直接撤回即可。
  • 要你做什么:无。

席位核对 — ACCEPT · repo:objectstack#5 · head 37684a55c127957e740a9a5c7dea6e940d8d86cd · 2026-11-19T06:37Z

  • Shape: 2 files, +4/−4, references/area-lease.md and references/lanes/objectstack.md; line counts unchanged. Part of #35350 (item 1), Clause-②: no, skip-changeset. L1 ACCEPT 7001576979 (fleet-1).
  • Contract review: PASS at this head (record above), no must-fix, no should-fix; nits N1 (Claim: qualifier dropped at area-lease.md:30), N2 (「只」 one word too strong) accepted as deviations.
  • Gates: every non-skipped check-run on this head concluded success.
  • Remaining on fleet: areas stop using lease:* labels — the area is a line in the Claim comment, plus the assignee and the seat's area table; delete the lease labels #35350: item 2. The label seeder loop in scripts/pm/ensure-pm-labels.sh must go before any lease-label deletion (noted on the card, 7001663722), fleet-1 owns it.
  • Landing clause: Tier S, the seat lands after green CI.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

落地 — repo:objectstack#5 · head 37684a55c127957e740a9a5c7dea6e940d8d86cd · 2026-11-19T06:38Z

probe reading
checks every non-skipped check-run on 37684a55 concluded success (the head the contract review pins)
K 4 first-parent commits on main since merge base 3819afec (< 15)

Tier S, seat lands: pr_ready + automerge_enable in this stroke. On MERGED, #35350 stays open for item 2 (fleet-1).

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.

2 participants