Repository navigation
docs: correct feature flag endpoint path in CLAUDE.md - #2005
Merged
Merged
Conversation
The feature flags endpoint is mounted at prefix /api/v1, so the full path is /api/v1/config/features (verified in app/main.py). Closes #1132 Signed-off-by: YuuGR1337 <[email protected]>
clawgenti
reviewed
Jun 18, 2026
clawgenti
left a comment
Contributor
There was a problem hiding this comment.
Single-line doc fix correcting the feature-flag endpoint path from /api/config/features to /api/v1/config/features; verified against app/main.py where config.router is mounted with prefix="/api/v1". One finding to address before merge.
- PR title missing emoji prefix (
docs: correct...→ e.g.📝 docs: correct...): theverify-pr-titleCI check is failing for this reason — please update the title to match Kagenti conventions.
Reviewed by clawgenti using github:pr-review
| 2. **Use the canonical mechanism.** Flags live in `kagenti/backend/app/core/config.py` | ||
| as `kagenti_feature_flag_<name>: bool = False` and are exposed to the frontend | ||
| via the `GET /api/config/features` endpoint (see `app/routers/config.py`). | ||
| via the `GET /api/v1/config/features` endpoint (see `app/routers/config.py`). |
Contributor
There was a problem hiding this comment.
suggestion: PR title is missing the emoji prefix required by Kagenti conventions (see verify-pr-title CI failure). Please rename to something like 📝 docs: correct feature flag endpoint path in CLAUDE.md so the title check passes.
Contributor
|
@YuuGR1337 Please rebase from main so that the branch can be merged. |
pdettori
enabled auto-merge
June 25, 2026 23:32
pdettori
disabled auto-merge
July 1, 2026 19:36
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Re-opens the fix from #1630 (that PR's branch got orphaned by a force-push).
The CLAUDE.md feature-flag docs reference
GET /api/config/features, but the config router is mounted at prefix/api/v1, making the real path/api/v1/config/features— as @rubambiza verified on the previous PR. Commit is DCO signed-off.Closes #1132