Skip to content

chore(pm): ensure-pm-labels stops seeding the lease:* labels - #35632

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-vm9eti
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-vm9eti

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #35350

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;建标签的脚本不再建那批「区名」标签。
  • 为什么做:你同意不再用区名标签、改在认领评论里写区名;这一步保证标签删掉后不会被脚本重新建回来。
  • 出错会怎样:最坏是脚本少建一类已经不用的标签,派发照常;可直接撤回。
  • 要你做什么:无。

What changes

Card item 2, script half only. The ruling on the card (Bill, 2026-11-19 05:57Z, 「同意,立卡更新skills」): no more lease:* labels; the area name goes into the claim comment, with the assignee and the seat's area table; the old labels are deleted. Item 1 (the skill text) landed in PR #35363.

  • scripts/pm/ensure-pm-labels.sh: removed the lease:AREA family block (the 18-line comment, the for A in A1 A2 A3 A4 A5 E1 E2 E2b loop and its gh label create "lease:$A" line; lines 433-453 at base a186b2b). A default or --reconcile run of the script no longer recreates lease:A1-A5, E1, E2, E2b after the seat deletes them.
  • In its place, a six-line absence note in the same form as the file's existing target:* note: ownership is the Area: line in the Claim: comment (pm-dispatch references/area-lease.md), no reference reads a lease:* label, leftover objects are deleted by a deliberate PM action, and no row is to be re-added.
  • The script's header has no family index naming lease:* (the first lease match in the file is line 213, a release word), so nothing else in the file changed. File: 755 to 740 lines (+6 / -21).

Files to read first (by risk): 1. scripts/pm/ensure-pm-labels.sh, the hunk at line 433 (the only hunk).

Left to the seat: deleting the label objects

Deleting a label object has no relay op, so this PR deletes nothing and the card stays open. Live lease:* set read during this run at head 76d9360 (GET /repos/objectstack-ai/objectstack/labels, paginated): 32 labels.

  • On the card's list (24): lease:A1, lease:A2, lease:A3, lease:A4, lease:A5, lease:E1, lease:E2, lease:E2b, lease:o1-A, lease:o1-B, lease:o1-D; seat 5's nine: lease:ux-1, lease:ux-2, lease:ux-3, lease:ai-1, lease:data-1, lease:data-2, lease:pkg-1, lease:pkg-2, lease:fleet-1; other seats' areas (confirm first, per the card): lease:o1-C, lease:o3-H, lease:o4-A, lease:o4-C.
  • Added in the claim: lease:b1-H (created 2026-11-19 15:54Z, after the step had retired).
  • Live but on neither list (7): lease:b1-A, lease:b1-B, lease:b1-F, lease:b1-G, lease:d7-B, lease:d7-C, lease:d7-D. Their owning seats are not recorded on the card; the seat confirms each before deleting.

Tests

No package touched, so no package build or test is owed. The script's own test surface is check:pm-label-desc-cap (its --self-test runs the real script under a fake gh): exit 0, 50 label descriptions in scripts/pm/ensure-pm-labels.sh, all ≤100 characters (floor 12). bash -n scripts/pm/ensure-pm-labels.sh: exit 0. No test file names the script (git grep ensure-pm-labels over test files: no match). No ablation: no tested behaviour changed.

Acceptance notes

  • git grep -n 'lease:' -- scripts/pm .github/workflows after the change: no line seeds, writes or reads a lease:* label. The matches left are Release:/release: prose and scripts/pm/fleet-token.mjs:521 ("Under the lease:", the token write lease, not a label).
  • The remote branch had been deleted when PR fix(pm): six card readings move from domain:* to area:* and the epic parent #35587 merged, so the first push was a plain git push -u of a branch made from origin/main a186b2b; no force push was needed.

Verification

Two-minute check: grep -c 'gh label create "lease' scripts/pm/ensure-pm-labels.sh prints 0, and pnpm check:pm-label-desc-cap prints the 50-descriptions line.

Derived gate families at 76d9360 (27: 19 exit 0, 8 NOT MEASURED)

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 27 commands for the one path. The worktree has no node_modules (S card, no install), so:

  • exit 0 (19): check-self-test-wired (+ --self-test), check-whole-set-label-write (+ --self-test), ci/plan-test-core-shards --self-test, check:adr-anchors, check:agent-test-spelling, check:bash32-floor, check:cross-package-test-inputs, check:entry-guard, check:gitlink-declared, check:nul-bytes, check:parse-guard, check:pm-label-desc-cap, check:pnpm-filter-targets, check:pnpm-flag-spellings, check:refd-timer-probe, check:scripts-symbol-anchors, check:watch-hint-literal.
  • NOT MEASURED, exit 3 PREREQUISITE NOT MET (yaml not installed) (6): check-closing-keyword-parity (+ --self-test), check-comment-mask-corpus, check:ci-filter-parity, check:cli-command-ids, check:driver-memory-census.
  • NOT MEASURED, exit 1 from a missing dependency (2): check-self-test-workflow-commands (+ --self-test). The finding is release-pending-publish --self-test printing "Cannot find package '@changesets/cli'", and the self-test failure is ci/lane-verdict --self-test, which answers PREREQUISITE NOT MET (yaml) when run alone. Neither involves this file.
  • --ran reconciliation: exit 0, 27 derived famil(ies) accounted for — 19 run, 8 NOT-MEASURED (6 DERIVED from a recorded exit 3, 2 claimed).

CI runs all of them with dependencies installed; the PR's check-runs are the verdict for the eight.

overlap-check

node scripts/pm/overlap-check.mjs --branch=HEAD at 76d9360: exit 0, ✓ origin/main: merges cleanly, VERDICT clean exit 0 (0 open PR heads share the file).


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx

Areas record ownership in the Claim comment's Area: line, beside the
assignee and the seat's area table; no reference reads a lease:* label.
Remove the seeder loop (lease:A1..A5, E1, E2, E2b) and its comment block
so a default or --reconcile run no longer recreates the labels the seat
deletes, and leave a one-paragraph absence note in its place.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx

Final head for L1 · 2026-11-19T19:11Z: 76d9360e9ff4fbcdd192af24405335bf63b0792b. CI on it: 26 success, 23 skipped, 0 failed; mergeable clean. Not governed (check-governed-merges.mjs --pr 35632; +6/−21). Card #35350 (claim 7017790146), item 2's script half; os-dev-report 7018837185. The lease:* label objects stay for the seat (listed in the body).


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U

维护者速读

  • 用户能看到什么变化:没有。建标签的脚本不再建「lease:区名」这类标签,删掉后不会被重新建回来。
  • 出错会怎样:最坏是少建一类已经不用的标签,派发照常。可直接撤回。
  • 要你做什么:不需要你做任何事,区域自己落地。删掉现存的 32 个旧标签由席位另行处理。

席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head 76d9360e9ff4fbcdd192af24405335bf63b0792b · 2026-11-19T19:13Z

  • 形态 — draft, base main, 1 commit, 1 file (scripts/pm/ensure-pm-labels.sh), +6/−21. Merge-base a186b2b5. check-governed-merges.mjs --pr 35632: NOT governed. Part of #35350, Clause-②: no, Metadata-protocol: none, no changeset (scripts only).
  • The hunk is the whole family and nothing else. It removes the 18-line comment, the for A in A1 … E2b loop and its gh label create "lease:$A". The six-line absence note in its place has the same form as the file's target:* note, and it points to area-lease.md for the Area: line.
  • No reader is left. On this head, git grep 'lease:' over scripts/, .github/, .claude/ and AGENTS.md matches only the new note and fleet-token.mjs:521 (the token write lease, which is prose). The files that name ensure-pm-labels.sh (check-half-states, dispatch-gates, mailbox-open, check-label-desc-cap, lint.yml, and the skill and lane texts) cite it in comments or run its description cap. None of them derives a lease:* set from it. The skill-text half landed in docs(skills): area claims carry an Area: line instead of a per-area lease label #35363 (merged 07:00Z).
  • Pins — no behaviour under test changed, so no ablation is owed. check:pm-label-desc-cap (50 descriptions, all ≤100) and bash -n exit 0. Eight gate families were NOT MEASURED locally (no yaml or @changesets/cli), and CI ran them green.
  • Left to the seat (the card stays open) — I read the live set again on this head: 32 lease:* labels, matching the body's list. Deleting a label object cannot be undone and removes it from every card. It is the seat's deliberate act, per the card:
    • The 20 ended pilot and seat-5 labels can go.
    • o1-C, o3-H, o4-A and o4-C go after their seats confirm.
    • b1-A, b1-B, b1-F, b1-G and b1-H are this seat's own areas, so the seat confirms them itself. d7-B, d7-C and d7-D need their seat named first.
    • Several of these labels were created after docs(skills): area claims carry an Area: line instead of a per-area lease label #35363 retired the step, which means some session still hangs lease:*. It is worth checking which briefs or samples still tell an area to type one, before deleting, so they do not come back.
  • 门禁 — on this head: 26 success, 23 skipped, 0 failure. Mergeable clean.
  • 落地条款 — not governed, no L2 face: b1-H lands this head. 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_01L6bhgWh7NM35xq2HajeYCx

Landing · 2026-11-19T19:14Z: head 76d9360e9ff4fbcdd192af24405335bf63b0792b, L1-a ACCEPT 7019491007 on this head. Not governed, no L2 face (Clause-②: no). CI 0 failed, mergeable clean. Ready + auto-merge into the queue. Part of #35350: the lease:* label objects stay for the seat.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 19, 2026 19:15
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 5c5b54d Nov 19, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-vm9eti branch November 19, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants