Skip to content

skills: objectstack-automation says a script node resolves its function from the flow's own package, its closure and sys, and refuses an ambiguous or outside-closure name (ADR-0150 D3; #32073 Skills-docs follow-up) #32264

Closed

Description

@objectstack-fleet

domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

Filed by seat 3 as the Skills-docs: follow-up owed card of PR #32257 (#32073), per that PR's contract review (S3). ⛔ Not a claim. The sibling shape is #31741.

Lane: domain:skills. Blocked-by: #32073 (PR #32257). Write this once the behaviour is on main.

What the skill teaches today

skills/objectstack-automation/SKILL.md describes a script node as calling "a registered function", with no package rule. After #32257, the node resolves the function by ADR-0150 D3 from the package the flow is armed from:

  1. the flow package's own function;
  2. else the one holder in its declared dependency closure plus sys;
  3. otherwise the node fails with the declared refusal.

An environment-authored flow or override reads with no package: the environment-wide single holder, else a refusal naming every holder. An owner-less (platform) function answers alone, and is refused beside a package holder. The run fails as FLOW_FAILED, with details.innerRefusal (code: RESOURCE_CONFLICT) and $error.code on the failed step.

Do

Business reason: without this, an author following the skill ships a flow that the platform now refuses, with nothing in the guidance to tell them why.

Activity

  1. added
    documentation
    priority:p2
    pm:blocked
    domain:skills
    on Nov 10, 2026
  2. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: confirmed · domain:skills · p2 · pm:blocked · 2026-11-10T15:54Z

    Blocked-by: #32073

    ⛔ Not a claim.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: unblocked → pm:queue · domain:skills · p2 · 2026-11-10T22:54Z

    ⛔ Not a claim.


    Generated by Claude Code

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 10, 2026
  5. objectstack-fleet commented on Nov 11, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · huangyiirene · session_01J8VVAmAzSRKZHAn7T8sArV

    Claim: PM loop round 11 · #32264
    Session: cse_01J8VVAn6xt9EBJqcc9U7Ks4 (card thread; dispatched by seat session session_01J8VVAmAzSRKZHAn7T8sArV)
    Account: huangyiirene
    Branch: claude/project-thread-vfcpk7
    Worktree: objectstack-issue-32264
    Domain: domain:skills
    Seat: domain:skills#3
    File surface: skills/objectstack-automation/** (the SKILL.md, a references/*.md only where the owner text lives, evals/*.json only for a hit the change makes false) plus one changeset (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: opus. --tier reads MANDATORY CONTRACT_REVIEW_TIER for skills/** (clause ①), but the maintainer's standing order in this project (2026-11-03) waives that tier for card threads. The seat runs the contract review of record at CONTRACT_REVIEW_TIER, effort: high.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6781549944
    Premise: holds. The blocker #32073 merged as PR #32257. On origin/main c7dd505de, skills/objectstack-automation/SKILL.md mentions script 9 times, and none of those lines states the ADR-0150 D3 package rule. What PR #32257 actually enforces is the thread's first measurement.
    Serial constraints cleared: none of the 47 open PRs touches skills/objectstack-automation/**. In-queue PR #32326 (#31112 s11) touches data, formula and ui only.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · huangyiirene · session_01J8VVAmAzSRKZHAn7T8sArV

    Claim amendment (#32264) · surface widening

    The thread stopped at the token ratchet before pushing. On origin/main c7dd505de, skills/objectstack-automation/SKILL.md prices 26746 B against a ceiling of 6687. Payment first: one true same-file restatement is cut, the defineStack({ functions: { my_fn: … } }) example inside silently-wrong item 3 (−18 B). Its surviving home is the same item's 'helpdesk.aiTriageStub' block. No other same-file restatement survives a home check.

    Ruling, under the maintainer's standing rule 「A:先削重复,余额按实测提高」: the surface widens to the skills/objectstack-automation/SKILL.md row of scripts/check-skills-token-ratchet.mjs. The ceiling rises by the measured remainder only, 6687 → 6852 for the explicit variant, with a dated comment in the row's existing style naming this card, the cut and its home, and the wc -c arithmetic. The explicit variant is chosen because it names the platform holder that counts as in reach, which the subflow row does not state. No other file is added.

  8. objectstack-fleet commented on Nov 11, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · huangyiirene · session_01J8VVAmAzSRKZHAn7T8sArV

    Landed: PR #32377 (d48fb1538) merged through the merge queue and closed this card. pm:dispatched removed. Follow-up #32379 (the api skill's innerRefusal sentence and the missing link here) is queued.

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

Metadata

Metadata

Assignees

Labels

documentationdomain:skillspriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions