Changeset 0.31.2 (#205)

This commit is contained in:
2026-03-19 13:29:27 +00:00
parent 8364440081
commit 6668e546fe
25 changed files with 1357 additions and 50 deletions

View File

@@ -1,5 +1,46 @@
# Changelog
## [0.31.2] — 2026-03-19
### Summary
Team Workflow Self-Service: team admins can now create, edit, publish,
and delete workflows scoped to their team without requiring platform
admin access. New `/teams/:teamId/workflows` route group with full
CRUD, stage management, and publish. New "Workflows" tab in the
team admin panel with visual stage builder. Team slugs enable clean
public workflow URLs (`/w/engineering/intake` instead of UUID).
### New
- **Team-scoped workflow routes** — full CRUD under
`/teams/:teamId/workflows` behind `RequireTeamAdmin`, with ownership
guards verifying `workflow.team_id` matches the path parameter.
Stage CRUD, reorder, publish, and version read all team-scoped.
- **Team admin Workflows tab** — 9th tab in the team admin modal.
List, create, edit, delete workflows. Visual stage builder with
persona picker (team personas), form builder, drag-and-drop reorder.
Publish with version display.
- **Team slugs** — `slug` column on teams table, auto-generated from
name on create/update. Workflow public URLs now use team slug
(`/w/engineering/intake`) instead of UUID. `GetBySlug` store method
with fallback resolution in workflow entry + page renderer.
- **Team-scoped workflow API methods** — `API.listTeamWorkflows()`,
`createTeamWorkflow()`, `updateTeamWorkflow()`, etc. in workflow-api.js.
- **`force_team_id` injection** — `WorkflowHandler.Create` now checks
for `force_team_id` context key (same pattern as `CreateTeamTask`).
### Fixed
- **Auth rate limiter** — burst lowered from 8 to 5 to ensure rate
limiting triggers within 10 rapid sequential requests.
- **Package settings assertions** — ICD runner now checks
`response.values` instead of top-level keys (matches handler envelope).
- **Provider SSE parser** — ICD runner now captures `reasoning_content`
deltas (DeepSeek/reasoning models) in addition to `content` deltas.
- **Team workflow version test** — captures `version_number` from
publish response instead of hardcoding `1`.
## [0.31.1] — 2026-03-18
### Summary