* chore: restore repo files dropped by the v2 tree swap
A sweep of the pre-swap tree (ac3c1a12) against v2/main turned up 14 files the
tree swap dropped and that were never restored to either branch. Most are
correctly gone (v1 CI workflows, v1 sample-config, husky hook, two 0-byte
files, v1-specific prettier config). These four are worth having:
- .github/dependabot.yml — rewritten, not restored. v1's covered only
github-actions at /; this covers github-actions plus the six npm manifests
v2 actually has (root + four clients), monthly rather than weekly, grouped
to one PR per ecosystem/directory, targeting v2/main, and labeled `v2` so
the version-label rule holds for bot PRs too.
- .github/ISSUE_TEMPLATE/bug_report.md — rewritten. v1's asked for an
"Inspector Version e.g. 0.16.5" and had no client or version field. Under
the issues-only policy this template is the primary intake, so it now asks
the routing questions first (v1 vs v2, which client) and points at the
prompt-not-a-diff path.
- .gitattributes — restored byte-for-byte (package-lock.json
linguist-generated=true). More useful in v2 than v1: there are now six
lockfiles, and they dominate dependency-bump diffs.
- CODE_OF_CONDUCT.md — restored byte-for-byte, so GitHub surfaces it as a
community standard. Left unformatted deliberately: it is verbatim upstream
Contributor Covenant text, v1 listed it in .prettierignore for that reason,
and no v2 format glob reaches root markdown.
CONTRIBUTING.md is deliberately not restored here — it is handled by renaming
CONTRIBUTORS.md to that name, which also lights up GitHub's contributing
banner without leaving two files to keep in sync.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU
* docs(dependabot): state the documented target-branch/security-update rule
Copilot review: the comment read as if `target-branch` had no bearing on
security updates. Per GitHub's Dependabot options reference, an entry whose
`target-branch` names a non-default branch is not applied to security
updates at all — so the schedule/labels/groups here shape version updates
only, and security PRs continue to be raised against the default branch.
Comment-only; the configured settings are unchanged.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU
* docs: correct the branch description and the labeling ask
Two suppressed Copilot comments, both correct:
- dependabot.yml called `main` "release-only". It isn't — README.md and
AGENTS.md both describe it as the legacy v1 implementation taking security
and bug fixes only. Reworded to match, keeping the point that matters
(Dependabot reads config from the default branch).
- bug_report.md asked reporters to label the issue `v2`/`v1`, which most
external reporters have no permission to do. It now asks only for the
version checkbox and says a maintainer labels it at triage.
Comment/prose only; no configured Dependabot setting changed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU
* docs(dependabot): describe main as release-only, not "legacy v1"
Reverts the branch description introduced in c7fbf350. That change was made to
match README.md:17 and AGENTS.md — but those are precisely the stale sentences
PR #1866 exists to correct. `main` has not been the legacy v1 implementation
since the go-live tree swap; it is the release branch holding the latest
released v2, and the deprecated v1 line lives on `v1/main`.
So the comment now describes the real model: v2/main is the develop branch,
main is release-only and receives milestone merges, v1/main is maintenance and
takes security fixes only.
The rest of c7fbf350 stands — the bug_report.md change (asking reporters for
the version checkbox rather than to apply a label they lack permission to set)
was a genuine catch.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
93 lines
2.5 KiB
YAML
93 lines
2.5 KiB
YAML
version: 2
|
|
|
|
# Version updates target `v2/main`, the develop branch where all v2 work lands,
|
|
# not the default branch — `main` is release-only, holding the latest released
|
|
# v2 and receiving milestone merges from `v2/main`. (The deprecated v1 line
|
|
# lives on `v1/main` and takes security fixes only.)
|
|
#
|
|
# Two things to know about this file:
|
|
# 1. Dependabot reads it from the DEFAULT branch (`main`). Changes here are
|
|
# inert until the next milestone merge carries them there.
|
|
# 2. `target-branch` scopes VERSION updates. Dependabot SECURITY updates are
|
|
# enabled in repo settings, not here, and are raised against the default
|
|
# branch — they kept working while this file was missing entirely
|
|
# (see #1833, #1840). Per GitHub's Dependabot options reference, an entry
|
|
# whose `target-branch` names a non-default branch is NOT applied to
|
|
# security updates, so the schedule/labels/groups below shape version
|
|
# updates only. Re-confirm security PRs still appear after this lands.
|
|
#
|
|
# v2 is not an npm workspace: the root and each client under `clients/*` carry
|
|
# their own package.json + lockfile, so each needs its own entry.
|
|
|
|
updates:
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
github-actions:
|
|
patterns:
|
|
- "*"
|
|
|
|
- package-ecosystem: "npm"
|
|
directory: "/"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
root-dependencies:
|
|
patterns:
|
|
- "*"
|
|
|
|
- package-ecosystem: "npm"
|
|
directory: "/clients/web"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
web-dependencies:
|
|
patterns:
|
|
- "*"
|
|
|
|
- package-ecosystem: "npm"
|
|
directory: "/clients/cli"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
cli-dependencies:
|
|
patterns:
|
|
- "*"
|
|
|
|
- package-ecosystem: "npm"
|
|
directory: "/clients/tui"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
tui-dependencies:
|
|
patterns:
|
|
- "*"
|
|
|
|
- package-ecosystem: "npm"
|
|
directory: "/clients/launcher"
|
|
target-branch: "v2/main"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "v2"
|
|
groups:
|
|
launcher-dependencies:
|
|
patterns:
|
|
- "*"
|