Skip to content

chore(action-center): close the task vocabulary transition window - #842

Merged
gkhngyk merged 1 commit into
mainfrom
feature/drop-legacy-task-vocabulary
Sep 27, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
feature/drop-legacy-task-vocabulary

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes the transition window that 00094 opened for task modes and permissions.

00094 kept the old values (manual, none, approval) valid so the previously deployed server could keep inserting tasks while #839 rolled out. That deploy has now run a full night. Every row in action_tasks uses the specification's vocabulary (checked on the hosted database before applying), so the constraints accept only these values again:

  • mode: system / agent / human / human_or_agent
  • permission: read / write / execute

A test fixture that still used mode: 'manual' now uses human.

The migration is already applied to the hosted database. This PR adds the repo file and the regenerated schema.sql.

Related issue

Follow-up to #839 · tracking #818

Type of change

  • chore — Maintenance / dependencies

How to test

  • cd server && npx vitest run → 836 passing
  • Insert an action_tasks row with mode = 'manual' → rejected by action_tasks_mode_check

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • Changes are focused — one concern per PR

🤖 Generated with Claude Code

00094 kept manual/none/approval valid while the previous server was live.
The new code has run a full night and every action_tasks row uses the
specification's vocabulary, so the constraints accept only that again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the needs-migration Adds or edits a migration — apply it to the hosted database label Sep 27, 2026
@gkhngyk
gkhngyk merged commit 7b5d7f6 into main Sep 27, 2026
6 checks passed
@gkhngyk
gkhngyk deleted the feature/drop-legacy-task-vocabulary branch September 27, 2026 09:52
@gkhngyk gkhngyk mentioned this pull request Oct 2, 2026
33 of 37 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-migration Adds or edits a migration — apply it to the hosted database

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant