Stellar Wave #6 — Apply via the Stellar Wave Program on Drips. Use the Wave application flow. Maintainers review applicants on the Drips maintainer dashboard.
Wave window: 2026-06-23 09:00 UTC → 2026-06-30 09:00 UTC.
Summary
Allow operators to export the active policy as JSON and import a new policy through the policy editor with schema validation and a diff preview before saving.
Context
- Policy UI:
src/components/policy-editor.tsx
- Policy APIs:
src/app/api/policy/route.ts, src/app/api/policy/history/route.ts
- Schema:
src/lib/validation/schemas.ts
- Diff helpers already exist near the policy editor history UI.
Acceptance criteria
Notes
Keep the existing manual editor. Import/export should augment it, not replace it.
Evidence submission
## Policy import/export — Evidence
**Contributor:** @handle | **PR:** #___
- [ ] Exported policy re-imports successfully
- [ ] Invalid policy is rejected before save
- [ ] Diff preview shown before save
- [ ] Viewer cannot mutate policy
Wave complexity (maintainer)
Medium — 150 points
Summary
Allow operators to export the active policy as JSON and import a new policy through the policy editor with schema validation and a diff preview before saving.
Context
src/components/policy-editor.tsxsrc/app/api/policy/route.ts,src/app/api/policy/history/route.tssrc/lib/validation/schemas.tsAcceptance criteria
policyConfigSchemanpm testandnpm run lintpassNotes
Keep the existing manual editor. Import/export should augment it, not replace it.
Evidence submission
Wave complexity (maintainer)
Medium — 150 points