You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: map the pre-0.3.0 layout in risk-rules - #3408
T3 35398L/193F, basis T3 (core/client.js excluded from the line count)
Path sweep over the main tree plus the file lists of those PRs (2382 paths): 175 paths move, all upward or re-homed - T1->T3 72, T2->T3 90, T0->T3 10, T1->T2 3. changelog.d/** matches no path in the current tree; it only guards a future old-layout diff.
Scope
Only these four mappings. The rest of the file keeps its formatting: no JSON re-serialisation, no version bump. .github/** is T3 under the rules themselves, so the risk label on this PR is expected to be T3.
Verification (local only, no CI reading claimed)
On the exact head 2eae9a225a5f785d2ffe58f87b8fbb9063cd1dd9, in a clean worktree: node --test .github/scripts/*.test.mjs -> 61/61 pass, 0 fail; JSON parses; git diff --stat 68e2322c..head -> 1 file, 8 insertions, 4 deletions. CI has not run at the time of writing.
Lead review — head 6d3ab2a90de977cec1f4f0ea683e21828fcc770e
Scope, single slice: .github/agent/risk-rules.json only, +9/−5 against base 6ce5a915. No executable logic, no network access, no repository writes; the file only reclassifies paths and lists generated files.
What changes:
T3 paths gain core/**, ds-bot/**, patches/** — the pre-0.3.0 layout that previously fell through to unknownPathTier T2.
T2 paths gain plugins/**; T0 gains changelog.d/**.
generatedPaths gains core/client.js and ds-bot/client.js, the same npm run build output as the vendored copy, so a patch to either keeps the size count honest.
generatedPathsNote is rewritten to say the old layout carried that build output twice.
One fact recorded for later readers: none of core/, ds-bot/, patches/, plugins/, changelog.d/ exists on main after 0.3.0, so this mapping only affects replaying pre-0.3.0 diffs (for example #3353 and #3358). It changes no verdict on a diff against today's tree.
Evidence at this exact head — a new commit voids all of it:
tree 83d633f44b2ef6a7b339453830d2ea18f4d6ca24; rules blob 11459922…, 4599 B, sha256 dcaeadb50a006c5bf219defb5c4fdfd5966cb0a2f1941daef68198004b7230ab; JSON parses, version is still 2, top-level key order unchanged.
Local green, 12 test files: node --test .github/scripts/*.test.mjs → 96 tests, 96 pass, 0 fail. I re-ran this myself in a detached worktree at this head; QA reported the same numbers independently.
CI green, separate from the local run: FlyBot required checks completed success at 2026-11-27T05:51:22Z for this head. That job fails unless all seven suites report success, so this is the aggregate gate on this tree. The base of that run is 6ce5a915, one commit behind main: ci: add an advisory merge-decision script for one head #3407 landed as 4f280f0f before this review.
Landed-tree evidence is the merge queue round, not either result above; if that round fails, this record is void.
Decision: enqueue with expected_head_sha = 6d3ab2a90de977cec1f4f0ea683e21828fcc770e. Risk tier (risk:T3) is advisory only under the 2026-11-26 instruction; the merge decision is mine and is recorded here with the head it applies to.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
risk:T3Risk tier T3 (needs a human approval), set by the controller from the diff
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Four mappings in
.github/agent/risk-rules.json, nothing else:core/**,ds-bot/**,patches/**-> T3: the old home of the vendored engine, and a patch series rewrites that treeplugins/**-> T2changelog.d/**-> T0core/client.js->generatedPaths, next to its new-layout twinOld-layout diffs used to fall through to
unknownPathTier=T2. That is why #3353 and #3358 were reported T2 while they rewrite the vendor tree.Effect (engine
34aa484d, base68e2322c)core/client.jsexcluded from the line count)Path sweep over the main tree plus the file lists of those PRs (2382 paths): 175 paths move, all upward or re-homed - T1->T3 72, T2->T3 90, T0->T3 10, T1->T2 3.
changelog.d/**matches no path in the current tree; it only guards a future old-layout diff.Scope
Only these four mappings. The rest of the file keeps its formatting: no JSON re-serialisation, no version bump.
.github/**is T3 under the rules themselves, so the risk label on this PR is expected to be T3.Verification (local only, no CI reading claimed)
On the exact head
2eae9a225a5f785d2ffe58f87b8fbb9063cd1dd9, in a clean worktree:node --test .github/scripts/*.test.mjs-> 61/61 pass, 0 fail; JSON parses;git diff --stat 68e2322c..head-> 1 file, 8 insertions, 4 deletions. CI has not run at the time of writing.Related #3393