Skip to content

docs(skills): automation skill names a disabled package's hook 401 and the undeclared connector_action input refusal - #36087

Merged
os-zhuang merged 2 commits into
mainfrom
claude/area-a4A-34279
Nov 21, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/area-a4A-34279

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread

Fixes #34279
Part of #33665

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用自动化技能写流程的 AI 助手,现在会被告知两件事:应用包被停用时,它的入站回调一律被拒;连接器动作里多写的输入项会让这一步失败。此前技能文本没有写这两点。
  • 为什么做:这是两项已上线行为各自欠下的技能文本补记(停用包的回调拒收;连接器输入多余项的拒收),不改任何运行行为。
  • 出错会怎样:只是文字。写错的话,助手会误判一次回调被拒的原因,或留下多余的输入项;撤回本次合并即可恢复原文。
  • 要你做什么:无。

What changes

Text only, in the published objectstack-automation skill. No runtime, spec or eval file moves.

  • Inbound hook section (skills/objectstack-automation/SKILL.md). One new bullet beside the two-holder bullet: a disabled package's flow answers the same 401 at both addresses with nothing enqueued, and once the package is enabled a sender's retry gets 202.
  • connector_action row (same file). The list of what the pre-dispatch inputSchema judgement refuses now includes a key outside listed properties.
  • Integration recipes (references/integration-recipes.md). The shared bullet says the judgement refuses an undeclared key. Recipe 1's loader sentence no longer says a $ref parameter or body is silently lost from the schema: a $ref response is still silently lost, and a $ref parameter or a $ref / schemaless body is open input, sent unjudged.
  • Changeset '@objectstack/skills': patch.

This closes #34279 (the hook bullet). It is the skills half of #33665 (the connector text); that card's Studio half, the extras repeater in the connector input inspector, is untouched and stays with the UI lane.

Skills token readings (ceil(utf8 bytes / 4), the ratchet's convention)

File Lines before → after Tokens before → after Ceiling Headroom after
skills/objectstack-automation/SKILL.md 478 → 479 7037 → 7043 7045 2
skills/objectstack-automation/references/integration-recipes.md 186 → 186 2591 → 2594 2595 1
All SKILL.md files in the catalog 4945 → 4946
Whole shipped tree 22831 → 22832 288663 → 288672

No ceiling moves. The new text is paid for in the same files by word-level deletions, listed under Acceptance notes. Whole PR: +27 / -14 lines, net +13 (changeset included; budget 20).

Tests

Read first, by risk:

  1. skills/objectstack-automation/SKILL.md, the hook bullets: the new bullet, and the six neighbouring lines shortened to pay for it.
  2. skills/objectstack-automation/references/integration-recipes.md, recipe 1's closing paragraph: the rewritten $ref sentence.
  3. skills/objectstack-automation/SKILL.md, the connector_action row.

Two-minute check: node scripts/check-skills-token-ratchet.mjs. Expect the two rows above at 7043 / 7045 and 2594 / 2595, and the closing line 60 authored bundle file(s) within their ceilings.

No behaviour a test pins changes, so there is no ablation. All readings below are on head b5ba232ee9.

Local gate readings (derived list, 51 families)

node scripts/pm/dispatch-gates.mjs --commands derived 51 commands from the tree at b5ba232ee9 (merge base 1c879568c). Each was run with its exit code captured before any pipe. --ran reconciliation: 51 derived famil(ies) accounted for — 48 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3).

  • node scripts/check-skills-token-ratchet.mjs: exit 0, 60 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.
  • pnpm --filter @objectstack/spec run check:skill-docs: exit 0, Skill docs in sync
  • pnpm --filter @objectstack/spec run check:skill-refs: exit 0, 10 generated files in sync with packages/spec
  • pnpm --filter @objectstack/spec run check:skill-served-sections: exit 0, 24 served section(s), each heading exactly once in its file
  • pnpm check:skill-links: exit 0, 269 relative link(s) in 75 published skill file(s) resolve; 138 fragment(s) name a real heading
  • pnpm check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:pm-skill-id-lint, check:doc-authoring, check:nul-bytes, check:published-files, check:closed-ceremony-text: exit 0 each.
  • pnpm --filter @objectstack/lint run check:doc-formula-expressions: first run exit 3 (prerequisite: @objectstack/formula not built); rerun after building the formula + lint closure: exit 0.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads, reason: exit 3, it loads every package's built entry and asks for a full pnpm build; left to CI.
  • NOT MEASURED: pnpm check:lean-entry-closure, reason: exit 3, packages/objectql/dist absent; left to CI.
  • The remaining derived commands (changeset gates, self-tests, repo gates): exit 0 each.
Other local runs
  • pnpm --filter @objectstack/spec build under the verify lock: VERDICT command-exit 0.
  • pnpm --filter @objectstack/skills build: exit 0, 114 file(s) across 14 skill(s) copied from skills/** into dist/skills and read back byte-identical.
  • pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/meta-state-route-doc-spelling.test.ts (the one test that reads this SKILL.md): VERDICT command-exit 0, Test Files 1 passed (1), Tests 8 passed (8).
  • node scripts/pm/overlap-check.mjs --branch=claude/area-a4A-34279: VERDICT clean exit 0 (origin/main and the one open PR head sharing SKILL.md both merge cleanly).

Acceptance notes

Premise for #34279, measured on origin/main at 1c879568c4: holds.

  • packages/services/service-automation/src/engine.ts:6258-6288, inboundHookSlot: a sole holder's disabled slot answers unadmitted on every address (:6268-6272), and so does the qualified address of a disabled co-holder (:6283-6286). The cause is logged at info only and nothing is enqueued (:6296-6305). The question is asked per post, so there is no re-arm (:6245-6257). "Disabled" is the registry's answer for a package it holds (:5499-5505).
  • packages/triggers/trigger-api/src/plugin.ts:162-176: an unadmitted slot is answered with the door's one refusal on the bare mount (:285-290) and on the qualified mount (:305-313). The hosted face does the same at packages/runtime/src/domains/automation-hooks.ts:251-266.
  • packages/core/src/security/inbound-hook-answer.ts:41-52: that refusal is status 401, code INVALID_SIGNATURE.
  • Pinned by packages/qa/dogfood/test/inbound-hook-disabled-holder-33906.test.ts:296 (qualified and bare, 401, nothing enqueued) and :325-339 (401 while disabled, 202 on each address after the enable). Read, not run locally: it is a dogfood test and this diff changes no behaviour.

Premise for the skills half of #33665, measured on the same commit: holds.

  • packages/services/service-automation/src/builtin/connector-nodes.ts:162-178: the connector_action executor judges the evaluated input with refuseUndeclaredKeys: true and fails the step VALIDATION_ERROR before the handler is called.
  • packages/services/service-automation/src/connector-input-schema.ts:160-170 and :271-287: a key outside properties plus required is refused when the schema lists properties (or sets additionalProperties: false). A schema with additionalProperties other than false, a $ref or combinator keyword, or no properties at all reads as open.
  • packages/connectors/connector-openapi/src/openapi-connector.ts:534-538 and :555-558: an unresolved $ref parameter emits path, query and header with additionalProperties: true. :566-570: a $ref body, or content with no schema, is declared body: {}. :589: a $ref response still yields no output schema.
  • Pinned by packages/connectors/connector-openapi/src/input-schema-dispatch.test.ts:182 and :215, and packages/services/service-automation/src/builtin/connector-input-schema.test.ts:311-319.

Where each sentence went. The undeclared-key refusal is in both files. The $ref open reading is only in the recipes file, beside the loader sentence it corrects: the SKILL.md row had 8 tokens of headroom and already points at the recipes for loader limits.

What was deleted to pay, and where each fact survives.

  • Hook intro: the word Endpoint:; the route itself is unchanged.
  • Hook table: separator dashes only.
  • Signature bullet: HMAC-SHA256 of became HMAC of; the algorithm is still named on the secretRef row two lines above.
  • Idempotency, queue and body bullets: reworded shorter, same facts (at-least-once delivery, 202 and enqueue, body as the trigger record plus params).
  • Two-holder bullet: the qualified address is written …/hooks/:namespace/:flowName/:hookId (the full prefix is in the section's first line; recipe 4 already uses this spelling), and above / there are dropped.
  • connector_action row: Once evaluated became Evaluated, and the inputSchema fit became that fit.
  • Recipes: in-document ones included became in-document too; absent = every operation became absent = all.

Not done. No eval case: the skills lane does not require one for a wording fix, and no existing eval asserts the changed sentences. The Studio extras repeater named by #33665 is not touched.

Verification

  • Head b5ba232ee9, two commits, one per card, on origin/main 1c879568c4.
  • Governed surface (skills/**): this PR stays draft and waits for its tier's record.
  • CI check-runs were not yet reported when this body was written: in_progress.

Generated by Claude Code

A flow whose package is disabled answers the hook door's one refusal
(401 INVALID_SIGNATURE) at its bare and its qualified address, with
nothing enqueued, until the package is enabled. The automation skill now
says so beside the two-holder bullet; neighbouring bullets are tightened
so the file stays under its token ceiling.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1ZJL93Kin2UHFXbFv
…efused

The connector_action row and the integration recipes described the
inputSchema judgement without its undeclared-key refusal, and said the
OpenAPI loader silently loses a $ref parameter or body. The executor
refuses a key the schema does not declare, and the loader reads a $ref
parameter or a $ref / schemaless body as open input. Both files now say
so, paid for in place under the token ceilings.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1ZJL93Kin2UHFXbFv
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 21, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d12FHULfLH9SigsWws

L1 verdict (L1-a): ACCEPT at head b5ba232ee9 (Fixes #34279; Part of #33665, the skills half). Text only, in skills/objectstack-automation, plus one changeset. Every sentence I checked against the code holds.

Gates on this head: l1-face --pr 36087 is CLEAN (13 items, none flagged). Check-runs at b5ba232: 28 success, 16 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check are both success; the skill token ratchet and the generated-reference sync run inside them. Dogfood battery not owed.

#34279: the disabled package's hook (holds, card delivered).

  • The new bullet reads: "A disabled package's flow: that 401 at both addresses, nothing enqueued; once enabled, a sender's retry gets 202."
  • This matches the card's Ask and the behaviour fix(service-automation)!: the inbound hook door refuses the address of a flow slot whose package is disabled, before anything is enqueued (ADR-0150 D5) #34278 shipped (merged 2026-11-16): the door's one 401 INVALID_SIGNATURE on the bare and the qualified address, nothing enqueued, and 202 again on re-enable with no re-arm. "That 401" points back to the two-holder bullet, which still says the cause is in the server log only.
  • The tightened neighbour bullets keep their content. Signature: the HMAC algorithm is still named in the secretRef row. Idempotency, Queue-backed and trigger-record are reworded with no fact lost. The two-holder qualified address is shortened to …/hooks/:namespace/:flowName/:hookId, which keeps the full path one line above.

#33665, skills half (holds).

  • connector_action row: "judged against the action's inputSchema (required, type, items, a key outside listed properties)". That is judgeConnectorInput(…, { refuseUndeclaredKeys: true }) at packages/services/service-automation/src/builtin/connector-nodes.ts:165. The refusal applies only where a schema lists its keys, which "listed" says.
  • Recipes, shared bullet: "refuses an undeclared key" holds, for the same reason.
  • Recipe 1: "a $ref response is silently lost; a $ref parameter or $ref / schemaless body is open input, sent unjudged".
    • A $ref parameter opens every location with additionalProperties: true.
    • A $ref or schemaless body is declared body: {}. Both are in buildInputSchema, packages/connectors/connector-openapi/src/openapi-connector.ts:536-568.
    • The declared parameters beside them are still judged, and "open input" does not claim otherwise.
  • The deviation is accepted. The card asks for the $ref open reading in both files, but it sits only in integration-recipes.md, because the SKILL.md ceiling had no room.
    • The SKILL.md row is not made false. "A key outside listed properties" already leaves an open ($ref) schema unjudged.
    • The recipe is where OpenAPI documents are taught.
    • Part of #33665 keeps the card open for the Studio half anyway.

Changeset (holds, sentence by sentence): '@objectstack/skills': patch; Clause-②: no; Metadata-protocol: none. Both paragraphs match the diff: one new hook bullet with its neighbours tightened, the undeclared-key refusal, and the $ref reading with the response still lost.

Landing: Tier H (skills/**): seat contract read, then landing. At landing, Fixes #34279 closes that card. #33665 stays open for the UI lane's Studio half. It carries pm:dispatched, so remove that label by hand if a4-A's claim is the one it records (landing rule B).


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1PJ4isQ3eD7Fk1fnF

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b5ba232ee9a5a42e8c3c3e4987ca0f0efadae4f7
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/integration-recipes.md + none
Security-touching: yes

Read for this record: cards #34279 and #33665 (bodies and every comment), the split card #33838 and the source PR #33614; PR 36087 (body, both commits, the net diff against the merge base 1c879568c4); L1 record 7063163206; the 44 check-runs on this head; and the code the text makes claims about, read at the merge base and again on main at 493ad095d4. No cited runtime file and nothing under skills/objectstack-automation moved between the two.

① Derived judgments

  • Check-runs on the head. 28 success, 16 skipped, none red or pending. Lint & Repo Gates, TypeScript Type Check, Check Changeset, Check PR Size and Governed Surface Queue Guard are green. Inside Type Check · source gates, the steps for the published skills token ratchet, the generated skill references, the served sections and the skill links read success.
  • Surface. Three files, 27 added, 14 deleted: two modified Markdown files of the published objectstack-automation skill and one new changeset. No frontmatter, heading, eval, schema, runtime file or ratchet row moves. No accept set and no public surface changes: the text catches up with two behaviours already on main.
  • Disabled package at the hook door (the new bullet). Right.
    • inboundHookSlot in packages/services/service-automation/src/engine.ts answers unadmitted for every address of a disabled sole holder's flow and for the qualified address of a disabled co-holder's slot. It logs the cause and is asked on every post.
    • Both faces turn that answer into the door's one refusal: answerInboundHookSlot in packages/triggers/trigger-api/src/plugin.ts for the bare and the qualified mount, and packages/runtime/src/domains/automation-hooks.ts for the hosted face. inboundHookRefusal in packages/core/src/security/inbound-hook-answer.ts is status 401 with code INVALID_SIGNATURE.
    • The refusal is answered before the hook is served, so nothing is enqueued.
    • packages/qa/dogfood/test/inbound-hook-disabled-holder-33906.test.ts pins this on both faces, and pins 202 on each address after the enable, with no re-arm.
    • For a co-holder the bare address was already the two-holder refusal, so "both addresses" holds there as well.
  • Undeclared input key (the row and the shared recipe bullet). Right. The connector_action executor in builtin/connector-nodes.ts judges the evaluated input with refuseUndeclaredKeys: true and fails the step VALIDATION_ERROR before the handler is called. By declaredKeysOf in connector-input-schema.ts, a key outside properties plus required is refused where the schema lists properties. N2 covers the open exception the row leaves out.
  • $ref in an OpenAPI document (recipe 1). Right. buildInputSchema in packages/connectors/connector-openapi/src/openapi-connector.ts opens path, query and header with additionalProperties: true when a parameter is an unresolved $ref, and declares a $ref body, or a body with no schema, as an empty schema. The handler still sends what the input carries. buildOutputSchema returns nothing for a $ref response. The sentence this replaces said the derived schema silently loses a $ref parameter or body, which stopped being true when the open reading landed. N1 is on the new wording.
  • The cuts that pay for the new text. Each cut fact keeps a home in the same section. The hash is still named on the secretRef row, two lines above the signature bullet. The full hook prefix is on the section's first line. At-least-once delivery, the 202 and enqueue, and the body as trigger record plus params are reworded with nothing dropped. absent = all and in-document too keep their meaning.
  • No other teaching contradicts it. I searched skills/** and content/docs/** for the hook door, its refusal code, disabled packages, undeclared input keys and $ref.
    • content/docs/automation/flows.mdx teaches the same one refusal for the hook door.
    • content/docs/automation/jobs.mdx and content/docs/references/data/mapping.mdx already say a key the action does not declare is refused.
    • The failure table in content/docs/automation/connectors.mdx gives a missing parameter and a wrong type as its examples of a breach. That is now less complete than the skill, not contrary to it.
    • The copy of the old row in packages/qa/scenarios/src/runner/door-rules-corpus.ts is a dated render for eval rounds, not a mirror.
  • Triggers and evals still hold. The frontmatter is untouched, so evals/triggers.json measures the same description. No eval case asserts a changed sentence. Case 1 of evals/integrations-declared.json expects the input "judged against the action's inputSchema before dispatch", which the row still says. Neither card asks for an eval, and the files fix(service-automation)!: a connector_action node refuses an input key its action does not declare #33614 listed as owed are the two this PR changes. The two new sentences are taught and not exercised: an accepted gap, for the eval seat if a round shows a miss.

② Semver level

'@objectstack/skills': patch is right and owed: the package ships the skills/** tree, and this changes sentences in two of its files. Clause-②: no is right: nothing widens or narrows an accept set or the public surface, and no arm is owed. Metadata-protocol: none is right: what a metadata author can write changed in the product PRs that declared it (narrowed on #33614), not here, and none takes patch. Both lines are bare and line-initial in the PR body and in the changeset body. No Rule-change: line is owed, because no path is under .claude/**; this record carries no Rule-change-verified: line for the same reason. Nothing is breaking, so no migration and no ADR-0087 disposition is owed. N4 is on the changeset's wording.

③ Boundary flags

  • Security-touching: yes is meant, not an unedited template value. The inbound-hook hunk rewords the bullet that teaches how a post to the hook is signed, and adds a case of the door's refusal. That is authentication behaviour, however small the edit. The low-risk skills arm therefore does not take this PR: it stays Tier H and waits for an authorized approval. The security label is the seat's stroke.
  • The dev's deviations. The model-free trailer pair is on both commits, as AGENTS.md asks. Measuring the premises on the tree and not from history is fine; I read the same code on the tree. check:dual-build-cjs-loads and check:lean-entry-closure were not measured locally; Build Core and Lint & Repo Gates are green on this head. The assignee, label and body-frame notes are the seat's and touch no contract.
  • open_questions. None were raised.
  • The $ref sentence sits in one file, not the two the card names. Accepted: SKILL.md points to the recipes file for loader limits and ends 2 tokens under its ceiling. N2 names what the row leaves out.
  • Card Docs and Studio follow-up for #33614: objectstack-automation skill text and Studio connector extras repeater still offer undeclared input keys #33665 has nothing left after this PR. See N3.
  • SQL push-down. No code in the diff.
  • Author. The PR's user.login is objectstack-fleet[bot], and the head repository is the base repository.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-automation/SKILL.md holds. I tried to break the hook bullet three ways: an address of a disabled package's flow that is served (none: the sole holder's bare and qualified addresses and the co-holder's qualified address are all refused on both faces); a refused post that is enqueued or run (none); an enable that needs a re-arm before the 202 (none). A retry is a fresh signed post, so the 300-second window two bullets up applies to it as to any post. I tried to break the row two ways: a declared-key schema that lets an undeclared key through (none), and a judgement that runs after dispatch (it runs before the handler).

skills/objectstack-automation/references/integration-recipes.md holds. The shared bullet and recipe 1 agree with the judgement and with the loader, and recipe 1 no longer states the behaviour the open reading replaced.

N1 (nit) — "a $ref response is silently lost" dropped its subject. What is lost is the response's schema in the derived action: the action lists no outputSchema. The HTTP answer still lands on the node with its status and body. Read as the document's Response Object, beside "parameter" and "body" in the same sentence, the clause is right, and the advice it supports (dereference offline) is the same either way. "a $ref response schema is silently lost" costs 7 bytes and the file has 4 to its ceiling, so it needs a 3-byte cut beside it. For the next touch of that paragraph.

N2 (nit) — the connector_action row states the refusal without its open exception. declaredKeysOf reads a schema as open, and accepts a key outside its listed properties, when the schema sets additionalProperties to anything but false or carries a keyword that admits keys ($ref, a combinator, patternProperties). That is the shape buildInputSchema emits for a section that holds declared parameters beside a $ref one, and an MCP tool's schema may be written that way too. The row errs toward the refusal: an author who follows it sends no undeclared key, so no step fails and nothing extra is sent. The recipes file carries the exception for the OpenAPI case. Accepted deviation.

N3 (nit) — the PR body and the L1 record say #33665 stays open for its Studio half; that half has already landed. Triage split it to #33838 (comment 6893899776 on #33665), which closed as completed on 2026-11-15 through PR #34137. connector-input-fields.ts at this head already follows the run's declared-keys rule. So after this PR nothing remains on #33665: close it at landing, or change the body line to Fixes #33665 (a body edit moves no head). The dev report's out-of-scope note about the Studio repeater is stale for the same reason, and no card is owed for it.

N4 (nit) — the changeset's second paragraph gives the $ref open reading to "the connector_action row and the integration recipes". Only the recipes file says it. The claim is true of the skill as a whole. A prose face; leave it unless the changeset is touched for another reason.

Implemented-by: claude/area-a4A-34279
Reviewed-by: session_016WV4d1PJ4isQ3eD7Fk1fnF

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1ZJL93Kin2UHFXbFv

Awaiting a governed merge · 2026-11-21T13:30Z · head b5ba232ee9a5a42e8c3c3e4987ca0f0efadae4f7

@objectstack-fleet objectstack-fleet Bot added pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue security labels Nov 21, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1PJ4isQ3eD7Fk1fnF

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b5ba232ee9a5a42e8c3c3e4987ca0f0efadae4f7
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/integration-recipes.md + none
Security-touching: yes

This record replaces comment 7063318434 on the same head: same verdict and same findings. That comment spelled the security key a second time in a bullet, so its security line could not be read; this one states it once.

Read for this record: cards #34279 and #33665 (bodies and every comment), the split card #33838 and the source PR #33614; PR 36087 (body, both commits, the net diff against the merge base 1c879568c4); L1 record 7063163206; the 44 check-runs on this head; and the code the text makes claims about, read at the merge base and again on main at 493ad095d4. No cited runtime file and nothing under skills/objectstack-automation moved between the two.

① Derived judgments

  • Check-runs on the head. 28 success, 16 skipped, none red or pending. Lint & Repo Gates, TypeScript Type Check, Check Changeset, Check PR Size and Governed Surface Queue Guard are green. Inside Type Check · source gates, the steps for the published skills token ratchet, the generated skill references, the served sections and the skill links read success.
  • Surface. Three files, 27 added, 14 deleted: two modified Markdown files of the published objectstack-automation skill and one new changeset. No frontmatter, heading, eval, schema, runtime file or ratchet row moves. No accept set and no public surface changes: the text catches up with two behaviours already on main.
  • Disabled package at the hook door (the new bullet). Right.
    • inboundHookSlot in packages/services/service-automation/src/engine.ts answers unadmitted for every address of a disabled sole holder's flow and for the qualified address of a disabled co-holder's slot. It logs the cause and is asked on every post.
    • Both faces turn that answer into the door's one refusal: answerInboundHookSlot in packages/triggers/trigger-api/src/plugin.ts for the bare and the qualified mount, and packages/runtime/src/domains/automation-hooks.ts for the hosted face. inboundHookRefusal in packages/core/src/security/inbound-hook-answer.ts is status 401 with code INVALID_SIGNATURE.
    • The refusal is answered before the hook is served, so nothing is enqueued.
    • packages/qa/dogfood/test/inbound-hook-disabled-holder-33906.test.ts pins this on both faces, and pins 202 on each address after the enable, with no re-arm.
    • For a co-holder the bare address was already the two-holder refusal, so "both addresses" holds there as well.
  • Undeclared input key (the row and the shared recipe bullet). Right. The connector_action executor in builtin/connector-nodes.ts judges the evaluated input with refuseUndeclaredKeys: true and fails the step VALIDATION_ERROR before the handler is called. By declaredKeysOf in connector-input-schema.ts, a key outside properties plus required is refused where the schema lists properties. N2 covers the open exception the row leaves out.
  • $ref in an OpenAPI document (recipe 1). Right. buildInputSchema in packages/connectors/connector-openapi/src/openapi-connector.ts opens path, query and header with additionalProperties: true when a parameter is an unresolved $ref, and declares a $ref body, or a body with no schema, as an empty schema. The handler still sends what the input carries. buildOutputSchema returns nothing for a $ref response. The sentence this replaces said the derived schema silently loses a $ref parameter or body, which stopped being true when the open reading landed. N1 is on the new wording.
  • The cuts that pay for the new text. Each cut fact keeps a home in the same section. The hash is still named on the secretRef row, two lines above the signature bullet. The full hook prefix is on the section's first line. At-least-once delivery, the 202 and enqueue, and the body as trigger record plus params are reworded with nothing dropped. absent = all and in-document too keep their meaning.
  • No other teaching contradicts it. I searched skills/** and content/docs/** for the hook door, its refusal code, disabled packages, undeclared input keys and $ref.
    • content/docs/automation/flows.mdx teaches the same one refusal for the hook door.
    • content/docs/automation/jobs.mdx and content/docs/references/data/mapping.mdx already say a key the action does not declare is refused.
    • The failure table in content/docs/automation/connectors.mdx gives a missing parameter and a wrong type as its examples of a breach. That is now less complete than the skill, not contrary to it.
    • The copy of the old row in packages/qa/scenarios/src/runner/door-rules-corpus.ts is a dated render for eval rounds, not a mirror.
  • Triggers and evals still hold. The frontmatter is untouched, so evals/triggers.json measures the same description. No eval case asserts a changed sentence. Case 1 of evals/integrations-declared.json expects the input "judged against the action's inputSchema before dispatch", which the row still says. Neither card asks for an eval, and the files fix(service-automation)!: a connector_action node refuses an input key its action does not declare #33614 listed as owed are the two this PR changes. The two new sentences are taught and not exercised: an accepted gap, for the eval seat if a round shows a miss.

② Semver level

'@objectstack/skills': patch is right and owed: the package ships the skills/** tree, and this changes sentences in two of its files. Clause-②: no is right: nothing widens or narrows an accept set or the public surface, and no arm is owed. Metadata-protocol: none is right: what a metadata author can write changed in the product PRs that declared it (narrowed on #33614), not here, and none takes patch. Both lines are bare and line-initial in the PR body and in the changeset body. No Rule-change line is owed in the PR body, because no path is under .claude/**; for the same reason this record carries no verification line for one. Nothing is breaking, so no migration and no ADR-0087 disposition is owed. N4 is on the changeset's wording.

③ Boundary flags

  • The security line above reads yes on purpose, not as an unedited template value. The inbound-hook hunk rewords the bullet that teaches how a post to the hook is signed, and adds a case of the door's refusal. That is authentication behaviour, however small the edit. The low-risk skills arm therefore does not take this PR: it stays Tier H and waits for an authorized approval. The security label is the seat's stroke.
  • The dev's deviations. The model-free trailer pair is on both commits, as AGENTS.md asks. Measuring the premises on the tree and not from history is fine; I read the same code on the tree. check:dual-build-cjs-loads and check:lean-entry-closure were not measured locally; Build Core and Lint & Repo Gates are green on this head. The assignee, label and body-frame notes are the seat's and touch no contract.
  • open_questions. None were raised.
  • The $ref sentence sits in one file, not the two the card names. Accepted: SKILL.md points to the recipes file for loader limits and ends 2 tokens under its ceiling. N2 names what the row leaves out.
  • Card Docs and Studio follow-up for #33614: objectstack-automation skill text and Studio connector extras repeater still offer undeclared input keys #33665 has nothing left after this PR. See N3.
  • SQL push-down. No code in the diff.
  • Author. The PR's user.login is objectstack-fleet[bot], and the head repository is the base repository.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-automation/SKILL.md holds. I tried to break the hook bullet three ways: an address of a disabled package's flow that is served (none: the sole holder's bare and qualified addresses and the co-holder's qualified address are all refused on both faces); a refused post that is enqueued or run (none); an enable that needs a re-arm before the 202 (none). A retry is a fresh signed post, so the 300-second window two bullets up applies to it as to any post. I tried to break the row two ways: a declared-key schema that lets an undeclared key through (none), and a judgement that runs after dispatch (it runs before the handler).

skills/objectstack-automation/references/integration-recipes.md holds. The shared bullet and recipe 1 agree with the judgement and with the loader, and recipe 1 no longer states the behaviour the open reading replaced.

N1 (nit) — "a $ref response is silently lost" dropped its subject. What is lost is the response's schema in the derived action: the action lists no outputSchema. The HTTP answer still lands on the node with its status and body. Read as the document's Response Object, beside "parameter" and "body" in the same sentence, the clause is right, and the advice it supports (dereference offline) is the same either way. "a $ref response schema is silently lost" costs 7 bytes and the file has 4 to its ceiling, so it needs a 3-byte cut beside it. For the next touch of that paragraph.

N2 (nit) — the connector_action row states the refusal without its open exception. declaredKeysOf reads a schema as open, and accepts a key outside its listed properties, when the schema sets additionalProperties to anything but false or carries a keyword that admits keys ($ref, a combinator, patternProperties). That is the shape buildInputSchema emits for a section that holds declared parameters beside a $ref one, and an MCP tool's schema may be written that way too. The row errs toward the refusal: an author who follows it sends no undeclared key, so no step fails and nothing extra is sent. The recipes file carries the exception for the OpenAPI case. Accepted deviation.

N3 (nit) — the PR body and the L1 record say #33665 stays open for its Studio half; that half has already landed. Triage split it to #33838 (comment 6893899776 on #33665), which closed as completed on 2026-11-15 through PR #34137. connector-input-fields.ts at this head already follows the run's declared-keys rule. So after this PR nothing remains on #33665: close it at landing, or change the body line to Fixes #33665 (a body edit moves no head). The dev report's out-of-scope note about the Studio repeater is stale for the same reason, and no card is owed for it.

N4 (nit) — the changeset's second paragraph gives the $ref open reading to "the connector_action row and the integration recipes". Only the recipes file says it. The claim is true of the skill as a whole. A prose face; leave it unless the changeset is touched for another reason.

Implemented-by: claude/area-a4A-34279
Reviewed-by: session_016WV4d1PJ4isQ3eD7Fk1fnF

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1ZJL93Kin2UHFXbFv

Record pointer update · 2026-11-21T13:31Z · head b5ba232ee9a5a42e8c3c3e4987ca0f0efadae4f7

The await record 7063335939 cites contract PASS 7063318434. That record has been replaced by 7063338995: same head, same verdict, with a parseable Security-touching: line. Read 7063338995 as the seat's contract record for this PR. Everything else in 7063335939 still holds.

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

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue security size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills/objectstack-automation: the inbound hook section does not say that a disabled package's flow answers 401 at the hook door (after #33906)

2 participants