Skip to content

first-touch-sweep: flag a public card whose area:* is not one of the eight North Star areas, or that carries two #36220

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate ① · Source: fleet · found by the maintainer on the board on 2026-11-22 (「我们规定的 area 没这么多啊」).

What happens

docs/NORTH-STAR.md (since #35223, 2026-11-18) says every public card carries exactly one area:*, from eight: ai, build, data, workflow, ux, package, fleet and cloud. The repo still has the older labels (access, api, auth, automation, devpath, files, formula, i18n, identity, records, reports and studio). Filers kept using them, and some cards carried two areas.

scripts/pm/first-touch-sweep.mjs checks only whether a card has an area:* (disjuncts ② and ③, plus the daily area backfill). So a card with area:studio, or with area:data,area:ux, passes as touched. On 2026-11-22, 46 open cards were in that state, and triage's own first-touch audits had accepted area:studio on #36216 and #36219. All 46 were relabelled by hand on 2026-11-22.

Done when

  • The sweep, or its daily backstop, lists every open public card whose area:* set is not exactly one of the eight North Star areas, and counts it in the verdict.
  • The eight names are read from docs/NORTH-STAR.md's area table rather than copied.
  • A pin covers one card with a legacy area, one with two areas, and a clean control.
  • Optional, and the maintainer's call: retire the legacy labels in the repo, so no filer can pick one.

reach: every triage first touch and every filer that picks a label. Read from code; the 46 cards were measured.
Business reason: area statistics and seat routing read area:*. Off-list labels split one product area into several rows, and they hide cards from the seat that takes the area.
Reader: domain:devx lane (scripts/pm).
Grade: p2. It is an instrument that would have caught this at first touch. The board and routing read wrong until it lands, but nothing on the product side is wrong.

Activity

  1. added
    priority:p2
    pm:queue
    domain:devx
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 3
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-36220-north-star-area-sweep
    Worktree: objectstack-issue-36220
    Domain: domain:devx
    Seat: repo:objectstack#7
    Area: f7-seat (an area:fleet card outside seat 1's epic #35205 tree; the seat claims it itself)
    File surface: scripts/pm/first-touch-sweep.mjs (or its daily backstop) reading the eight areas from docs/NORTH-STAR.md's area table, its pin test, and the fleet text that names the sweep's verdict if it must say the new count
    Container & model: S, mode:subagent, model: opus (no path-derived mandate at 3a81fb75), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: scripts/pm/first-touch-sweep.mjs (objectstack) checks only that a card has an area:* | none — no check that it is exactly one North Star area | triage and every seat routing by area:*; 46 open cards measured off-list on the card
    Thread-read: none
    Premise: holds (the dev re-measures the sweep at its base)
    Serial constraints cleared: none (no open PR names the card or the sweep).
    Pre-claim lane: repo:objectstack seat 7, intake area:fleet; p2 under 「优先p1 p2」, a free slot under 「并发可以加到30」.
    Pre-claim deps: none named.
    Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 36220 --paths scripts/pm/first-touch-sweep.mjs exit 0 at 3a81fb75. Retiring the legacy labels (the card's optional item) is the maintainer's call and is not built.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
     "issue": 36220,
     "status": "done",
     "branch": "claude/issue-36220-north-star-area-sweep",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36378",
     "head_sha": "0bdb095c66849ce10aa050c213fc56536b1de37a",
     "session": "session_01QsR2jTeURPvEm465RcoYEC",
     "premise_still_valid": true,
     "summary": "Measured at base 3a81fb75: the sweep's JSON had no area-list field and lacksArea/classify only test for the presence of an area:* label, so the premise held. scripts/pm/first-touch-sweep.mjs now reads the area labels from docs/NORTH-STAR.md's Product areas table on every run (northStarAreas, no name spelled in code). A new row (offListArea) lists every settled open card whose non-empty area:* set is not exactly one of them. Those cards join the owed set, and the verdict names their count ('sweep FOUND n ... — k of them off the North Star area list'). An unreadable table is PREREQUISITE NOT MET (exit 3). The row is asked only on objectstack-ai/objectstack, because the North Star leaves cloud its own areas. The optional legacy-label retirement was not built (maintainer's call).",
     "tests": "head 0bdb095c: `node scripts/pm/first-touch-sweep.mjs --self-test` → '✓ first-touch-sweep self-test: 85 cases pass across 7 batteries — offline, no network.' exit 0 (base: 69 cases / 6 batteries). The new battery (16 cases) pins a legacy-area card (area:studio, asserted absent from the list read), a two-area card and a one-area clean control against the real NORTH-STAR table; the result is offList [61,62] and verdict 'sweep FOUND 2 card(s) owed a first touch — 2 of them off the North Star area list', exit 0. It also pins the synthetic-table parse, 3 parse refusals, exclusions/security/settle, the not-asked board and 2 prerequisite paths. Importer: `node scripts/pm/fleet-roster.mjs --self-test` → '✓ fleet-roster self-test: 150 cases in 12 batteries pass.' exit 0. Live read-only run at head: 473 open = platform 473, 'area list (docs/NORTH-STAR.md: 8 areas) — …: 0', exit 0. There is no live positive because the 46 cards were hand-relabelled earlier today. No ablation: the self-test cases are the behaviour pins, and the battery floor plus handshake are copied from the landed shape.",
     "gates": "local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 63 commands (identical before and after merging origin/main 3faabd26); each exit was captured into a file before any pipe. Result: 61 exit 0. `node scripts/check-self-test-workflow-commands.mjs` exit 1, REFUSED: 'scripts/check-adr-0087-registration.mjs --self-test could not be run: spawnSync node ETIMEDOUT'. That is its 120 s spawn cap on a shared box at load ~12; run directly, that self-test took 1m49s and exited 0; the file is not in this diff. NOT MEASURED locally, CI owns it. `pnpm check:i18n-coverage` exit 3, PREREQUISITE NOT MET (workspace CLI not built, 15-package closure), NOT MEASURED. `dispatch-gates --ran` → '✓ dispatch-gates --ran: 63 derived famil(ies) accounted for — 62 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).' exit 0. Re-run on 0bdb095c after the merge: first-touch-sweep self-test 0, fleet-roster self-test 0, check-skills-token-ratchet 0, check:nul-bytes 0, check:ratchet-remedy-authority 0, check:commit-card-trailers 0. overlap-check 'VERDICT clean exit 0' before each push. PR body check-closing-keyword-parity --body: binds only #36220. CI check-runs at report time: Check Changeset=success (skip-changeset); Lint/Type Check/Governed Surface Queue Guard/PR-body guards in_progress.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "line_budget": "n/a — no skills/** or ratcheted text touched; diff +139/-9 in one file (148 lines, under 3000)",
     "files_changed": [
      "scripts/pm/first-touch-sweep.mjs"
     ],
     "deviations": [
      "check-self-test-workflow-commands recorded exit 1 from a spawn timeout under shared-box load (NOT MEASURED, not a finding); check:i18n-coverage NOT MEASURED (exit 3 prerequisite, build closure not built — declared narrowing, CI owns it)",
      "PR body ends with the 🤖 line then the signed trailer as the dispatch orders, so the session URL appears only inside the trailer (the harness attribution reminder's separate session-URL line is not repeated)"
     ],
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (objectstack-ai/objectstack#36378, draft, assignees zhuangjianguo, labels skip-changeset; read-back identical); post-stamped comment on #36220 (this report). Plus 3 git pushes (not REST).",
     "writes": "relay 2 (pr_create, issue comment) · git push 3 · MCP 0",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: seat 7 (repo:objectstack#7) · first-touch-sweep.mjs --self-test is run by no CI job and no root package.json alias. check-self-test-wired does not count it because CI never runs the script. So this pin, like the 69 cases before it, guards only a hand run. Wiring it means a package.json alias plus a lint.yml step (governed, Tier S), outside this claim's file surface · noted, not filed",
      "carrier: none · boundary: the area-list row takes the sweep's exclusions (tracking, status:parked, pm:seat, qa-run, eval-run) plus security, so a tracking parent with a retired area is not listed. Recorded in the PR's Acceptance notes"
     ]
    }
  5. added a commit that references this issue on Nov 22, 2026
    7b9e229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetdomain:devxpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions