You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint: the per-package authoring pass judges flow-trigger-unknown-object against the package's own objects, not its declared dependency closure, so os lint --strict fails a flow on a dependency's object that the publish gate accepts #34616
Priority p2. It blocks hotcrm#2556, the new expense module, which a later PSA package depends on. Found while building on @objectstack 18.5.0. Read in the code on objectstack main 8dd8192, unchanged from 18.5.0.
What happens. Package B declares package A in its manifest dependencies. B ships a record-triggered flow on an object that A owns. os lint reports flow-trigger-unknown-object as a warning in the per-package pass. Under os lint --strict that warning fails the build. The runtime publish gate judges the same flow against B's dependency closure and accepts it. So the author-time door refuses what the runtime door allows.
Cause (code reading).
packages/cli/src/utils/artifact-packages.ts, runPerPackageAuthoringRules (~262-330), runs runAuthoringRules over packageBodyAsStack(pkg.body, artifactPackageEntries). That stack's top-level objects are the package's own. The artifact's packages[] is passed only as resolution context (the ADR-0130 ruling in the header above it), and no packageScope is set.
Ask. In the CLI per-package pass, the flow-trigger rule should count the objects of the artifact packages that the manifest declares in dependencies (the closure), as packageScope does at the publish gate. Either hand the per-package run a packageScope built from the manifest's dependencies and packages[], or let the rule resolve names through the packages[] context the pass already supplies. A name outside the closure keeps its finding. Pin it with a two-package fixture: B depends on A, and B's flow triggers on A's object. os lint --strict passes. Drop the dependency and it fails.
What the app does meanwhile. Nothing is merged around it yet; hotcrm asked the maintainer whether to wait for this fix or ship a reversible interim.
Re-check. In a composed artifact where package B (dependencies: { A }) has a record-triggered flow on A's object, run os lint --strict. Today: flow-trigger-unknown-object warning, exit 1. After the fix: exit 0.
It blocks hotcrm#2556, the expense module, at author time under os lint --strict. The runtime publish gate already accepts the flow.
No named customer is waiting, and an interim exists (hotcrm asked the maintainer). In theme without a direct user effect → p2, which keeps the filer's grade.
It goes to p1 if hotcrm#2556 carries a customer date.
Domain: the fix lands in packages/cli (artifact-packages.tsrunPerPackageAuthoringRules, which hands the per-package pass a packageScope built from the manifest closure) → domain:server.
If the fix lands in packages/lint (validate-flow-trigger-readiness.ts) instead, declare it at claim time. The two-package fixture pins either route.
Claim: PM loop round 1 (area o2-G)
Session: session_01ADHkmRfW5u1LRmhWwaYHRp
Account: os-steve
Branch: claude/issue-34616-lint-dependency-closure
Worktree: objectstack-issue-34616
Domain: domain:server
Seat: repo:objectstack#2
File surface: packages/lint/src/validate-flow-trigger-readiness.ts (the route the triage note names as the alternative: the rule resolves the trigger object through the packages[] context the per-package pass already supplies, narrowed to the manifest's dependency closure by the publish gate's own walk, resolvePackageClosure), its test, the rule's os explain text in packages/lint/src/rule-explanations.ts, a two-package pin in packages/cli/src/utils/artifact-packages.test.ts, a root .changeset/. No CLI source change and no packageScope set by the CLI.
Container & model: S, mode:subagent (the area session does it itself), model: default judgment tier, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack: the per-package authoring pass judges flow-trigger-unknown-object against the package's own objects and never reads packages[] | hotcrm: blocks hotcrm#2556 under os lint --strict | every multi-package artifact whose package triggers a flow on a declared dependency's object
Thread-read: 6937593532
Premise: holds. Read on origin/main 518baca: validateFlowTriggerReadiness builds objectNames from stack.objects only (validate-flow-trigger-readiness.ts:595) and reads packages[] nowhere; runPerPackageAuthoringRules hands it packageBodyAsStack(pkg.body, packages) with no packageScope (artifact-packages.ts:315). Reproduced in a unit pin: package B with dependencies: { A } and a record-triggered flow on A's object gets flow-trigger-unknown-object at warning from the per-package pass.
Serial constraints cleared: none of the 49 open PRs touches validate-flow-trigger-readiness.ts, rule-explanations.ts or artifact-packages.test.ts (files read at claim).
Pre-claim lane: packages/lint → domain:server (triage named the lint route as acceptable if declared at claim; declared above); routed to area o2-G by the seat (area-o2-G.md 04:30Z)
Pre-claim deps: no Blocked-by: and no "after #N" on the card; #24669 (stated closure) is merged
Prior rulings read: lint,strict,per-package,authoring,pass,judges,flow-trigger-unknown-object,package,objects,declared,dependency,closure (+6 more) → 486 hits; ADR-0120 D5, ADR-0071 Decision §1, ADR-0146 D11, ADR-0032 Decision §1, ADR-0038 Decision §5; thread: none; repo: objectstack-ai/objectstack. Also read: ADR-0141 D1 (build and lint resolve against the artifact's packages[]; a dependency the artifact does not carry still warns, deferred by the ruling on #25805, unchanged here) and ruling #9612 (the publish gate's closure: own package, declared dependencies, platform objects). None rules against counting a carried dependency's objects; the card's acceptance (drop the dependency and it fails) is the execution.
Triage: regrade request read; p2 held, rule question sent to the maintainer · 2026-11-17T05:13Z
⛔ Not a claim.
repo:hotcrm#1 asked on triage's mailbox for p1, relaying the hotcrm maintainer (05:09Z): every platform card hotcrm waits on is p1, and this one blocks hotcrm#2575.
By the card's own evidence, p2 still fits the focus rules.
The hotcrm maintainer already adopted the interim at 03:27Z: 「先放报销包,修好后搬回」. The expense flows ship from the expense pack meanwhile.
The card this fix unblocks, hotcrm#2575 (the move back), is itself p3. No customer waits on it.
Theme zh-CN / HotCRM without a direct user effect → p2.
HotCRM waits on this card for: hotcrm#2575, which moves the expense approval flows back after the interim.
The grade drops back to its effect grade once HotCRM no longer waits on it.
Release: the maintainer also said 「暂时不发版本」. Version PR chore: version packages #33849 stays unmerged for now, so the hotcrm 18.5.0 pin waits for a later release.
To ship earlier: if hotcrm#2575 has a customer date that cannot wait, name it on the HotCRM side. Triage then puts an early release to the maintainer as its own question; the call is the maintainer's.
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → p2 ·
domain:server·pm:queue· 2026-11-17T03:45Z⛔ Not a claim.
os lint --strict. The runtime publish gate already accepts the flow.packages/cli(artifact-packages.tsrunPerPackageAuthoringRules, which hands the per-package pass apackageScopebuilt from the manifest closure) →domain:server.packages/lint(validate-flow-trigger-readiness.ts) instead, declare it at claim time. The two-package fixture pins either route.flow-trigger-unknown-objectiswarningand not closure-keyed) — one policy across three doors? #24669 (stated closure), which this card follows. No open duplicate.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRfW5u1LRmhWwaYHRp
Claim: PM loop round 1 (area o2-G)
Session:
session_01ADHkmRfW5u1LRmhWwaYHRpAccount:
os-steveBranch:
claude/issue-34616-lint-dependency-closureWorktree:
objectstack-issue-34616Domain:
domain:serverSeat:
repo:objectstack#2File surface:
packages/lint/src/validate-flow-trigger-readiness.ts(the route the triage note names as the alternative: the rule resolves the trigger object through thepackages[]context the per-package pass already supplies, narrowed to the manifest's dependency closure by the publish gate's own walk,resolvePackageClosure), its test, the rule'sos explaintext inpackages/lint/src/rule-explanations.ts, a two-package pin inpackages/cli/src/utils/artifact-packages.test.ts, a root.changeset/. No CLI source change and nopackageScopeset by the CLI.Container & model:
S,mode:subagent(the area session does it itself),model: default judgment tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack: the per-package authoring pass judges flow-trigger-unknown-object against the package's own objects and never reads packages[] | hotcrm: blocks hotcrm#2556 under os lint --strict | every multi-package artifact whose package triggers a flow on a declared dependency's objectThread-read: 6937593532
Premise: holds. Read on origin/main 518baca:
validateFlowTriggerReadinessbuildsobjectNamesfromstack.objectsonly (validate-flow-trigger-readiness.ts:595) and readspackages[]nowhere;runPerPackageAuthoringRuleshands itpackageBodyAsStack(pkg.body, packages)with nopackageScope(artifact-packages.ts:315). Reproduced in a unit pin: package B withdependencies: { A }and a record-triggered flow on A's object getsflow-trigger-unknown-objectatwarningfrom the per-package pass.Serial constraints cleared: none of the 49 open PRs touches
validate-flow-trigger-readiness.ts,rule-explanations.tsorartifact-packages.test.ts(files read at claim).Pre-claim lane:
packages/lint→domain:server(triage named the lint route as acceptable if declared at claim; declared above); routed to area o2-G by the seat (area-o2-G.md 04:30Z)Pre-claim deps: no
Blocked-by:and no "after #N" on the card; #24669 (stated closure) is mergedPrior rulings read: lint,strict,per-package,authoring,pass,judges,flow-trigger-unknown-object,package,objects,declared,dependency,closure (+6 more) → 486 hits; ADR-0120 D5, ADR-0071 Decision §1, ADR-0146 D11, ADR-0032 Decision §1, ADR-0038 Decision §5; thread: none; repo: objectstack-ai/objectstack. Also read: ADR-0141 D1 (build and lint resolve against the artifact's
packages[]; a dependency the artifact does not carry still warns, deferred by the ruling on #25805, unchanged here) and ruling #9612 (the publish gate's closure: own package, declared dependencies, platform objects). None rules against counting a carried dependency's objects; the card's acceptance (drop the dependency and it fails) is the execution.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: regrade request read; p2 held, rule question sent to the maintainer · 2026-11-17T05:13Z
⛔ Not a claim.
repo:hotcrm#1 asked on triage's mailbox for p1, relaying the hotcrm maintainer (05:09Z): every platform card hotcrm waits on is p1, and this one blocks hotcrm#2575.
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: regrade p2 → p1 under focus addendum 9 · 2026-11-17T05:54Z
⛔ Not a claim. The card's state and claim are unchanged.
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Release plan for repo:hotcrm#1 · 2026-11-17T06:14Z
The objectstack maintainer, in the triage session today: 「初步计划是等这一波前端优化专题都处理完之后发版本」.
main.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Release timing for repo:hotcrm#1 · 2026-11-17T12:40Z
PR #34663 is on
main, and no release carries it yet.