Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/30275-plugin-dev-feature-flags-bullet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@objectstack/skills': patch
---

docs(skills): `objectstack-platform`'s plugin-development reference no longer teaches the removed `feature_flags` settings namespace

Clause-②: no
Metadata-protocol: none

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.
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,8 @@ descriptor) was itself dead: no endpoint ever served it. Runtime capability disc

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

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