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
repo gates: check-closed-ceremony-text dies with ENOBUFS (git ls-files output past the 1 MiB default buffer) — every PR that adds a path under packages/, content/docs/ or .changeset/ now fails Lint & Repo Gates #39025
Filing gate: ① (a defect with a named landing point and a measured reproduction) · Source: fleet — measured by seat repo:objectstack@os-justin when PR #39020 was dequeued from the merge queue (CI_FAILURE, 2026-12-02 ~03:31Z). ⛔ Not a claim.
Merge-queue run for PR fix(lint): say when an unconditional out-edge beside guarded ones runs #39020 (group pr-39020-444dce61…, job Lint · repo & tooling gates 143192300352): check:closed-ceremony-text → Error: spawnSync git ENOBUFS, spawnargs: [ 'ls-files', '-z', '--', 'packages', 'content/docs', '.changeset' ], from trackedFiles() at scripts/check-closed-ceremony-text.mjs:82 (execFileSync with no maxBuffer, so Node's 1 MiB default).
Output size of that listing: git ls-tree -r -z --name-only <ref> -- packages content/docs .changeset | wc -c = 1,047,342 bytes at 363c9679cb, 1,048,565 at origin/main444dce61f2 — 11 bytes under 1,048,576. PR fix(lint): say when an unconditional out-edge beside guarded ones runs #39020 adds one changeset path (~50 bytes) and crosses it. Main's own runs still pass, by 11 bytes; the next merge that adds a path turns main red.
check-closed-ceremony-text.mjs (and every gate script whose git output scales with the tree) passes an explicit maxBuffer large enough for the tree's growth, or uses one shared helper; a self-test pins a listing above 1 MiB.
Dedupe: ENOBUFS open issues: 0; maxBuffer open PRs: none listed. #25732 (closed) is the precedent, not this script.
Grading: area:fleet · Bug · Suggested-grade: p1 (blocks the merge queue for every PR that adds a file; main is 11 bytes from red) · reach: measured in the merge queue.
Claim: PM loop round 1
Session: session_01QSeKYnrQ7UMtHofKQVjcH2
Account: os-justin
Branch: claude/issue-39025-gate-git-maxbuffer
Worktree: objectstack-issue-39025
Domain: domain:devx
Seat: repo:objectstack@os-justin
File surface: scripts/check-closed-ceremony-text.mjs, and the other gate scripts whose git listing scales with the tree and passes no maxBuffer (reason: the same defect, measured per site; the dev names each file in the report before editing it), plus a shared helper beside them if one exists (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: opus (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable — default tier), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: the repo's gate script scripts/check-closed-ceremony-text.mjs (objectstack) reads a tree-sized git listing into Node's 1 MiB default buffer | precedent fix for dispatch-gates (#25732) | every PR that adds a path under packages/, content/docs/ or .changeset/; measured on PR #39020's queue group
Thread-read: none
Premise: holds (origin/main 444dce6, 2026-12-02T03:37Z: the listing is 1,048,565 bytes, 11 under the 1 MiB default; PR #39020's group crossed it and died with ENOBUFS)
Serial constraints cleared: no in-flight claim names these paths (check-handover --inflight, 2026-12-02T03:37Z). Taken by this seat although area:fleet: it blocks this seat's PR #39020 and every PR in the queue (the blocker ranks with what it blocks).
{
"issue": 39025,
"status": "done",
"branch": "claude/issue-39025-gate-git-maxbuffer",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39027",
"session": "session_01QSeKYnrQ7UMtHofKQVjcH2",
"premise_still_valid": true,
"summary": "The premise held at origin/main 444dce61f2: the ls-files listing in check-closed-ceremony-text measured 1,048,565 bytes. trackedFiles() now passes maxBuffer GIT_MAX_BUFFER_BYTES (64 MiB, the same name and value as the dispatch-gates precedent; the repo has no shared helper) and takes cwd/env for a fixture. The sweep found one more tree-scaled read: the sh() wrapper in scripts/docs-audit/affected-docs.mjs runs git ls-files packages (953,424 bytes) in --self-test (check:docs-audit-scope) with execSync's 1 MiB default, and its git show readers caught ENOBUFS as 'file absent'. That wrapper got the same ceiling, declared in the hoisted-constants block to avoid the self-test TDZ. Every other git spawn under scripts/ without maxBuffer reads a fixture repo, a small fixed-path listing (each measured; the largest is 78,763 bytes) or a diff-scaled listing; the PR body names each one. Head is 4b802eaf2b.",
"tests": "At 4b802eaf2b: check-closed-ceremony-text --self-test reports 38 assertion(s) passed. The new cases build a 16,000-path index-only fixture of about 1.3 MB; the CONTROL at the default buffer gets ENOBUFS, and trackedFiles must return every path, first and last included. affected-docs --self-test reports 607 cases pass; the new cases print 2 MiB from a child, the CONTROL execSync gets ENOBUFS, and sh() must return 2097152 bytes. Ablation (maxBuffer deleted on disk, then restored from HEAD): check-closed-ceremony-text goes '2 of 38 assertion(s) FAILED', exit 1; affected-docs goes 'sh() reads stdout past ... got \"ENOBUFS\"', exit 1. git status was clean after the restore.",
"gates": "Local subset at 4b802eaf2b from dispatch-gates --commands (36 families): 35 exit 0, among them check:closed-ceremony-text (6622 files, clean), check:docs-audit-scope, check:nul-bytes, check:entry-guard, check:scripts-symbol-anchors, check-self-test-wired and check:pnpm-flag-spellings and check:pnpm-filter-targets. NOT MEASURED: check:pm-dispatch-gates, which exited 124 at the local 280 s per-command timeout; CI owns it. --ran reconciliation: 36 derived, 35 run, 1 NOT-MEASURED, 0 UNRUN. check-governed-merges --branch: 0 of 2 paths governed, 95 changed lines. PR check-runs were not yet concluded when this report was written; CI convergence belongs to the PM.",
"mcp_calls": "0",
"api_writes": "2 relay writes: pr_create (draft #39027, labels skip-changeset, assignees os-justin) through fleet-write dispatch, plus this os-dev-report comment on #39025 through post-stamped.mjs. Also one git push (not REST).",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted, not filed: the git show readers in affected-docs.mjs map every failure (not only ENOBUFS) to 'absent'; this PR only removes the size trigger. Recorded in the PR's Acceptance notes."]
}
Landed 2026-12-02T04:44Z: PR #39027 merged (merge commit c748e7dfd6); this card closed by its Fixes. check-closed-ceremony-text.mjs and scripts/docs-audit/affected-docs.mjs now read their tree-scaled git listings with a 64 MiB maxBuffer (the dispatch-gates precedent of #25732); the other 19 git spawns under scripts/ were measured and left (fixtures, small fixed listings, diff-scaled). PRs that add a path no longer die with ENOBUFS in Lint · repo & tooling gates. pm:dispatched removed in this stroke.
Activity
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Claim: PM loop round 1
Session:
session_01QSeKYnrQ7UMtHofKQVjcH2Account:
os-justinBranch:
claude/issue-39025-gate-git-maxbufferWorktree:
objectstack-issue-39025Domain:
domain:devxSeat:
repo:objectstack@os-justinFile surface:
scripts/check-closed-ceremony-text.mjs, and the other gate scripts whose git listing scales with the tree and passes no maxBuffer (reason: the same defect, measured per site; the dev names each file in the report before editing it), plus a shared helper beside them if one exists (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: opus (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable — default tier),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: the repo's gate script
scripts/check-closed-ceremony-text.mjs(objectstack) reads a tree-sized git listing into Node's 1 MiB default buffer | precedent fix for dispatch-gates (#25732) | every PR that adds a path underpackages/,content/docs/or.changeset/; measured on PR #39020's queue groupThread-read: none
Premise: holds (origin/main 444dce6, 2026-12-02T03:37Z: the listing is 1,048,565 bytes, 11 under the 1 MiB default; PR #39020's group crossed it and died with ENOBUFS)
Serial constraints cleared: no in-flight claim names these paths (
check-handover --inflight, 2026-12-02T03:37Z). Taken by this seat althougharea:fleet: it blocks this seat's PR #39020 and every PR in the queue (the blocker ranks with what it blocks).objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
os-dev-report
{ "issue": 39025, "status": "done", "branch": "claude/issue-39025-gate-git-maxbuffer", "pr": "https://github.com/objectstack-ai/objectstack/pull/39027", "session": "session_01QSeKYnrQ7UMtHofKQVjcH2", "premise_still_valid": true, "summary": "The premise held at origin/main 444dce61f2: the ls-files listing in check-closed-ceremony-text measured 1,048,565 bytes. trackedFiles() now passes maxBuffer GIT_MAX_BUFFER_BYTES (64 MiB, the same name and value as the dispatch-gates precedent; the repo has no shared helper) and takes cwd/env for a fixture. The sweep found one more tree-scaled read: the sh() wrapper in scripts/docs-audit/affected-docs.mjs runs git ls-files packages (953,424 bytes) in --self-test (check:docs-audit-scope) with execSync's 1 MiB default, and its git show readers caught ENOBUFS as 'file absent'. That wrapper got the same ceiling, declared in the hoisted-constants block to avoid the self-test TDZ. Every other git spawn under scripts/ without maxBuffer reads a fixture repo, a small fixed-path listing (each measured; the largest is 78,763 bytes) or a diff-scaled listing; the PR body names each one. Head is 4b802eaf2b.", "tests": "At 4b802eaf2b: check-closed-ceremony-text --self-test reports 38 assertion(s) passed. The new cases build a 16,000-path index-only fixture of about 1.3 MB; the CONTROL at the default buffer gets ENOBUFS, and trackedFiles must return every path, first and last included. affected-docs --self-test reports 607 cases pass; the new cases print 2 MiB from a child, the CONTROL execSync gets ENOBUFS, and sh() must return 2097152 bytes. Ablation (maxBuffer deleted on disk, then restored from HEAD): check-closed-ceremony-text goes '2 of 38 assertion(s) FAILED', exit 1; affected-docs goes 'sh() reads stdout past ... got \"ENOBUFS\"', exit 1. git status was clean after the restore.", "gates": "Local subset at 4b802eaf2b from dispatch-gates --commands (36 families): 35 exit 0, among them check:closed-ceremony-text (6622 files, clean), check:docs-audit-scope, check:nul-bytes, check:entry-guard, check:scripts-symbol-anchors, check-self-test-wired and check:pnpm-flag-spellings and check:pnpm-filter-targets. NOT MEASURED: check:pm-dispatch-gates, which exited 124 at the local 280 s per-command timeout; CI owns it. --ran reconciliation: 36 derived, 35 run, 1 NOT-MEASURED, 0 UNRUN. check-governed-merges --branch: 0 of 2 paths governed, 95 changed lines. PR check-runs were not yet concluded when this report was written; CI convergence belongs to the PM.", "mcp_calls": "0", "api_writes": "2 relay writes: pr_create (draft #39027, labels skip-changeset, assignees os-justin) through fleet-write dispatch, plus this os-dev-report comment on #39025 through post-stamped.mjs. Also one git push (not REST).", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed: the git show readers in affected-docs.mjs map every failure (not only ENOBUFS) to 'absent'; this PR only removes the size trigger. Recorded in the PR's Acceptance notes."] }objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Landed 2026-12-02T04:44Z: PR #39027 merged (merge commit
c748e7dfd6); this card closed by itsFixes.check-closed-ceremony-text.mjsandscripts/docs-audit/affected-docs.mjsnow read their tree-scaled git listings with a 64 MiBmaxBuffer(the dispatch-gates precedent of #25732); the other 19 git spawns underscripts/were measured and left (fixtures, small fixed listings, diff-scaled). PRs that add a path no longer die with ENOBUFS inLint · repo & tooling gates.pm:dispatchedremoved in this stroke.Merge origin/main (the #39025 ENOBUFS fix) into claude/issue-38655-sk…
Merge origin/main (the #39025 ENOBUFS fix) into claude/issue-38793-i1…
Merge origin/main (the #39025 ENOBUFS fix) into claude/issue-38753-dr…
Merge origin/main into claude/issue-38982-read-version