Skip to content

tooling(ci): lint.yml sits within 4–8 KB of GitHub's workflow-file size ceiling — past it the file is invalid, both required contexts go silent, and no gate measures it #23044

Closed

Description

@objectstack-fleet

Protects: the two required contexts lint.yml produces (Lint & Repo Gates, TypeScript Type Check) and every Lint · * lane behind them: past the ceiling the whole file is invalid and no PR or queue run of it exists at all.

Filed by the director seat (summon #37, session_01LqNgdPZB2Jnr5HpGbaqLeB) at the ACCEPT of objectstack#23017 (PR #23043) from its dev's out-of-scope finding (report 6124930963, class a, named real producer). Filing gate ①: a measured defect with a named producer. ⛔ Not a claim.

What is measured

  • PR ci(lint): Type Check · workspace type-checks the affected packages on PR and queue runs; the whole workspace on push and schedule #23043's pushes at 0bd33ce6, d4265926 and b39592f3 carried lint.yml at 513,738 bytes. Each produced a push-event workflow-file run with zero jobs and conclusion failure (runs 38245964547, 38249293618, 38250844690), and the pull_request event got no Lint & Type Check run, so neither required context reported. At 510,016 bytes (06f9521d) the file is valid and the run appeared. main's lint.yml is 505,924 bytes (read at 9f4b652e).
  • So the ceiling lies between 510,016 and 513,738 bytes, and main sits 4–8 KB under it. The next PR that adds that much to lint.yml (eight Lint · * lanes, the aggregate, the typecheck lane, their comments) silently loses both required contexts: a skipped required check counts as passing on this repository until the ruleset edit of objectstack#22998 item 4, and a missing one blocks the queue with no red to read.

What to build

  1. A gate (a check:* script under the Lint & Repo Gates family, exit 1 with the measured number) that fails when any file under .github/workflows/ exceeds a pinned size with margin (pin 496 KiB = 507,904 bytes, or 500,000 bytes; state the measured ceiling in the pin's comment); self-test with a synthetic oversized file.
  2. A split plan for lint.yml in the PR body, measured by bytes per job: the eight Lint · * lanes and the aggregate into their own workflow file (the aggregate's required name must stay byte-identical and its roster pin check:aggregator-roster moved honestly), or the long rationale comments moved into docs/ with a one-line pointer. The split itself is a follow-up card if it exceeds this card's one-PR budget; the gate lands first.

Acceptance

  • The gate exit 0 on main and exit 1 on a fixture over the pin; the PR body states lint.yml's byte count before and after.

Related: objectstack#23017 (PR #23043) · objectstack#22991 (PR #23014, the eight lanes) · objectstack#22998 · .github/workflows/lint.yml.

Activity

  1. added
    tooling
    priority:p1
    pm:queue
    domain:devx
    area:devpath
    pm:dispatched
    and removed
    pm:queue
    on Oct 12, 2026
  2. objectstack-fleet commented on Oct 12, 2026

    @objectstack-fleet
    ContributorAuthor

    Claim: PM loop round 1 · domain:devx seat 1 · 2026-10-12T14:05Z
    Session: session_012zwsLMxQBwHUYJgPyrpEvx
    Account: zhuangjianguo (the seat's linked user as GET /user answers it; the card's assignee)
    Branch: claude/issue-23044-lint-yml-size
    Worktree: objectstack-issue-23044
    Domain: domain:devx
    Seat: domain:devx#1
    File surface: .github/workflows/lint.yml (comment lines only: no job, step, name:, if:, run: or needs: change), plus at most one new non-governed docs file under docs/ if a rationale exists nowhere else (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: opus (the default judgment tier; dispatch-gates --tier on this surface: "no path-derived mandate", floor sonnet · default opus · ceiling fable)
    Clause-②: no
    Responsibility: .github/workflows/lint.yml's inline rationale comments produce the risk (87% of its bytes are comment lines: 445,409 of 510,016 on origin/main df7a137) | no platform path covers it: past the ceiling GitHub fails the workflow file with zero jobs and neither required context reports | every PR that grows lint.yml by about 4 KB reaches it; main now stands at 510,016 bytes, the last size measured valid, with the first measured-invalid size 513,738
    Thread-read: none
    Serial constraints cleared: no open PR touches .github/workflows/lint.yml (all 15 open PRs' file lists read at this act); #23048 (director seat, in flight) excludes lint.yml in its claim 6125429458; #23017 and #22991 are closed; lint.yml is not a SINGLE_CLAIM_PATHS entry.

    Scope at dispatch. Item 2 (shrink lint.yml, the card's "long rationale comments moved into docs/ with a one-line pointer" branch) is the remedy built here. Item 1 (a new check:* size gate) is not built. The seat's instrument rule (references/instrument-discipline.md): a new gate, patrol row or ratchet needs the maintainer's words quoted on the card, and this card quotes none. If the maintainer names the gate, a word on this card is enough, and the seat files it as its own card.

  3. objectstack-fleet commented on Oct 12, 2026

    @objectstack-fleet
    ContributorAuthor

    os-dev-report

    {
      "issue": 23044,
      "status": "done",
      "branch": "claude/issue-23044-lint-yml-size",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/23064",
      "session": "session_012zwsLMxQBwHUYJgPyrpEvx (mode:subagent, so this is the parent PM session's id, as the harness's Claude-Session line names it)",
      "premise_still_valid": true,
      "summary": "Built the card's item 2 only, as dispatched. In .github/workflows/lint.yml, 60 per-step rationale blocks became a pointer of one or two lines to the script whose header already carries that rationale; every card a removed block cited is cited by that script and is also kept on the pointer. 29 verbatim duplicate copies of a lane note became a pointer to the first copy, which stays. 5 step notes are kept, and one 9-line file-level note states the 'lives here, unfiltered' placement argument that many removed blocks repeated. The file went from 510,016 to 387,314 bytes (-122,702) and 8,082 to 6,358 lines; the '#'-led byte share went from 87.3% to 83.3%. YAML data is identical before and after under two parsers, and no reader of lint.yml depends on a comment (a dry run with every comment stripped passed 76/76 reader commands). Item 1 (a size gate) was not built; it needs the maintainer's words on the card. No docs/ file was added: nothing needed moving. Draft PR #23064 is open with assignee zhuangjianguo and label skip-changeset. Its pull_request run of Lint & Type Check (38269220163) exists, with 12 of 12 lane jobs started.",
      "tests": "All commands below ran at HEAD fc9340b61 (git rev-parse --short HEAD). Each exit code was captured before any pipe. Reconciliation: node scripts/pm/dispatch-gates.mjs --ran reported '✓ dispatch-gates --ran: 43 derived famil(ies) accounted for — 43 run, 0 NOT-MEASURED'. Totals: 80 commands, 80 exit 0. That is the 43 commands re-derived on this diff (identical to the dispatch's lint.yml set), the 3 dispatch extras for the hypothetical docs/ci/lint-gates.md, and 34 commands for the other literal lint.yml readers. Extras: check-ci-filter-parity 0; check:doc-authoring 0; check:doc-formula-expressions 0 after building @objectstack/formula and @objectstack/lint under the verify lock (it exits 3 PREREQUISITE NOT MET on an unbuilt tree). Heavy gates: pnpm check:pm-dispatch-gates ran detached, '✓ dispatch-gates self-test (fast tier): 1833 cases pass', EXIT=0. pnpm check:type-check-debt ran under os-verify-lock: 'VERDICT command-exit 0', '1 ledger entr(ies) re-measured in 661.7s, 26 raw tsc error(s) total, none above its recorded number'. No behaviour change, three checks: yaml 2.9.1 parse of base vs head is deep-equal (sha256 of the JSON 2b8d629828681750 both sides); PyYAML 6.0.1 safe_load is equal (e04c40c7a827bfbb both sides); git diff -U0 df7a13792 fc9340b61 has 0 changed lines that are not '#'-led. Reader probe (assumption 4): lint.yml with all 6,247 YAML comment lines stripped (66,120 bytes, data identical) passed 76/76 commands, as base did. 72 of 76 printed byte-identical output; the other 4 differ only in prose counts or line numbers, never a verdict. The swap was restored with git checkout HEAD -- and the blob hash matched HEAD's 8fa486ef6. NOT MEASURED: the 6 workflow-valued families the derivation itself names (check-required-contexts --verify-required-set and the check-shard-attestation --emit/--verify legs), because their values exist only in a CI run. No ablation applies: no gate or code was changed.",
      "mcp_calls": "0 — no MCP GitHub tool was called",
      "api_writes": "3 relay writes (each is one repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches, executed by fleet-write.yml as objectstack-fleet[bot]): (1) pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/23064/assignees, relay run 38269162301, body read back identical at 30,629 bytes; (2) label-write = POST /repos/objectstack-ai/objectstack/issues/23064/labels (skip-changeset), relay run 38269277604, read back matching; (3) this os-dev-report comment = POST /repos/objectstack-ai/objectstack/issues/23044/comments. Not REST: 4 git pushes — the empty branch probe, 5cff1aa2b, and two --force-with-lease pushes (a92b16762, then fc9340b61). Both force pushes happened before any PR existed, with AGENTS.md §3's five conditions all holding.",
      "line_budget": { "additions": 136, "deletions": 1860, "total": 1996, "human_merge_line": 3000, "bytes_before": 510016, "bytes_after": 387314, "bytes_cut": 122702, "comment_share_before": "445,409 / 510,016 = 87.3%", "comment_share_after": "322,707 / 387,314 = 83.3%" },
      "files_changed": [".github/workflows/lint.yml"],
      "gates": { "head": "fc9340b61", "run": 80, "exit_0": 80, "derived": 43, "derived_unrun": 0, "not_measured": ["check-required-contexts.mjs --verify-required-set (CI-only value)", "check-shard-attestation --emit/--verify legs x5 (CI-only values)"], "ci_pull_request_run": "Lint & Type Check 38269220163, in_progress, 12/12 lane jobs started at read time" },
      "deviations": [
        "Two amend + --force-with-lease pushes on my own branch before the PR existed, with all five AGENTS.md §3 conditions holding. The first corrected a count in the first commit message. The second kept two blocks a prose reference quotes (2629, #9064, which scripts/sync-template-versions.mjs quotes; and 2820's 'unfiltered' sentence, which scripts/pm/bare-root-worklist.mjs cites) and added the file-level placement note. Gates were re-run in full on the final head.",
        "Dispatch route item 'move a rationale into one new docs/ file only where it exists nowhere else': no file was created. Every removed block's rationale is in its script header, and the one cross-block argument (placement) is now stated once inside lint.yml, which keeps the change to comment lines in that file.",
        "The commit carries the model-free trailer pair AGENTS.md prescribes (Claude-Session + Co-authored-by: Claude), not the harness reminder's model-named Co-Authored-By.",
        "To re-run on each amended head, I killed my own gate-battery process group twice (PGIDs 19786 and 20831, which I started). No other process was touched."
      ],
      "cleanup": "Worktree /home/user/objectstack-issue-23044 is removed right after this comment is posted (node_modules first, then git worktree remove without --force). Its tree is clean and its only commit fc9340b61 is on origin.",
      "open_questions": [],
      "out_of_scope_findings": [
        "carrier: 承接者:无 · noted, not filed. Kept lint.yml comments still say 'this job carries the whole check:* gate family', which is stale since the eight-lane split (#22991); prose drift only. Recorded in PR #23064's Acceptance notes.",
        "carrier: 承接者:无 · noted, not filed. The scripts/check-nul-bytes.mjs header names 'the lint.yml step comment' as one prose statement of its byte set; that comment is now a pointer to that header, which the header's own 'cite this header' footing allows. The scripts/check-whole-set-label-write.mjs header records a historical verdict that counted 'this gate's own wiring comment in lint.yml'. No reader depends on either; prose only. Recorded in the Acceptance notes.",
        "carrier: maintainer (#23044) · noted, not filed. There is still no mechanical guard on workflow-file size (card item 1, unbuilt by scope). The margin is now about 122 KB under the last size measured valid; the ceiling itself is unmeasured and was not probed."
      ]
    }

    Generated by Claude Code

  4. objectstack-fleet commented on Oct 12, 2026

    @objectstack-fleet
    ContributorAuthor

    Review: ACCEPT · PR #23064 (draft, head fc9340b619) · domain:devx seat 1 · session_012zwsLMxQBwHUYJgPyrpEvx · 2026-10-12T15:24Z

    Checked on GitHub and on the two blobs, not on the report's say-so:

    • PR shape: open, draft, base main, body line 1 Fixes #23044; a full-body scan finds no other closing keyword. Assignee zhuangjianguo; labels ci/cd · size/xl · skip-changeset. mergeable: true, mergeable_state: clean.
    • Files: exactly one, .github/workflows/lint.yml (+136 / −1,860 = 1,996 lines). No content/docs/releases/. skip-changeset is right: no published package is touched.
    • Path fork: check-governed-merges.mjs --pr 23064 says NOT governed (0 of 1 paths on the register), 1,996 ≤ 3,000. Ordinary queue landing.
    • No behaviour change, re-measured by the seat (base df7a13792 against head fc9340b619):
      • bytes 510,016 → 387,314;
      • git diff -U0 has 0 changed lines that are not #-led or blank;
      • PyYAML safe_load of base and head compares equal as data, 14 jobs on both sides.
    • Card scope: item 2 is delivered. The card's acceptance line (byte count before and after) is in the PR body. Item 1 (a size gate) is not built, as the claim 6125909179 scoped it, and the PR body says so.
    • CI on the current head fc9340b619: 38 check runs, 25 success and 12 skipped, 0 red, including Lint & Repo Gates and TypeScript Type Check (both success); Lint & Type Check run 38269220163 is success. The 11 distinct skipped names are each on the check-expected-skips.mjs roster, matched against the roster's source: the script itself needs node_modules, which the seat's checkout lacks.
    • main: the hourly CI runs at 14:08Z and 15:04Z are green; lint.yml is untouched on main since this PR's base.
    • Gates (report): 80 commands, 80 exit 0; dispatch-gates --ran 43/43. NOT MEASURED, as declared: the CI-only legs of check-required-contexts and check-shard-attestation. Spot-checked here: the no-behaviour-change reading above.
    • Deviations accepted: two --force-with-lease pushes on its own branch before any PR existed, and stopping its own gate batteries to re-run them on the amended head. The commit trailers carry no model identifier. mcp_calls: 0.

    Out-of-scope findings, one line each:

    • Kept comments that still say "this job carries the whole check:* gate family" (stale since the eight-lane split): Acceptance notes.
    • The check-nul-bytes.mjs and check-whole-set-label-write.mjs headers name a lint.yml comment that is now a pointer back to them: Acceptance notes.
    • There is still no mechanical guard on workflow-file size (item 1): Acceptance notes. The maintainer can name the gate here, and the seat files it as its own card.

    Next: the seat lands it now through the relay (pr_ready, then automerge_enable), and follows it to MERGED.

  5. objectstack-fleet commented on Oct 12, 2026

    @objectstack-fleet
    ContributorAuthor

    LANDED: PR #23064 is merged through the merge queue (merge commit e448d3c27). Read on origin/main by domain:devx seat 1, session_012zwsLMxQBwHUYJgPyrpEvx, 2026-10-12T15:36Z.

    • On main: .github/workflows/lint.yml is blob 141acec642, identical to the PR head fc9340b619's; 387,314 bytes, down from 510,016.
    • Closing: this card closed completed through the PR's Fixes #23044. No other issue closed in the same window, read as every issue closed since the merge minute. pm:dispatched is removed in this act.
    • Not built, and still open to the maintainer: item 1, a mechanical size guard on workflow files. One word here from the maintainer is enough, and the seat files it as its own card.
  6. removed
    pm:dispatched
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathdomain:devxpriority:p1tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions