Skip to content

build validation: report two visible fields with the same label on one object (split from #33506) #33545

Closed

Description

@objectstack-fleet

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Filing gate: ① (a split owed by a card in flight). Card #33506 (p2) found an AI-built object on staging carrying the system owner_id (label 「负责人」) and a new assignee user field also labelled 「负责人」: the grid shows two 「负责人」 columns and the kanban card shows owner twice. Triage's first touch (6886116954) put the authoring rule with the skills lane and named the build check as the build validation lane's work, to be split if the skills seat does not carry it. The skills seat carries the authoring rule on #33506; this card is the check.

What lands

  1. The object build or validation step that authors run (the one the AI builder's integrity check calls) reports an object with two or more visible fields sharing one label (system fields included, after locale resolution) as an error with a readable message naming both field names.
  2. Decide and record whether it is an error or a warning for objects already installed, so existing apps do not stop loading. That decision belongs to the owning lane; if it needs the maintainer, say so on this card.
  3. A test pinning the owner_id + same-label user field case from AI 搭建新增的「负责人」字段与系统字段 owner_id 同名,表格出现两列「负责人」、看板卡片重复显示 #33506.

Reader

Whichever lane owns object build validation (spec or server). Triage routes and grades.

Part of #33506

Activity

  1. added
    finding
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:spec · p3 · 2026-11-15T00:51Z

    ⛔ Not a claim.

    This is the build-check half split from #33506: an error for two visible fields with the same label. The primary fix (the authoring rule) is on #33506, so this guard is p3. It is a build lint (spec).

  3. added
    domain:spec
    enhancement
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

    Claim: PM loop round 3
    Session: session_01FEkQ5mecqk8M5q9vjKj6aS (seat); card thread session_01FEkQ5mdmzDcF58D1JdRH4y
    Account: os-project-manager
    Branch: claude/project-thread-g9ecx3
    Worktree: the card thread's own checkout
    Domain: domain:spec
    Seat: domain:spec#4
    File surface: packages/lint/src/** (the new object rule, its explanation and user text, tests, rule registry), shipped example metadata only if the narrowing hits it, packages/spec/src/migrations/entries/** only if an ADR-0087 entry is owed, root .changeset/ (stop on breach; explain in the report). ⛔ skills/** (the authoring half is on #33506, skills lane).
    Container & model: M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate; review at CONTRACT_REVIEW_TIER by the seat: authoring narrowing), effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: narrowed
    Responsibility: objectstack lint (this repo) produces no finding for two visible fields sharing one label, so an AI-built object ships with duplicate columns (#33506, staging) | no platform path covers it today | any author or AI builder running os build / validate / lint or the publish door
    Thread-read: 6886885827
    Premise: holds
    Serial constraints cleared: in-flight packages/lint/src claims: #33246 (PR #33434, validate-expressions*.ts), #32134 (PR #33517, validate-managed-api-methods*.ts, rule-explanations.ts), #33153 (seat 1, PR #33442). Shared file risk = rule-explanations.ts and the rule index: additive entries only, the merge queue arbitrates; no same-region edit.

    Severity: error at the author door; installed apps unaffected at load (the dev verifies no boot/registration path runs the rule, else fork). Ruling-ref: 「开放 p3卡认领」 (Leehom, 2026-11-14T21:21Z).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

    Claim amendment to 6887573651 (same session, same branch claude/project-thread-g9ecx3): file surface widened by four docs transcripts, count only.

    File surface (added): content/docs/deployment/cli.mdx, content/docs/deployment/validating-metadata.mdx, content/docs/getting-started/build-with-claude-code.mdx, content/docs/ui/react-pages.mdx — each only the printed author-time rule count (67 → 68), which check:docs-transcript-drift pins. Nothing else in those files.

    Also recorded from the dev's reading: the rule runs at os build / os validate / os lint and at the publish door on object writes (differential: only a write that creates the clash is refused); no boot or registration path runs the authoring rules, so the severity ruling stands without a fork.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

    Claim amendment 2 to 6887573651 (same session, same branch claude/project-thread-g9ecx3): the narrowing reaches test fixtures.

    File surface (added): test fixtures in other packages (*.test.ts files and packages/qa dogfood fixtures) whose authored object bodies the new rule now refuses at the publish door. Relabel only: change the clashing label value, ⛔ no assertion, expectation or test-intent change; each file is named in the PR body with the clash it had. Measured so far by the dev: packages/metadata-protocol protocol.runtime-authoring-gate.test.ts (an authored owner labelled 'Owner' beside the injected owner_id, three bodies) and protocol.unknown-picklist-binding-refusal.test.ts (two select fields both labelled 'Tier'); the rest is being enumerated across the door-consumer suites.

    Already inside the claim: shipped examples relabelled in zh-CN (showcase_task.assignee, showcase_team.lead, todo_task.owner, each served 负责人 beside owner_id) and the ADR-0087 semantic entry 18.object-field-label-duplicate-refused. HotCRM: 0 hits over 23 objects.

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mdmzDcF58D1JdRH4y
    os-dev-report

    {
    "issue": 33545,
    "status": "done",
    "branch": "claude/project-thread-g9ecx3",
    "pr": "#33639",
    "session": "session_01FEkQ5mdmzDcF58D1JdRH4y",
    "premise_still_valid": true,
    "summary": "New gating authoring rule field-label-duplicate in @objectstack/lint (error; os build / os validate / os lint and the object publish door): an object whose visible fields, the injected owner_id and created_/updated_ columns included, share one label as authored or in any locale (bundle locales plus the built-in en/zh-CN/ja-JP/es-ES system-field labels, through spec translateObject) is refused, naming every field, the label and the clashing locales. The sweep hit two examples (showcase_task.assignee and showcase_team.lead, todo_task.owner, all served 负责人 beside owner_id in zh-CN), relabelled here with ADR-0087 entry object-field-label-duplicate-refused and a minor changeset; HotCRM and packages/apps clean. No boot or registration path runs AUTHORING_RULES, so no fork; the AI builder's integrity check is not in this repo (cloud), nothing done there.",
    "tests": "lint rule + door tests: 53 passed. Ablation 1 (rule returns nothing, scripts/ablation-replace.mjs on if (!isRec(stack)) return findings;): 6 red incl. the #33506 owner_id+assignee case, one-locale clash, authored clash, registry entry, both door cases; restored, blob == HEAD 0d904837d0cb, git diff HEAD empty. Ablation 2 (hidden not skipped): 2 red (hidden controls); restored the same way. Consumer suites exit 0: rest 8393, runtime 10781, objectql 13028, service-automation 3916, service-datasource 1317, plugin-security 6679, client 812, mcp 1174, cloud-connection 1209, verify 437, example-showcase 545, example-todo 249, example-crm 51, cli unit 5966, metadata-protocol 266 (after relabelling 5 fixture labels in 2 files per amendment 6887847864), plugin-approvals rule-runner tests 24, spec migrations 198. Typecheck exit 0: lint (incl. test typecheck), metadata-protocol, spec tsc --noEmit, example-showcase, example-todo.",
    "gates": "dispatch-gates --commands at 274a4bd: 116 commands, all run, all exit 0 (three first exit 3 for a missing prerequisite and green on rerun: check-plugin-teardown-shape --self-test, spec check:skill-examples, check:dual-build-cjs-loads). --ran reconciliation: 116 derived, 116 run, 0 NOT-MEASURED, 0 UNRUN. Log /mnt/project-files/pm-orders/spec/33545-gates-ran.txt. CI check-runs on #33639: not yet read (PR just opened); CI-only rows (Build Core, merge-queue dogfood, type-check lanes) not measured locally.",
    "dogfood_battery": "274a4bd5 · os-verify-lock: VERDICT command-exit 0 (held 1618s, shared box) · Test Files 467 passed | 3 skipped (470) · Tests 3950 passed | 42 skipped (3992) · no failures",
    "mcp_calls": "0",
    "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (fleet-write pr_create, run 43673626850, #33639, no labels, no assignees); this os-dev-report comment on #33545 via post-stamped.mjs. git push (not REST) to claude/project-thread-g9ecx3 only.",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "class: a · reach: a /meta read in that locale serves two columns under one label (no author door judges these: platform objects are not built through os build and the door snapshot carries no translations) · evidence: rule run over 98 platform objects with their 111 generated bundles finds sys_import_job created_at/created_count "Создано" (ru), sys_oauth_resource id/identifier "المعرّف" (ar), sys_user accountable_user_id/manager_id "Responsable" (fr) · dedupe words: platform object translation duplicate label, Создано created_count, Responsable manager_id",
    "carrier: objectstack (translation bundles of plugin-system objects) · noted, not filed"
    ]
    }


    Generated by Claude Code

  9. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

    Landed · #33545 · PR #33639 · 2026-11-15T05:58Z

    Reading Value
    Merge commit 3cbf1f2aa320de5c619105ff403f402b25726d39 (PR #33639 MERGED)
    Content on origin/main lintDuplicateFieldLabels in packages/lint/src/lint-duplicate-field-labels.ts, registered in authoring-rules.ts, exported from index.ts; registry entry 18.object-field-label-duplicate-refused.ts in packages/spec/src/migrations/entries/semantic/

    State: card closed completed by Fixes; pm:dispatched removed in this stroke. Follow-ups: #33644 (object_extension door, unblocked now, P3 so not claimed under the 2026-11-15 P1/P2-only ruling) and #33645 (platform bundles, PR #33672). Nothing else remains on this card.

  10. removed
    pm:dispatched
    on Nov 15, 2026
  11. added 3 commits that reference this issue on Nov 16, 2026
    3cbf1f2
    d4e3dcc
    481f642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

domain:specenhancementfindingpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions