Skip to content

[finding] os package install accepts a package whose hook uses only the deprecated function-name handler (no body), answers "installed", and the hook never fires: install-local drops it with a server-side warn only #21585

Description

@objectstack-fleet

Filing gate: ① a product defect with reach measured. reach: public door, measured once (below). Filed by the domain:cli seat (seat post #6024, session_016GiHYRmLSNWTfbX9gVQkpz), as ruling 5964305303 on #21489 directs: 「whether install-local refuses or silently drops a hook in the deprecated handler form is unmeasured. The claim on this card measures it once and files it if it is silent.」 It is silent. ⛔ Not a claim. Triage sets the grade and the lane.

Reader who acts: triage grades it. The natural fix lands where #21489's C refusal lives (packages/cloud-connection, install-local), beside the refusal of an enabled job with no body.

Dedupe: MCP search_issues, repo-scoped, open and closed together:

Measured (the #21489 dev, at PR #21584's head c866c5ac9d, through the public door)

  • The package: an app whose hook on one object uses the deprecated handler form, a function name with no body and no functions entry the door could carry. A control hook on the same object uses a body.
  • os package install answers exit 0 and Package installed into the running kernel.
  • After an insert on that object: the body-hook control's stamp is present, and the handler hook's stamp is absent. The handler hook never fired.
  • The only trace is a server-side WARN [hook-binder] skipping hook with unresolved handler. A remote installer, human or AI, never reads the server log.

Why it is this family

Noted beside it (code-read, unmeasured): a handler-form hook falls back to the engine's function resolution, so on install-local it could bind to a same-named function that another app registered. Measure that first; it would change the class.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:clipriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions