@bensandee/tooling 0.110.0 → 0.112.0
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/bin.mjs +259 -212
- package/package.json +1 -1
- package/tooling.schema.json +44 -0
package/package.json
CHANGED
package/tooling.schema.json
CHANGED
|
@@ -729,6 +729,42 @@
|
|
|
729
729
|
"runOnVersionPr": {
|
|
730
730
|
"description": "Run the CI check job on the changesets version PR (changeset-release/<defaultBranch>). Default false: the generated check job is skipped there, because that branch is regenerated on every push to the default branch and that branch's own run gates the release. Has no effect unless releaseStrategy is changesets.",
|
|
731
731
|
"type": "boolean"
|
|
732
|
+
},
|
|
733
|
+
"selectiveTests": {
|
|
734
|
+
"description": "Run only the tests a branch reaches through imports, on an in-run gate (`checks:run --changed`). `false` disables the setting for the repo; the object tunes the selection. Omit to use bst's defaults. A full suite is always what CI, the host backstop and `pnpm check` run -- this only ever narrows the test step of a step that opted in.",
|
|
735
|
+
"anyOf": [
|
|
736
|
+
{
|
|
737
|
+
"type": "boolean",
|
|
738
|
+
"const": false
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"ignore": {
|
|
744
|
+
"description": "Globs of changed paths that cannot affect any test, dropped from the selection. Unions with bst's defaults (docs/**, .changeset/**, .agent/findings/**), which it never replaces.",
|
|
745
|
+
"type": "array",
|
|
746
|
+
"items": {
|
|
747
|
+
"type": "string"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"fullSuite": {
|
|
751
|
+
"description": "Globs of changed paths that force the full suite instead of a selection, e.g. a package whose source is injected into every test at build time.",
|
|
752
|
+
"type": "array",
|
|
753
|
+
"items": {
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"alwaysRun": {
|
|
758
|
+
"description": "Test files run on every selective step, whatever the change. For a test that reads the tree, dist/, or starts a built bin: the import graph cannot see those edges.",
|
|
759
|
+
"type": "array",
|
|
760
|
+
"items": {
|
|
761
|
+
"type": "string"
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"additionalProperties": false
|
|
766
|
+
}
|
|
767
|
+
]
|
|
732
768
|
}
|
|
733
769
|
},
|
|
734
770
|
"additionalProperties": false
|
|
@@ -768,6 +804,10 @@
|
|
|
768
804
|
"description": "Whether the agent may self-trigger backlog runs consuming this repo's .agent/findings/ ledger (default: on wherever the ledger exists, which only happens in a repo whose own review loop wrote it). A backlog run opens a pull request that fixes or refutes the pending findings; false disarms it, leaving the ledger to accumulate for a human. A run starts only once at least three findings are pending or one is older than seven days.",
|
|
769
805
|
"type": "boolean"
|
|
770
806
|
},
|
|
807
|
+
"backlogStrongestModel": {
|
|
808
|
+
"description": "Whether the backlog pull request is armed with agent-flags/strongest-model, so every stage of the backlog run uses the strong model tiers (default: off). Off, the run uses each phase's ordinary tier; a person can still apply the label to one pull request.",
|
|
809
|
+
"type": "boolean"
|
|
810
|
+
},
|
|
771
811
|
"lintSweep": {
|
|
772
812
|
"description": "The lint-warning sweep: a periodic agent job that measures this repo's oxlint warnings on its default branch in a container and, past minWarnings, opens a pull request carrying a generated plan for an agent/implement run to work off. Expired @compat warnings leave that plan and each get their own issue instead (see compatIssues).",
|
|
773
813
|
"type": "object",
|
|
@@ -854,6 +894,10 @@
|
|
|
854
894
|
"pattern": "^[\\w:*?.\\-[\\]{}!,]+$"
|
|
855
895
|
}
|
|
856
896
|
},
|
|
897
|
+
"selectiveTestGate": {
|
|
898
|
+
"description": "Whether an agent run's check gate passes its containers a ref so the test step runs only the tests the branch reaches, plus the always-run list (`checks.selectiveTests`). Off when the key is absent: the host backstop has to measure the selection for a couple of weeks before a run may rely on it. Read from the repo's DEFAULT BRANCH only, like `localVerify`. Has no effect unless `agent.enabled` is true.",
|
|
899
|
+
"type": "boolean"
|
|
900
|
+
},
|
|
857
901
|
"localVerify": {
|
|
858
902
|
"description": "Keep an agent run's check gate in the agent's own sandboxed verify container instead of measuring it on this repo's forge CI. `true` is the local verify; leaving the key out is the other answer, so the agent waits for the CI run of the commit it pushed and reads its `checks:run` job log, falling back to the local verify whenever CI cannot stand in. Read from the repo's DEFAULT BRANCH only, never off the pull request's own tree, so a pull request cannot choose the gate that measures it. Like every other `agent.*` key, this has no effect unless `agent.enabled` is true.",
|
|
859
903
|
"type": "boolean"
|