Skip to content

Commit 677b6cb

Browse files
committed
docs(skills): drop the removed feature_flags settings manifest from plugin-development
The objectstack-platform plugin-development reference still taught a `feature_flags` settings manifest (`ai_enabled` / `beta_*`, `OS_FEATURE_FLAGS_*`). service-settings no longer serves that namespace, so the bullet now gives the live answer: a plugin that needs an org toggle declares its own SettingsManifest and registers it on the `settings` service. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4d1cT65NsbTucMW55wZ
1 parent badf24d commit 677b6cb

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): `objectstack-platform`'s plugin-development reference no longer teaches the removed `feature_flags` settings namespace
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The "Feature Flags" section listed a `feature_flags` settings manifest with `ai_enabled` / `beta_*` toggles and `OS_FEATURE_FLAGS_*` env overrides. That namespace was removed from `@objectstack/service-settings` (reading it is refused with `SETTINGS_UNKNOWN_NAMESPACE`, and the env vars do nothing). The bullet now gives the live answer: a plugin that needs an org toggle declares its own `SettingsManifest` and registers it on the `settings` service.

‎skills/objectstack-platform/references/plugin-development.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,8 @@ descriptor) was itself dead: no endpoint ever served it. Runtime capability disc
351351

352352
The live toggle surfaces are runtime configuration, not authored metadata:
353353

354-
- **`feature_flags` settings manifest** (`@objectstack/service-settings`) — org-tunable
355-
toggles like `ai_enabled` / `beta_*`, resolvable at runtime and env-overridable via
356-
`OS_FEATURE_FLAGS_*` (ADR-0007 settings cascade).
354+
- **Org toggles** — no shared flags namespace exists; a plugin that needs one declares
355+
its own `SettingsManifest` and registers it on the `settings` service (ADR-0007 cascade).
357356
- **Auth capability gates** — `requiresFeature` on actions/params lowers to the
358357
`PUBLIC_AUTH_FEATURES` registry (`kernel/public-auth-features.ts`), the fixed
359358
deployment-level flags plugin-auth advertises to anonymous clients.

0 commit comments

Comments
 (0)