Skip to content

docs: correct feature flag endpoint path in CLAUDE.md - #2005

Merged
pdettori merged 5 commits into
rossoctl:mainfrom
YuuGR1337:fix/config-features-path-v2
Jul 1, 2026
Merged

pdettori merged 5 commits into
rossoctl:mainfrom
YuuGR1337:fix/config-features-path-v2

Conversation

@YuuGR1337

Copy link
Copy Markdown
Contributor

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

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]>
@rubambiza rubambiza added the ready-for-ai-review Request automated AI code review from clawgenti label Jun 18, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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...): the verify-pr-title CI check is failing for this reason — please update the title to match Kagenti conventions.

Reviewed by clawgenti using github:pr-review

Comment thread CLAUDE.md
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`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will no longer be relevant per #2021

@rubambiza rubambiza added ready-for-human-review AI review passed, ready for human reviewer and removed ready-for-ai-review Request automated AI code review from clawgenti labels Jun 22, 2026

@rubambiza rubambiza left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rubambiza

Copy link
Copy Markdown
Contributor

@YuuGR1337 Please rebase from main so that the branch can be merged.

@pdettori
pdettori enabled auto-merge June 25, 2026 23:32
@pdettori
pdettori disabled auto-merge July 1, 2026 19:36
@pdettori
pdettori merged commit bb920eb into rossoctl:main Jul 1, 2026
23 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human-review AI review passed, ready for human reviewer

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

fix docs: correct feature flag endpoint path in CLAUDE.md

4 participants