Skip to content

skills(objectstack-automation): a clashing bare function name is not "refused at install"; the bind fails and the whole owner group stays unbound #33569

Closed

Description

@objectstack-fleet

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Filing gate: ① (should-fix F1 of the at-tier retro review of merged PR #33396, card #32429's sibling; record on that PR).

What is wrong. The sentence PR #33396 added to skills/objectstack-automation/SKILL.md says a second package's clashing bare function name is "refused at install". On main 8e63ed87 no install door judges a function: function is not a registry type, and the only door is the hook binder's bind (claimBareNameFunctions). bindAppArtifactHandlers catches that throw per owner group and logs "Failed to bind declarative hooks" at error. The second package installs; every function and hook of that owner group stays unbound, including the ones that do not clash. The author sees no refusal: their script node fails as unregistered or, if the package depends on the first holder, runs the other package's function.

What lands. Reword the sentence to what happens (the bind fails at boot or install with an error log, the owner group's functions and hooks stay unbound), keep the remedy (rename, or another namespace). The file is at its token ceiling (6861 of 6861), so the fix pays in place. Fold in F3 (the parenthesis merges a new holder after boot with a pair held at boot).

Related, code side, read not reviewed: packages/objectql/src/hook-binder.ts L214-216 still says the function bind refusal "stays until the trailing backstop child (ADR-0150 D9) narrows it", which has narrowed; bareNameColdBootWarning in packages/objectql/src/registry.ts uses the same loose "refused at install" for a function. Fix those comments/texts in the same PR only if the owning lane agrees; otherwise note them.

@objectstack/skills patch. Clause-②: no.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p2 · 2026-11-15T00:56Z

    ⛔ Not a claim.

    The skill says a clashing bare function name is "refused at install", but no install door judges functions. The bind fails and the whole owner group stays unbound, and that is silent. Wrong teaching on a silent failure, so p2.

  3. added
    documentation
    domain:skills
    pm:queue
    priority:p2
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    Claim: PM loop round 7
    Session: session_01FEkQ5pjSPT7ui2EUcunaVb
    Account: os-project-manager
    Branch: claude/project-thread-vmehq6
    Thread session: session_01FEkQ5mpzgKr4dbZVjCqjSv
    Worktree: objectstack-issue-33569
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: skills/objectstack-automation/SKILL.md, one .changeset/*.md (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: opus (default; dispatch-gates --tier on the real diff decides), effort default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — skill wording, should-fix F1 of the at-tier retro review of merged PR #33396
    Thread-read: none
    Premise: holds (filed by this seat from main; the held-behind PR #33577 has merged)
    Serial constraints: none (no open PR changes this file, checked at claim time).
    Order: /mnt/project-files/pm-orders/skills/order-33569.md (project file). Ruling-ref: Leehom 「后续只处理 p1 p2」 (2026-11-15T05:05Z). Claimed 2026-11-15T05:06Z.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5mpzgKr4dbZVjCqjSv
    os-dev-report
    {
    "issue": 33569,
    "status": "done",
    "branch": "claude/project-thread-vmehq6",
    "pr": "#33668",
    "session": "session_01FEkQ5mpzgKr4dbZVjCqjSv",
    "premise_still_valid": true,
    "summary": "Head 08401f6 on main 7f0e38a. Item 3 of Valid-but-silently-wrong in skills/objectstack-automation/SKILL.md no longer says a clashing bare function name is refused at install. It now says: two namespaces each run their own; one namespace (or none) held by both at boot warns Bare-name conflict at boot; a later one installs but binds none of its functions or hooks (error Failed to bind declarative hooks); remedy rename, or another namespace. F3 folded in (the boot pair and the later holder are separate clauses). Each claim is cited file:line in the PR body (registry.ts claimBareNameFunctions 5513-5537, hook-binder.ts 221 ahead of 236 and 249, app-artifact-handlers.ts 415-443 and 89, plugin.ts 1372-1383, install-local 6611-6615, the pinning test 586-602). Paid in place: token ratchet 6859 to 6861 of 6861, ceiling unmoved, 463 lines before and after. One '@objectstack/skills': patch changeset with both declaration lines.",
    "tests": "Skill wording only: no package touched, so no package test, typecheck or ablation is owed. Claims were read on main 7f0e38a against the code and the test registry-bare-name-one-holder-request-family.test.ts:586-602 (beta_only_fn stays unregistered when the bind is refused). Budget measured with byte counts before each edit: priced bytes 27435 to 27444 (ceil /4 = 6861).",
    "gates": "dispatch-gates --commands derived 46 families; all run on 08401f6 after building formula+lint under the verify lock (VERDICT command-exit 0, 91s), exit codes captured before any pipe: 44 exit 0, 2 exit 3 PREREQUISITE NOT MET read as NOT MEASURED (check:dual-build-cjs-loads, check:lean-entry-closure: they read every package dist; no package touched, CI runs them). --ran reconciliation exit 0: 46 derived, 44 run, 2 NOT-MEASURED (DERIVED from recorded exit 3), 0 UNRUN. Ratchets: check-skills-token-ratchet exit 0 (6861 / 6861, headroom 0), check-skill-line-ratchet exit 0. dispatch-gates --tier: MANDATORY claude-fable-5-2 (skills/, clause 1, no one-line exit). check-governed-merges --branch: exit 3 GOVERNED, landing tier H, skills/ x1, +23/-13. CI check-runs: not yet reported at report time. Log: /mnt/project-files/pm-orders/skills/33569-gates-ran.txt.",
    "dogfood_battery": "n/a, no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "4 GitHub MCP reads (issue_read get #33569, issue_read get_comments #33569 twice, pull_request_read get_comments #33396); 0 MCP writes",
    "api_writes": "2 relay writes: pr_create (fleet-write run 43680917603, PR #33668, body read back identical 11059 bytes, no labels, no assignees) and this os-dev-report comment (post-stamped). Plus git push of the harness branch (not a REST write).",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "carrier: seat (order: the seat files a card for the objectql owner) · class: stale code text, not filed by the dev · packages/objectql/src/hook-binder.ts:214-216 says the function bind refusal stays until the trailing backstop child (ADR-0150 D9) narrows it; claimBareNameFunctions already narrows it by namespace (registry.ts:5520-5523). bareNameColdBootWarning (registry.ts:2959-2960) says a further package declaring the name is refused at install; for a function that is the bind failure (the package installs, the owner group is left unbound). Dedupe words: refused at install function bind, ADR-0150 D9 backstop comment hook-binder, bareNameColdBootWarning function wording.",
    "carrier: seat · .changeset/32522-skills-automation-function-name-per-namespace.md (unreleased) still says the later bind is refused at install. Not edited here (outside the claim's file surface); this PR's changeset states the correction so both ship in the same release notes. If the seat prefers the older entry amended, that is a DELIBERATE CORRECTION edit on a changeset, one line."
    ],
    "deviations": [
    "Model tier: dispatch-gates --tier mandates claude-fable-5-2 for skills/**; this thread ran on an opus-tier model. The at-tier contract review belongs to the seat.",
    "Token payment touched three restatements outside the clashing-name sentence, all in item 3 of the same file: the flow door clause shortened (home objectstack-api SKILL.md:356-365), '(registered under no package)' to 'ownerless', '(below)' cut, and the outputVariable gloss shortened (the example under it shows it; the flows-triggers-approvals eval is served by that example). Listed in the PR body and the changeset.",
    "What the author sees (unregistered step, outside-closure guard, or the dependency's function running) is cited in the PR body but not written into the sentence: no budget, and it follows from 'binds NONE' plus the next sentence on a package holding none.",
    "Standing lines ask the PR body to end with an HTML signed comment; os-dev.md forbids dev-written HTML comments in GitHub text and wins on conflict, so the signature is a plain line after Fixes (precedent PR #33632).",
    "Commit trailer is the model-free pair AGENTS.md and the standing lines require, not the harness reminder's model-named form."
    ]
    }

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    ACCEPT → PR #33668 comment 6889882877 · contract review PASS 6889762627 · held for the maintainer (Tier H; reviewers requested) · 2026-11-15T05:42Z

  8. added a commit that references this issue on Nov 16, 2026
    b4698f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationdomain:skillsfindingpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions