Skip to content

service-automation, runtime: a flow whose only holder's package is disabled still fires its trigger and answers the bare doors (execute, getFlow, toggleFlow) while its slot stays armed #33905

Closed

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

Seat ruling (domain:server#5, after an independent Fable review; question raised by PR #33890's dev report 6895152469 on #33748): B, its own card, for area S6. It enforces an existing rule rather than making a new one: PR #33546 already withdraws a disabled package's flows (sole holders included) on the normal path, the code calls armed-while-disabled a degradation, the namespaced address already answers 404, and #28117 ruling A gives "disabled" one meaning (ADR-0150 D3: a disabled package holds no name).

维护者速读

  • 现象:一个流程名只有一个包持有,该包在运行中被停用、而它的槽位仍处于装载状态时(例如重新同步失败),它的触发器照样触发,裸名入口也照样提供它。
  • 改什么:在触发时与引擎裸入口(execute、getFlow、toggleFlow)上,对“注册表持有且已停用的包”的槽位一律不运行;重新启用后无需重新装载即恢复。
  • 风险:收窄;只影响已停用包的流程。补救方法:启用该包。

Conditions (seat ruling, binding)

  1. One PR for the fire-time gate (triggerRun) and the engine's bare entries (execute, getFlow, toggleFlow).
  2. Durable reads stay judged over every holder (ruling 6884403301 amendment 7): slot and run keys, flowDispatchHolder, credentials, history. State that parked-run resume is NOT decided here.
  3. Gate only a slot whose package the registry holds AND has disabled. Package-less and direct engine flows are CONTROLs.
  4. Pins: runtime disable with the slot left armed (no fire), re-enable dispatching with no re-arm, bare door answer = namespaced address answer (404).
  5. Declarations: the door half is Clause-②: yes (narrowing) with !, FROM → TO rows and the remedy "enable the package"; the trigger half alone would be no.
  6. Order: PR fix(service-automation)!: a trigger binding does not dispatch a slot whose package is disabled (ADR-0150 D3) #33890 → this card → service-automation: when one of two packages holding a flow name is disabled, the served package's trigger is never armed (boot) or is re-keyed and stopped (runtime withdraw) #33893, or folded into service-automation: when one of two packages holding a flow name is disabled, the served package's trigger is never armed (boot) or is re-keyed and stopped (runtime withdraw) #33893. PR fix(service-automation)!: a trigger binding does not dispatch a slot whose package is disabled (ADR-0150 D3) #33890's CONTROL text changes to "as on main today"; this card flips that CONTROL.

Verify early: a sole holder's FlowSlotTable slot carries its packageId.

Dedupe words: disabled sole holder flow trigger, single-holder disabled bare door execute getFlow.


Generated by Claude Code

Activity

  1. added
    priority:p2
    pm:queue
    domain:server
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Claim: server area-lease mode (#33751 §2), area S6 lease A5, dispatched by seat domain:server#5 area thread · executed by an os-dev sub-agent (mode:subagent) · posted at 2026-11-15T13:51Z
    Session: session_01QsR2jUZKdq3PK2Sab53cT3
    Account: zhuangjianguo
    Branch: claude/area-A5b-33893
    Worktree: objectstack-issue-33893
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/services/service-automation/src/engine.ts (triggerRun fire-time gate, the bare entries execute / getFlow / toggleFlow), the flow slot table and the flow name resolver in service-automation, the runtime bare automation doors only if a pin needs them (packages/runtime/src/flow-slot-view.ts, packages/runtime/src/domains/automation-address.ts; never runtime/src/domains/automation.ts), their tests, a changeset (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default (no path-derived mandate; dispatch-gates --tier at 1e65a389), effort: high
    Clause-②: yes
    Metadata-protocol: none
    Responsibility: objectstack service-automation + runtime: a sole holder whose package is disabled while its slot stays armed still fires and answers the bare doors | the normal-path withdraw of PR #33546 | any deployment whose disable re-sync fails or is skipped
    Thread-read: none
    Premise: holds
    Serial constraints cleared: fold member of #33893 (lead), stacked on PR #33890 (claude/area-A5b-33748, same file engine.ts); opens after #33890 merges. PR #33721 holds runtime/src/domains/automation.ts, not touched.
    Fold: one PR with #33893, one commit per card, per the seat ruling's order option "or fold it into #33893". Door half Clause-②: yes (narrowing) with !; trigger half alone would be no.


    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Pre-claim check (binding, area-rules.md) · recorded for the claim 6895272573 · 2026-11-15T13:56Z

    Pre-claim lane: server because packages/services/service-automation/src/engine.ts
    Pre-claim deps: PR #33890 (#33748, same file engine.ts, the card says "Lands after PR #33890") is OPEN, so this dep is not yet free.
    Prior rulings read: seat ruling 6884403301 on #33386, amendment 7 ("A disable is reversible and moves no key"), is the rule this card restores. Seat ruling B for the fold member #33905 was given after an independent Fable review. ADR-0150 D3/D4. No ⛔ line conflicts.

    Result: deps not free. No dev is dispatched until PR #33890 merges; the claim stands. Same for the fold member #33905.


    Generated by Claude Code

  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Pre-claim check, re-run under the 14:45Z rule (same-series cards may start on the prior card's branch; queue only on a real textual overlap) · for claims 6895272573 (#33893) and 6895319683 (#33905) · 2026-11-15T14:54Z

    Pre-claim lane: server because packages/services/service-automation/src/engine.ts
    Pre-claim deps: PR #33890 (#33748) passed review-c at head 560f410d and is armed (ACCEPT 6896413149). This fold is the same series and starts on its branch claude/area-A5b-33748 instead of waiting for the merge; the PR opens on main once #33890 merges. No other open PR edits engine.ts's flow slot surface.
    Prior rulings read: seat ruling 6884403301 on #33386, amendment 7 ("A disable is reversible and moves no key"); seat ruling B for #33905 (card body, after an independent Fable review); #28117 ruling A; ADR-0150 D3/D4; PR #33546. No ⛔ line conflicts.

    Result: passes. An os-dev sub-agent is dispatched now on claude/area-A5b-33893, one commit per card.


    Generated by Claude Code

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

Metadata

Metadata

Assignees

Labels

domain:serverpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions