@bensandee/tooling 0.107.0 → 0.109.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bensandee/tooling",
3
- "version": "0.107.0",
3
+ "version": "0.109.0",
4
4
  "description": "CLI tool to bootstrap and maintain standardized TypeScript project tooling",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "@clack/prompts": "^1.8.1",
35
35
  "citty": "^0.2.2",
36
36
  "cross-spawn": "^7.0.6",
37
- "dependency-cruiser": "^18.7.0",
37
+ "dependency-cruiser": "^18.7.2",
38
38
  "json5": "^2.2.3",
39
39
  "jsonc-parser": "^3.3.1",
40
40
  "picomatch": "^4.0.7",
@@ -52,11 +52,11 @@
52
52
  "@types/node": "24.19.2",
53
53
  "@types/picomatch": "4.0.3",
54
54
  "commit-and-tag-version": "13.3.0",
55
- "modern-web-guidance": "0.0.196",
56
- "oxfmt": "0.75.0",
55
+ "modern-web-guidance": "0.0.197",
56
+ "oxfmt": "0.76.0",
57
57
  "prettier": "3.9.10",
58
- "release-it": "21.1.1",
59
- "tsdown": "0.23.4"
58
+ "release-it": "21.1.2",
59
+ "tsdown": "0.23.7"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown",
@@ -358,6 +358,11 @@
358
358
  }
359
359
  ]
360
360
  },
361
+ "mergePrep": {
362
+ "description": "Prepare-for-merge routine: the `.agent/guides/merge-prep.md` guide and the `.claude/skills/prepare-for-merge/SKILL.md` skill. On by default; set to false to stop shipping both, and `repo:sync` then removes them while it still owns them. A file that has opted out is left alone: the guide by an ignore directive on its first line, the skill by one on its second, since line 1 of a skill must stay `---`.",
363
+ "type": "boolean",
364
+ "const": false
365
+ },
361
366
  "health": {
362
367
  "description": "Codebase-health gate configuration. Opt-in: set enabled true to gate structural metrics (crowded directories, circular deps, fan-in/out) against health-baseline.json.",
363
368
  "type": "object",
@@ -805,6 +810,17 @@
805
810
  "enum": ["critical", "high", "normal", "low"]
806
811
  }
807
812
  },
813
+ "closure": {
814
+ "description": "Map this repo's own issue-label names onto the agent's four closure reasons, e.g. {\"Reviewed/Duplicate\": \"duplicate\"}. The map UNIONS with the built-in closed/<reason> names rather than replacing them, and the agent does not create aliased labels -- the repo owns names the agent did not choose. A closure reason records why a unit was closed: no claim, sweep, or goal reads it.",
815
+ "type": "object",
816
+ "propertyNames": {
817
+ "type": "string"
818
+ },
819
+ "additionalProperties": {
820
+ "type": "string",
821
+ "enum": ["duplicate", "obsolete", "wontfix", "invalid"]
822
+ }
823
+ },
808
824
  "triageAnalysis": {
809
825
  "description": "Whether the agent may route its own agent-note/human-triage-needed issues through the agent/analyze stage (default: off). Unlike agent.backlog, which defaults on, this defaults off: a backlog run batches every pending finding into one container, while triage routing spends one container per issue -- arming it is the reversible direction, not disarming it.",
810
826
  "type": "boolean"
@@ -825,83 +841,10 @@
825
841
  "additionalProperties": false
826
842
  },
827
843
  "findingHolds": {
828
- "description": "Which of a pull request's linked open findings withhold its unattended merge. `rules` is ordered and the first `when` that matches decides; no match falls through to `default`; an absent block is { rules: [], default: true }, so every open linked finding holds by default. Read off the repo's DEFAULT BRANCH, never off the pull request's own tree -- a pull request cannot edit the rule deciding whether it is held. In a `mentions` entry a /.../flags pattern is a regular expression, a literal:<text> pattern is the substring <text> (how to name a path such as /src/utils), and anything else is a case-insensitive substring.",
829
- "type": "object",
830
- "properties": {
831
- "rules": {
832
- "default": [],
833
- "description": "Ordered rules; the first whose `when` matches decides, and no match falls through to `default`.",
834
- "type": "array",
835
- "items": {
836
- "type": "object",
837
- "properties": {
838
- "when": {
839
- "description": "The clause this rule matches on -- a conjunction of optional matchers, all of which must match. An absent clause matches every finding; a matcher that is present may not be empty.",
840
- "type": "object",
841
- "properties": {
842
- "class": {
843
- "description": "Match when the finding's class is any of these. Only human-decision findings become issues today, so this matcher exists for a class a later change files as one; it is declared now so a rule using it does not need the schema to change under it.",
844
- "minItems": 1,
845
- "type": "array",
846
- "items": {
847
- "type": "string",
848
- "enum": ["human-decision", "pre-existing", "nit"]
849
- }
850
- },
851
- "phase": {
852
- "description": "Match when the phase of the run that filed the finding is any of these (review, spec, plan, implement, ...). Distinguishes, for example, a finding filed by spec work against a docs-only pull request from one a review raised on the code.",
853
- "minItems": 1,
854
- "type": "array",
855
- "items": {
856
- "type": "string",
857
- "minLength": 1
858
- }
859
- },
860
- "mentions": {
861
- "description": "Match when the finding's title or body prose contains any of these. A plain string is a case-insensitive substring; a pattern written /.../flags is a regular expression. A string written literal:<text> is the substring <text>, which is how to name a path such as /src/utils that would otherwise read as a regular expression. This is how a rule looks at which files a finding concerns: a finding about health-baseline.json says so in its text.",
862
- "minItems": 1,
863
- "type": "array",
864
- "items": {
865
- "type": "string",
866
- "minLength": 1
867
- }
868
- },
869
- "prLabels": {
870
- "description": "Match when the pull request carries any of these labels (from the claim snapshot).",
871
- "minItems": 1,
872
- "type": "array",
873
- "items": {
874
- "type": "string",
875
- "minLength": 1
876
- }
877
- }
878
- },
879
- "additionalProperties": false
880
- },
881
- "hold": {
882
- "type": "boolean",
883
- "description": "What this rule decides: true withholds the pull request from unattended merging, false lets it through."
884
- }
885
- },
886
- "required": ["hold"],
887
- "additionalProperties": false
888
- }
889
- },
890
- "default": {
891
- "default": true,
892
- "description": "What to do with a finding no rule matched (default true -- hold). Failing closed is the deliberate shipped default: an unwanted hold costs one tap to answer the finding, while an unwanted pass is the problem the gate exists to prevent.",
893
- "type": "boolean"
894
- }
895
- },
896
- "additionalProperties": false
844
+ "description": "Retired and ignored -- every open finding linked to a pull request now holds its unattended merge, and no rule narrows that. The key is still accepted so an existing config keeps syncing; the agent warns once per launch for a repo that still sets it."
897
845
  },
898
846
  "chatIssueRepos": {
899
- "description": "Repositories with a DIFFERENT owner that a control-panel chat from this repository may file an issue in, each one a full `owner/name`, never a wildcard. A repository with the same owner needs no entry, and an entry grants nothing on its own: the target must have enabled the agent too. Read from the repo's DEFAULT BRANCH at the moment a card is applied, so a pull request cannot widen the reach of its own chat. Like every other `agent.*` key, this has no effect unless `agent.enabled` is true.",
900
- "type": "array",
901
- "items": {
902
- "type": "string",
903
- "pattern": "^(?!\\.\\.?\\/)[\\w.-]+\\/(?!\\.\\.?$)[\\w.-]+$"
904
- }
847
+ "description": "Retired and ignored -- a control-panel chat files an issue only in a repository with the same owner as the chat's repository, and this list no longer adds one with a different owner. The key is still accepted so an existing config keeps syncing; the agent warns once per launch for a repo that still sets it."
905
848
  },
906
849
  "ciOnlySteps": {
907
850
  "description": "Step names or globs in `checks:run --skip` syntax that agent runs leave to CI, for example [\"docker:check\"]. Separate from `checks.skip`, which drops a step in CI too: here CI still runs the step and its status still gates the merge. Read from the repo's DEFAULT BRANCH only, never off the pull request's own tree, so a pull request cannot widen its own skip list. The agent merges such a pull request only on green CI, because the gate no longer measures these steps. Like every other `agent.*` key, this has no effect unless `agent.enabled` is true.",