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
service-analytics: /analytics/query serves a disabled package's objects (counts, sums, grouped field values, hops) while the data route answers 404 OBJECT_PACKAGE_DISABLED #35525
Filing gate ①: escalated by L1-a ACCEPT 7007008749 on PR #35444 (out of scope: "measure service-analytics' isRegisteredObject gate; file a card under #35427 if it serves"). Measured by area pkg-2 on origin/main 609b675.
Real kernel (MetadataPlugin + ObjectQLPlugin + SqlDriver, in-memory SQLite, AnalyticsServicePlugin with one authored cube) via HttpDispatcher. Caller isSystem, with an allow-all security stub (without one, every field-reading query fails closed 503). Package B owns beta_obj; package A's alpha_obj has lookup b_ref → beta_obj. Results with B disabled:
GET /api/v1/data/beta_obj → 404OBJECT_PACKAGE_DISABLED (as designed).
POST /api/v1/analytics/query with authored cube beta_cube, count + sum(amount) → 200cnt=1 total=42, identical to the enabled state.
Same, with dimension secret_note → 200, and the field value comes back as a group key.
Inferred cube beta_obj, beta_obj.count plus dimension beta_obj.secret_note → 200 with the value.
A hop from enabled alpha_obj (authored b_ref.secret_note, inferred alpha_obj.b_ref.secret_note) → 200 with the value. The hop joins the disabled object.
GET /api/v1/analytics/meta still lists beta_cube and its members.
CONTROL: re-enabling B leaves every analytics answer the same and restores the data route's 200.
Seam
packages/services/service-analytics/src/plugin.ts:1631isRegisteredObject (= engine.getObject?.(name) != null) feeds assertInferableCube (analytics-service.ts:4945-4962) and the join existence check (:3415). getObjectDeclaration (plugin.ts:1657) feeds api-exposure-door.ts:281/314apiExposureDenialReason, which asks declared exposure only. Nothing in service-analytics/src asks isObjectPackageDisabled. The fix is to ask the registry's disabled-package predicate (the one the data route uses through isObjectOfDisabledPackage) for every object in a query's read set: base, declared joins and hops. A disabled object is refused with OBJECT_PACKAGE_DISABLED. A registry that cannot answer hides nothing, as on the data route. /analytics/meta listing is in scope to decide.
Permissions: analytics resolves read scopes through the security service per object (resolveReadScopes / assertReadAdmitted), so this is a disable not being honoured, the same class as #35195 and #35427, not a permission breach. Caller-level permissions were not measured here.
Related: #35427 (parent: $expand / relation condition, PR #35444), #35195 (search door, merged), #34900 (in-process, ruled served by 6545646924).
Suggested-grade: p2 (same class as #35195 / #35427).
Triage: lands in domain:server · pm:queue; rationale: area:package · Bug · Severe·data wrong (/analytics/query still counts, sums and groups a disabled package's objects while the data route refuses them) · members of environments with a disabled package, rare → p2 as set (security table: an ordinary member reads data the platform says is hidden, but only their own tenant's).
Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.
2026-11-21T22:36Z · p2 → p1 on the maintainer's word: access possibly widened: analytics still counts and groups a disabled package's objects. security#2 is asked to confirm the grade. Lane and state unchanged.
Claim: PM loop · area a4-C, routed by the seat (area-a4-C.md "New p1 batch" section) · 2026-11-22T02:27Z
Session: session_01FEkQ5miLqNucRZevceHwNh
Account: os-project-manager
Branch: claude/issue-35525-analytics-disabled-package
Worktree: objectstack-issue-35525
Domain: domain:server
Seat: repo:objectstack#4
Area: a4-C
File surface: packages/services/service-analytics/src/** (the isRegisteredObject / getObjectDeclaration seams in plugin.ts, assertInferableCube and the join existence check in analytics-service.ts, the /analytics/meta listing), its tests, one changeset; packages/rest/src/analytics-* only if the 404 needs an envelope arm
Container & model: S/M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)
Clause-②: no (narrowing) — POST /api/v1/analytics/query (authored and inferred cubes, dimensions, hops) newly answers 404 OBJECT_PACKAGE_DISABLED for an object of a disabled package, which it answers 200 with data today; the data route already refuses the same object
Metadata-protocol: none
Responsibility: service-analytics (objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route's assertObjectRegistered / isObjectOfDisabledPackage (#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)
Pre-claim lane: domain:server, by path (packages/services/service-analytics/src/plugin.ts, analytics-service.ts); no ui/** or packages/spec/** path
Pre-claim deps: none named; #35427 / PR #35444 merged (the predicate's precedent); sibling #35526 (runtime callData aggregate arm) is claimed separately in a4-C on its own branch, not folded (fold gate ②: different package); open-PR scan (45 open) on the analytics seams: no hits
Prior rulings read: check-prior-rulings --card 35525 over plugin.ts, analytics-service.ts, api-exposure-door.ts (53 hit lines, owed line by line to the dev); card refs at state: #35444 merged, #35427 / #35195 / #34900 closed; the #35526 open point (system identity) is that card's, and the data route this card copies refuses system callers too (#35427)
Thread-read: 7070301473
Premise: holds — on main 48c732c nothing in service-analytics/src asks isObjectPackageDisabled (grep)
Serial constraints cleared: none
Handover to repo:objectstack#7 · 2026-11-22T06:41Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767
Claim: PM loop round 3 (handover from repo:objectstack#4)
Session: session_01QsR2jTeURPvEm465RcoYEC
Account: zhuangjianguo
Branch: claude/issue-35525-analytics-disabled-package
Worktree: objectstack-issue-35525
Domain: domain:server
Seat: repo:objectstack#7
Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
File surface: packages/services/service-analytics/src/** (the isRegisteredObject / getObjectDeclaration seams in plugin.ts, assertInferableCube and the join existence check in analytics-service.ts, the /analytics/meta listing), its tests, one changeset; packages/rest/src/analytics-* only if the 404 needs an envelope arm
Container & model: S/M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)
Clause-②: no (narrowing) — POST /api/v1/analytics/query (authored and inferred cubes, dimensions, hops) newly answers 404 OBJECT_PACKAGE_DISABLED for an object of a disabled package, which it answers 200 with data today; the data route already refuses the same object
Metadata-protocol: none
Responsibility: service-analytics (objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route's assertObjectRegistered / isObjectOfDisabledPackage (#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)
Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
Pre-claim deps: none open (read on the card at the release).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35525 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
Resume-from: claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767
{
"issue": 35525,
"status": "done",
"branch": "claude/issue-35525-analytics-disabled-package",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36319",
"head_sha": "48a0790d399632049495774630e677730fbd2767",
"session": "session_01QsR2jTeURPvEm465RcoYEC",
"premise_still_valid": true,
"summary": "Resume round on seat 4's finished code. The head is unchanged at 48a0790d39 and is declared final; this round made no commit and no push. Remote head = the Resume-from sha. The full dogfood battery was re-run at that head, and the 98 derived gate families were re-run and reconciled with --ran. Clause-② is settled as `no (narrowing)`: no door accepts more and no export, key or route is added (OBJECT_PACKAGE_DISABLED was already registered), while analytics queries that answered 200 now answer 404 and getMeta lists fewer cubes. Metadata-protocol is `none`, so the changeset is patch with its BREAKING banner and ADR-0087 not-required marker. The PR body and the changeset body both carry the two lines. The PR body was patched through the relay: attribution header, a re-measured Verification section, the 速读 last line set to 无, and seat 7's signed trailer. Seat 4's text is kept where still true. origin/main moved under the branch (#36134 touched error-code-ledger.zod.ts), but GitHub reports mergeable/clean and overlap-check is VERDICT clean against 7b9e229b02, so main was not merged (AGENTS.md multi-agent §10: no conflict, no main-caused red).",
"tests": "No code change this round. Package suite and typecheck not re-run, since the head is unchanged: seat 4's readings at 48a0790d39 stand (Test Files 224 passed (224), Tests 5727 passed | 345 skipped; typecheck exit 0), and CI Test Core 10/10 and TypeScript Type Check are success at this head. Build: os-verify-lock -c 'pnpm --workspace-concurrency=2 --filter @objectstack/dogfood^... build' gave VERDICT command-exit 0, held 677s. No ablation this round, because no tested behaviour changed (seat 4's two ablations are in the PR body).",
"gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack at 48a0790d derived 98 commands from 6 paths vs merge base a5a5312ff. Each exit was captured before any pipe. The 96 run exit 0. NOT MEASURED: check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET: 11 packages outside the dogfood closure have no local dist) and check:type-check-debt exit 3 (its re-measure build hit VERDICT queue-timeout exit 99 on the shared lock behind a full dogfood battery). --ran reconciliation: '98 derived, 96 run, 2 NOT-MEASURED, 0 UNRUN', and all 98 recorded an exit code. Derivation warning: the tree is 39 commits behind origin/main, with 6 scripts/pm family files changed (governed-merges, queue-guard, half-states, owed-reviews, skill-line-ratchet, fleet-write/execute); none selects on these paths. overlap-check --branch: VERDICT clean exit 0 twice (vs d8599c2ca2 plus #36134, then vs 7b9e229b02). check-closing-keyword-parity --body: binds only 'Fixes #35525'. PR check-runs at 48a0790d, not re-run locally, all success: Lint & Repo Gates, TypeScript Type Check, Test Core (1-10/10), Build Core, Governed Surface Queue Guard, Check Changeset, Type Check UI, Test UI (1-16/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate. Skipped on a PR run: Lint UI and the Dogfood Regression Gate shard matrix.",
"dogfood_battery": "48a0790d39 · os-verify-lock VERDICT command-exit 1 (held 3361s, waited 500s after earlier 99s on slot s7-35525) · Test Files 1 failed | 483 passed | 3 skipped (487) · Tests 1 failed | 4106 passed | 68 skipped (4175) · failure: test/rollup-grouped-recompute-33795.test.ts 'a bulk update costs one aggregate per summary field and one write per parent' (sqlite), Test timed out in 5000ms (6857ms), load average about 10, import 4032s in a 3356s wall; an objectql/metadata-protocol roll-up path that never reaches analytics. Seat 4's run at the same head failed a different case on the same 5000ms timeout (seed-external-id-refusal), and that file is not among this run's failures. Single-file re-run NOT MEASURED: the lock went straight to another agent's full battery. The queue's Dogfood Regression Gate shards are the reading of record; landing-operations --land needs this report's dogfood pinned to the head, which it is, red on one timeout.",
"line_budget": "n/a — no skills/** path in the diff",
"files_changed": [
".changeset/35525-analytics-disabled-package.md",
"packages/services/service-analytics/src/__tests__/disabled-package-refusal-35525.test.ts",
"packages/services/service-analytics/src/analytics-service.ts",
"packages/services/service-analytics/src/api-exposure-door.ts",
"packages/services/service-analytics/src/plugin.ts",
"packages/spec/src/api/error-code-ledger.zod.ts"
],
"deviations": [
"This round added no files; all 6 are seat 4's. packages/spec/src/api/error-code-ledger.zod.ts (a provenance row) is outside the claim's file surface, both seat 4's claim and seat 7's re-post. Seat 4's dev flagged it, and it stays open (open_questions).",
"Package test and typecheck not re-run locally (head unchanged); four lock attempts timed out with exit 99 behind another agent's full battery. I dropped them in favour of the owed battery and named CI's readings at this head instead.",
"Gate derivation ran on a tree 39 commits behind origin/main (warning quoted in gates), because the branch was deliberately not merged.",
"Dogfood single-file re-run of the timed-out case NOT MEASURED (lock contention)."
],
"writes": "2 relay strokes. fleet-write issue_patch on PR #36319 (PATCH /repos/objectstack-ai/objectstack/issues/36319, body; read-back 13726 bytes sent = stored, run 45009586708 success). post-stamped os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/35525/comments). No git push (no new commit).",
"mcp_calls": "0",
"api_writes": "2 — PATCH /repos/objectstack-ai/objectstack/issues/36319 (relay issue_patch); POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)",
"open_questions": [
{
"question": "The claim's file surface does not include packages/spec/src/api/error-code-ledger.zod.ts. The PR adds an OBJECT_PACKAGE_DISABLED provenance row there under @objectstack/service-analytics, because check:error-code-provenance requires one for the new stamp site. The registered code set is unchanged. Does the seat accept it inside this PR?",
"options": [
"A: accept it as a provenance row, not a ledger contract decision, and amend the claim's surface. Cost: one claim amendment, no code change. The file already carries many 'provenance, not identity' rows, and OBJECT_API_DISABLED (#22634) set the precedent.",
"B: treat it as a ledger contract change and send it for a decision. Cost: the PR cannot land without the row, because check:error-code-provenance goes red, so the card waits on the decision."
],
"recommendation": "A, because the row adds no code, changes no status or wire shape, and copies an existing provenance precedent in the same package block."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — dogfood rollup-grouped-recompute-33795 bulk-update case timed out at 5000ms once under a 56-minute shared-box battery (the file took 36.9s), and a different case timed out in seat 4's run at the same head; no class a/b/c evidence and not reproduced.",
"carrier: #35526 · the system-identity half of the sibling callData aggregate arm stays on that card; this PR refuses system callers on the analytics doors, matching the data route."
],
"owed_after": "L1 (seat) at head 48a0790d39; L2 contract-tier review of the narrowing (seat routes); no governed path in the diff."
}
Claim: PM loop round 3 (handover from repo:objectstack#4; amended: file surface adds one provenance row in packages/spec/src/api/error-code-ledger.zod.ts)
Session: session_01QsR2jTeURPvEm465RcoYEC
Account: zhuangjianguo
Branch: claude/issue-35525-analytics-disabled-package
Worktree: objectstack-issue-35525
Domain: domain:server
Seat: repo:objectstack#7
Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
File surface: packages/services/service-analytics/src/** (the isRegisteredObject / getObjectDeclaration seams in plugin.ts, assertInferableCube and the join existence check in analytics-service.ts, the /analytics/meta listing), its tests, one changeset; packages/rest/src/analytics-* only if the 404 needs an envelope arm; one OBJECT_PACKAGE_DISABLED provenance row under @objectstack/service-analytics in packages/spec/src/api/error-code-ledger.zod.ts (registered code set unchanged; check:error-code-provenance requires it for the new stamp site; precedent OBJECT_API_DISABLED, #22634)
Container & model: S/M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)
Clause-②: no (narrowing) — POST /api/v1/analytics/query (authored and inferred cubes, dimensions, hops) newly answers 404 OBJECT_PACKAGE_DISABLED for an object of a disabled package, which it answers 200 with data today; the data route already refuses the same object
Metadata-protocol: none
Responsibility: service-analytics (objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route's assertObjectRegistered / isObjectOfDisabledPackage (#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)
Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
Pre-claim deps: none open (read on the card at the release).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35525 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
Resume-from: claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767
{
"issue": 35525,
"status": "done",
"branch": "claude/issue-35525-analytics-disabled-package",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36319",
"head_sha": "19f4b46771068bc659e9695f2718c8f4f58f8628",
"session": "session_01QsR2jTeURPvEm465RcoYEC",
"premise_still_valid": true,
"summary": "Rework round for L2 PASS 7077630521 S1/E1 and L1-d REWORK 7077687524. I confirmed the premise: packages/services/service-analytics/src/index.ts:5 exports AnalyticsServiceConfig, which gains the optional key isObjectPackageDisabled. One commit, 19f4b46771, edits only .changeset/35525-analytics-disabled-package.md. The declaration line now reads 'Clause-②: yes (narrowing) — the exported AnalyticsServiceConfig (@objectstack/service-analytics root) gains the optional key isObjectPackageDisabled, and the analytics doors newly answer 404 OBJECT_PACKAGE_DISABLED …'. A new sentence says a host that constructs AnalyticsService by hand must wire isObjectPackageDisabled (for example registryObjectPackageDisabled(engine.registry) from @objectstack/core), or its doors stay ungated. Metadata-protocol stays none, and the level stays patch. The PR body was updated through the relay: the same Clause-② line, the settlement bullet rewritten to yes (narrowing), the stale 'no export, key or route is added' prose removed, and the ledger bullet now says the diff touches a published schema path (packages/spec/src/api/error-code-ledger.zod.ts, accepted by claim amendment 7077471527). The final head is declared as 19f4b46771. Main was not merged: overlap-check is VERDICT clean against 674f877841 and GitHub reported mergeable/clean.",
"tests": "No code change (the commit edits only the changeset). Code readings carried from 48a0790d39, the same code: package suite 224/224 files, typecheck exit 0, CI Test Core and TypeScript Type Check success there.",
"gates": "At 19f4b46771: dispatch-gates --commands --repo objectstack-ai/objectstack derived the same 98 commands as at 48a0790d (diff of the two lists empty). I re-ran the 32 that can read a changeset or PR text: all 26 'node scripts/…' families (incl. check-adr-0087-registration --base origin/main, check-changeset-no-major --base origin/main, check-empty-changeset --base origin/main, check-closing-keyword-parity) plus pnpm check:changeset-gate-self-tests, check:issue-citations, check:doc-authoring, check:closed-ceremony-text, check:merge-driver and check:nul-bytes. Every exit was captured before any pipe, and all are 0. --ran: '98 derived, 32 run, 66 NOT-MEASURED, 0 UNRUN'. The 66 are claimed with a reason (not re-run on a changeset-only commit; run at 48a0790d, where 96 of 98 were exit 0 and 2 NOT MEASURED locally, with CI success). Stale-tree warning: 68 commits behind origin/main, 8 family files changed. overlap-check VERDICT clean exit 0 against 674f877841. check-closing-keyword-parity --body on the new PR body binds only 'Fixes #35525'. PR check-runs at 19f4b46771: queued or in_progress at report time, not read as green; CI Check Changeset is the reading of record for the new Clause-② line.",
"dogfood_battery": "NOT re-run at 19f4b46771: its only change is to the changeset, which no test reads. Carried from 48a0790d39 (same code): VERDICT command-exit 1, held 3361s, Test Files 1 failed | 483 passed | 3 skipped (487), Tests 1 failed | 4106 passed | 68 skipped (4175). The one failure was rollup-grouped-recompute-33795 'a bulk update costs one aggregate per summary field and one write per parent', Test timed out in 5000ms, unrelated to analytics. ⚠ landing-operations --land asks for a dogfood pinned to the head, so the seat either accepts the carry for a changeset-only commit or orders a run at 19f4b46771.",
"line_budget": "n/a — no skills/** path in the diff",
"files_changed": [
".changeset/35525-analytics-disabled-package.md"
],
"deviations": [
"Dogfood battery not re-run at the new head (changeset-only commit; carried from 48a0790d39 and flagged for --land).",
"66 of 98 derived families carried from 48a0790d39, not re-run at 19f4b46771 (declared NOT-MEASURED with reason in the --ran record)."
],
"writes": "3. git push of 48a0790d..19f4b467 (not a REST write). fleet-write issue_patch on PR #36319 (PATCH /repos/objectstack-ai/objectstack/issues/36319, read-back 15084 bytes sent = stored, run 45012963174 success). post-stamped os-dev-report comment on #35525.",
"mcp_calls": "0",
"api_writes": "2 — PATCH /repos/objectstack-ai/objectstack/issues/36319 (relay issue_patch); POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"owed_after": "L1 re-read at 19f4b46771; CI convergence on the new head. The diff touches packages/spec/src/api/error-code-ledger.zod.ts, a published schema path."
}
Claim: PM loop round 3 (handover from repo:objectstack#4; amended: Clause-② reads yes (narrowing) — the exported AnalyticsServiceConfig gains a key; L2 7077630521 S1)
Session: session_01QsR2jTeURPvEm465RcoYEC
Account: zhuangjianguo
Branch: claude/issue-35525-analytics-disabled-package
Worktree: objectstack-issue-35525
Domain: domain:server
Seat: repo:objectstack#7
Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
File surface: packages/services/service-analytics/src/** (the isRegisteredObject / getObjectDeclaration seams in plugin.ts, assertInferableCube and the join existence check in analytics-service.ts, the /analytics/meta listing), its tests, one changeset; packages/rest/src/analytics-* only if the 404 needs an envelope arm; one OBJECT_PACKAGE_DISABLED provenance row under @objectstack/service-analytics in packages/spec/src/api/error-code-ledger.zod.ts (registered code set unchanged; check:error-code-provenance requires it for the new stamp site; precedent OBJECT_API_DISABLED, #22634)
Container & model: S/M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)
Clause-②: yes (narrowing) — the exported AnalyticsServiceConfig (@objectstack/service-analytics root) gains the optional key isObjectPackageDisabled, and POST /api/v1/analytics/query (authored and inferred cubes, dimensions, hops) newly answers 404 OBJECT_PACKAGE_DISABLED for an object of a disabled package, which it answers 200 with data today; the data route already refuses the same object
Metadata-protocol: none
Responsibility: service-analytics (objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route's assertObjectRegistered / isObjectOfDisabledPackage (#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)
Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
Pre-claim deps: none open (read on the card at the release).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35525 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
Resume-from: claude/issue-35525-analytics-disabled-package@19f4b46771068bc659e9695f2718c8f4f58f8628
{
"issue": 35525,
"status": "done",
"branch": "claude/issue-35525-analytics-disabled-package",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36319",
"head_sha": "19f4b46771068bc659e9695f2718c8f4f58f8628",
"session": "session_01QsR2jTeURPvEm465RcoYEC",
"premise_still_valid": true,
"summary": "I ran the full dogfood battery at the landing head 19f4b46771 (same command as before), with no code change. The run took the seven red cases described in dogfood_battery. Every one is a 5000ms test timeout or a 10000ms hook timeout on a shared box at load average 9 to 11, and none is in service-analytics. The commit from 48a0790d39 to 19f4b46771 edits only the changeset. At 48a0790d39 the same battery had one timeout, a different case.",
"dogfood_battery": "19f4b46771 · os-verify-lock -c \"pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test\" · VERDICT command-exit 1 · held 5051s (1h24m), waited 349s · Test Files 7 failed | 477 passed | 3 skipped (487) · Tests 7 failed | 4094 passed | 74 skipped (4175) · Duration 4571s, import 5411s inside the wall, load average 9 to 11. Failures: seven 'Test timed out in 5000ms' plus one 'Hook timed out in 10000ms', in activity-withheld-row-predicate, activity-withheld-update, approval-flow-name-per-namespace (2 cases), external-import-code-datasource-namespace, showcase-mcp-describe-object-field-mask, sys-file-metadata-write-refusal and view-container-cross-package-default (.dogfood.test.ts). None reaches service-analytics. The 48a0790d39 run of the same code failed one case, a different one (rollup-grouped-recompute-33795), on the same timeout. Single-file re-run of the 7 files NOT MEASURED: the lock queue held a cli build and then another agent's full battery (about 90 minutes or more), so the lock did not allow it.",
"writes": "1 — post-stamped os-dev-report comment on #35525 (POST /repos/objectstack-ai/objectstack/issues/35525/comments). No push, no PR edit.",
"api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)",
"mcp_calls": "0",
"files_changed": [],
"deviations": [
"Single-file re-run of the timed-out files NOT MEASURED (lock queue: a cli build, then a full battery)."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — 7 dogfood cases timed out at 5000ms/10000ms under one 84-minute shared-box battery at load average about 11; none reproduced, no class a/b/c evidence."
]
}
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server·pm:queue; rationale: area:package · Bug · Severe·data wrong (/analytics/querystill counts, sums and groups a disabled package's objects while the data route refuses them) · members of environments with a disabled package, rare → p2 as set (security table: an ordinary member reads data the platform says is hidden, but only their own tenant's).objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.
2026-11-21T22:36Z · p2 → p1 on the maintainer's word: access possibly widened: analytics still counts and groups a disabled package's objects. security#2 is asked to confirm the grade. Lane and state unchanged.
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh
Claim: PM loop · area a4-C, routed by the seat (area-a4-C.md "New p1 batch" section) · 2026-11-22T02:27Z
Session:
session_01FEkQ5miLqNucRZevceHwNhAccount:
os-project-managerBranch:
claude/issue-35525-analytics-disabled-packageWorktree:
objectstack-issue-35525Domain:
domain:serverSeat:
repo:objectstack#4Area: a4-C
File surface:
packages/services/service-analytics/src/**(theisRegisteredObject/getObjectDeclarationseams inplugin.ts,assertInferableCubeand the join existence check inanalytics-service.ts, the/analytics/metalisting), its tests, one changeset;packages/rest/src/analytics-*only if the 404 needs an envelope armContainer & model: S/M,
mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)Clause-②: no (narrowing) —
POST /api/v1/analytics/query(authored and inferred cubes, dimensions, hops) newly answers 404OBJECT_PACKAGE_DISABLEDfor an object of a disabled package, which it answers 200 with data today; the data route already refuses the same objectMetadata-protocol: none
Responsibility:
service-analytics(objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route'sassertObjectRegistered/isObjectOfDisabledPackage(#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)Pre-claim lane:
domain:server, by path (packages/services/service-analytics/src/plugin.ts,analytics-service.ts); noui/**orpackages/spec/**pathPre-claim deps: none named; #35427 / PR #35444 merged (the predicate's precedent); sibling #35526 (runtime
callDataaggregate arm) is claimed separately in a4-C on its own branch, not folded (fold gate ②: different package); open-PR scan (45 open) on the analytics seams: no hitsPrior rulings read:
check-prior-rulings --card 35525overplugin.ts,analytics-service.ts,api-exposure-door.ts(53 hit lines, owed line by line to the dev); card refs at state: #35444 merged, #35427 / #35195 / #34900 closed; the #35526 open point (system identity) is that card's, and the data route this card copies refuses system callers too (#35427)Thread-read: 7070301473
Premise: holds — on main 48c732c nothing in
service-analytics/srcasksisObjectPackageDisabled(grep)Serial constraints cleared: none
2 remaining items
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv
Handover to repo:objectstack#7 · 2026-11-22T06:41Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 3 (handover from repo:objectstack#4)
Session:
session_01QsR2jTeURPvEm465RcoYECAccount:
zhuangjianguoBranch:
claude/issue-35525-analytics-disabled-packageWorktree:
objectstack-issue-35525Domain:
domain:serverSeat:
repo:objectstack#7Area:
f7-seat(seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)File surface:
packages/services/service-analytics/src/**(theisRegisteredObject/getObjectDeclarationseams inplugin.ts,assertInferableCubeand the join existence check inanalytics-service.ts, the/analytics/metalisting), its tests, one changeset;packages/rest/src/analytics-*only if the 404 needs an envelope armContainer & model: S/M,
mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)Clause-②: no (narrowing) —
POST /api/v1/analytics/query(authored and inferred cubes, dimensions, hops) newly answers 404OBJECT_PACKAGE_DISABLEDfor an object of a disabled package, which it answers 200 with data today; the data route already refuses the same objectMetadata-protocol: none
Responsibility:
service-analytics(objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route'sassertObjectRegistered/isObjectOfDisabledPackage(#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane:
repo:objectstackseat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.Pre-claim deps: none open (read on the card at the release).
Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 35525exit 0 at1cd47628; no ruling comment on the card; seat 4's claim readings stand.Resume-from:
claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
os-dev-report
{ "issue": 35525, "status": "done", "branch": "claude/issue-35525-analytics-disabled-package", "pr": "https://github.com/objectstack-ai/objectstack/pull/36319", "head_sha": "48a0790d399632049495774630e677730fbd2767", "session": "session_01QsR2jTeURPvEm465RcoYEC", "premise_still_valid": true, "summary": "Resume round on seat 4's finished code. The head is unchanged at 48a0790d39 and is declared final; this round made no commit and no push. Remote head = the Resume-from sha. The full dogfood battery was re-run at that head, and the 98 derived gate families were re-run and reconciled with --ran. Clause-② is settled as `no (narrowing)`: no door accepts more and no export, key or route is added (OBJECT_PACKAGE_DISABLED was already registered), while analytics queries that answered 200 now answer 404 and getMeta lists fewer cubes. Metadata-protocol is `none`, so the changeset is patch with its BREAKING banner and ADR-0087 not-required marker. The PR body and the changeset body both carry the two lines. The PR body was patched through the relay: attribution header, a re-measured Verification section, the 速读 last line set to 无, and seat 7's signed trailer. Seat 4's text is kept where still true. origin/main moved under the branch (#36134 touched error-code-ledger.zod.ts), but GitHub reports mergeable/clean and overlap-check is VERDICT clean against 7b9e229b02, so main was not merged (AGENTS.md multi-agent §10: no conflict, no main-caused red).", "tests": "No code change this round. Package suite and typecheck not re-run, since the head is unchanged: seat 4's readings at 48a0790d39 stand (Test Files 224 passed (224), Tests 5727 passed | 345 skipped; typecheck exit 0), and CI Test Core 10/10 and TypeScript Type Check are success at this head. Build: os-verify-lock -c 'pnpm --workspace-concurrency=2 --filter @objectstack/dogfood^... build' gave VERDICT command-exit 0, held 677s. No ablation this round, because no tested behaviour changed (seat 4's two ablations are in the PR body).", "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack at 48a0790d derived 98 commands from 6 paths vs merge base a5a5312ff. Each exit was captured before any pipe. The 96 run exit 0. NOT MEASURED: check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET: 11 packages outside the dogfood closure have no local dist) and check:type-check-debt exit 3 (its re-measure build hit VERDICT queue-timeout exit 99 on the shared lock behind a full dogfood battery). --ran reconciliation: '98 derived, 96 run, 2 NOT-MEASURED, 0 UNRUN', and all 98 recorded an exit code. Derivation warning: the tree is 39 commits behind origin/main, with 6 scripts/pm family files changed (governed-merges, queue-guard, half-states, owed-reviews, skill-line-ratchet, fleet-write/execute); none selects on these paths. overlap-check --branch: VERDICT clean exit 0 twice (vs d8599c2ca2 plus #36134, then vs 7b9e229b02). check-closing-keyword-parity --body: binds only 'Fixes #35525'. PR check-runs at 48a0790d, not re-run locally, all success: Lint & Repo Gates, TypeScript Type Check, Test Core (1-10/10), Build Core, Governed Surface Queue Guard, Check Changeset, Type Check UI, Test UI (1-16/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate. Skipped on a PR run: Lint UI and the Dogfood Regression Gate shard matrix.", "dogfood_battery": "48a0790d39 · os-verify-lock VERDICT command-exit 1 (held 3361s, waited 500s after earlier 99s on slot s7-35525) · Test Files 1 failed | 483 passed | 3 skipped (487) · Tests 1 failed | 4106 passed | 68 skipped (4175) · failure: test/rollup-grouped-recompute-33795.test.ts 'a bulk update costs one aggregate per summary field and one write per parent' (sqlite), Test timed out in 5000ms (6857ms), load average about 10, import 4032s in a 3356s wall; an objectql/metadata-protocol roll-up path that never reaches analytics. Seat 4's run at the same head failed a different case on the same 5000ms timeout (seed-external-id-refusal), and that file is not among this run's failures. Single-file re-run NOT MEASURED: the lock went straight to another agent's full battery. The queue's Dogfood Regression Gate shards are the reading of record; landing-operations --land needs this report's dogfood pinned to the head, which it is, red on one timeout.", "line_budget": "n/a — no skills/** path in the diff", "files_changed": [ ".changeset/35525-analytics-disabled-package.md", "packages/services/service-analytics/src/__tests__/disabled-package-refusal-35525.test.ts", "packages/services/service-analytics/src/analytics-service.ts", "packages/services/service-analytics/src/api-exposure-door.ts", "packages/services/service-analytics/src/plugin.ts", "packages/spec/src/api/error-code-ledger.zod.ts" ], "deviations": [ "This round added no files; all 6 are seat 4's. packages/spec/src/api/error-code-ledger.zod.ts (a provenance row) is outside the claim's file surface, both seat 4's claim and seat 7's re-post. Seat 4's dev flagged it, and it stays open (open_questions).", "Package test and typecheck not re-run locally (head unchanged); four lock attempts timed out with exit 99 behind another agent's full battery. I dropped them in favour of the owed battery and named CI's readings at this head instead.", "Gate derivation ran on a tree 39 commits behind origin/main (warning quoted in gates), because the branch was deliberately not merged.", "Dogfood single-file re-run of the timed-out case NOT MEASURED (lock contention)." ], "writes": "2 relay strokes. fleet-write issue_patch on PR #36319 (PATCH /repos/objectstack-ai/objectstack/issues/36319, body; read-back 13726 bytes sent = stored, run 45009586708 success). post-stamped os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/35525/comments). No git push (no new commit).", "mcp_calls": "0", "api_writes": "2 — PATCH /repos/objectstack-ai/objectstack/issues/36319 (relay issue_patch); POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)", "open_questions": [ { "question": "The claim's file surface does not include packages/spec/src/api/error-code-ledger.zod.ts. The PR adds an OBJECT_PACKAGE_DISABLED provenance row there under @objectstack/service-analytics, because check:error-code-provenance requires one for the new stamp site. The registered code set is unchanged. Does the seat accept it inside this PR?", "options": [ "A: accept it as a provenance row, not a ledger contract decision, and amend the claim's surface. Cost: one claim amendment, no code change. The file already carries many 'provenance, not identity' rows, and OBJECT_API_DISABLED (#22634) set the precedent.", "B: treat it as a ledger contract change and send it for a decision. Cost: the PR cannot land without the row, because check:error-code-provenance goes red, so the card waits on the decision." ], "recommendation": "A, because the row adds no code, changes no status or wire shape, and copies an existing provenance precedent in the same package block." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — dogfood rollup-grouped-recompute-33795 bulk-update case timed out at 5000ms once under a 56-minute shared-box battery (the file took 36.9s), and a different case timed out in seat 4's run at the same head; no class a/b/c evidence and not reproduced.", "carrier: #35526 · the system-identity half of the sibling callData aggregate arm stays on that card; this PR refuses system callers on the analytics doors, matching the data route." ], "owed_after": "L1 (seat) at head 48a0790d39; L2 contract-tier review of the narrowing (seat routes); no governed path in the diff." }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 3 (handover from repo:objectstack#4; amended: file surface adds one provenance row in
packages/spec/src/api/error-code-ledger.zod.ts)Session:
session_01QsR2jTeURPvEm465RcoYECAccount:
zhuangjianguoBranch:
claude/issue-35525-analytics-disabled-packageWorktree:
objectstack-issue-35525Domain:
domain:serverSeat:
repo:objectstack#7Area:
f7-seat(seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)File surface:
packages/services/service-analytics/src/**(theisRegisteredObject/getObjectDeclarationseams inplugin.ts,assertInferableCubeand the join existence check inanalytics-service.ts, the/analytics/metalisting), its tests, one changeset;packages/rest/src/analytics-*only if the 404 needs an envelope arm; oneOBJECT_PACKAGE_DISABLEDprovenance row under@objectstack/service-analyticsinpackages/spec/src/api/error-code-ledger.zod.ts(registered code set unchanged; check:error-code-provenance requires it for the new stamp site; precedent OBJECT_API_DISABLED, #22634)Container & model: S/M,
mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)Clause-②: no (narrowing) —
POST /api/v1/analytics/query(authored and inferred cubes, dimensions, hops) newly answers 404OBJECT_PACKAGE_DISABLEDfor an object of a disabled package, which it answers 200 with data today; the data route already refuses the same objectMetadata-protocol: none
Responsibility:
service-analytics(objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route'sassertObjectRegistered/isObjectOfDisabledPackage(#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane:
repo:objectstackseat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.Pre-claim deps: none open (read on the card at the release).
Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 35525exit 0 at1cd47628; no ruling comment on the card; seat 4's claim readings stand.Resume-from:
claude/issue-35525-analytics-disabled-package@48a0790d399632049495774630e677730fbd2767objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
os-dev-report
{ "issue": 35525, "status": "done", "branch": "claude/issue-35525-analytics-disabled-package", "pr": "https://github.com/objectstack-ai/objectstack/pull/36319", "head_sha": "19f4b46771068bc659e9695f2718c8f4f58f8628", "session": "session_01QsR2jTeURPvEm465RcoYEC", "premise_still_valid": true, "summary": "Rework round for L2 PASS 7077630521 S1/E1 and L1-d REWORK 7077687524. I confirmed the premise: packages/services/service-analytics/src/index.ts:5 exports AnalyticsServiceConfig, which gains the optional key isObjectPackageDisabled. One commit, 19f4b46771, edits only .changeset/35525-analytics-disabled-package.md. The declaration line now reads 'Clause-②: yes (narrowing) — the exported AnalyticsServiceConfig (@objectstack/service-analytics root) gains the optional key isObjectPackageDisabled, and the analytics doors newly answer 404 OBJECT_PACKAGE_DISABLED …'. A new sentence says a host that constructs AnalyticsService by hand must wire isObjectPackageDisabled (for example registryObjectPackageDisabled(engine.registry) from @objectstack/core), or its doors stay ungated. Metadata-protocol stays none, and the level stays patch. The PR body was updated through the relay: the same Clause-② line, the settlement bullet rewritten to yes (narrowing), the stale 'no export, key or route is added' prose removed, and the ledger bullet now says the diff touches a published schema path (packages/spec/src/api/error-code-ledger.zod.ts, accepted by claim amendment 7077471527). The final head is declared as 19f4b46771. Main was not merged: overlap-check is VERDICT clean against 674f877841 and GitHub reported mergeable/clean.", "tests": "No code change (the commit edits only the changeset). Code readings carried from 48a0790d39, the same code: package suite 224/224 files, typecheck exit 0, CI Test Core and TypeScript Type Check success there.", "gates": "At 19f4b46771: dispatch-gates --commands --repo objectstack-ai/objectstack derived the same 98 commands as at 48a0790d (diff of the two lists empty). I re-ran the 32 that can read a changeset or PR text: all 26 'node scripts/…' families (incl. check-adr-0087-registration --base origin/main, check-changeset-no-major --base origin/main, check-empty-changeset --base origin/main, check-closing-keyword-parity) plus pnpm check:changeset-gate-self-tests, check:issue-citations, check:doc-authoring, check:closed-ceremony-text, check:merge-driver and check:nul-bytes. Every exit was captured before any pipe, and all are 0. --ran: '98 derived, 32 run, 66 NOT-MEASURED, 0 UNRUN'. The 66 are claimed with a reason (not re-run on a changeset-only commit; run at 48a0790d, where 96 of 98 were exit 0 and 2 NOT MEASURED locally, with CI success). Stale-tree warning: 68 commits behind origin/main, 8 family files changed. overlap-check VERDICT clean exit 0 against 674f877841. check-closing-keyword-parity --body on the new PR body binds only 'Fixes #35525'. PR check-runs at 19f4b46771: queued or in_progress at report time, not read as green; CI Check Changeset is the reading of record for the new Clause-② line.", "dogfood_battery": "NOT re-run at 19f4b46771: its only change is to the changeset, which no test reads. Carried from 48a0790d39 (same code): VERDICT command-exit 1, held 3361s, Test Files 1 failed | 483 passed | 3 skipped (487), Tests 1 failed | 4106 passed | 68 skipped (4175). The one failure was rollup-grouped-recompute-33795 'a bulk update costs one aggregate per summary field and one write per parent', Test timed out in 5000ms, unrelated to analytics. ⚠ landing-operations --land asks for a dogfood pinned to the head, so the seat either accepts the carry for a changeset-only commit or orders a run at 19f4b46771.", "line_budget": "n/a — no skills/** path in the diff", "files_changed": [ ".changeset/35525-analytics-disabled-package.md" ], "deviations": [ "Dogfood battery not re-run at the new head (changeset-only commit; carried from 48a0790d39 and flagged for --land).", "66 of 98 derived families carried from 48a0790d39, not re-run at 19f4b46771 (declared NOT-MEASURED with reason in the --ran record)." ], "writes": "3. git push of 48a0790d..19f4b467 (not a REST write). fleet-write issue_patch on PR #36319 (PATCH /repos/objectstack-ai/objectstack/issues/36319, read-back 15084 bytes sent = stored, run 45012963174 success). post-stamped os-dev-report comment on #35525.", "mcp_calls": "0", "api_writes": "2 — PATCH /repos/objectstack-ai/objectstack/issues/36319 (relay issue_patch); POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "owed_after": "L1 re-read at 19f4b46771; CI convergence on the new head. The diff touches packages/spec/src/api/error-code-ledger.zod.ts, a published schema path." }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 3 (handover from repo:objectstack#4; amended: Clause-② reads yes (narrowing) — the exported AnalyticsServiceConfig gains a key; L2 7077630521 S1)
Session:
session_01QsR2jTeURPvEm465RcoYECAccount:
zhuangjianguoBranch:
claude/issue-35525-analytics-disabled-packageWorktree:
objectstack-issue-35525Domain:
domain:serverSeat:
repo:objectstack#7Area:
f7-seat(seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)File surface:
packages/services/service-analytics/src/**(theisRegisteredObject/getObjectDeclarationseams inplugin.ts,assertInferableCubeand the join existence check inanalytics-service.ts, the/analytics/metalisting), its tests, one changeset;packages/rest/src/analytics-*only if the 404 needs an envelope arm; oneOBJECT_PACKAGE_DISABLEDprovenance row under@objectstack/service-analyticsinpackages/spec/src/api/error-code-ledger.zod.ts(registered code set unchanged; check:error-code-provenance requires it for the new stamp site; precedent OBJECT_API_DISABLED, #22634)Container & model: S/M,
mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)Clause-②: yes (narrowing) — the exported
AnalyticsServiceConfig(@objectstack/service-analyticsroot) gains the optional keyisObjectPackageDisabled, andPOST /api/v1/analytics/query(authored and inferred cubes, dimensions, hops) newly answers 404OBJECT_PACKAGE_DISABLEDfor an object of a disabled package, which it answers 200 with data today; the data route already refuses the same objectMetadata-protocol: none
Responsibility:
service-analytics(objectstack) asks only object existence and declared exposure, never the registry's disabled-package predicate | the data route'sassertObjectRegistered/isObjectOfDisabledPackage(#35427, PR #35444) does not run on this path | members of an environment with a disabled package, through dashboards and the analytics API (measured 200 with values on origin/main 609b675)Thread-read: 7075473873
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36319, which this claim continues.
Pre-claim lane:
repo:objectstackseat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.Pre-claim deps: none open (read on the card at the release).
Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 35525exit 0 at1cd47628; no ruling comment on the card; seat 4's claim readings stand.Resume-from:
claude/issue-35525-analytics-disabled-package@19f4b46771068bc659e9695f2718c8f4f58f8628objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
os-dev-report
{ "issue": 35525, "status": "done", "branch": "claude/issue-35525-analytics-disabled-package", "pr": "https://github.com/objectstack-ai/objectstack/pull/36319", "head_sha": "19f4b46771068bc659e9695f2718c8f4f58f8628", "session": "session_01QsR2jTeURPvEm465RcoYEC", "premise_still_valid": true, "summary": "I ran the full dogfood battery at the landing head 19f4b46771 (same command as before), with no code change. The run took the seven red cases described in dogfood_battery. Every one is a 5000ms test timeout or a 10000ms hook timeout on a shared box at load average 9 to 11, and none is in service-analytics. The commit from 48a0790d39 to 19f4b46771 edits only the changeset. At 48a0790d39 the same battery had one timeout, a different case.", "dogfood_battery": "19f4b46771 · os-verify-lock -c \"pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test\" · VERDICT command-exit 1 · held 5051s (1h24m), waited 349s · Test Files 7 failed | 477 passed | 3 skipped (487) · Tests 7 failed | 4094 passed | 74 skipped (4175) · Duration 4571s, import 5411s inside the wall, load average 9 to 11. Failures: seven 'Test timed out in 5000ms' plus one 'Hook timed out in 10000ms', in activity-withheld-row-predicate, activity-withheld-update, approval-flow-name-per-namespace (2 cases), external-import-code-datasource-namespace, showcase-mcp-describe-object-field-mask, sys-file-metadata-write-refusal and view-container-cross-package-default (.dogfood.test.ts). None reaches service-analytics. The 48a0790d39 run of the same code failed one case, a different one (rollup-grouped-recompute-33795), on the same timeout. Single-file re-run of the 7 files NOT MEASURED: the lock queue held a cli build and then another agent's full battery (about 90 minutes or more), so the lock did not allow it.", "writes": "1 — post-stamped os-dev-report comment on #35525 (POST /repos/objectstack-ai/objectstack/issues/35525/comments). No push, no PR edit.", "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35525/comments (post-stamped)", "mcp_calls": "0", "files_changed": [], "deviations": [ "Single-file re-run of the timed-out files NOT MEASURED (lock queue: a cli build, then a full battery)." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — 7 dogfood cases timed out at 5000ms/10000ms under one 84-minute shared-box battery at load average about 11; none reproduced, no class a/b/c evidence." ] }fix(service-analytics)!: refuse an object of a disabled package with …