Repository navigation
chore(pm): ensure-pm-labels stops seeding the lease:* labels - #35632
Conversation
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
|
repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx Final head for L1 · 2026-11-19T19:11Z: Generated by Claude Code |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 维护者速读
席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx Landing · 2026-11-19T19:14Z: head Generated by Claude Code |
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 thelease:AREAfamily block (the 18-line comment, thefor A in A1 A2 A3 A4 A5 E1 E2 E2bloop and itsgh label create "lease:$A"line; lines 433-453 at base a186b2b). A default or--reconcilerun of the script no longer recreateslease:A1-A5,E1,E2,E2bafter the seat deletes them.target:*note: ownership is theArea:line in theClaim:comment (pm-dispatchreferences/area-lease.md), no reference reads alease:*label, leftover objects are deleted by a deliberate PM action, and no row is to be re-added.lease:*(the firstleasematch in the file is line 213, areleaseword), 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.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.lease:b1-H(created 2026-11-19 15:54Z, after the step had retired).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-testruns the real script under a fakegh): 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-labelsover test files: no match). No ablation: no tested behaviour changed.Acceptance notes
git grep -n 'lease:' -- scripts/pm .github/workflowsafter the change: no line seeds, writes or reads alease:*label. The matches left areRelease:/release:prose andscripts/pm/fleet-token.mjs:521("Under the lease:", the token write lease, not a label).git push -uof a branch made fromorigin/maina186b2b; no force push was needed.Verification
Two-minute check:
grep -c 'gh label create "lease' scripts/pm/ensure-pm-labels.shprints0, andpnpm check:pm-label-desc-capprints 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/objectstackderived 27 commands for the one path. The worktree has nonode_modules(S card, no install), so: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.yamlnot installed) (6):check-closing-keyword-parity(+--self-test),check-comment-mask-corpus,check:ci-filter-parity,check:cli-command-ids,check:driver-memory-census.check-self-test-workflow-commands(+--self-test). The finding isrelease-pending-publish --self-testprinting "Cannot find package '@changesets/cli'", and the self-test failure isci/lane-verdict --self-test, which answers PREREQUISITE NOT MET (yaml) when run alone. Neither involves this file.--ranreconciliation: 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=HEADat 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