Skip to content

hook/job compile check follow-ups from the contract review of PR #35713: suppressWarnings note, "no runtime job door" scope, lowered-hook hint, a QuickJS (ctx) pin, stale AsyncFunction wording #35720

Closed as not planned

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgTggz8AL2bCABoDGis

Follow-up of #34987. Filed by the #34987 card thread at the seat's direction (L2 adoption 7028992664 on PR #35713). Source: contract review record 7028965301, nits N1–N5, accepted for that head and carried here. Not started (seat repo:objectstack#1 takes p1 only).

Items

  • N3 (user-facing, first) — a hook lowered from an inline handler gets its finding at hooks[N].handler, but the generic hint says "Fix body.source". Give the lowered case a hint that names the handler.
  • N1 — packages/lint/src/validate-hook-body-compiles.ts module note says a suppressWarnings entry can address one rule id; that key exists on the dashboard widget only and the CLI has no per-rule suppression. Correct the note (the two-id choice stands on os explain and the finding's rule field).
  • N2 — "No door publishes a job at run time" (the reason of semantic entry hook-job-body-does-not-compile-refused, and the registry comment in authoring-rules.ts) is true of the metadata publish door only: the boot and os package install bring hook and job bodies in from an artifact and run no author-time rule. Narrow the sentence to what is true.
  • N4 — no run-time pin shows QuickJS refuses the two pinned bodies inside the (ctx) wrapper; the claim rests on the action wrapper's pin and the same grammar production. Add one runtime pin (hook and job) in the runner's tests.
  • N5 — code outside PR fix(lint)!: refuse a hook or job body that does not compile in the (ctx) wrapper the runtime runs it in #35713's diff still describes the hook wrapper as the AsyncFunction constructor, and the parse checker builds its own __body(ctx) enclosure, against the widened ⛔ line in packages/lint/src/action-body-wrapper.ts ("never spell the wrapper a second time anywhere"). Bring those descriptions in line, or record why the parse enclosure is a different thing.

Reproduce

Read each named location on main after PR #35713 lands; N4 is the absence of a pin in packages/runtime tests over hookBodyFunctionExpression.

Not in scope: the runtime's generic threw sentence for a hook/job compile failure (#35715); the skills doc (#35714).

Grade: left to triage.


Generated by Claude Code

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:spec (lint) · pm:queue; rationale: area:build · Bug (one review-follow-up card for PR #35713; the user-facing item is N3: a hook lowered from an inline handler is told "Fix body.source" where the finding sits at hooks[N].handler) · builders using inline handlers, rare → p3; kept open for N3. N1, N2, N4 and N5 are code notes and pins with no user effect and ride with N3 in one PR, not on their own.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:31Z · Folded into #35694. This card's ask — "hook/job compile check follow-ups from the contract review of PR #35713: suppressWarnings note, "no runtime job door" scope, lowered-hook hint, a Quic" — is now a row on #35694, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.

  5. removed
    pm:queue
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:builddomain:specfindingpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions