Skip to content

chore(console): back-fill the eager-closure baseline's squash merge - #37826

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-575qr3
Nov 27, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-575qr3

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #37444. Part of #37572. The follow-up the review of #37786 asked for: that pull request re-pinned the eager-closure budget's BASELINE at its branch commit 003fde60, and it landed on main as the squash 50b4bf82. This records the squash in BASELINE.squashMerge, so the baseline's provenance names a commit that exists on main.

Clause-②: no
Metadata-protocol: none

维护者速读

What changes

  • ui/scripts/check-eager-closure-budget.mjs: BASELINE.squashMerge: '50b4bf82', and the provenance prose says which commit is the branch head and which is the squash.
  • ui/scripts/__tests__/check-eager-closure-budget.test.ts: the ledger case expects both commits (commitsCarriedBy(BASELINE) equals [commit, squashMerge]) and pins squashMerge to 50b4bf82.

No ceiling, baseline byte count or per-chunk row changes. ui/ is a private workspace script, so this publishes nothing and carries skip-changeset.

Why

The seat's ACCEPT on #37786 asked for the back-fill after merge.

Verification

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (publishes nothing: skip-changeset)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgUFcdpjgtgSfn3qZuv

The baseline re-pinned for the first-load bytes cut names its branch
commit 003fde6; the squash that landed it on main is 50b4bf8. Record
it in BASELINE.squashMerge and pin it in the ledger test.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgUFcdpjgtgSfn3qZuv
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 617c0c9 · card #37572 (Part of #37444) · area s2-ux · 2026-11-27T05:32Z

L1 checklist

Both cards keep pm:dispatched.

Tier: S. Landing: ready + auto-merge by this stroke.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 27, 2026 05:33
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 9b50fed Nov 27, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-575qr3 branch November 27, 2026 05:59
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
objectstack-ai#37812)

<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DG44bgtJm8kWx4oK68re6GX)_

Fixes objectstack-ai#37733

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 用户能看到什么变化:用户无感;查阅决策记录目录的人会看到「就记录问
AI」那条记录的状态说明换成了最新写法,写明它修订过不止一次(目录每格有长度上限,后半句照旧截断)。
- 为什么做:这条记录本周又修订了一次,目录由记录自动生成,却没有跟着重新生成;替查阅决策记录的人和读取目录的工具消除目录与记录的不一致。
- 出错会怎样:最多是目录里这一行文字不对,任何功能都不受影响;撤回这一次改动即恢复原样。
- 要你做什么:合入或批准这一次改动(决策记录目录属于须经你手的范围)。

## What changes

`docs/adr/README.md`, the generated ADR index, is regenerated with `node
scripts/adr-index.mjs`. One row moves: the status cell of ADR-0160.

| | ADR-0160 status cell |
|:---|:---|
| before | `Accepted — merged 2026-11-24 (PR objectstack#37115); amended
2026-11-25 (s…` |
| after | `Accepted — merged 2026-11-24 (PR objectstack#37115); amended
2026-11-25, 2…` |

- Cause: the `**Status**:` line of ADR-0160 was rewritten twice without
an index regeneration: by commit eec1040 (PR objectstack-ai#37573, `amended
2026-11-25 and 2026-11-26`) and then by commit 031a19d (PR objectstack-ai#37785,
which added the fifth and sixth amendments, `amended 2026-11-25,
2026-11-26 and 2026-11-27`). Both touched the record only. The index
projects that line clipped to the cell width, so the visible change is
the clipped tail.
- Diff: 1 file, +1 / −1 (line 230). No ADR body, no script, no other
index row.
- The file is generator output. Nothing in it is hand-edited or
hand-trimmed.
- No changeset: `docs/adr/**` ships in no released package, so this pull
request carries `skip-changeset`, declared on the create.

## Tests

No package is touched, so there is no build closure to make and no
package test or typecheck to run. The generator's own self-test ran
inside `pnpm check:adr-index`: 60 assertions, green.

## Acceptance notes

- Card acceptance, "`adr:index` regenerated on main; its check passes
with no other index change": `node scripts/adr-index.mjs --check` exits
1 (stale) on `main` and exits 0 on this branch at its head 4976072
(the area's re-run after objectstack-ai#37785 landed), and the net diff against `main`
is the ADR-0160 row alone. "No other index change" is a measured reading
here, not an assumption.
- Idempotent: a second `node scripts/adr-index.mjs` on the regenerated
tree prints `unchanged` and leaves the same blob (ef06360 at
4976072; 803949a was the first head's).
- The row does not show the new date itself. The generator clips the
status cell at a fixed width and the clip lands inside `, 2026-11-26 and
2026-11-27`.
- `main` moved while this was in flight. The branch carries one merge
commit, 0315963 (`main` at c826e8a, which brought in objectstack-ai#37785), and
the index was regenerated on top of it in 4976072. `main` has since
moved four more commits to 9b50fed (objectstack-ai#37798, objectstack-ai#37783, objectstack-ai#37821, objectstack-ai#37826);
none of them touches `docs/adr/`, `ui/docs/adr/` or the generator, so
the index stays current against today's `main`.
- Governed surface: `docs/adr/**` is Tier H. This pull request is opened
as a draft and is left as one; landing it is the maintainer's act.
- Noted, not filed: the index went stale with nothing red because its
check is report-only by ruling. The last index regeneration on `main`,
commit 972114d, did not carry the new ADR-0160 status text, so that
index was generated on a tree without eec1040 and the file then
text-merged. That is the expected cost of a report-only check, not a
defect.

## Verification

Read first, one file:

1. `docs/adr/README.md`, line 230, the only hunk of the net diff. The
risk to check is that the row is exactly what the generator prints for
the current `**Status**:` line of ADR-0160, and that nothing else moved.

Two-minute check: on this branch run `node scripts/adr-index.mjs
--check`. Expected: the line `adr-index: OK — docs/adr/README.md is
current and every record parsed.` and exit 0. On `main` the same command
prints `docs/adr/README.md is stale` and exits 1.

<details>
<summary>Premise on main (objectstack cac93cc, first head)</summary>

```text
$ node scripts/adr-index.mjs --check
adr-index: ✗ docs/adr/README.md is stale — run `node scripts/adr-index.mjs` (pnpm adr:index) and commit the result.
exit 1
```

</details>

<details>
<summary>Regeneration and its check (objectstack b234dce, first head;
re-run at 4976072 after the merge of main)</summary>

```text
$ node scripts/adr-index.mjs
adr-index: wrote docs/adr/README.md (251 lines).
exit 0
$ git diff --numstat
1	1	docs/adr/README.md
$ node scripts/adr-index.mjs --check
adr-index: OK — docs/adr/README.md is current and every record parsed.
exit 0
$ node scripts/adr-index.mjs
adr-index: unchanged docs/adr/README.md (251 lines).
exit 0
$ node scripts/pm/overlap-check.mjs
overlap-check: claude/area-o1C-37733 (b234dce) changes 1 file(s); against origin/main (44ccf94) and 0 PR head(s)
  ✓ origin/main: merges cleanly
VERDICT clean exit 0
```

</details>

<details>
<summary>Local gates on objectstack b234dce (first head): the 21
commands that dispatch-gates derives for this diff. The head 4976072
is judged by its check-runs: 25 success, 19 skipped, 0 failed</summary>

Each exit code was captured before any pipe. `node
scripts/pm/dispatch-gates.mjs --ran` answers: `21 derived famil(ies)
accounted for — 21 run, 0 NOT-MEASURED`, exit 0.

```text
exit 0  node scripts/check-adr-links.mjs
exit 0  node scripts/check-adr-links.mjs --self-test
exit 0  node scripts/check-closing-keyword-parity.mjs
exit 0  node scripts/check-closing-keyword-parity.mjs --self-test
exit 0  node scripts/check-comment-mask-corpus.mjs
exit 0  node scripts/ci/plan-test-core-shards.mjs --self-test
exit 0  pnpm --filter @objectstack/lint run check:doc-formula-expressions
exit 0  pnpm check:adr-anchors
exit 0  pnpm check:adr-index
exit 0  pnpm check:adr-symbol-anchors
exit 0  pnpm check:ci-filter-parity
exit 0  pnpm check:closed-ceremony-text
exit 0  pnpm check:cross-package-test-inputs
exit 0  pnpm check:doc-authoring
exit 0  pnpm check:driver-memory-census
exit 0  pnpm check:gitlink-declared
exit 0  pnpm check:nul-bytes
exit 0  pnpm check:pm-governed-merges
exit 0  pnpm check:pm-prior-rulings
exit 0  pnpm check:refd-timer-probe
exit 0  pnpm check:watch-hint-literal
```

`pnpm check:adr-index` printed: `adr-index --report: OK —
docs/adr/README.md is current, every record parsed, self-test 60
assertions green.`

The `check:doc-formula-expressions` line is its second run. The first
exited 3, PREREQUISITE NOT MET, because `@objectstack/formula` and
`@objectstack/lint` were not built in this worktree. Both were then
built under the shared verify lock (`VERDICT command-exit 0`) and the
gate was run again. Every other family is left to CI on this pull
request.

</details>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP

<!-- signed: repo:objectstack#1 · os-elon-musk ·
session_016WV4cwoXEE1amuRAGHdPBs -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants