Skip to content

feat(issue): add edit command with update alias - #161

Merged
camwest merged 1 commit into
masterfrom
feat/issue-158-command-naming
Feb 12, 2026
Merged

feat(issue): add edit command with update alias#161
camwest merged 1 commit into
masterfrom
feat/issue-158-command-naming

Conversation

@camwest

@camwest camwest commented Feb 12, 2026

Copy link
Copy Markdown
Owner

Summary

Add an issue field-mutation command with LLM-friendly naming:

  • Canonical: isq issue edit
  • Alias: isq issue update

Supported fields:

  • --title
  • --body (including --body - to read stdin)
  • --priority (0..4)

Why

Issue #158 asked for a way to update mutable issue fields after creation so agents can keep the issue description current instead of appending workaround comments.

This keeps command vocabulary aligned with common CLI conventions (edit) while preserving update as an alias for discoverability.

Implementation

  • Added IssueCommands::Edit with alias update in CLI args and command routing.
  • Added new write op handler: src/cli/issues/write_ops/edit.rs.
  • Added UpdateIssueRequest and Forge::update_issue trait method.
  • Implemented per forge:
    • GitHub: updates title/body, rejects priority with explicit guidance.
    • Linear: updates title/body/priority via issueUpdate mutation.
    • JIRA: updates summary/description/priority (rejects --priority 4 since JIRA has no explicit "none" priority).
  • Added offline queue support for edit operations in daemon processing.
  • Added tests for:
    • CLI parsing (edit + update alias)
    • Edit command validation helpers
    • Linear priority mapping roundtrip
    • Conflict classification for Linear update mutation failures

Validation

  • cargo test (197 passed)
  • bash scripts/lint.sh --ci (clippy + fmt + file size checks all passed)

Closes #158

camwest commented Feb 12, 2026

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camwest
camwest force-pushed the feat/issue-158-command-naming branch from eb2618d to ea9daae Compare February 12, 2026 19:15
@camwest
camwest marked this pull request as ready for review February 12, 2026 19:19
@camwest
camwest merged commit 3cde6f7 into master Feb 12, 2026
3 checks passed
@camwest
camwest deleted the feat/issue-158-command-naming branch February 12, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: issue update command for body, title, priority

1 participant