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 }}
Repository navigation
Studio hook form: the refusals help text says 'JavaScript (L2) bodies only', but a handler hook may declare refusals since #33641 #33803
Filing gate: ③ nit N1 of the at-tier contract record 6893396284 on PR #33796 (#33657), also noted by its dev with no carrier. A nit on a schema-face file is not fixed in that PR, so it gets its own card.
Reader: domain:ui (packages/spec/src/data/hook.form.ts, the refusals row's helpText). Grade p3, self-graded by the seat. It is a wording fix that no runtime reads. Filed and parked: only p1/p2 are worked now (the maintainer's 「后续只处理 p1 p2」).
Dedupe: is:issue is:open hook form refusals helpText handler finds nothing.
The form offers the legacy handler row (hook.form.ts:83).
Ask
Reword the help text to match HookSchema (a JS body or a handler), with a key in every metadata-form bundle check:i18n asks for. Wording only; Clause-②: no.
Claim: PM loop round 6 · 2026-11-15T20:43Z
Session: session_01ADHkmSYipyhBpSxJqatyap (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
Account: os-steve
Branch: claude/project-thread-iasjw1
Worktree: objectstack-issue-33803
Domain: domain:ui
Seat: domain:ui#1
File surface: packages/spec/src/data/hook.form.ts (the refusals row help text), the metadata-form translation bundles that carry that string, their tests, root .changeset/.
Container & model: S, mode:thread, model: default tier, effort: medium
Clause-②: no (help text only)
Metadata-protocol: none
Responsibility: the hook form's refusals help says "JavaScript (L2) bodies only" while HookSchema lets a JS body or a handler declare refusals (#33641) | nit N1 of contract record 6893396284 on PR #33796 | every author reading the hook form
Thread-read: none
Premise: re-read on origin/main: hook.form.ts:59 still ends "JavaScript (L2) bodies only"
Serial constraints cleared: no other pm:dispatcheddomain:ui card and no open PR touches hook.form.ts (live read 2026-11-15T20:43Z)
Scope: reword the help to match HookSchema, update every translated copy, pin + ablation. Fixes #33803. Order: /mnt/project-files/ui-seat1/standard-order.md + 33803-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.
{
"issue": 33803,
"status": "done",
"branch": "claude/project-thread-iasjw1",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34146",
"session": "session_01ADHkmSYipyhBpSxJqatyap",
"premise_still_valid": true,
"summary": "The hook form's refusals row help now matches HookSchema: the code is the one the hook throws, and the catalogue is 'For a JavaScript (L2) body or a handler; refused on an expression body' (was 'JavaScript (L2) bodies only'). The en metadata-form bundle carries the new source string and the ten translated locales were re-translated in place (leaf value only; no source-hash entry exists for the path). A narrow pin in hook-refusals.test.ts reads the row; no behaviour change.",
"tests": "spec vitest hook-refusals + repeater-item-titles + metadata-form-declared-rows.pin: Test Files 3 passed, Tests 140 passed on a711ec17 and on final head d4af1df0. platform-objects test: Test Files 122 passed, Tests 2007 passed. Ablation via ablation-replace.mjs on a711ec17: old ending restored in hook.form.ts (anchor 1->0, blob 6d2932ce->8f783593), new pin red (1 failed / 98 passed), restore blob == HEAD, git diff HEAD empty. No forced test edits.",
"gates": "dispatch-gates --commands on d4af1df0: 84 derived; all 84 run after the last commit, all exit 0; --ran: 84 run, 0 NOT-MEASURED, 0 UNRUN. Plus spec typecheck (incl. check:test-typecheck, which caught a TS18048 on the first head, fixed in d4af1df0) exit 0, platform-objects typecheck exit 0. Environment-only exit 3s first seen and cleared: plugin-teardown-shape self-test (shallow clone, fetched pinned fixture), dual-build-cjs-loads (no dist, built ./packages/**), four spec dist gates (src hash moved, rebuilt spec). CI check-runs: in_progress at report time, not awaited.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "3 — mcp__github__issue_read get, mcp__github__issue_read get_comments, mcp__github__pull_request_read get (all reads)",
"api_writes": "2 — relay pr_create (PR 34146, draft, assignee os-steve), post-stamped os-dev-report comment on the card",
"files_changed": [
"packages/spec/src/data/hook.form.ts",
"packages/spec/src/data/hook-refusals.test.ts",
"packages/platform-objects/src/apps/translations/{ar,de,en,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.metadata-forms.generated.ts",
".changeset/33803-hook-refusals-help-handler.md"
],
"line_budget": "+49 / -13 across 14 files (PR additions+deletions 62, under the 3000 threshold)",
"deviations": "none. The packages/spec path may make a contract review owed at CONTRACT_REVIEW_TIER; per the maintainer's 21:53Z note no fable subagent was started here, the seat routes it.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"Acceptance notes only: nested rows under refusals (message, reasons, reasons.message) still say 'when the body throws this code', narrower than the schema for a handler hook; same wording class, 3 strings x 11 locales · carrier: none · noted, not filed"
]
}
PR #34146 MERGED at 2026-11-15T23:51Z as fdfccbfb7a through the merge queue; Fixes #33803 closed this card. Delivered: the Studio hook form's refusals row help now reads "For a JavaScript (L2) body or a handler; refused on an expression body" and names the code the hook throws, matching HookSchema.refusals. The same correction ships in the en bundle and ten re-translated metadata-form bundles, pinned in hook-refusals.test.ts. Nothing remains on this card. Noted, no card filed: three nested rows under refusals still say "body throws".
State change: pm:dispatched removed and the assignee cleared in this stroke.
Activity
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Claim: PM loop round 6 · 2026-11-15T20:43Z
Session:
session_01ADHkmSYipyhBpSxJqatyap(card thread, dev) · seatsession_01ADHkmT2NE3iyG1o6TDg3sfAccount:
os-steveBranch:
claude/project-thread-iasjw1Worktree:
objectstack-issue-33803Domain:
domain:uiSeat:
domain:ui#1File surface:
packages/spec/src/data/hook.form.ts(therefusalsrow help text), the metadata-form translation bundles that carry that string, their tests, root.changeset/.Container & model: S,
mode:thread,model: default tier,effort: mediumClause-②: no (help text only)
Metadata-protocol: none
Responsibility: the hook form's
refusalshelp says "JavaScript (L2) bodies only" whileHookSchemalets a JS body or a handler declare refusals (#33641) | nit N1 of contract record 6893396284 on PR #33796 | every author reading the hook formThread-read: none
Premise: re-read on origin/main:
hook.form.ts:59still ends "JavaScript (L2) bodies only"Serial constraints cleared: no other
pm:dispatcheddomain:uicard and no open PR toucheshook.form.ts(live read 2026-11-15T20:43Z)Scope: reword the help to match
HookSchema, update every translated copy, pin + ablation.Fixes #33803. Order:/mnt/project-files/ui-seat1/standard-order.md+33803-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmSYipyhBpSxJqatyap
os-dev-report
{ "issue": 33803, "status": "done", "branch": "claude/project-thread-iasjw1", "pr": "https://github.com/objectstack-ai/objectstack/pull/34146", "session": "session_01ADHkmSYipyhBpSxJqatyap", "premise_still_valid": true, "summary": "The hook form's refusals row help now matches HookSchema: the code is the one the hook throws, and the catalogue is 'For a JavaScript (L2) body or a handler; refused on an expression body' (was 'JavaScript (L2) bodies only'). The en metadata-form bundle carries the new source string and the ten translated locales were re-translated in place (leaf value only; no source-hash entry exists for the path). A narrow pin in hook-refusals.test.ts reads the row; no behaviour change.", "tests": "spec vitest hook-refusals + repeater-item-titles + metadata-form-declared-rows.pin: Test Files 3 passed, Tests 140 passed on a711ec17 and on final head d4af1df0. platform-objects test: Test Files 122 passed, Tests 2007 passed. Ablation via ablation-replace.mjs on a711ec17: old ending restored in hook.form.ts (anchor 1->0, blob 6d2932ce->8f783593), new pin red (1 failed / 98 passed), restore blob == HEAD, git diff HEAD empty. No forced test edits.", "gates": "dispatch-gates --commands on d4af1df0: 84 derived; all 84 run after the last commit, all exit 0; --ran: 84 run, 0 NOT-MEASURED, 0 UNRUN. Plus spec typecheck (incl. check:test-typecheck, which caught a TS18048 on the first head, fixed in d4af1df0) exit 0, platform-objects typecheck exit 0. Environment-only exit 3s first seen and cleared: plugin-teardown-shape self-test (shallow clone, fetched pinned fixture), dual-build-cjs-loads (no dist, built ./packages/**), four spec dist gates (src hash moved, rebuilt spec). CI check-runs: in_progress at report time, not awaited.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "3 — mcp__github__issue_read get, mcp__github__issue_read get_comments, mcp__github__pull_request_read get (all reads)", "api_writes": "2 — relay pr_create (PR 34146, draft, assignee os-steve), post-stamped os-dev-report comment on the card", "files_changed": [ "packages/spec/src/data/hook.form.ts", "packages/spec/src/data/hook-refusals.test.ts", "packages/platform-objects/src/apps/translations/{ar,de,en,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.metadata-forms.generated.ts", ".changeset/33803-hook-refusals-help-handler.md" ], "line_budget": "+49 / -13 across 14 files (PR additions+deletions 62, under the 3000 threshold)", "deviations": "none. The packages/spec path may make a contract review owed at CONTRACT_REVIEW_TIER; per the maintainer's 21:53Z note no fable subagent was started here, the seat routes it.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "Acceptance notes only: nested rows under refusals (message, reasons, reasons.message) still say 'when the body throws this code', narrower than the schema for a handler hook; same wording class, 3 strings x 11 locales · carrier: none · noted, not filed" ] }Stamped 2026-11-15T21:56Z.
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Landed
PR #34146 MERGED at 2026-11-15T23:51Z as
fdfccbfb7athrough the merge queue;Fixes #33803closed this card. Delivered: the Studio hook form'srefusalsrow help now reads "For a JavaScript (L2) body or a handler; refused on an expression body" and names the code the hook throws, matchingHookSchema.refusals. The same correction ships in the en bundle and ten re-translated metadata-form bundles, pinned inhook-refusals.test.ts. Nothing remains on this card. Noted, no card filed: three nested rows underrefusalsstill say "body throws".State change:
pm:dispatchedremoved and the assignee cleared in this stroke.fix(spec): hook form refusals help names the handler beside the JavaS…