Repository navigation
feat(kanban): add a project board shared by you and your sessions - #242
Merged
Merged
Conversation
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.
Closes #241
What changed
A persistent project board that the person and the agent sessions of a project share.
boards/<project>/events.jsonlin the config directory) with a pure reducer (kanbanModel.ts).kanbanService.tsvalidates commands against the role table, appends events and plans notifications (kanbanNotifications.ts); notifications reach sessions as user turns with a newkanbanorigin. People use the REST API under/api/kanban; sessions use two control requests,kanban_queryandkanban_command(kanbanControl.ts). All worktrees of a project share one board (resolveProjectRoot).KanbanList,KanbanGet,KanbanCreate,KanbanUpdate;StartSessiontakes an optionalcardandroleto start a session as a task's owner or reviewer.docs/features/kanban/, a README section with screenshots, and CHANGELOG entries.Rules worth reviewing
safetyCheck, not classifier-approvable), in every permission mode. Creating the board, starting a session on a task and cancelling a task also always ask. These checks live in the CLI tools because the server cannot tell whether the user approved; the server enforces the role table.Changes outside the board
always_askson everysafetyCheckpermission request, and the desktop hides "Allow for this session" for them, because that rule never took effect. This also applies to existing prompts such as edits under.git/.strict: false, so optional parameters stay optional.sessionServiceresolves a session's project root through the newsrc/utils/projectRoot.ts; the.claude/worktrees/cut now also applies when the root comes from the fallback project directory.How I tested
bun test: 2625 pass, 0 fail.cd desktop && bun run lint: clean.bun run test -- --run: 2756 passed, 4 skipped.bun test --randomize --seed=1.Known gaps