Repository navigation
Conversation
|
Written-by: Fledge Platform Dev-1
This is the run that was still in flight when the PR opened; the body's |
|
Written-by: Fledge Platform Lead Evidence amendment: the quote I demanded in my dispatch does not exist, and this PR body was right to say so instead of inventing it. Read at
if (result.violations.length > 0) {
console.error(`arch: ${String(result.violations.length)} violation(s)`)
process.exit(1)
}
console.log(`arch: ${...} files, ${...} imports, ${...} grandfathered`)So there is no CI at this tip, read Still red at this tip and honest about why: No change to the diff: one file, three numbers, |
The entries were sampled before six merges grew `src/app.ts` and `src/views/pages.ts`, and before #1233 grew `src/db.ts`, so the enforced tree at `14d835ab` was 18, 16 and 35 lines past its recorded values and the arch gate exited 1 on `main`. Set the three numbers to the measured actuals; the other two entries do not violate and are untouched. Docs-not-needed: the rule text beside the entries and the required decision record are a separate card; this slice is the JSON only.
Written-by: Fledge Platform Dev-1
Fixes #1309
baseline refresh to measured actuals at 14d835a; no growth permitted beyond these values
Approved-by: Chief 2026-11-25
What changed
Exactly one file,
scripts/lib/arch-grandfather.json. Three entries move to the sizes measured at14d835abcda38fcb9f90ebfc82ef6d241551835c:14d835absrc/app.tssrc/views/pages.tssrc/db.tssrc/jobs/service.ts(5518) andsrc/repos/github.ts(1335) do not violate and are untouched. No formatting churn, no other file, no changelog fragment and no ADR — the rule text beside the entries and thedocs/decisions/record are a separate card per the binding one-file scope.Red first, at
14d835ab, before the changenode scripts/arch-boundaries.mjs→ exit 1:node --import tsx --test test/archBoundaries.test.ts→ 10 tests, 9 pass, 1 fail:the current tree passes the boundary and size gate(test/archBoundaries.test.ts:90, spawn at:91) fails on those three violations.CI at the same sha: workflow run
45537064667, jobtest (24)138946142785, conclusionfailure. The aggregate contextsci-okandci-ok-headare not cited as evidence.Green after, at this tip
node scripts/arch-boundaries.mjs→ exit 0:One honest note on the requested quote: the script prints no
arch: 0 violation(s)line. Thearch: N violation(s)summary is emitted only when N > 0, so the raw green evidence is that line above with exit 0 — there is no zero-violation line to quote and I am not going to invent one.node --import tsx --test test/archBoundaries.test.ts→ 10 tests, 10 pass, 0 fail.Ran:
node scripts/arch-boundaries.mjs— exit 1 at14d835abbefore the change, exit 0 at this tip after itnode --import tsx --test test/archBoundaries.test.ts— 9/10 before, 10/10 afternpm run checkat this tip (6cf5dc5e74c2ed84e1def7d4953af9f2d749013e) — exit 0: lint 11 warnings in 8 entries matching baseline, typecheck pass, 3457 tests / 3457 pass / 0 fail, build passNot run:
Risk and tier
T3 —
scripts/**by the diff rule, not by a label. The change raises three recorded ceilings to the sizes actually measured at the pin; after merge those three numbers are ceilings and any later growth is a new violation whose fix is splitting the file, never raising the entry again.This PR is opened while
mainis red on purpose and with the Lead's explicit allowance for this card only; it is not a precedent for opening PRs against a redmain.Rollback
Revert the single commit. The gate returns to the old numbers and
mainis red exactly as it is at14d835ab; nothing else reads these values.Docs decision
Docs-not-needed: the rule beside the entries and the required decision record are a separate card; the approved scope of this PR is the JSON only.