Repository navigation
feat(task-board): read the next board's lanes without offering them - #7879
Merged
Merged
Conversation
The next board replaces To Do, Approved and Merged with QA, Customer Approval and Ready for Deployment. The release that moves cards into the new lanes must be able to roll back to one that reads them, so this release learns the statuses first: laneRank orders them, the board draws one while a card sits in it, and create, update and the column-rule tools refuse them as targets.
decocms Bot
pushed a commit
that referenced
this pull request
Oct 13, 2026
PR: #7879 feat(task-board): read the next board's lanes without offering them Bump type: minor - decocms (apps/api/package.json): 4.464.1 -> 4.465.0 - @decocms/native (apps/native/package.json): 4.464.1 -> 4.465.0 - @decocms/shared (packages/shared/package.json): 0.144.1 -> 0.145.0 Deploy-Scope: both
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this contribution about?
First of three PRs that change the default board to Backlog → In Progress → In Review → QA → Customer Approval → Ready for Deployment → Post-deploy Validation → Done. This one only teaches the code the new statuses, and moves no cards.
Why it goes first: today
laneRankthrows on a status it does not know, and the board cannot draw one. The next PR migrates cards into the new lanes, and the release before it has to read them so that PR can be rolled back.CANONICAL_COLUMN_KEYSgainsqa,customer_approvalandready_for_deployment, ranked between In Review and Done (approvedandmergedkeep their places, so every existing comparison is unchanged).DORMANT_LANES/isDormantLanemark them as known but not offered.TASK_BOARD_ITEM_CREATEandTASK_BOARD_ITEM_UPDATErefuse a dormant status (refuseDormantLane). The column-rule tools (TASK_BOARD_PROMPT_UPSERT,TASK_BOARD_AUTOMATION_UPSERT) validate againstOFFERED_COLUMN_KEYS, which excludes them.moveTargetsnever offers a dormant lane.laneVisibilitydraws a dormant lane as a column only while a card sits in it. List view orders them with the other review lanes.moveTargets, like the board.reviewerenum onTASK_BOARD_REVIEW_DECISIONchanged order only (the printer interns"qa"earlier now).How did you verify your code works?
lanes.test.ts: the new lanes are ranked between In Review and Done, read as out of the review phase, and are refused as write targets (and only they are). Column rules are not offered them.config.test.ts:moveTargetsexcludes dormant lanes with the delivery flag on or off. A dormant lane is absent while empty, and a card in one draws it as a column.bun run verify(10557 pass, 0 fail) andbun run checkclean.Screenshots/Demonstration
No visible change on a board: the new lanes stay hidden while empty, and nothing can move a card into them.
How to Test
TASK_BOARD_ITEM_UPDATEwithstatus: "qa": refused with "not available on this board yet".qadirectly in the database and reload: a QA column appears with the card in it.Review Checklist
Summary by cubic
First of three PRs that change the default task board to Backlog → In Progress → In Review → QA → Customer Approval → Ready for Deployment → Done. This one teaches the code the new statuses and moves no cards, so the release that migrates cards into them can be rolled back safely —
laneRankno longer throws on them and the board can read a card a newer release left in one.Adds
qa,customer_approval, andready_for_deploymentas known statuses ranked between In Review and Done, but marks them dormant and refuses them as targets:TASK_BOARD_ITEM_CREATE,TASK_BOARD_ITEM_UPDATE, and the column-rule tools reject a dormant status; the schema still accepts them for reading.moveTargetsinstead of every canonical status, which previously listed delivery lanes the API then refused.reviewerenum onTASK_BOARD_REVIEW_DECISIONchanged order only.Written for commit 48fbc88. Summary will update on new commits.