Repository navigation
fix: drop dead guild-guard entry for nonexistent features route - #2030
Graphify — worth a look
Worth a look — the grounded gate found no coupling regressions or blocking issues, but 1 advisory finding(s) below merit a look before merge.
Details
Graphify reviewed this change.
Worth a look — the grounded gate found no coupling regressions or blocking issues, but 1 advisory finding(s) below merit a look before merge.
Graphify review — findings
This PR removes the per-guild feature toggle route (/api/guilds/:id/features) and its associated RBAC guard registration from the backend routes setup. The corresponding unit test assertions for that route's guard are also removed, and the docs are updated to reflect that only global/authenticated read-only feature listings exist (/api/toggles/global, /api/features) with no per-server feature-toggle API. The changes span backend routing config, its unit tests, and the WEBAPP_SETUP documentation. The touched surface is the feature-toggle section of the API.
Worth a look
- Per-guild features endpoint loses auth/module guard —
packages/backend/src/routes/index.ts:64· Escalate · high- agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review Execution auto-disposal is off for this run; enable it (with sandbox isolation) to have Graphify try to confirm or refute this automatically.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 81 functions depend on the 77 functions this change touches.
Health — this change adds coupling hotspots:
- new:
setupRoutes()— 3 callers, 13 callees - new:
bootstrapBackend()— 2 callers, 8 callees
Verification — 81 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
- verification_scope: 79 function(s) in the blast radius were not formally verified this run