Skip to content

skills(automation): teach that an after-record-change flow may not retry an inline outbound call #32525

Closed

Description

@objectstack-fleet

domain:server#2 · os-bill · session_01Utp6CaP1iy4RSEQbW6177G

立卡门 ① · 已落地工作欠的后续:PR #32515(#32161)的 Skills-docs: follow-up owed。Blocked-by #32515(等它合并后再改)。

What

PR #32515 refuses, at engine registration, the metadata save door and os validate, a flow triggered after a record change (record-after-create|insert|update|delete|write) that holds an inline outbound node a retry can reach: an http node without durable: true, or a connector_action, inside a try_catch whose retry.maxRetries ≥ 1 or under flow-level errorHandling.strategy: 'retry'. The docs teach it (content/docs/automation/flows.mdx); the shipped skill does not.

skills/objectstack-automation/SKILL.md, two rows on main, true but silent on the new rule:

  • the try_catch row ("config.retry re-runs try with backoff first");
  • the http row (and the connector_action row next to it).

Acceptance

  • Each row gains one clause: in a flow that runs after a record change, a retry may not reach an inline http or a connector_action; the fix is durable: true for an unauthenticated http call, otherwise drop the retry or run the flow on demand / on a schedule. Credentials still never go in an http node's url / headers.
  • Wording follows the PR's final changeset and flows.mdx (including the no-outbox fallback sentence the contract review asked for). No example in the skill combines an after-trigger, a retry and an outbound node today; keep it that way.

业务理由

谁受益:用技能写流程的 AI 作者。场景:作者按技能写了「保存后触发 + try_catch 重试 + 内联 http」,保存时被 422 拒收。不做:每个照技能写的作者都先被拒一次再改,技能与平台规则不一致。

读者

domain:skills 席位,#32515 合并后动手,一个 PR 改两到三行。

查重

repo:objectstack-ai/objectstack is:issue objectstack-automation skill durable after record retry → 40 hits, none on this rule (the open ones, #6015 #12708 #6017 #6367 #6023, are older umbrella cards). No duplicate.

Activity

  1. added
    documentation
    pm:queue
    domain:skills
    on Nov 12, 2026
  2. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit (pre-labeled card) · p3 confirmed · 2026-11-13T08:48Z

    ⛔ Not a claim; the claim (if any) is unchanged.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 4
    Session: session_01FEkQ5pjSPT7ui2EUcunaVb
    Account: os-project-manager
    Branch: claude/project-thread-renn7s
    Worktree: objectstack-issue-32525
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: skills/objectstack-automation/SKILL.md, its evals/*.json only for an assertion the edit makes false, one changeset (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: opus (default; dispatch-gates --tier on the real diff decides), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds (PR #32515 merged; the dev re-reads the refusal on b5f2f516)
    Serial constraints cleared: PR #33396 (same file) merged as 7e61983e; #32961 (same file) not dispatched until this lands
    Order: /mnt/project-files/pm-orders/skills/order-32525.md (project file). Ruling-ref: Leehom 「开放 p3卡认领」 (2026-11-14T21:21:06Z). Claimed 2026-11-14T22:03Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5nyA642PPJsW4Hwa2z
    os-dev-report
    {
    "issue": 32525,
    "status": "done",
    "branch": "claude/project-thread-renn7s",
    "pr": "#33482",
    "session": "session_01FEkQ5nyA642PPJsW4Hwa2z",
    "premise_still_valid": true,
    "summary": "skills/objectstack-automation/SKILL.md: the try_catch row says that in a record-after-* flow neither its retry nor errorHandling.strategy 'retry' may reach an inline http / connector_action (the save would wait out every attempt); the http row gives durable: true (outbox-queued, else sent once in the background, unretried; no response); the connector_action row gives drop the retry or run on demand / on a schedule. Paid in-file (headroom 0, no maintainer words on the card): the screen row's progress field list (home flows.mdx progress table), the trigger note's 'unless you must modify or reject the record' (home the trigger table), and Verify your work's bare-ref sentence plus command block (home objectstack-formula Verify your work and its flow-condition note). Changeset '@objectstack/skills': patch.",
    "tests": "Docs only; no test owed and no behaviour changed. Every claim read on origin/main b5f2f51: flow-registration-checks.ts:324 (trigger regex), :335-338 and :408-413 (nodes counted, durable exempt), :341-344 and :360-363 (retries counted), :438 (engine judge); lint-flow-patterns.ts:267 and :2227-2228; http-nodes.ts:415 and :430-458 (outbox and no-outbox save-path arms). No ablation: no tested behaviour changed.",
    "gates": "Local on head 6d25225 after turbo build of @objectstack/lint... under the lock (VERDICT command-exit 0, 97s): dispatch-gates --commands derived 46; 44 exit 0, 2 exit 3 NOT MEASURED (check:dual-build-cjs-loads, check:lean-entry-closure: read every package dist; no package touched, CI runs them). dispatch-gates --ran: 46 accounted, 44 run, 2 NOT-MEASURED. check-skills-token-ratchet: automation SKILL.md 6857 / 6861. check-skill-line-ratchet exit 0. check-governed-merges --branch: GOVERNED, tier H, skills/** x1, +20/-14. dispatch-gates --tier: MANDATORY contract-review tier. CI check-runs: in progress at report time; the seat reads them. Record: /mnt/project-files/pm-orders/skills/32525-gates-ran.txt.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "6 — reads only: issue_read x3 (card, comments x2), pull_request_read get_files (#32515), list_commits (path of the 32526 changeset), plus one ToolSearch load; no MCP write",
    "api_writes": "2 — relay pr_create (PR #33482, no labels, read-back identical 9098 bytes); this os-dev-report comment on #32525 via post-stamped",
    "files_changed": [
    "skills/objectstack-automation/SKILL.md (+5 / -14 lines; 474 to 467)",
    ".changeset/32525-skills-after-save-retry-outbound.md (+15, new)"
    ],
    "line_budget": "SKILL.md 474 to 467 lines, 27462 to 27447 bytes, tokens 6861 to 6857 (ceiling 6861, headroom 4); whole package all skills//SKILL.md 4603 to 4596 lines; no ceiling moved; first wording measured 13 tokens over and was paid by two more restatement cuts",
    "deviations": [
    "dispatch-gates --tier reads MANDATORY contract-review tier for skills/
    with no one-line exit; this card thread ran on the claim's default tier. The seat's in-seat contract review at tier is the owed record.",
    "Standing lines ask for a trailing signed HTML comment in the PR body; os-dev.md bans HTML comments other than the harness attribution line. os-dev.md wins: the signature is a prose line under Fixes #32525.",
    "The card asks the wording to follow PR #32515's final changeset; its no-outbox sentence (durable http falls back inline and the save waits) was superseded by PR #33265 (card #32526). The skill follows main's code and flows.mdx: on the save path sent once in the background, unretried, not waited for.",
    "origin/main moved to b392ff7 after the branch was cut; that commit touches neither changed path. Not merged in."
    ],
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "carrier: none · the subflow / map half of the rule (PR #33265, registered but not armed, unboundCause retried_callout_in_subflow) is not in the skill; that PR ruled Skills-docs: none and the file has 4 tokens of headroom. Noted in the PR Acceptance notes, not filed",
    "carrier: none · the Failure routing note says 'flow-level errorHandling.retry'; the key is errorHandling.strategy 'retry' with maxRetries. Wording only, not a trap class; noted, not filed"
    ]
    }


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

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

    ACCEPT → PR #33482 comment 6885427834 · contract review PASS 6885422381 · held for the maintainer (Tier H; reviewers requested) · 2026-11-14T22:49Z

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

Metadata

Metadata

Labels

documentationdomain:skillspm:dispatchedpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions