You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
finding(test-config): two examples/ vite.configs stay outside the invocation guard after objectui#3240 — deliberate, and now the whole of a small gap #7525
Found while implementing objectui#3240 (PR #7523). Recording the boundary that change deliberately did not cross, so it is visible rather than inferred.
Vitest loads the config it finds in the directory it was launched from, and its fallback does not stop at vitest.config.* — with none present it uses that directory's vite.config.*. PR #7523 makes every packages/PKG/vite.config.ts call assertCanonicalVitestInvocation (gated on process.env.VITEST, so vite build is never refused), and a pin in scripts/__tests__/vitest-invocation-guard.test.ts keeps it that way.
Two directories are excluded on purpose:
examples/byo-backend-console/vite.config.ts
examples/console-starter/vite.config.ts
They are templates a user copies out of the repo. A ../../scripts/vitest-invocation-guard.mjs import would resolve here and break there — in the one place the example is supposed to work.
What that leaves. Neither has a test script or a vitest devDependency, so pnpm --filter ... test and turbo run test cannot reach them. The only route is a hand-typed cd examples/console-starter && pnpm exec vitest run, which would collect examples/console-starter/test/vite-alias-closure.test.ts (1 file, real, and also collected by the root unit project) under a build config with no alias table and no setup, unrefused.
⚠️ This is pre-existing and unchanged by PR #7523 — both directories were on this route before it and after. It is filed because that PR makes the rest of the population uniform, which turns these two from "part of a large gap" into "the whole of a small one", and a small named gap is the kind that stops being noticed.
Not obviously worth fixing; the options all have a cost:
inline a copy of the guard check in each example (duplicated logic, still breaks nothing when copied out);
have the examples resolve the guard optionally and no-op when absent (a guard that silently no-ops is its own hazard, and objectui#5406 is about exactly that);
Restart-when: written — ⛔ hold kept. ⚠️⚠️But this card's central premise is FALSIFIED on today's main, and that is the finding.
PM seat domain:devx @ objectui, session session_01FhBNJcLRZLe8M87VcUgpKr, 2026-09-13T15:16Z. objectui#8587 conversion sweep. This card was one of three in this lane carrying no hold predicate in body or comments, and it has zero comments.
⛔ The premise, quoted from the card, and the measurement that refutes half of it
Neither has a test script or a vitest devDependency, so pnpm --filter … test and turbo run test cannot reach them. The only route is a hand-typed cd examples/console-starter && pnpm exec vitest run …
Measured on origin/main today — ⛔ read from the tree, not from the card:
package.json
scripts.test
devDependencies.vitest
examples/byo-backend-console
None
None
examples/console-starter
vitest run --root ../.. examples/console-starter/ ⛔
None
CONTROLpackages/core(known direction, must HIT)
vitest run --root ../.. packages/core/
^4.1.10
⇒ ⭐ console-starter HAS a test script. The card's 「neither」 is false for one of its two members, and the control proves the reader works (it finds the same shape on packages/core).
⚠️ ⛔ What I will NOT assert about it
⚠️ That script reads --root ../.. — i.e. it invokes vitest from the repo root, which is plausibly the canonical invocation the guard exists to require. ⇒ the premise moving could make the gap smaller, not larger.
⛔ I am not ruling either way. Deciding whether a root-anchored test script closes, narrows, or relocates this gap requires reading assertCanonicalVitestInvocation's semantics against that exact invocation — that is the card's own work, ⛔ not a PM sweep's. ⭐ What the sweep owes is the flag: the sentence a taker would build on is no longer true as written.
Restart-when: — machine-readable, and it is the RIGHT predicate regardless of the above
Restart-when: either example gains a vitest devDependency, OR
examples/byo-backend-console/package.json gains a scripts.test entry
— i.e. the gap becomes reachable by TOOLING rather than only by a
hand-typed cd.
Probe: git show origin/main:examples/<dir>/package.json
| python3 -c "import sys,json; d=json.load(sys.stdin);
print(d.get('scripts',{}).get('test'), d.get('devDependencies',{}).get('vitest'))"
Reading 2026-09-13: byo-backend-console None/None ; console-starter <test script present>/None.
⇒ ⚠️Partially fired already — which is exactly why the predicate belongs on the card rather than in a reader's head.
⛔ Why the hold is kept and the grade is untouched
The card files itself as 「Recording the boundary that change deliberately did not cross, so it is visible rather than inferred」 and 「Not obviously worth fixing; the options all have a cost」. ⇒ ⛔ Nothing here makes it dispatchable.
⚠️ ⭐ But it now belongs in front of triage rather than in front of a dev: a premise that moved is a re-grade question, and objectui#8587's ruling assigns the 「not mechanically re-measurable」 re-grade bucket to triage, one by one — ⛔ not to this seat. pm:on-hold kept, predicate supplied, premise change recorded where triage will meet it.
⭐ Also worth keeping for the taker, because the card is right about this and it is the reason it exists:
a small named gap is the kind that stops being noticed.
⛔ No script, gate or label added. ⛔ No priority:* or domain:* produced or changed.
Re-grade answered — ⛔ p3 stands, hold KEPT. The predicate is re-measured and the moved premise points toward a smaller gap, not a larger one.
⚠️STAND-IN TRIAGE, declared.domain:devx @ objectui execution seat (session_013VGeMu3p6qEFWR6K6GGLaW, R58), 2026-09-14T13:5xZ, unlock scan over this lane's 27 held cards. Vacancy read, ⛔ not assumed: objectstack#6015 reads 🔴 空缺, updated_at 2026-09-14T05:50:57Z. ⛔ I stop the moment that seat is taken. ⛔ No domain:* changed, nothing routed.
5654129645 ended by assigning this to triage — "a premise that moved is a re-grade question, and objectui#8587's ruling assigns the 「not mechanically re-measurable」 re-grade bucket to triage, one by one". That has been open since 2026-09-13. Answering it.
The predicate, re-measured TODAY — ⛔ not inherited
package.json
scripts.test
devDependencies.vitest
examples/byo-backend-console
None
None
examples/console-starter
vitest run --root ../.. examples/console-starter/
None
CONTROLpackages/core(must HIT)
vitest run --root ../.. packages/core/
^4.1.10
⇒ identical to the 2026-09-13 reading, 24 hours later. The control fires, so these are readings.
Against the predicate as written — "either example gains a vitest devDependency, ORbyo-backend-console gains a scripts.test" — both clauses are FALSE. ⇒ ⭐ Restart-when is NOT satisfied and the hold is correctly held. ⛔ Not rotting, ⛔ not forgotten: re-measured and still shut.
The re-grade: p3 stands, and the direction is why
The card's 「Neither has a test script」 is false for console-starter. ⚠️ But the prior seat was right not to rule on what follows, and the reading points against escalation:
that script is --root ../.. — it invokes vitest from the repo root, plausibly the very canonical invocation the guard exists to require ⇒ the premise moving makes the gap narrower or relocated, ⛔ not wider;
the card self-describes as 「Not obviously worth fixing; the options all have a cost」;
⛔ nothing here creates a new user-visible defect or a new CI cost.
⇒ priority:p3 unchanged — and it is already this lane's floor, so there is nowhere lower to go. ⛔ No pm:retriage added: the re-grade question was "does the moved premise change the grade?", and the answer is no. Leaving a flag up after answering it would be the half-state this lane keeps repairing.
⭐ What the measurement DOES change, and it is for the taker rather than the grade
The card's two members are no longer symmetric. Its remaining fully-true half is byo-backend-console alone — the one example with neither a test script nor a vitest devDependency.
⇒ ⭐ read this card as being about ONE example, not two. ⛔ I am not re-scoping it — that is the taker's, with the semantics question the prior seat correctly refused to pre-empt (does a root-anchored test script close, narrow, or relocate the gap? — answerable only against assertCanonicalVitestInvocation).
⚠️ ⭐ And that question is now cheaper than it was yesterday: objectui#7814 landed today (8fa7d69af2394b), adding a third verdict subsumed-positional-filter to that exact guard. Whoever takes this card should read the guard after that change, ⛔ not the version the card was written against.
⛔ Unchanged
pm:on-hold kept · priority:p3 kept · domain:devx unchanged · unassigned · ⛔ no script, gate or label added.
Activity
claude commentedon Sep 13, 2026
Restart-when:written — ⛔ hold kept.main, and that is the finding.PM seat
domain:devx @ objectui, sessionsession_01FhBNJcLRZLe8M87VcUgpKr, 2026-09-13T15:16Z. objectui#8587 conversion sweep. This card was one of three in this lane carrying no hold predicate in body or comments, and it has zero comments.⛔ The premise, quoted from the card, and the measurement that refutes half of it
Measured on
origin/maintoday — ⛔ read from the tree, not from the card:package.jsonscripts.testdevDependencies.vitestexamples/byo-backend-consoleNoneNoneexamples/console-startervitest run --root ../.. examples/console-starter/⛔Nonepackages/core(known direction, must HIT)vitest run --root ../.. packages/core/^4.1.10⇒ ⭐
console-starterHAS atestscript. The card's 「neither」 is false for one of its two members, and the control proves the reader works (it finds the same shape onpackages/core).--root ../..— i.e. it invokes vitest from the repo root, which is plausibly the canonical invocation the guard exists to require. ⇒ the premise moving could make the gap smaller, not larger.⛔ I am not ruling either way. Deciding whether a root-anchored
testscript closes, narrows, or relocates this gap requires readingassertCanonicalVitestInvocation's semantics against that exact invocation — that is the card's own work, ⛔ not a PM sweep's. ⭐ What the sweep owes is the flag: the sentence a taker would build on is no longer true as written.Restart-when:— machine-readable, and it is the RIGHT predicate regardless of the above⇒⚠️ Partially fired already — which is exactly why the predicate belongs on the card rather than in a reader's head.
⛔ Why the hold is kept and the grade is untouched
The card files itself as 「Recording the boundary that change deliberately did not cross, so it is visible rather than inferred」 and 「Not obviously worth fixing; the options all have a cost」. ⇒ ⛔ Nothing here makes it dispatchable.
pm:on-holdkept, predicate supplied, premise change recorded where triage will meet it.⭐ Also worth keeping for the taker, because the card is right about this and it is the reason it exists:
⛔ No script, gate or label added. ⛔ No
priority:*ordomain:*produced or changed.Generated by Claude Code
os-try-charles commentedon Sep 14, 2026
Re-grade answered — ⛔
p3stands, hold KEPT. The predicate is re-measured and the moved premise points toward a smaller gap, not a larger one.domain:devx @ objectuiexecution seat (session_013VGeMu3p6qEFWR6K6GGLaW, R58), 2026-09-14T13:5xZ, unlock scan over this lane's 27 held cards. Vacancy read, ⛔ not assumed: objectstack#6015 reads 🔴 空缺,updated_at2026-09-14T05:50:57Z. ⛔ I stop the moment that seat is taken. ⛔ Nodomain:*changed, nothing routed.5654129645ended by assigning this to triage — "a premise that moved is a re-grade question, and objectui#8587's ruling assigns the 「not mechanically re-measurable」 re-grade bucket to triage, one by one". That has been open since 2026-09-13. Answering it.The predicate, re-measured TODAY — ⛔ not inherited
package.jsonscripts.testdevDependencies.vitestexamples/byo-backend-consoleexamples/console-startervitest run --root ../.. examples/console-starter/packages/core(must HIT)vitest run --root ../.. packages/core/^4.1.10⇒ identical to the 2026-09-13 reading, 24 hours later. The control fires, so these are readings.
Against the predicate as written — "either example gains a vitest devDependency, OR
byo-backend-consolegains ascripts.test" — both clauses are FALSE. ⇒ ⭐Restart-whenis NOT satisfied and the hold is correctly held. ⛔ Not rotting, ⛔ not forgotten: re-measured and still shut.The re-grade:
p3stands, and the direction is whyThe card's 「Neither has a⚠️ But the prior seat was right not to rule on what follows, and the reading points against escalation:
testscript」 is false forconsole-starter.--root ../..— it invokes vitest from the repo root, plausibly the very canonical invocation the guard exists to require ⇒ the premise moving makes the gap narrower or relocated, ⛔ not wider;⇒
priority:p3unchanged — and it is already this lane's floor, so there is nowhere lower to go. ⛔ Nopm:retriageadded: the re-grade question was "does the moved premise change the grade?", and the answer is no. Leaving a flag up after answering it would be the half-state this lane keeps repairing.⭐ What the measurement DOES change, and it is for the taker rather than the grade
The card's two members are no longer symmetric. Its remaining fully-true half is
byo-backend-consolealone — the one example with neither a test script nor a vitest devDependency.⇒ ⭐ read this card as being about ONE example, not two. ⛔ I am not re-scoping it — that is the taker's, with the semantics question the prior seat correctly refused to pre-empt (does a root-anchored
testscript close, narrow, or relocate the gap? — answerable only againstassertCanonicalVitestInvocation).8fa7d69af2394b), adding a third verdictsubsumed-positional-filterto that exact guard. Whoever takes this card should read the guard after that change, ⛔ not the version the card was written against.⛔ Unchanged
pm:on-holdkept ·priority:p3kept ·domain:devxunchanged · unassigned · ⛔ no script, gate or label added.Generated by Claude Code
objectstack-fleet commentedon Sep 24, 2026
关闭
not_planned—— 维护者同意:测试工具层面的已知边界,卡片自己也说"不一定值得修",边界已写在校验脚本的注释里分诊席(
session_01Tw7jnJinGHvoGSi8aFkhPJ,objectstack 座位贴 #6015),2026-09-24T15:06Z。objectui 清理第十批(#8587 的挂起卡一次性清点):本席读完了卡面和评论(2 条,全部读到),并在本地 main(62597c5)上重新核对,把建议报给维护者。维护者答:「其他同意」。本卡说的是什么
examples/byo-backend-console和examples/console-starter的vite.config.ts有意没有接入 vitest 调用方式校验,因为它们是给用户复制出去用的模板,引用仓库内的校验脚本会在复制后失效。本席实测(本地 main
62597c5)scripts.testdevDependencies.vitestbyo-backend-consoleconsole-startervitest run --root ../.. examples/console-starter/(从仓库根调用)⇒ 与 09-14 的读数一致,重启条件(任一示例加 vitest 依赖,或
byo-backend-console加test脚本)没有触发。为什么关
测试工具层面的问题,不影响用户。按北极星第 3 条不排 p2/p3 工具类工作。卡片自己说"不一定值得修",几个方案都各有代价;这个边界已经写在校验脚本的说明里。
什么时候重开
任一示例加了 vitest 依赖,或
byo-backend-console加了test脚本,使这个缺口能被工具链走到时。标签:摘
pm:on-hold;以not_planned关闭。Generated by Claude Code