Skip to content

train(85e): fast gate + 5b's M4 consolidation (skills, KB import lease, duplication guard, route guard, logger) + metrics dedup; release-unblock fix (#19472, #19466) - #19578

Closed
mrveiss wants to merge 18 commits into
mainfrom
train-2026-10-25-85e
Closed

mrveiss wants to merge 18 commits into
mainfrom
train-2026-10-25-85e

Conversation

@mrveiss

@mrveiss mrveiss commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Thinking Path

Train 85e follows 85d (9507d38). It is ordered by the owner's priority: infrastructure first (the pre-push fast gate), then 5b's M4 consolidation PRs ("5b brings in the most important changes"), then d7's. It also carries the fix that unblocks release promotion #19456.

What Changed

Member Head Change
#19550 08e32c5 Pre-push runs only the fast guard gate on every branch; the full suites run in CI (owner: local runs are duplicate work) (#19472)
#19529 85a5d37 One home for skills shared with developers: builtin SKILL.md is canonical, and developer copies are generated (#19341)
#19394 9f4ad72 The KB system-knowledge import runs once at startup, leader-leased, and is cancelled when the lease is lost (#19347)
#19442 00b8097 Duplication guard: tooling and cross-tree scopes, with pins lowered after merge (#18559)
#19457 dcc575e The duplicate-route guard reads real router objects for the backend and SLM (#17325, #18721)
#19348 d0e9ae2 get_logger survives mocked or malformed config, and every workaround module is back on it
#19502 bce6b3e The two usePrometheusMetrics become useInstallMetrics and useFleetMetrics, sharing one kit useMetricsSummary (#18225)

Passengers: research docs RES_rust-usage (#19559) and RES_multi-phase-security-audit-workflow (#19554).

In-train fixes:

  • ratchet_base tests own AUTOBOT_RATCHET_BASE_SHA. CI's value leaked into them and kept release promotion chore(release): promote main to release — 1670 commits since v0.10.0 (#18958) #19456 red.
  • The fast-guard list is read from the pushed commit (tools/git-hooks/fast_guard_tests.txt), so a branch that changes a guard is judged by its own list.
  • The cache key carries the Python and pytest versions.
  • Member interactions:
    • THREAT_MODEL anchors;
    • DuplicationScope (a symbol fork);
    • tracked_paths;
    • python-paths and equivalence entries.
  • Reach floors re-pinned.
  • test_auth_logout module eviction.
  • RUM cold-import budgets.

Why this shape

This is a merge train: frozen member heads, one CI run, a merge commit, and 100 files or fewer.

Verification

Model Used

Claude Opus 5.5 (trainmaster session)

Closes #17325
Closes #18559
Closes #18721
Closes #19288
Closes #19341
Refs #19472 #19341 #19347 #18559 #17325 #18721 #18225 #19559 #19554 #19466

🤖 Generated with Claude Code

…HA instead of inheriting CI's (it broke the release promotion #19456); the fast-guards cache key carries the Python and pytest versions; README notes the leak probe is CI-only by default (#19466, #19550)
…es; #19442's scope census goes through tracked_paths and its Scope tuple becomes DuplicationScope (fork ratchet); python filter covers .github/duplication-pins.json; the fast-gate cache key reads pytest's version without a bare -m pytest; captcha-type-fork-scan floor re-pinned (#19442, #19348, #19550, #15926, #17312, #17810)
…fast_guard_tests.txt and the hook reads it from the pushed commit (working tree only when that commit lacks it), so a branch renaming or deleting a guard pushes under its own list; a listed path absent from the pushed commit still fails (#19550, #19472)
# Conflicts:
#	repo_tests/captcha_type_fork_guard_18131_test.py
…b/duplication-pins.json, the python-filter entry #18559's guards need (#19442, #15360)
…odules it poisoned with its fastapi stub (permission_gate, revocation_unavailable served a MagicMock HTTPException to test_auth_proxy_check); the two #19458 RUM tests give their cold-import case its own budget so a loaded pre-push cannot time them out (#15800, #19458)
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 1

  • train(

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Merge the ones whose CI has finished and review has passed: gh pr merge <number> --squash --delete-branch
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@github-actions

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

…cution only in realtime_session.py since #19457 removed voice.py's duplicate route (#18721); #19442's test drops its sys.modules registration after loading (#13337)
@mrveiss

mrveiss commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #19585: the same members, plus 2 CI fixes (the realtime-bridge guard after #19457's route dedupe, and #19442's sys.modules restore), rebuilt so the push needs only the fast gate.

@mrveiss mrveiss closed this Oct 25, 2026
@mrveiss
mrveiss deleted the train-2026-10-25-85e branch October 25, 2026 17:43
@mrveiss mrveiss reopened this Nov 18, 2026
@mrveiss

mrveiss commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Branch audit (zero-change deletion). This PR shows 0 changed files against main (head ab9ac95e23): every change it carried is already in main. Closing and deleting the branch through this PR; it can be restored with the Restore branch button below.

@mrveiss mrveiss closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment