@biffo/cli 0.313.1 → 0.313.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +29 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4461,7 +4461,35 @@ function buildPrBody(from, to, plan, migrations, base = GLOBAL_DISPATCH_REF, loc
|
|
|
4461
4461
|
lines.push(
|
|
4462
4462
|
"Automated core upgrade generated by `biffo core upgrade` (ADR-0006).",
|
|
4463
4463
|
"",
|
|
4464
|
-
|
|
4464
|
+
// SCOPED TO THE COMMIT THIS TOOL WRITES, NOT TO THE BRANCH (#1999).
|
|
4465
|
+
//
|
|
4466
|
+
// The old wording was "Only template-owned paths were touched — product,
|
|
4467
|
+
// plugin, and infra files were left untouched", stated flatly about the PR.
|
|
4468
|
+
// It is true when this runs and routinely FALSE by the time the PR merges,
|
|
4469
|
+
// because an instance carrying a divergence declaration cannot go green
|
|
4470
|
+
// without a second, user-owned commit on this same branch:
|
|
4471
|
+
// `test_known_divergence_derivation_matches_the_current_core_pin` asserts
|
|
4472
|
+
// the derivation constant equals `biffo.core.json`'s pin in BOTH
|
|
4473
|
+
// directions, so bumping the pin without re-deriving is red on a required
|
|
4474
|
+
// check, and re-deriving without the bump turns `dev` red instead. Neither
|
|
4475
|
+
// half can land alone.
|
|
4476
|
+
//
|
|
4477
|
+
// Live cost of the old wording, tabsii-com/tabsii-platform#1420: a
|
|
4478
|
+
// prosecutor compared the branch head to this claim, correctly found the
|
|
4479
|
+
// claim false, and rejected the PR. The remediation split the re-derivation
|
|
4480
|
+
// into a stacked PR and deadlocked — the upgrade could not go green without
|
|
4481
|
+
// it, and it could not merge before the upgrade. Three builder dispatches, a
|
|
4482
|
+
// model escalation and a blocker filed at the owner, with nothing wrong in
|
|
4483
|
+
// the code at any point. The tool asserted something it cannot keep true and
|
|
4484
|
+
// a guard believed it.
|
|
4485
|
+
//
|
|
4486
|
+
// This says only what the tool actually knows: what ITS OWN commit did.
|
|
4487
|
+
// #1994 made that distinction real on the guard side too, scoping the
|
|
4488
|
+
// ownership exemption to the mechanical commit — so the body and the guard
|
|
4489
|
+
// now mean the same thing by "the upgrade".
|
|
4490
|
+
`Bumps the Biffo template core from **${from}** to **${to}** and updates \`biffo.core.json\`.`,
|
|
4491
|
+
"",
|
|
4492
|
+
`The commit generated by \`biffo core upgrade\` touches only template-owned paths (see \`core-manifest.json\`) \u2014 no product, plugin or infra files. **Any later commit on this branch is an ordinary reviewable change and is not covered by that statement.** A divergence-pin re-derivation belongs here, for example: the pin-equality test requires it to land together with the core bump, and it edits a user-owned path by design.`,
|
|
4465
4493
|
...carriedPrsSection(carriedPrs),
|
|
4466
4494
|
"",
|
|
4467
4495
|
`## Changes (${plan.changes.length})`,
|