Skip to content

scaffold-e2e: "Scaffold with repo dist" installs the generated project from this checkout's packed tarballs #37441

Done
1 of 1 issue completed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

③ maintainer-directed task · Source: maintainer — Bill (os-bill), decision card in seat 5's project thread, 2026-11-26T05:27Z, option verbatim 「先等,并立卡改检查」 (card text: 「模板保持和起步应用一致,改动停到第一个 19 预发布版发出;同时立一张受管卡,让检查改用本仓库打出的包,以后不再被旧版本卡住。」). Ruling record: #36945 (comment) · analysis: #36945 (comment)

Parent: #36945 · Governed surface: .github/workflows/scaffold-e2e.yml ⇒ Tier H; contract-tier build and review. Suggested domain:devx (triage's to set); grade is triage's.

Why

During changeset pre mode the repo version (18.6.0) stays the npm latest, so the job Scaffold with repo dist resolves a generated project's @objectstack/* deps to the published 18.6.0, which rejects shapes main already ships (object color, fieldGroups[].fields, object-form relatedLists). PR #37428 (#36945) is red for that reason alone, and every template change during a long pre mode hits the same wall. The next snapshot is not an answer: ADR-0125's 2026-11-05 amendment refuses snapshots in pre mode until 19 GA.

Scope

  1. The job Scaffold with repo dist installs the generated project from this checkout's packed tarballs through the project's own overrides, reusing scripts/publish-smoke-pack.mjs as os-create-smoke.yml does.
  2. The latest fallback and the engines.protocol re-stamp in the install step are removed.
  3. Unchanged: the pinned-shape step, the skills steps, and the nightly Registry canary.
  4. In passing: correct the two stale note.test.ts comments in the file.

Acceptance

Premise clause

The dev re-runs premises 1–9 of the analysis comment before writing. Named, falsifiable premise: a project scaffolded from PR #37428's head validates, builds, tests and boots when its @objectstack/* dependencies resolve to the checkout's tarballs. If that does not hold, or if the Docker leg cannot take the packed CLI without a product-visible change under docker/**, the dev reports a fork. ⛔ No fallback to installing a snapshot, to tolerating the red, or to changing the template.

Restart link

#36945 waits as pm:on-hold; its Restart-when: names this card's merge as one of its two triggers.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    tooling
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:fleet · domain:devx · Task · priority:p2 · pm:queue · size M; rationale: a maintainer-directed fix to the scaffold E2E check so that during pre mode it installs the packed tarballs of this checkout instead of the published 18.6.0. Today it holds PR #37428 red and would hold every template change for the length of pre mode, but main and the queue are not blocked, so p2. The workflow is a governed surface (Tier H): contract-tier build and review.

  3. added
    domain:devx
    pm:queue
    priority:p2
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV

    Claim: PM loop round 1 · area o1-A (epic #36941 follow-ups), registered by seat repo:objectstack#1 on #34366 · 2026-11-26T13:28Z
    Session: session_016WV4cyyekQEqLjtrCLLAeV
    Account: os-elon-musk
    Branch: claude/area-o1A-37441
    Worktree: objectstack-issue-37441
    Domain: domain:devx
    Area: o1-A
    Seat: repo:objectstack#1
    File surface: .github/workflows/scaffold-e2e.yml (job "Scaffold with repo dist" install step, plus the two stale note.test.ts comments), read-only reuse of scripts/publish-smoke-pack.mjs (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (maintainer-directed task)
    Thread-read: 7184248103
    Premise: holds, corrected for one line: PR #37428 merged 54ea3c8 at 10:28Z (#36945 close-out 7189435691), so the acceptance probe is "Scaffold with repo dist" on this PR's own head against today's template (red on main for the stated reason), not #37428's head. The named premise and the ⛔ no-fallback clause stand as written.
    Serial constraints cleared: none: no open PR touches .github/workflows/scaffold-e2e.yml
    Pre-claim lane: governed surface (.github/workflows/**) ⇒ Tier H; built and L1-read in area o1-A, landed by seat repo:objectstack#1 through SKILL.md path fork ①–④.
    Pre-claim deps: none.
    Prior rulings read: ruling 7183516548 on #36945 (Bill, 「先等,并立卡改检查」) and analysis 7182816947; the wait half was lifted by Bill 08:58Z (claim 7187337406), the card stands.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV
    os-dev-report

    {
      "issue": 37441,
      "status": "needs_decision",
      "branch": "claude/area-o1A-37441",
      "pr": null,
      "session": "session_016WV4cyyekQEqLjtrCLLAeV",
      "premise_still_valid": false,
      "summary": "Fork reported under the card's Premise clause on both named triggers; no code written, no PR. (1) Named premise FAILS at main c385d3bd: a project scaffolded from this checkout and installed from its 113 packed tarballs through the project's own pnpm-workspace.yaml overrides (59 pinned, 0 registry leaks) validates and builds, but `npm test` and `os start` refuse it with ProtocolIncompatibleError: the blank template stamps engines.protocol '^18' (the package major, scripts/sync-template-versions.mjs) while the packed spec is PROTOCOL_VERSION 19.0.0, the pre-mode exception ruled in record 7153441862 route A item 2 (the template follows at the version pass; quoted in packages/spec/src/kernel/protocol-version.ts). Substituting '^19' in a copy of the scaffold (a measurement, not a proposal): build ok, test 3/3, boot healthy, /ready 200, so object color, fieldGroups[].fields and object-form relatedLists all pass against the candidate graph. The Version Packages branch (2f432d2ce, 19.0.0-next.0) already stamps '^19'. (2) The Docker leg cannot take the packed graph without a change outside the declared file surface: the scaffolded Dockerfile's build stage copies only the manifests and runs a frozen pnpm install, and the lockfile pins `file:../tarballs/...` relative paths that do not exist in the build context (ENOENT, reproduced with the same COPY set); docker/Dockerfile global-installs @objectstack/cli from the registry by version (a global install reads no overrides), and the published 18.6.0 runtime refuses an artifact carrying object color at boot (unrecognized_keys, measured; the same artifact without color boots healthy). A CI-only route exists (option Q2-A) but touches the Build step, both Docker steps and the timeout, beyond the claim's 'install step' surface, so I stopped per the dispatch. The control behaves as required: one unknown object key in the tarball-installed project reds validate (unknown key(s) — notAnObjectKey).",
      "tests": "No repo test ran: no diff. Measurements, all at main c385d3bd in worktree objectstack-issue-37441: closure build `turbo run build --filter=@objectstack/cli --filter=@objectstack/runtime --filter=@objectstack/plugin-hono-server --filter=@objectstack/skills --filter=@objectstack/verify --filter=create-objectstack --concurrency=2` under the lock: VERDICT command-exit 0, 69 tasks. Premise probe under the lock (VERDICT command-exit 0): publish-smoke-pack 'packed 113/113, Wrote 113 override(s)'; scaffold exit 0; `corepack pnpm@10 install --no-frozen-lockfile` exit 0 (pnpm 10.34.9); lockfile leak check 'pinned=59 leaked=0'; installed cli 18.6.0 / spec 18.6.0 (packed); validate exit 0; build exit 0; test exit 1 'Test Files 1 failed (1), Tests 3 skipped (3)', cause 'ProtocolIncompatibleError: package com.example.e2e-app targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0'; boot EXITED with the same refusal; control (notAnObjectKey on the company object) validate exit 1 'ObjectSchema.create(e2e_app_company): unknown key(s) — notAnObjectKey'. Re-stamp probe ('^19' in a copy): build exit 0, test exit 0 'Tests 3 passed (3)', boot HEALTHY, ready 200 (lock VERDICT command-exit 143 is the script's last statement, wait on the SIGTERMed server). Lockfile shape: pnpm 10.31.0 with a `file:` override writes `version: file:../tarballs/X.tgz`; frozen install from a copy holding only package.json, pnpm-lock.yaml, pnpm-workspace.yaml exits 254 ENOENT. Runtime pairing: published create-objectstack@18.6.0 scaffold, npm install, build exit 0; `os start` 18.6.0 on dist/objectstack.json HEALTHY; on the same artifact with objects[0].color='blue' EXITED, 'Unrecognized key(s) on this object: color'. Zone 2 reading: run 45818604820 (Version Packages PR, head 2f432d2ce1), job 139906936796 'Scaffold with repo dist' failure at 'Validate and build the generated project': npm ETARGET for @objectstack/cli@19.0.0-next.0, fallback to latest, then 'ObjectSchema.create(e2e_app_company): unknown key(s) — color'; run 45791320336 (PR #37428 head 4bf5626c8c) failed at the same step.",
      "gates": "None owed: no diff, nothing committed past base c385d3bd; dispatch-gates --commands not run (empty change set). files_changed: none. line_budget: n/a (no diff). CI check-runs: none (no PR).",
      "dogfood_battery": "n/a — no PR, no `!` title, no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/37441/comments (this os-dev-report, via post-stamped.mjs)",
      "deviations": [
        "No PR and no diff: the dispatch's Premise clause orders a fork report when the named premise fails or the Docker leg needs more than the declared surface; both triggered.",
        "Empty probe branch claude/area-o1A-37441 was pushed at base c385d3bd (git push, not a REST write) and is left on the remote for a restart.",
        "Premises 1-9 re-run with drift: P2 984 pending changesets (was 931); P4 snapshot markers 14/6/2 (was 12/6/2; 18.6.0 still 0/0/0); P6 the Version Packages PR now renders 19.0.0-next.0 ('chore: version packages (next)', head 2f432d2ce) and PR #37314 merged 06:03Z; P8 31 pull-request runs since 11-10 outside the release branch, 24 green (was 29/25). P1, P3, P5, P7, P9 hold as written.",
        "The ruling's named premise reads 'scaffolded from PR #37428's head'; with #37428 merged (54ea3c8c38) it was measured on main c385d3bd, per Zone 2."
      ],
      "files_changed": [],
      "line_budget": "n/a — no diff",
      "open_questions": [
        {
          "question": "Q1. While the protocol major leads the package major (pre mode, ruling record 7153441862), the tarball job reds at test and boot because the template stamps '^18' against a protocol-19 runtime. How should the job meet that window?",
          "options": [
            "A Hold the card until the version pass merges (the Version Packages PR at 19.0.0-next.0 already stamps '^19'); then land D with no stamp logic. Cost: 0 lines now; the same window returns once per future major, from the protocol PR to its version pass, and the job is red on template PRs during it. Workload: restart trigger only.",
            "B Keep a narrow re-stamp in the tarball job, only in the ruled exception shape (packed PROTOCOL_MAJOR == template stamp major + 1 in pre mode), writing what the version pass will write. Cost: about 15 lines; re-opens the engines.protocol re-stamp the ruling removed, in a narrower form. Workload: small, inside the same Tier H PR.",
            "C Move the template stamp with the protocol (sync-template-versions reads PROTOCOL_VERSION; the template moves to '^19' in the protocol PR). Cost: reverses ruling 7153441862 item 2 and changes the template, which this card forbids; a separate card. Workload: separate card, size S to M."
          ],
          "recommendation": "A. Axes: (1) long-term fit: no new special case in the gate, and the window closes on a maintainer act that is already rendered and open; (2) business pull: one window per major, and the current one is due to close on the next version pass; (3) AI-error-proofing: a red during the window is true (the candidate template and runtime do not boot together until the version pass ships them together), not a false alarm; (4) startup focus: zero lines, and no re-stamp to remove later. B is the fallback only if windows turn out long."
        },
        {
          "question": "Q2. How does the Docker leg of 'Scaffold with repo dist' run against the packed graph? Every route needs the claim's file surface widened past the install step (Build step, both Docker steps, timeout).",
          "options": [
            "A CI overlay, no docker/** change: build docker/Dockerfile as it stands (proves it builds); a workflow-inline overlay image FROM it installs the candidate CLI graph from the tarballs through pnpm overrides and shadows the global `os`, tagged as the scaffolded FROM; the scaffolded Dockerfile's build stage reaches the tarballs through http:// override URLs served on the runner with `docker build --network host`. Cost: about +45 workflow lines, one extra image build (about 1-2 min); the official image's own CLI is proven to install, not to boot; no docker daemon in dispatch containers, so it is measurable only on CI. Workload: one Tier H PR, M.",
            "B Registry pairing with a stated limit: the Docker leg scaffolds its own project with published create-objectstack@latest and the registry, and builds this checkout's docker/Dockerfile (and the checkout's template Dockerfile spliced in) against the published framework. Cost: about +25 lines; template or framework changes under review never reach the image on a PR (caught after publish, by docker-publish.yml); the splice is a pairing no user installs. Workload: one Tier H PR, S to M.",
            "C Product-visible knob under docker/**: docker/Dockerfile gains an optional build arg or stage that installs the CLI from a tarball set. Cost: the published Dockerfile carries a CI-only dialect and a second install layout, and the scaffolded build stage still needs A's http route. Workload: one Tier H PR, L, plus the README driver-table coupling (check:docs-image-tag)."
          ],
          "recommendation": "A. Axes: (1) long-term fit: one question for the whole PR gate, whether what is about to publish works together, image included, and it approximates the image docker-publish.yml builds at release (docker/Dockerfile plus the just-published CLI); (2) business pull: template PRs on the v19 line need the Docker leg to judge the candidate, which B never does; (3) AI-error-proofing: a red means the candidate fails in the image environment, while under B a template change cannot red the Docker leg at all; (4) startup focus: no new gate and no product-visible surface, at a cost of about 45 CI-only lines and 1-2 min per run. B is the smaller choice if the maintainer accepts the stated limit."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: this fork (Q1) · noted, not filed — the protocol-leads-package window is ruled (record 7153441862), not a defect; while it lasts, a project scaffolded from main and installed from main's own packages does not boot. Dedupe words: engines.protocol ^18 protocol 19 template stamp version pass, ProtocolIncompatibleError scaffold, sync-template-versions PROTOCOL_VERSION.",
        "carrier: this card (scope item 4) · the two stale note.test.ts comments in scaffold-e2e.yml (Test step and canary gate step) stay uncorrected until the PR lands."
      ]
    }
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV

    Release: session_016WV4cyyekQEqLjtrCLLAeV (area o1-A) · reason: the dev's fork report 7193955284 (premise_still_valid: false, needs_decision, no PR) · 2026-11-26T13:54Z · destination: needs-user-decision; the seat takes the two questions to the maintainer through a decision thread and records the ruling here.
    Resume-from: claude/area-o1A-37441@c385d3bd (empty probe branch, no commits)

    Fork, in short (full measurements in 7193955284):

    • Q1 — the named premise fails on main c385d3b: installed from this checkout's 113 packed tarballs, the scaffolded project validates and builds but npm test and os start refuse it with ProtocolIncompatibleError (template stamps engines.protocol: ^18, packed spec is protocol 19.0.0; the pre-mode window ruled in 7153441862). With ^19 in a copy: test 3/3, boot healthy. Options A hold until the version pass (dev's recommendation), B narrow re-stamp in the job, C template follows PROTOCOL_VERSION (separate card).
    • Q2 — the Docker leg cannot take the packed packages inside the claimed surface (frozen install misses file:../tarballs; docker/Dockerfile installs the CLI from the registry). Options A CI overlay image (dev's recommendation, ~+45 workflow lines, no docker/** change), B registry pairing with a stated limit, C a tarball build arg under docker/**.
      Control measured: one unknown object key in the tarball-installed project fails validate (unknown key(s) — notAnObjectKey).
  8. added
    needs-user-decision
    on Nov 26, 2026
  9. 4 remaining items

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

    维护者速读

    Ruled: Q1 A with C filed as its own card · Q2 A — maintainer Elon (os-elon-musk), decision card in seat 1's decision thread, option 1 of 4 tapped at 2026-11-26T14:17:40Z, label verbatim 「等,并立小卡根治」, card text 「19 预发布版本 PR 合并后改造落地;另立小卡让模板版本号跟运行时走,以后升大版本不再卡。容器段临时装刚打的包,不动对外 Docker 文件。」 Analysis: comment 7194330907 (its "Execution after the ruling" section is the execution terms; Governing text lines are there). Fork report: 7193955284. Freshness gate: no comment on this card after 7194330907 at recording.

    Not chosen: Q1 A alone, Q1 B (re-stamp inside the job; Scope 2 stays as written), Q2 B (registry pairing), Q2 C (knob under docker/**).

    Execution (from 7194330907, items 1–4):

    1. This card: needs-user-decision → pm:on-hold in this stroke. Resume-from: claude/area-o1A-37441@c385d3bd stands (release 7194014224).
    2. The C card is filed as create-objectstack: stamp the blank template's engines.protocol from PROTOCOL_VERSION, as os init does, so template and runtime agree at every commit #37586 (sub-issue of this card): template engines.protocol stamped from PROTOCOL_VERSION as os init does; version-pass rehearsal first, fork if it reds; ⛔ no release.yml change.
    3. On restart the file surface widens to the whole scaffold-local job in .github/workflows/scaffold-e2e.yml (install, build, both Docker steps, timeout) and its two stale comments; read-only reuse of scripts/publish-smoke-pack.mjs. ⛔ Nothing under docker/**, nothing in the template, no stamp logic in the job. Acceptance as claimed in 7193414418.
    4. Q2 A terms (i)–(v) of 7194330907 apply as written; (v): no CI-only route without editing either Dockerfile ⇒ fork, ⛔ no fallback to Q2 B or C.

    Restart-when: main's blank template stamps the protocol major main's packed spec implements (probe: the engines.protocol range in packages/create-objectstack/src/templates/blank/objectstack.config.ts on origin/main equals ^ + the major of PROTOCOL_VERSION in packages/spec/src/kernel/protocol-version.ts); today that is PR #35129 merging or #37586 merging, whichever is first

  11. added
    pm:on-hold
    and removed
    needs-user-decision
    on Nov 26, 2026
  12. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV

    Claim: PM loop round 1 · area o1-A (epic #36941 follow-ups), restart under ruling 7194715376 · 2026-11-26T16:48Z
    Session: session_016WV4cyyekQEqLjtrCLLAeV
    Account: os-elon-musk
    Branch: claude/area-o1A-37441
    Worktree: objectstack-issue-37441
    Domain: domain:devx
    Area: o1-A
    Seat: repo:objectstack#1
    Resume-from: claude/area-o1A-37441@c385d3bd (empty probe branch, no commits; the dev merges origin/main first)
    File surface: the whole scaffold-local job in .github/workflows/scaffold-e2e.yml (install, build, both Docker steps, timeout) and its two stale comments; read-only reuse of scripts/publish-smoke-pack.mjs. ⛔ Nothing under docker/**, nothing in the template, no stamp logic in the job (ruling 7194715376 item 3; stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (maintainer-directed task)
    Thread-read: 7194715376
    Premise: Restart-when met. Probe on origin/main 33a31dc: blank template engines.protocol: '^19', PROTOCOL_VERSION = '19.0.0' (PR #35129 merged 2026-11-26T16:25Z). The dev re-runs the card's named premise before writing; Q2 A terms (i)–(v) of 7194330907 bind, and (v) holds: no CI-only route without editing either Dockerfile ⇒ fork, ⛔ no fallback to Q2 B or C.
    Serial constraints cleared: none: no open PR changes .github/workflows/scaffold-e2e.yml (search hit #37595 matches body text only; its 9 files do not include it)
    Pre-claim lane: governed surface (.github/workflows/**) ⇒ Tier H; built and L1-read in area o1-A, landed by seat repo:objectstack#1.
    Pre-claim deps: #37586 (sub-issue) no longer gates the restart; it continues on its own branch with disjoint files.
    Prior rulings read: 7194715376 (Elon, 「等,并立小卡根治」, Q1 A + C, Q2 A), analysis 7194330907 (execution terms), fork report 7193955284, ruling 7183516548 on #36945; check-prior-rulings: URL ref #36945 only, no ruling-hit lines.
    Fold-or-serial: not folded with #37586 (different file surface and mechanism).

  13. added
    pm:dispatched
    and removed
    pm:on-hold
    on Nov 26, 2026
  14. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV
    os-dev-report

    {
      "issue": 37441,
      "status": "done",
      "branch": "claude/area-o1A-37441",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37655",
      "head": "3ded0a668a584b8d710366681e676bb6d5fd6bd3",
      "session": "session_016WV4cyyekQEqLjtrCLLAeV",
      "premise_still_valid": true,
      "summary": "Restart condition re-probed on the merged head: blank template engines.protocol '^19', PROTOCOL_VERSION 19.0.0, packages at 19.0.0-next.0. Named premise re-run first and now HOLDS: from this checkout's 113 packed tarballs the scaffolded project validates, builds, tests 3/3 and boots to ready; the control (one unknown object key) reds validate. Implemented the ruled Q2 A route in the scaffold-local job only: closure build derived from the scaffolded package.json, publish-smoke-pack.mjs reused read-only, overrides appended to the project's own pnpm-workspace.yaml, leak plus coverage check, latest fallback and engines.protocol re-stamp removed; Docker leg in three steps (docker/Dockerfile built as it stands with the published CLI 18.6.0 plus the docker-publish os --version and driver require smoke; the scaffolded Dockerfile's build stage built unedited with --target build on a runner-local re-tag of its base carrying the tarballs at WORKDIR/../tarballs, its node_modules layered onto the official image as the candidate runtime tagged with the scaffolded FROM; the scaffolded Dockerfile built whole and health-probed), each step's comment saying what it proves and does not; timeout 20 to 45; turbo cache step; the two stale note.test.ts comments now name starter.test.ts. Nothing under docker/**, nothing in the template, no stamp logic. Acceptance probe green: the PR's own 'Scaffold with repo dist' passed on the final head 3ded0a668a (job 140079805119, 4m14s).",
      "tests": "Local replay at 3ded0a668a: the job's own run: blocks extracted from the YAML and executed under bash -eo pipefail with RUNNER_TEMP outside the repo (port literal only changed), under os-verify-lock VERDICT command-exit 0: pack 'packed 113/113'; install '59 package(s) resolved from packed tarballs, 0 from the registry; all 6 declared @objectstack/* dependencies among them'; validate+build exit 0; test 'Test Files 1 passed (1), Tests 3 passed (3)'; boot /api/v1/ready '\"status\":\"ready\"'. Control: notAnObjectKey added to the company object in a copy -> validate exit 1 'ObjectSchema.create('e2e_app_company'): unknown key(s) — notAnObjectKey.' (positive validate exit 0). Docker build stage simulated (no daemon in this container): COPY set in a fresh dir, tarballs at ../tarballs, fresh pnpm store, the runner's absolute tarball dir moved away, corepack pnpm@10 (10.34.9) install --frozen-lockfile exit 0, os build exit 0, that tree's CLI '@objectstack/cli/19.0.0-next.0' booted the artifact to ready; negative (no tarballs at that path) exit 254 ENOENT. Docker steps 1-2 driven by a stub docker: derived base node:22-slim, WORKDIR /app, tarballs to /tarballs; both version guards red on a wrong version. CI (authoritative for Docker): job 'Scaffold with repo dist' success on 3ded0a668a, all 18 steps success; log: '63 package(s) resolved from packed tarballs, 0 from the registry', 'Tests 3 passed (3)', boot ready, official image '@objectstack/cli/18.6.0', 'build stage: FROM node:22-slim, WORKDIR /app; lockfile names ../tarballs, so the tarballs go to /tarballs', candidate layer '@objectstack/cli/19.0.0-next.0', container healthy then removed. No ablation: the diff is a workflow (os-dev: workflows are not ablated).",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 3ded0a668a: 38 commands, all exit 0 (captured before any pipe); --ran reconciliation 'Run reconciliation — 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN' (it flags origin/main 9 commits ahead, only scripts/check-skills-token-ratchet.mjs changed, a roster family unrelated to this diff). Two reds on earlier heads were this diff's and are fixed: check-self-test-wired --self-test (packer spelled with a $GITHUB_WORKSPACE prefix, keyed as a path with no file) and check:pm-dispatch-gates (census pins scaffold-e2e.yml:23 for the no-check-families marker; header kept to the same line count). overlap-check before each push: VERDICT clean exit 0. CI check-runs on 3ded0a668a: Scaffold with repo dist success; Lint & Repo Gates success; TypeScript Type Check success; Test Core success; Build Core skipped; Governed Surface Queue Guard success; Lint UI success; Type Check UI success; Test UI success; Build & E2E UI success; Live E2E UI success; Dogfood Regression Gate success; Check Changeset success; Check PR Size success; PR-body guards success; Registry canary skipped (schedule/dispatch only).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — (1) fleet-write relay pr_create: POST /repos/objectstack-ai/objectstack/pulls (draft) + POST issues/37655/assignees (os-elon-musk) + POST issues/37655/labels (skip-changeset), read-back identical 7522 bytes, labels and assignee listed; (2) POST /repos/objectstack-ai/objectstack/issues/37441/comments (this os-dev-report via post-stamped.mjs). git push x3 (not REST).",
      "deviations": [
        "The file-header comment lines describing Job 1 (lines 10-12) sit outside the scaffold-local job block; corrected comment-only because they would otherwise say the job runs against the registry. Kept to the same line count so the dispatch-gates census marker stays on line 23.",
        "The pinned-shape step's comment was corrected (it said the install step carries a fallback); its commands, including a warning string that still mentions 'the install step's fallback', are byte-identical under card Scope 3.",
        "The control was measured by local replay of the job's own validate step, not on CI: a CI control would need a template edit on this branch, which the ruling forbids.",
        "An initial push of the fast-forwarded resume branch (no commits of mine) was refused by the permission classifier; the branch was pushed with the first real commit instead.",
        "The harness's model-named Co-Authored-By trailer was not used; commits carry the model-free pair AGENTS.md requires."
      ],
      "files_changed": [".github/workflows/scaffold-e2e.yml"],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — scaffold-e2e.yml's paths: filter does not name scripts/publish-smoke-pack.mjs, so a packer-only change does not run this job (os-create-smoke.yml does run on it); the trigger is outside the ruled surface.",
        "carrier: none · noted, not filed — in both os start blocks, kill \"$SERVER_PID\" stops the npx wrapper and leaves os start and its serve child running (seen in the local replay; CI's 'Cleaning up orphan processes' terminates two node pids at job end). No effect on an ephemeral runner; pre-existing. Dedupe words: scaffold-e2e SERVER_PID npx orphan os start serve."
      ]
    }
  15. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

    REWORK → PR #37655 comment 7203612239 (L1-a, head 3ded0a6, 2026-11-26T21:19Z): patch round for S1 and S2 of contract review 7203561225 (PASS, two should-fix open). Follow-ups: #37702.

  16. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV
    os-dev-report

    {
      "issue": 37441,
      "status": "done",
      "branch": "claude/area-o1A-37441",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37655",
      "head": "05c646d62d",
      "session": "session_016WV4cyyekQEqLjtrCLLAeV",
      "premise_still_valid": true,
      "summary": "Patch round for L1 REWORK 7203612239 and contract review 7203561225. Fix head 05c646d62d. The only file changed is .github/workflows/scaffold-e2e.yml, inside the scaffold-local job. origin/main was merged in at 6492ec08fc (a merge commit; no rebase, no force-push). The census marker stays on line 23. S1 is closed: the candidate layer (step 2) and the e2e-app image that boots both assert that `command -v os` resolves to the build stage's node_modules/.bin/os. The path is handed from step 2 to step 3 through GITHUB_ENV as CANDIDATE_OS. The image check runs in its own new step, 'Assert the scaffolded image runs the candidate CLI', placed just before the boot block. It moved there because my first fix head, c09fed1593, put it inside the boot block, and that red two cases of scaffold-e2e-boot-probe.test.ts in Test Core. The version guard is still there, alongside the path check. S2 is closed: the 'installed for the image's own Node and libc' sentence is removed. Step 2's DOES NOT PROVE now says that better-sqlite3 compiles with node-gyp, the build stage's base has no Python, and so the copied tree may carry no native addon. Step 3's DOES NOT PROVE now says three things: (a) no pull-request job builds the template Dockerfile's npm ci branch any more, because the job installs with pnpm; (b) the boot is not evidence that native SQLite loaded; (c) the job now prints the storage driver from the container's boot banner after the health probe. Nits N1-N3 are untouched.",
      "tests": "pnpm --filter create-objectstack test under os-verify-lock (VERDICT command-exit 0): Test Files 26 passed (26), Tests 396 passed (396). Reverse check on scaffold-e2e-boot-probe.test.ts: run against c09fed1593's workflow it shows 'Tests 2 failed | 12 passed (14)'; run against the fix head it shows 'Tests 14 passed (14)'. Stub-docker drive of steps 14-16: the new guards pass when os resolves to /app/node_modules/.bin/os, and each one fails by name when os resolves to /usr/local/bin/os or when CANDIDATE_OS is unset. CI 'Scaffold with repo dist' passed on 05c646d62d (job 140185041853), all steps success. Its log shows: '63 package(s) resolved from packed tarballs, 0 from the registry'; 'Tests 3 passed (3)'; official image '@objectstack/cli/18.6.0'; candidate layer '@objectstack/cli/19.0.0-next.0'; 'os in the candidate layer resolves to: /app/node_modules/.bin/os'; 'os in the image that boots resolves to: /app/node_modules/.bin/os'; booted with 'Driver: SqlDriver(better-sqlite3) → /tmp/e2e.db'; the container went healthy. That driver line is the configured driver. The NODE_ENV=production path builds it unprobed, so the line does not prove the addon loaded, and the comment says so. c09fed1593 also passed Scaffold (job 140179049404) but red Test Core (1/10), job 140180012264.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 05c646d62d gives the same 38-command set as before. All exit 0, including check:pm-dispatch-gates ('2313 cases pass'). --ran: 'Run reconciliation — 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN'. The derived set does not name the create-objectstack tests, so I ran that package's suite separately (see tests). overlap-check before each push: 'origin/main: merges cleanly', VERDICT clean exit 0. CI on 05c646d62d at report time: 25 success, 13 skipped, 5 in_progress (Type Check UI, Test UI (1/16), Build & E2E UI, Lint UI, Lint · PM dispatch-gates), 0 failed. Scaffold with repo dist and Test Core both success.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/37441/comments (this os-dev-report via post-stamped.mjs). Plus 3 git pushes, which are not REST writes: c09fed1593, 05c646d62d, and the merge 6492ec08fc that went up with c09fed1593.",
      "per_finding": {
        "S1": "Closed at 05c646d62d. In step 2, `command -v os` inside the candidate layer must equal BUILD_DIR/node_modules/.bin/os; that path goes to GITHUB_ENV as CANDIDATE_OS. The new step 'Assert the scaffolded image runs the candidate CLI' builds e2e-app and asserts the same path on the image that boots. It also fails if CANDIDATE_OS is unset. CI read: both lines show /app/node_modules/.bin/os.",
        "S2": "Closed at 05c646d62d. The 'installed for the image's own Node and libc' overclaim is removed. Step 2's DOES NOT PROVE now names the node-gyp better-sqlite3 build failing in the Python-less build base. Step 3's DOES NOT PROVE now names (a) that no PR job builds the npm ci branch and (b) that native SQLite is not proved. Step 3 also prints the boot banner's Database:/Driver: lines, and prints a stated fallback when the banner has none."
      },
      "deviations": [
        "My first fix head, c09fed1593, red Test Core (1/10): scaffold-e2e-boot-probe.test.ts runs the boot block with a stubbed docker. Fixed inside the surface by moving the image assertion into its own step; that test file is untouched.",
        "The booted image's path assertion builds the e2e-app image one step earlier. The boot block's own `docker build` is then a cache hit, and its shape is unchanged apart from the banner print after the health probe."
      ],
      "files_changed": [".github/workflows/scaffold-e2e.yml"],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #37702 · N1 (the stale warning string, frozen by Scope 3), N2 (unpinned pnpm major for the project install) and the paths:/schedule trigger gap are filed there by the seat; nothing here."
      ]
    }
  17. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

    ACCEPT → PR #37655 comment 7204462862 (L1-a delta, head 05c646d, 2026-11-26T22:12Z). Contract review delta PASS (S1, S2 closed) → PR #37655 comment 7204447334. Tier H: the seat hands off.

  18. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cyyekQEqLjtrCLLAeV

    Close-out (area o1-A) · 2026-11-27T01:35Z
    Delivered: PR #37655 merged (8eed81b): the scaffold-local job (Scaffold with repo dist) installs the scaffolded project from this checkout's packed tarballs through the project's own pnpm overrides and fails on any registry-resolved @objectstack/* package; the latest fallback and the engines.protocol re-stamp are gone; the Docker leg layers the candidate packages onto the official image built as it stands, and asserts the booted image resolves os to the candidate CLI. Nothing under docker/** or in the template changed. L1 ACCEPT 7203612239 → delta ACCEPT 7204462862; contract review PASS 7203561225 → delta PASS 7204447334; seat record 7204502384; approved by os-zhuang.
    State: pm:dispatched removed with this close-out. Remaining: none on this card. Follow-ups (trigger coverage of the job, the stale warning string, the unpinned pnpm major) are on #37702. Sub-issue #37586 lands as PR #37650.

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

Metadata

Metadata

Assignees

Labels

area:fleetdomain:devxpriority:p2tooling

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions