Skip to content

skills/objectstack-api still teaches target on an object_operation endpoint — dead key after #10338 optional-ized it #11291

Description

@claude

Found while implementing #10338 (PR #11290), which made ApiEndpoint.target optional in the vocabulary per the 2026-08-23 maintainer ruling: target is now required at publish only for type: 'flow' and is UNREAD for type: 'object_operation' — the in-tree examples and protocol/getting-started docs were swept in that PR so the corpus stops teaching the dead key.

Not swept there, out of that card's file surface AND a governed surface (human-merge only): the published skill still teaches the dead spelling.

  • skills/objectstack-api/SKILL.md (~line 181): the leadFeed example writes target: 'acme_lead' on a type: 'object_operation' endpoint. Nothing reads that key for this type, and nothing checks it against objectParams.object — the exact AI-authoring trap spec(api): ApiEndpoint.target is required on every endpoint but read only for type: 'flow' — an object_operation author must write a value nothing consumes #10338 removed. The example still type-checks (check:skill-examples green — optional accepts present), so no gate will flag it; the drift is prose-level only.
  • Same file (~lines 212-214): the gate description ("an object_operation needs both objectParams halves; a flow needs a target") is still accurate — only the example needs the key dropped plus a one-line "omit target on object_operation" note if the skill's budget allows.

Skill edits carry the maintainer's 2026-08-21 size-discipline ruling (whole-file and whole-package line readings in the PR body, minimal net growth) and land human-merge only (Prime Directive #14). Filed unassigned for triage.


Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions