Repository navigation
Description
repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe
Filing gate: ① · Source: fleet (L1 ACCEPT 7230833322 on PR #37949, "Out of scope", sent to the zone's filing gate; the dev's own Acceptance note on the PR). Follow-ups of PR #37949 (card #37918, topic #37424), one item so far; later L1/L2 follow-ups of that PR are appended here.
Grade: area:ux · Bug · p3 · reach: measured in a component render on the PR head acbff14dd5 (the #37918 test fixtures, not committed); the route that mounts the list's cross-package leg in today's UI was not traced, so the public-door reproduction is owed first (先测可达性) · evidence below.
Reader: zone o3-studio (seat repo:objectstack#3), one os-dev, after #37949 merges.
Dedupe: open and closed cards searched for studioListSource and "系统自带" under #37424: none.
维护者速读
- 用户能看到什么变化:在 App Studio 跨软件包的元数据列表里,用户在自己建的(可写)软件包里新建的项,来源标签会错显示成「系统自带」。单个软件包的列表里不会出现(那里所有行同值,来源列隐藏)。
- 为什么:列表按「是否带软件包编号」判来源,自建包的项和系统包的项都带编号,界面分不出来。
- 需要你做的:无。修法是否要让自建包的项显示「新建」,开工时先核可达性;若要改文案含义再呈你。
Item 1 — a writable package's own items read 系统自带 in the cross-package leg
- Mechanism (read at
acbff14dd5): the Studio badge comes fromstudioSourceKind(ui/packages/app-shell/src/views/metadata-admin/studioListSource.ts, called atResourceListPage.tsxaround line 763) on top ofclassifyProvenance(item, raw?.source)(ResourceListPage.tsxaround line 194), which decides from_packageIdalone. An item saved through Studio into a writable authored package carries its package id (withRowBinding,packages/metadata-protocol/src/protocol-package-bindings.tsaround line 510) exactly like a code-shipped item (mergeArtifactProtection, same file around lines 194–196), so both classifyartifact→ 系统自带. The server's_provenance: 'org'stamp (stateTenantAuthorship, same file around line 486) is not read by the list. - Where it shows: only where the list is unscoped (
allLeg, hostpackageId: null,ResourceListPage.tsxaround line 704) and mixes those rows with a package-less runtime row, so the Source column appears. In one package's listscopeListRows(metadataListState.tsaround lines 273–281) leaves rows that all read the same, and the column hides. - Repro to run first: open the cross-package list of a type that has one item saved into a writable authored package and one package-less item; the authored item's badge reads 系统自带. Record the address used; if no menu or link reaches that leg any more (the
~alldirectory moved to Setup with App Studio 改版(3-2):「全部软件包」目录 ~all 搬到设置的访问分组,Studio 不再有这个入口 #37565), say so and close this item as unreachable. - Fix direction (to measure, not ruled): give the classifier the row's package writability (the packages listing already serves
writable) or the served_provenance, so an authored package's own items do not read 系统自带. Which word they should read (新建, or none) follows decision 7's three words; if neither fits, the zone brings the question to the maintainer before code.
Acceptance
- Reachability recorded; if reachable, the authored item no longer reads 系统自带 (tested, with an ablation), and code-shipped items still do.
Activity
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe
Claim: PM loop round 2 (zone o3-studio), dispatched now on the maintainer's 01:05Z go-ahead relayed by the seat (small cards go out without waiting for a batch; the reach measurement is the dev's first step)
Session:
session_01L9qibzywxH36FPH6ayWMUeAccount:
os-teslaBranch:
claude/project-thread-dbfcfi(its PR #37949 merged; restarted from origin/main 815e882)Worktree:
objectstack-issue-38061Domain:
domain:uiSeat:
repo:objectstack#3Area: o3-studio
File surface:
ui/packages/app-shell/src/views/metadata-admin/studioListSource.ts,ResourceListPage.tsx(the classifier's call site only), a new test file named for this card, one.changeset/*.md; the studio i18n en/zh only if a word changes. ⛔ No server orpackages/specchange. Stop on breach; explain in the report.Container & model:
S (not mechanical, M treatment),mode:subagent,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: medium (review follow-up, one classifier)Clause-②: no
Metadata-protocol: none
Responsibility: the Studio list's own classifier (
studioListSource.ts, objectstack) | no platform path covers it | who reaches it: unverified, a person opening the unscoped cross-package list; the dev measures reach firstThread-read: none
Premise: unverified at reach — reproduced in a component render on PR #37949's head; the public route to the unscoped leg is measured first, and if none reaches it the dev reports
premise_still_valid: falsewith no PR.Serial constraints cleared: overlap-check at 815e882 on the surface: #37929 shares
ResourceListPage.tsx, merges cleanly.objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · p2 · pm:dispatched · size XS; rationale: in the App Studio cross-package list, items a maker created in their own package are labelled 「系统自带」 (system-provided), measured in a component render. A maker is told their own work is the platform's. That is wrong user-facing text, and UX has no p3 for user-facing defects, so p3 → p2. Recorded 2026-11-28T01:16Z.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe
os-dev-report
{ "issue": 38061, "status": "needs_decision", "branch": "claude/project-thread-dbfcfi", "pr": null, "session": "session_01L9qibzywxH36FPH6ayWMUe", "premise_still_valid": true, "summary": "Reach measured: the defect is reachable and reproduces. Cross-package list /studio/~all/metadata/flow (allLeg: host packageId null, no environment scope; studioAllLegSetupRedirect keeps a non-directory type's list in Studio) rendered through the real StudioDesignSurface on origin/main 815e882b: a flow of a writable authored package (com.acme.crm) reads System-shipped, beside the read-only showcase's flows (System-shipped) and a package-less clone (New). Doors that land there in today's UI (code-read, not browser-driven): Setup > Packages > a package's pending changes > a draft link (/apps/setup/metadata/TYPE/NAME?review=1, PackagesPage) redirects onto the leg's item (setupMetadataStudioPath), whose header close goes to the parent list (detailListHref); also the retired Setup Packaged-automation bookmark (packagedAutomationStudioPath, no package) and any old /apps/APP/metadata/TYPE URL. No code written: the suggested smallest change regresses another surface, measured. The package-less scope (/studio/~org/metadata/flow) narrows to its flows only through ?source=runtime, which the org-scope redirect forces on every address, and the Studio list's source filter IS studioListSource(studioSourceKind(...)). Making a writable package's item read 'new' in the kind therefore puts that package's flows into the package-less scope's list: baseline probe 'authored flow listed in ~org default' = false; with the kind change applied in a scratch probe = true (same render). That breaches the objectui#11553 scope contract ('every flow that belongs to no package') and the claim's file surface (the fix needs the org scope to narrow by package-lessness itself), so this is returned for a decision rather than coded.", "tests": "No committed tests (no PR). Scratch probe (not committed; copy of the StudioDesignSurface.packageLessFlows-11553 harness + 3 cases), run as `cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/views/studio-design/ReachProbe-38061.test.tsx` under os-verify-lock after `turbo run build --filter=@object-ui/app-shell^... --concurrency=2` (VERDICT command-exit 0, 72 tasks). Baseline: `PROBE location /studio/~all/metadata/flow`; `acme_followup => ...System-shipped`; `showcase_daily_digest => ...System-shipped`; `qa_urgent_alert_clone => ...New`; `PROBE default listed acme_followup? false /studio/~org/metadata/flow?source=runtime`. Probe with the kind forced to 'new' for the authored package's rows (scratch edit at the studioSourceKind call site, reverted, git status clean): `acme_followup => ...New` on ~all, and `PROBE ORG default lists acme_followup? true /studio/~org/metadata/flow?source=runtime` (VERDICT command-exit 0, Tests 2 passed). Also measured: /studio/~org/metadata/flow without ?source is redirected back to ?source=runtime, so the org scope's filter cannot be cleared.", "gates": "none run: no diff (worktree clean at 815e882b). No CI check-runs (no PR).", "dogfood_battery": "n/a: no PR", "mcp_calls": "0", "api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/38061/comments (this report, via post-stamped relay)", "open_questions": [ { "question": "How should a writable (authored) package's own items read in the Studio cross-package list, given that the list's Source kind is also the package-less scope's only narrowing?", "options": [ "A: they read 新建, and the package-less scope narrows to package-less rows by itself (a scope filter on _packageId absent or sys_metadata, the isPackageLessItem reading) instead of through the source filter; ?source=runtime stays in its addresses. Cost: studioListSource.ts + ResourceListPage call site + the org-scope narrowing (StudioMetadataArea host or scopeListRows), outside the claimed surface; about 40 lines plus a new test and a rerun of the packageLessFlows-11553 suite. Writability read from the listed manifests' writable flag (fetchListedPackageManifests), not yet wired into the list.", "B: they read 新建 through the kind alone (the suggested smallest change). Measured: the authored package's flows then appear in the package-less scope's list, which opens them as package-less. Small (about 10 lines) but regresses objectui#11553.", "C: badge-only: they read 新建 while the filter keeps them under system-shipped. Small, but a 新建 row under the system-shipped filter breaks the badge/filter agreement studioListSource.ts guarantees (and the detail's prev/next order).", "D: leave as is and close the item: reach is only through a Setup Packages draft link then close, retired bookmarks, or old URLs; the wrong word stays." ], "recommendation": "A, because it is the only option that fixes the word without moving rows into the package-less scope; the maintainer also confirms that 新建 is the right one of decision 7's three words for an authored package's own item (D3 defines 新建 relative to a base's .custom pair, and an authored package has no base), and the seat widens the file surface to the org-scope narrowing." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: in the package-less scope the narrowing is the list's source filter, so any row whose provenance reads runtime (a .custom pair item, classifyProvenance's isCustomizationPackage arm) is listed there too though it belongs to a package; read only, not measured as a wrong answer at a public door, and option A would close it with the same narrowing." ], "line_budget": "n/a: no diff", "deviations": "No branch push and no PR: stopped at needs_decision per the suggested route's stop clause and the claim's 'stop on breach' (fix needs the org-scope narrowing outside the file surface). The Setup Packages draft-link door and the retired-bookmark doors are code-read, not browser-driven; the list render itself is measured. Root `pnpm install` and the app-shell dependency-closure build ran in worktree ../objectstack-issue-38061, removed after.", "files_changed": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe
To the decision box (zone o3-studio), on the dev's
needs_decisionreport 7231630549. The claim (7231428675) is released: no branch push, no PR./studio/~all/metadata/flowshows a writable authored package's flow as 系统自带; it is reached from a Setup → Packages pending-change link followed by close, and from retired bookmarks and old addresses (read in code)./studio/~org/metadata/TYPE?source=runtime) lists rows by the same source classification. Measured: making an authored package's items read 新建 through the classifier alone puts that package's flows into the package-less list (objectui#11553's scope contract breaks)./mnt/project-files/objectstack-seat3/studio-phase4/decisions-phase4.md, question on this card), because phase 4 retires the~orgscope that the coupling runs through. Recommended: A, an authored package's own items read 新建 and the package-less scope filters to package-less rows itself; or wait for the~orgretirement and fix the word alone then.