Skip to content

refactor: linearize main history for required-linear-history ruleset - #368

Merged
aliasfoxkde merged 7 commits into
mainfrom
reconcile/linearize
Nov 4, 2026
Merged

aliasfoxkde merged 7 commits into
mainfrom
reconcile/linearize

Conversation

@aliasfoxkde

Copy link
Copy Markdown
Owner

Summary

  • Replays local main's content onto origin/main without merge commits so it can land under the Safeguards ruleset (required_linear_history active, no bypass actors)
  • Tree hash is byte-identical to the previous merge-based main (914820ed): no content change, history shape only
  • 20 replayed commits were dropped as already-upstream; 7 unique commits remain

Test plan

  • CI green on this branch (fmt/clippy/test chain)
  • Merge with rebase-merge; fast-forward local main afterwards

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 060e9e0f-f8fc-4730-9a46-871060e1c9ac
  • 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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🤖 AI Code Review Results

AI review skipped: provider 'anthropic' is not configured; deterministic gates remain authoritative.

✅ No critical issues found.

AI Code Review powered by GitForge

aliasfoxkde and others added 7 commits November 3, 2026 16:56
Route-by-route inventory of the API surface with auth class and
per-handler authorization check for every registered route. Anchors the
registration and webhook findings fixed in the preceding commit.
…dicts

- /metrics and /dashboard require auth unless GITFORGE_PUBLIC_TELEMETRY=1
  (F5); /health stays public; decision core + middleware tests
- pipeline_runs.ref_name column; webhook/ci populate it; supersede and
  integration/scheduler tests updated
- release gate: unconditional-job check accepts satisfied rows
  (succeeded or skipped); quality-chain names stay fails-closed; gate
  tests extended
- ledger verdicts for F1-F5 and the 2026-11-02 queue incident; F4
  recorded as a design decision; architecture audit appended to the
  execution plan; __pycache__ ignored

Co-Authored-By: Claude <noreply@anthropic.com>
/metrics and /dashboard were merged into public_routes, bypassing the
auth middleware entirely, so the GITFORGE_PUBLIC_TELEMETRY gate was dead
code at the route boundary. Wire both surfaces into the protected router
by default and into public_routes only on explicit opt-in. Integration
tests now pin the boundary: anonymous 401 by default, 200 with opt-in.
Make telemetry_is_public crate-visible and clone the metrics router so
it can be merged into either the public or protected router without a
double move.
The default-posture telemetry routes were merged into the /api-nested
protected router, which relocated them to /api/metrics and /api/dashboard
and left the canonical paths a 404. Mount them at top level behind their
own auth-middleware layer instead. Serialize the three env-mutating
telemetry tests with a shared mutex: the decision is read from the
process env at router-build time, so parallel test threads race and
randomly invert the asserted posture.
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🤖 AI Code Review Results

AI review skipped: provider 'anthropic' is not configured; deterministic gates remain authoritative.

✅ No critical issues found.

AI Code Review powered by GitForge

@aliasfoxkde
aliasfoxkde merged commit 059ab2f into main Nov 4, 2026
25 of 27 checks passed
@aliasfoxkde
aliasfoxkde deleted the reconcile/linearize branch November 4, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant