Skip to content

feat(kanban): configure worktree paths and branches (#26496)#28462

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-de55f5dd
May 19, 2026
Merged

feat(kanban): configure worktree paths and branches (#26496)#28462
teknium1 merged 1 commit into
mainfrom
hermes/hermes-de55f5dd

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvages #26496 by @aqilaziz.

Adds branch_name column + CLI flag so tasks with workspace_kind='worktree' can pin a target branch on create. Schema migration is additive (additive ALTER TABLE in _migrate_add_optional_columns).

  • Task.branch_name field + DB column + migration
  • create_task() accepts branch_name kwarg
  • hermes kanban create --branch <name> flag
  • kanban show output includes Branch: line when set

Cherry-picked the substantive commit (a7558cf27); the PR's tip was an unrelated service-path-dirs commit. Resolved 2 conflicts in kanban_db.py (INSERT column list + show output) alongside main's session_id and max_runtime_seconds additions — kept all three. Dropped an unrelated test_provider_parity formatting tweak. Authorship preserved via rebase merge.

Validation

  • 9 branch/worktree tests pass.

Salvages #26496 by @aqilaziz. Adds branch_name column + CLI flag so
tasks with workspace_kind='worktree' can pin a target branch on
create. Schema migration added to _migrate_add_optional_columns.

- Task.branch_name field + DB column + migration
- create_task accepts branch_name kwarg
- hermes kanban create --branch <name> flag
- kanban show output includes 'Branch: <name>' when set

Cherry-picked the substantive commit (a7558cf); the PR's tip was
an unrelated service-path-dirs commit. Resolved 2 INSERT-column-list
and show-output conflicts alongside main's session_id and
max_runtime_seconds additions; kept all three.
@teknium1 teknium1 merged commit 1733cb3 into main May 19, 2026
@teknium1 teknium1 deleted the hermes/hermes-de55f5dd branch May 19, 2026 04:33
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-de55f5dd vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8868 on HEAD, 8863 on base (🆕 +5)

🆕 New issues (2):

Rule Count
not-subscriptable 1
unresolved-attribute 1
First entries
tests/hermes_cli/test_kanban_db.py:99: [not-subscriptable] not-subscriptable: Cannot subscript object of type `None` with no `__getitem__` method
tests/hermes_cli/test_kanban_db.py:98: [unresolved-attribute] unresolved-attribute: Attribute `branch_name` is not defined on `None` in union `Task | None`

✅ Fixed issues: none

Unchanged: 4642 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/feature New feature or request comp/plugins Plugin system and bundled plugins comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants