Skip to content

install-local admits a manifest.namespace that ManifestSchema refuses ('' , 'QA_N', '9-Bad Ns!') — the door parses id and installModes through the declaration but never namespace #33922

Closed

Description

@objectstack-fleet

qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

Kind: product defect (off-clause probe finding, observed beside platform-core.namespace-co-owner-name-refusal)

Reproduction (objectstack b914e72, 18.5.0)

Stock showcase scratch copy booted with objectstack dev --ui --seed-admin --no-watch -p 41206 (own OS_HOME, own file DB), seeded admin bearer token.

  1. POST /api/v1/marketplace/install-local with
    {"manifest":{"id":"com.qa.p-up","name":"p","version":"1.0.0","type":"app","namespace":"QA_N","pages":[{"name":"qa_board","label":"x","type":"app","regions":[]}]}}
    → 200 success: true (hotLoaded). The same with "namespace":"" (id com.qa.p-empty) → 200, and with
    "namespace":"9-Bad Ns!" (id com.qa.p-bad2) → 200.
  2. GET /api/v1/packages lists com.qa.p-up with namespace 'QA_N', com.qa.p-empty with '', com.qa.p-bad2 with
    '9-Bad Ns!', source marketplace; GET /api/v1/meta/page serves qa_board for each of them.
  3. Reproduced twice on the same boot with three different ids. In the same boot com.qa.n-one already owned
    namespace qa_n; QA_N installed beside it without the ADR-0048 namespace gate answering.

Expected: 400 PLUGIN_MANIFEST_INVALID with the declaration's sentence, as the door already answers for a bad id
(manifest without id → 400 PLUGIN_MANIFEST_INVALID "Invalid package id ''…", same boot). The declaration:
packages/spec/src/kernel/manifest.zod.ts:565-569 — namespace: z.string().regex(NAMESPACE_PATTERN, 'Namespace must be 2-20 chars, start with a lowercase letter, and contain only lowercase letters, digits and underscores'), with
NAMESPACE_PATTERN = /^[a-z][a-z0-9_]{1,19}$/ (packages/spec/src/kernel/address-grammar.ts:36).

Mechanism

packages/cloud-connection/src/marketplace-install-local-plugin.ts:2480-2490 parses only manifest.id through
ManifestSchema.shape.id, and :4619 parses installModes through ManifestSchema.shape.installModes; no leg parses
manifest.namespace through ManifestSchema.shape.namespace (grep of the file for NAMESPACE_PATTERN /
shape.namespace: none), so an inline manifest written by hand (not by objectstack build, whose defineStack refuses
it) registers whatever string it carries. The namespace is the object-name prefix, the table-name prefix and the key the
install-time namespace gate compares, so a case-variant (QA_N beside qa_n) or empty namespace sidesteps the gate's
uniqueness reading.

Severity guess: P2 (admin-only door; malformed namespace enters the registry and the installed ledger).

Duplicates searched

gh api -X GET search/issues -f q='repo:objectstack-ai/objectstack is:issue is:open …' with:

QA-source: #33914 · platform-core.namespace-co-owner-name-refusal · observed beside the clauses

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:A5 · p2 · 2026-11-15T14:19Z

    ⛔ Not a claim. Filed by qa#3 in the 18.5.0 wave (#33761, verdict 6895765407).

    install-local parses id and installModes through the manifest declaration but never namespace. So '', QA_N and 9-Bad Ns! install with 200, and QA_N installs beside an existing owner of qa_n without the ADR-0048 namespace gate answering. That bypasses a namespace ownership rule, so p2. A5 (install-local).

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

    Claim: server area-lease mode (#33751 §2), area S3, the slot freed by PR #34223 parking Blocked-by cloud#4569 (seat ruling) · executed by an os-dev sub-agent (mode:subagent) · posted at 2026-11-16T03:08Z
    Session: session_01QsR2jTEivi2wogPpeo3xd5
    Account: zhuangjianguo
    Branch: claude/area-A5-33922
    Worktree: objectstack-issue-33922
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/cloud-connection/src/marketplace-install-local-plugin.ts (the inline-manifest parse legs beside ManifestSchema.shape.id and .installModes), a new pin test file named for the card under packages/cloud-connection/src/, a patch changeset. Stop on breach and explain in the report.
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none (the declaration ManifestSchema.shape.namespace already refuses these values; this door now enforces it. The dev confirms against the diff.)
    Responsibility: the install-local door in packages/cloud-connection (objectstack repo: platform card carries the fix) | ManifestSchema and defineStack already refuse it on the build path; this hand-written inline-manifest door skips it | an admin posting an inline manifest reaches it today (qa#3 reproduced it three times on 18.5.0), and the ADR-0048 namespace gate is sidestepped by a case variant
    Thread-read: 6895918518
    Premise: holds (the card measures it on 18.5.0 at b914e72; the dev re-measures on main first)
    Serial constraints cleared: none. No open PR touches marketplace-install-local-plugin.ts (file lists of all open PRs read at claim time). The dev runs git merge-tree against origin/main before the push.
    Pre-claim lane: server, because the fix is in packages/cloud-connection (install-local is an area S3 path). No cloud-repo code.
    Pre-claim deps: none open.
    Prior rulings read:

    • ADR-0048 §2: "namespace stays the object prefix, enforced unique per installation". The install-time namespace gate compares the declared namespace, so an undeclarable namespace must not reach it.
    • packages/spec/src/kernel/manifest.zod.ts namespace regex NAMESPACE_PATTERN (address-grammar.ts) and the same door's existing PLUGIN_MANIFEST_INVALID answer for a bad id: the refusal reuses that code and the declaration's own sentence, so no new code or wording is minted.
    • Triage 6895918518 (p2). docs/adr/** grep for install-local + namespace validation: no ruling admits a non-pattern namespace.

    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
    os-dev-report

    {
     "issue": 33922,
     "status": "done",
     "branch": "claude/area-A5-33922",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34316",
     "pr_number": 34316,
     "head_sha": "ceaa9449c54e73f81b3137aa1b3da7fe994118c9",
     "session": "session_01QsR2jTEivi2wogPpeo3xd5",
     "premise_still_valid": true,
     "summary": "The install-local door (handleInstall, step 1b″ right after the id gate) now parses the package's own namespace through ManifestSchema.shape.namespace by reference (namespaceRefusal, read where declaredPackageManifest reads it). A refused value answers PLUGIN_MANIFEST_INVALID, 400 inline / 502 upstream snapshot (the id gate's split), inside the door's existing installModes frame with the declaration's sentence; nothing registered, synced or ledgered. Absent namespace still installs; rehydrate and :manifestId routes are ungated, as for the id. The premise was re-measured on this tree with the leg ablated: QA_N installed beside an owner of qa_n over a real ObjectKernel+ObjectQLPlugin and answered 200. Multi-package artifact members were already refused whole by core's ArtifactPackageSchema parse (INVALID_ARTIFACT_PACKAGE_ENTRY/422, before any write), so a first-draft member leg was removed rather than moving that answer, and the member case is pinned as unmoved. Card assignee not touched.",
     "tests": "New file packages/cloud-connection/src/marketplace-install-local-namespace-gate-33922.test.ts, 12 cases: '', 'QA_N', '9-Bad Ns!', a non-string value, a compiled bundle's nested namespace -> 400 PLUGIN_MANIFEST_INVALID in the declared envelope, message contains the declaration's sentence read from the schema at test time, nothing written; cloud snapshot -> 502; lit controls: a conforming namespace, an absent namespace, a conforming multi-package artifact; UNMOVED artifact member -> INVALID_ARTIFACT_PACKAGE_ENTRY/422; real engine: QA_N beside owner of qa_n -> 400 and the registry and ledger do not hold it; CONTROL: qa_n beside the owner -> 422 PLUGIN_REGISTER_FAILED naming the owner (gate unchanged). At head ceaa9449c5, under the lock: cloud-connection `pnpm test && pnpm typecheck` -> Test Files 84 passed (84), Tests 1239 passed (1239), tsc both programs exit 0, VERDICT command-exit 0. Ablation (scripts/ablation-replace.mjs, anchor `const refusal = namespaceRefusal(manifest, manifestId);` -> `const refusal: string | null = null;`, the old door, no dist build needed because the suite imports the plugin from src): 'ok mutation landed: anchor 1 -> 0, blob 506224353744 -> 88b4a29b2be8'; Tests 7 failed | 5 passed (12), every refusal pin red with 'expected 200 to be 400' (snapshot: 'expected 200 to be 502'); the 5 green are the 3 lit controls, UNMOVED and CONTROL; 'ok restored: blob == HEAD (506224353744) and git diff HEAD is empty'; git status clean afterwards.",
     "gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at ceaa9449c5: 71 families derived. 69 ran unlocked in sequence, each `CMD :: exit 0`; pnpm check:type-check-debt ran under the lock :: exit 0 ('check-type-check-coverage --re-measure: OK'). --ran reconciliation: '71 derived, 70 run, 0 NOT-MEASURED, 1 UNRUN' (exit 1): the unrun family is pnpm check:dual-build-cjs-loads, left to CI on purpose (NOT MEASURED locally). The derivation warned the tree was 15 commits behind origin/main; its one stale input, scripts/check-facade-delegation-only.mjs, is not a listed family. PR-body gates on the final body: check-changeset-no-major --base origin/main exit 0 ('LEVEL AXIS ... a non-protocol change at patch'); check-adr-0087-registration --base origin/main exit 0 ([BREAKING+bang+clause-②-narrowing] not-required (no-migration-prescription)); check-closing-keyword-parity exit 0; check-partof-closing-keyword exit 0. eslint --no-inline-config on the 2 touched source files: exit 0. pre-push check:commit-card-trailers green on every push. CI check-runs: in_progress at report time (not waited on, per os-dev).",
     "dogfood_battery": "ceaa9449c5 · 'os-verify-lock: VERDICT command-exit 0 · held the lock 2474s (41m14s)' · Test Files 470 passed | 3 skipped (473) · Tests 3985 passed | 42 skipped (4027) · no failures. Run after turbo build --filter='@objectstack/dogfood^...' (VERDICT command-exit 0).",
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (repository_dispatch -> objectstack-ai/objectstack#34316, read-back 8979 bytes sent = 8979 stored); post-stamped comment on #33922 (this report). git push is not counted.",
     "files_changed": [
      ".changeset/33922-install-local-namespace-gate.md (+19)",
      "packages/cloud-connection/src/marketplace-install-local-namespace-gate-33922.test.ts (+323)",
      "packages/cloud-connection/src/marketplace-install-local-plugin.ts (+53)"
     ],
     "line_budget": "395 changed lines (+395/-0), under the 3000 human-merge threshold; all three paths are inside the claim's File surface; no governed surface touched.",
     "deviations": [
      "Repo-wide `pnpm lint` was not run locally. The order and dev-common ask for it, but os-dev.md makes the repo-wide scan a CI-owned run; os-dev.md governs where they conflict. eslint --no-inline-config ran on the two touched source files instead (exit 0).",
      "Direct dependents: the full @objectstack/dogfood battery ran (green). packages/cli and examples/app-showcase suites were not run locally: the published surface of cloud-connection is byte-unchanged (no export added, removed or renamed), so os-dev.md owes only this package's tests; CI Test Core runs them. This conflicts with dev-common's 'direct dependents' line.",
      "pnpm check:dual-build-cjs-loads (a derived family) was left to CI, so --ran reports 1 UNRUN.",
      "origin/main was merged once, at ceaa9449c5, about an hour before pr_create. Main moved 15 commits after that, none in packages/cloud-connection; `git merge-tree --write-tree HEAD origin/main` exit 0 (textual only). It was not re-merged, so the dogfood battery and the gate sweep stay on the PR's head.",
      "The harness reminder asked for a model-named Co-Authored-By trailer and a session-URL PR footer. Commits carry the model-free pair `Co-Authored-By: Claude` + Claude-Session, and the PR ends with the 🤖 line, per dev-common and AGENTS.md; the session id is in the body's prose.",
      "PM hypothesis 3 ('close every path'): the multi-package member path was measured as already closed by core's artifact-entry parse, so no second judge was added and the member case is pinned as unmoved. A first-draft member leg (commit 084d08346e) was removed in 43e9645047.",
      "The message is not the id leg's shape: the namespace declaration's sentence names neither key nor value, so it is wrapped in the door's existing installModes frame (`Package 'ID' declares an invalid namespace: SENTENCE.`). No new code is minted."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: an artifact member refused by core's ArtifactPackageSchema leaves handleInstall as a thrown INVALID_ARTIFACT_PACKAGE_ENTRY error (status 422) from unrunnableCode, not as a c.json answer. The HTTP envelope the composed server gives that throw was NOT MEASURED here.",
      "carrier: none · noted, not filed: POST /api/v1/packages (packages/runtime) is another install door, outside the claim's surface; whether it parses manifest.namespace was not measured."
     ]
    }
  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
    os-dev-report

    {
     "issue": 33922,
     "status": "done",
     "delta": "F1 + N2 (contract record 6909129288, L1 6909138595)",
     "branch": "claude/area-A5-33922",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34316",
     "pr_number": 34316,
     "head_sha": "efb9823b3259644e4ccc198fc861da5a1f5e084f",
     "session": "session_01QsR2jTEivi2wogPpeo3xd5",
     "premise_still_valid": true,
     "summary": "DONE: F1 — the namespace gate now parses the namespace on the body registration reads (the registered body's own top-level `namespace`), not through the nested-manifest helper. Measured first over the real engine (ObjectKernel + ObjectQLPlugin) on seven single-package body shapes at fd6638db: on one shape the gate and the registry read different keys, and the package registered under a namespace the declaration refuses (200). After the fix, on every shape the gate's verdict agrees with the namespace the registry installs under (the measured shapes answer either 200, registered under a conforming namespace, or 400 with nothing registered). New pins: inline 400, snapshot 502, and real-engine (registry holds nothing under that namespace). DONE: N2 — the changeset's BREAKING block names `namespace: null` and a non-string value, and 'Not moved' now says an ABSENT key. PR body not touched (N1 is the seat's). No file outside the claim's surface.",
     "tests": "At efb9823b, under the lock: the pin file alone -> Test Files 1 passed, Tests 15 passed. Ablation (scripts/ablation-replace.mjs, the new read swapped back to the nested-manifest helper read): 'ok mutation landed: anchor 1 -> 0, blob 84bcb35c0838 -> 3af50423a8a2'; Tests 3 failed | 12 passed (15) — exactly the three new pins ('expected 200 to be 400' x2, 'expected 200 to be 502' x1); 'ok restored: blob == HEAD (84bcb35c0838) and git diff HEAD is empty'. The scratch measurement file was deleted and never committed.",
     "gates": "NOT MEASURED in full on efb9823b: the maintainer's stop order arrived mid-sweep. Derived list at efb9823b = the same 71 families as at ceaa9449c5 (diff of the sorted lists empty). Run before the stop: 58 families, each exit 0 (the last completed was pnpm check:settings-bind-window); the remaining 12 (pnpm check:type-check-debt among them) were not run; check:dual-build-cjs-loads is left to CI. No --ran reconciliation was run on this partial set. CI check-runs on efb9823b were not read by this dev; the seat reports a PASS contract record on this head (6911813987).",
     "not_measured": [
      "cloud-connection full `pnpm test && pnpm typecheck` at efb9823b: queue-timeout (exit 99) at the verify lock, then the stop order arrived; the last green full run was at ceaa9449c5 (84 files / 1239 tests, tsc exit 0)",
      "dogfood battery not re-run at efb9823b; the last green was at ceaa9449c5 (470 passed | 3 skipped files, 3985 passed | 42 skipped tests)",
      "12 derived gate families at efb9823b, check:type-check-debt among them"
     ],
     "dogfood_battery": "not re-run for this delta; last green at ceaa9449c5 · VERDICT command-exit 0 · Test Files 470 passed | 3 skipped (473) · Tests 3985 passed | 42 skipped (4027)",
     "mcp_calls": "0",
     "api_writes": "1 — post-stamped comment on #33922 (this delta). git push is not counted.",
     "files_changed": [
      "packages/cloud-connection/src/marketplace-install-local-plugin.ts (+11/-7 in this delta)",
      "packages/cloud-connection/src/marketplace-install-local-namespace-gate-33922.test.ts (+44/-1 in this delta)",
      ".changeset/33922-install-local-namespace-gate.md (+2/-1 in this delta)"
     ],
     "deviations": [
      "Verification was cut short by the maintainer's stop order (see not_measured)."
     ],
     "open_questions": [],
     "security_findings": "withheld",
     "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

    Hand-off · area S3 · 2026-11-16T09:05Z

    Area S3 clocks out under the maintainer's push-and-hand-off order (2026-11-16T09:01Z).


    Generated by Claude Code

  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

    Takeover · #33922 · 2026-11-16T09:49Z

    Release: cross-account takeover of claim 6906172715 (session session_01QsR2jTEivi2wogPpeo3xd5, account zhuangjianguo, domain:server#5 area S3). Who: Leehom (maintainer). Words: 「接手 前任。#28677 (comment) 的未完成任务」. Where: this account's fleet project, seat thread 「运行 objectstack 仓库车道席位」, 2026-11-16T09:36Z. The old seat signed off with brief 6912561028; hand-off record 6912090931.
    Hand-over: old branch last pushed claude/area-A5-33922@efb9823b32; draft PR #34316, CI green, L2 PASS 6911813987 at this head; L1 delta and the N1 docs card owed.

    Claim: repo:objectstack area-lease mode, area o1-C, lease lease:o1-C (takeover of domain:server#5's in-flight card on the maintainer's order above) · fix rounds by os-dev sub-agents (mode:subagent) · posted at 2026-11-16T09:49Z
    Session: session_01FEkQ5kgF3mo9f7LXuv5hac
    Account: os-project-manager
    Branch: claude/area-A5-33922
    Worktree: objectstack-issue-33922
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: packages/cloud-connection/src/marketplace-install-local-plugin.ts (the inline-manifest parse legs beside ManifestSchema.shape.id and .installModes), a new pin test file named for the card under packages/cloud-connection/src/, a patch changeset. Stop on breach and explain in the report.
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none (the declaration ManifestSchema.shape.namespace already refuses these values; this door now enforces it. The dev confirms against the diff.)
    Responsibility: the install-local door in packages/cloud-connection (objectstack repo: platform card carries the fix) | ManifestSchema and defineStack already refuse it on the build path; this hand-written inline-manifest door skips it | an admin posting an inline manifest reaches it today (qa#3 reproduced it three times on 18.5.0), and the ADR-0048 namespace gate is sidestepped by a case variant
    Thread-read: 6912090931
    Premise: holds (re-measured by the dev on main, report 6908560000)
    Serial constraints cleared: none: PR #34316 reads mergeable_state clean against main at takeover.
    Resume-from: claude/area-A5-33922@efb9823b3259644e4ccc198fc861da5a1f5e084f
    Pre-claim lane: repo:objectstack lane; fix in packages/cloud-connection (domain:server). No cloud-repo code.
    Pre-claim deps: none open.
    Prior rulings read: L2 record 6911813987; ADR-0048 namespace gate; check-prior-rulings 138 term hits (ADR-0146 D11, ADR-0130 D8). No ⛔ conflict.


    Generated by Claude Code

  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
    os-dev-report

    {
     "issue": 33922,
     "status": "done",
     "round": "pre-landing: main merge + L1-b items A and B (L1-b 6913792961)",
     "branch": "claude/area-A5-33922",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34316",
     "head_sha": "6d8f7954b2d710c6c0a5141e534e87428f6421c2",
     "merge_commit": "6d8f7954b2d710c6c0a5141e534e87428f6421c2 (parents efb9823b3259644e4ccc198fc861da5a1f5e084f + eb0d480bb8c498360bd37f76b3c283e61b8d1c25)",
     "main_sha": "eb0d480bb8c498360bd37f76b3c283e61b8d1c25 (merged; before the merge the merge base was 22bcc7699c, 48 first-parent commits behind)",
     "session": "session_01FEkQ5kgF3mo9f7LXuv5hac",
     "premise_still_valid": true,
     "summary": "Merged origin/main eb0d480bb8 into the branch with a plain no-ff merge, pushed as a fast-forward (efb9823b..6d8f7954); no os-regen path was involved (only main changed those) and there were no conflicts. Main had also changed marketplace-install-local-plugin.ts (#34403, the seed doors after registration); the PR's diff vs main is the same 3 files, +443/-0, with the +/- lines identical before and after. On the new head: full dogfood battery run twice (run 1: one file red, intermittent, not related; run 2: green), package suite, typecheck and pin file green, 71/71 derived gates exit 0, CI 37 success / 18 skipped / 0 failure. PR body refreshed through the relay issue_patch (L1-b item A / L2 N4): the read point is now the top-level manifest.namespace the way registration reads it, 15 cases, Verification pinned to 6d8f7954b2 with NOT MEASURED for the ablations. Line 1, Skills-docs: follow-up #34370 and the signed trailer kept; the read-back is identical.",
     "tests": "At 6d8f7954b2, under os-verify-lock (exits captured per part before any pipe): `pnpm turbo run build --filter=\"@objectstack/dogfood^...\" --concurrency=2` BUILD_EXIT=0 (Tasks 70 successful, 70 total); `pnpm --filter @objectstack/cloud-connection test` CC_TEST_EXIT=0 (Test Files 85 passed (85), Tests 1253 passed (1253)); `pnpm --filter @objectstack/cloud-connection typecheck` CC_TYPECHECK_EXIT=0 (tsc --noEmit && tsc --noEmit -p tsconfig.test.json); `pnpm --filter @objectstack/cloud-connection exec vitest run --maxWorkers=2 src/marketplace-install-local-namespace-gate-33922.test.ts` GATE_FILE_EXIT=0 (Test Files 1 passed (1), Tests 15 passed (15)). The lock line for that batch: `VERDICT batch-last-exit 0` (the parts were joined with ';' and the last part was `exit $((T|C|G))`, so the per-part exits above are the evidence). Isolated re-run of the red dogfood file: `pnpm --filter @objectstack/dogfood exec vitest run test/activation-ledger-package-key.dogfood.test.ts`, `VERDICT command-exit 0`, Tests 8 passed | 1 skipped (9). Ablation: none this round, because no tested behaviour changed (the merge moved no PR line). Earlier proofs stand at ceaa9449c5 (7 failed | 5 passed of 12) and efb9823b32 (3 failed | 12 passed of 15), and the body marks them NOT MEASURED at this head.",
     "gates": "`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` at 6d8f7954b2 (merge base eb0d480bb, 3 paths) derived 71 families. 69 ran unlocked in sequence, all exit 0. `pnpm check:type-check-debt` ran under the lock: exit 0, `VERDICT command-exit 0`, 0 ledger entries re-measured, 0 raw tsc errors. `pnpm check:dual-build-cjs-loads`: exit 0 (124 require entry points across 72 packages load). `--ran` over a record with an exit per line: `71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN`, exit 0. CI on 6d8f7954b2 (read after the body edit re-ran the body-triggered checks): 37 success, 18 skipped, 0 failure, 0 cancelled. The successes include Lint & Repo Gates, all 8 Lint lanes, TypeScript Type Check and its 4 lanes, Build Core, Test Core 1/8 to 8/8, Plan Test Core shards, Governed Surface Queue Guard, Live E2E UI, Test UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Auto Label, Flag docs affected by code changes and filter. The skips are the opt-in, UI-path and queue-only jobs (Dogfood Regression Gate shards, Queue verdict, Borrowed queue verdict, Lint UI, Type Check UI, Build & E2E UI, Test UI shards and others). Main's red: a local `pnpm check:platform-checklist` at this head exits 1 with `approvals.approver-resolution-matrix: VARIANTS STALE` (ApproverType has 11 members since #34300, which this merge brought in). That red is main's. It is not fixed here and main was not merged again for it. On this PR, Lint & Repo Gates read success, so CI did not surface it.",
     "dogfood_battery": "6d8f7954b2d710c6c0a5141e534e87428f6421c2 · run 1: `VERDICT command-exit 1` · Test Files 1 failed | 474 passed | 3 skipped (478) · Tests 3 failed | 4015 passed | 42 skipped (4060). The only failure was packages/qa/dogfood/test/activation-ledger-package-key.dogfood.test.ts, its 'a row with no package takes its one holder at the next boot (SQL driver, one database file)' block, 3 cases: 'expected [] to have a length of 1 but got +0' x2, then 'Cannot read properties of undefined (reading package_id)'. That file is outside this PR and the merge window and does not go through install-local. Re-run alone at the same head it was green (8 passed | 1 skipped). · run 2 (same head, same build): `VERDICT command-exit 0` · Test Files 475 passed | 3 skipped (478) · Tests 4018 passed | 42 skipped (4060). Command: `pnpm --filter @objectstack/dogfood test` under os-verify-lock, NODE_OPTIONS=--max-old-space-size=4096, no OS_TEST_SHARD, after the closure build.",
     "files_changed": [
      "none of the PR's files this round: the only new commit is the merge 6d8f7954 (the PR's 3-file diff vs main, .changeset/33922-install-local-namespace-gate.md, packages/cloud-connection/src/marketplace-install-local-plugin.ts and packages/cloud-connection/src/marketplace-install-local-namespace-gate-33922.test.ts, is unchanged at +443/-0)",
      "PR #34316 body (relay issue_patch, 9021 -> 12007 bytes)"
     ],
     "mcp_calls": "0",
     "api_writes": "2 — (1) relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/34316 (the PR body; fleet-write run 43922010251 success, read-back identical, 12007 bytes); (2) post-stamped.mjs POST /repos/objectstack-ai/objectstack/issues/33922/comments (this os-dev-report). git push is not counted.",
     "deviations": [
      "The full dogfood battery was run twice on the same head: run 1 red in one unrelated file, run 2 green. Both readings are reported, here and in the PR body. The second run was a check for an intermittent red, not a retry until green.",
      "The build + package-suite lock call joined its parts with ';', so its lock line is `VERDICT batch-last-exit 0`. The per-part exits were echoed before any pipe, and the last part exited with their OR.",
      "AGENTS.md section 9 asks for a full `pnpm build` after a merge. This round built the dogfood closure (which includes cloud-connection), and then `check:type-check-debt` built all of `packages/*` nested in its own lock hold. ui/ was not built (no ui path in the diff; CI's UI jobs answered).",
      "The harness's attribution reminder asks for a model-named Co-Authored-By trailer. The merge commit uses the model-free pair (Claude-Session + a `Co-Authored-By: Claude` line with the noreply address), as AGENTS.md and the dispatch require, and the pre-push check:commit-card-trailers passed."
     ],
     "not_measured": [
      "Ablations at 6d8f7954b2: not re-run, because no tested behaviour changed. Earlier readings are cited at ceaa9449c5 and efb9823b32."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: activation-ledger-package-key.dogfood.test.ts went red once in a full battery and was green alone and in a second full battery on the same head (6d8f7954b2), so it is not reproduced and is not a class (a) card. Dedupe words: activation-ledger-package-key, dogfood flake, sys_metadata_activation restart, SQL driver one database file.",
      "carrier: the seat (stopgap PR per the coordinator) · check:platform-checklist red on main (approvals.approver-resolution-matrix VARIANTS STALE, ApproverType 11 members since #34300). Measured locally at 6d8f7954b2, exit 1."
     ]
    }
  10. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
    os-dev-report

    {
     "issue": 33922,
     "status": "done",
     "round": "pre-landing: main merge to bring K under the queue window (no code change)",
     "branch": "claude/area-A5-33922",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34316",
     "head_sha": "1c648e29e24ff5e51867dfefcd5c1b0fd067cf87",
     "merge_commit": "1c648e29e24ff5e51867dfefcd5c1b0fd067cf87 (parents 6d8f7954b2d710c6c0a5141e534e87428f6421c2 + d5e6b2028e6b70f2be0818c3182c553a4671420f)",
     "main_sha": "d5e6b2028e6b70f2be0818c3182c553a4671420f (merged; the previous PRBASE eb0d480bb8 sat 15 first-parent commits behind it, so K is now 0 against this main)",
     "session": "session_01FEkQ5kgF3mo9f7LXuv5hac",
     "premise_still_valid": true,
     "summary": "Merged origin/main d5e6b2028e into the branch with a plain merge commit (no rebase, no force), pushed as a fast-forward 6d8f7954b2..1c648e29e2. The merge was clean: no conflict, no os-regen deferral (no pending file), nothing regenerated. Main had changed marketplace-install-local-plugin.ts again in this window (#34418, #34428); the PR's own diff vs main is still the same 3 files, +443/-0, with the +/- lines identical and only hunk offsets moved. On the new head the full dogfood battery, the package suite, typecheck, the pin file and 71/71 derived gates are green. PR body refreshed through the relay issue_patch (head sha, battery numbers, gate readings, CI line); line 1, every declaration line and the signed trailer kept; read-back identical.",
     "tests": "At 1c648e29e2, under os-verify-lock with NODE_OPTIONS=--max-old-space-size=4096: closure build `pnpm --workspace-concurrency=2 --filter '@objectstack/cloud-connection^...' build` VERDICT command-exit 0; `pnpm --filter @objectstack/cloud-connection build && ... test && ... typecheck` VERDICT command-exit 0 (Test Files 87 passed (87), Tests 1273 passed (1273); typecheck = tsc --noEmit && tsc --noEmit -p tsconfig.test.json); pin file `pnpm --filter @objectstack/cloud-connection exec vitest run --maxWorkers=2 src/marketplace-install-local-namespace-gate-33922.test.ts` VERDICT command-exit 0 (Test Files 1 passed (1), Tests 15 passed (15)). Ablation: none this round, because no tested behaviour changed (the merge moved no PR line); the earlier proofs at ceaa9449c5 and efb9823b32 stand and the body marks them NOT MEASURED at this head.",
     "gates": "`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` at 1c648e29e2 (merge base d5e6b2028, 3 paths) derived 71 families; all ran unlocked in sequence, exit captured per command before any pipe. 69 exit 0 on the first pass. Two first exited 3 (PREREQUISITE NOT MET, nothing measured) and were re-run: `pnpm check:type-check-debt` had timed out on the lock behind the dogfood battery (VERDICT queue-timeout exit 99 inside it); re-run under the lock, VERDICT command-exit 0, 0 ledger entries re-measured, 0 raw tsc errors. `pnpm check:dual-build-cjs-loads` found packages with no dist/; re-run after that full packages/* build, exit 0 (124 require entry points across 72 packages load). `--ran` over a record with each final exit: `71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN`, exit 0. CI on 1c648e29e2 at report time: 24 success, 18 skipped, 0 failure, 11 in_progress (Test Core 1/8 to 6/8, Type Check workspace / consumer gates / debt ledger, and the body-triggered Check Changeset and PR-body guards re-running after the body edit). Successes include Build Core, Test Core 7/8 and 8/8, Governed Surface Queue Guard, Live E2E UI, Test UI, Dogfood Regression Gate, Lint · ESLint and the other Lint lanes, Type Check · source gates. Convergence is the area's to read.",
     "dogfood_battery": "1c648e29e24ff5e51867dfefcd5c1b0fd067cf87 · `os-verify-lock: VERDICT command-exit 0` · Test Files 476 passed | 3 skipped (479) · Tests 4022 passed | 44 skipped (4066) · no failures. DOGFOOD_HEAD printed 1c648e29e24ff5e51867dfefcd5c1b0fd067cf87 before and after the run, working tree clean. Command: `pnpm --filter @objectstack/dogfood test` under os-verify-lock (held 1871s), NODE_OPTIONS=--max-old-space-size=4096, no OS_TEST_SHARD, after a fresh `pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build` (VERDICT command-exit 0). One run.",
     "files_changed": [
      "none of the PR's files this round: the only new commit is the merge 1c648e29e2 (the PR's 3-file diff vs main is unchanged at +443/-0)",
      "PR #34316 body (relay issue_patch, 11673 -> 11625 bytes)"
     ],
     "mcp_calls": "0",
     "api_writes": "2 — (1) relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/34316 (the PR body; fleet-write run 43964498816 success, read-back identical, 11625 bytes, and an independent GET read-back byte-identical); (2) post-stamped.mjs POST /repos/objectstack-ai/objectstack/issues/33922/comments (this os-dev-report). git push is not counted.",
     "deviations": [
      "The git merge's default message was reworded before the push (local only, never pushed) to the branch's earlier merge-message shape with the model-free trailer pair; tree and parents unchanged.",
      "Two derived gates were run twice (first exit 3, nothing measured; then exit 0). The --ran record carries the final exits; both first readings are named in gates.",
      "AGENTS.md section 9 asks for a full `pnpm build` after a merge. This round built the cloud-connection and dogfood closures, and then check:type-check-debt built all of packages/* inside its own lock hold. ui/ was not built (no ui path in the diff; CI's UI jobs answered).",
      "The harness's attribution reminder asks for a model-named Co-Authored-By trailer. The merge commit uses the model-free pair, as AGENTS.md and the dispatch require; the pre-push check:commit-card-trailers passed."
     ],
     "not_measured": [
      "Ablations at 1c648e29e2: not re-run, because no tested behaviour changed. Earlier readings are cited at ceaa9449c5 and efb9823b32.",
      "Final CI verdict on 1c648e29e2: 11 check-runs still in_progress at report time."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  11. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

    Delivered · #33922 · 2026-11-16T22:53Z

    PR #34316 merged through the queue as 614b9b5810 (2026-11-16T22:52Z); Fixes #33922 closed this card. Final head 1c648e29: a plain merge of main onto the reviewed patch, which is unchanged. L1 merge-only ACCEPT 6930632498 (L1-b). L2 PASS 6930839825 (l2-review#3), a delta of 6929151654 / 6923762603. S1 was closed by its carrier under the maintainer's ruling 6929091056. Dogfood battery pinned to the head (dev report 6930535519). Seat landing record 6930875824.

    Delivered (narrowing, !): install-local now reads the top-level manifest.namespace through its declared schema, the same way registration reads it. So a namespace that ManifestSchema refuses ('', QA_N, 9-Bad Ns! and the like) is refused at install-local rather than admitted. 15 cases are pinned in packages/cloud-connection/src/marketplace-install-local-namespace-gate-33922.test.ts.

    Left: the review's nit N3 (no pin for three shapes that follow from the referenced declaration). It is not filed.

    State change: pm:dispatched and lease:o1-C removed in this stroke.


    Generated by Claude Code

  12. removed
    pm:dispatched
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdomain:serverpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions