Skip to content

unexpected jj argument '-r' on arr create #470

@jonathanlab

Description

@jonathanlab
jonathan@mac array % arr log
◉  (working copy) (+86, -2, 2 files)
│  just now
│
│  23fb8ee2fa2f - (no description)
│  arr create "message" to save as new change
│  arr modify to update 01-12-fix-recreate-agent-on-token-refresh
│
│
│ ◯  01-12-fix-recreate-agent-on-token-refresh rzwuswrtupsx
├─╯  30 minutes ago
│
│    PR #467 (Open) fix: recreate agent on token refresh
│    https://github.com/PostHog/Array/pull/467
│    bbc28dfe762b - fix: recreate agent on token refresh
│
│
│ ◯  01-12-fix-try-fix-excessive-watcher-memory-usage lrzmrlzoqzlk
│ │  2 hours ago
│ │
│ │  PR #466 (Open) fix/try-fix-excessive-watcher-memory-usage
│ │  https://github.com/PostHog/Array/pull/466
│ │  7b75c31fb808 - fix/try-fix-excessive-watcher-memory-usage
│ │
│ │
│ ~  (elided revisions)
├─╯
│ ◯  01-12-set-mode-to-acceptedits-when-always-allow-is-selec xxnxvmmrssmz
│ │  2 hours ago
│ │
│ │  PR #465 (Open) Set mode to acceptEdits when 'Always allow' is selected
│ │  https://github.com/PostHog/Array/pull/465
│ │  e66fdc7b8fa0 - Update apps/array/src/renderer/features/sessions/components/SessionView.tsx
│ │
│ │
│ ~  (elided revisions)
├─╯
│ ◯  01-12-fix-cmd-shift-p-for-action-palette woxllkkynzyo
├─╯  3 hours ago
│
│    PR #464 (Open) fix/cmd-shift-p-for-action-palette
│    https://github.com/PostHog/Array/pull/464
│    1698a0b8a577 - fix/cmd-shift-p-for-action-palette
│
│
│ ◯  01-12-feat-retain-chatbox-scenarios-in-common-scenarios kxzskpxrvyus
├─╯  3 hours ago
│
│    PR #463 (Open) feat: retain chatbox scenarios in common scenarios
│    https://github.com/PostHog/Array/pull/463
│    f5313befeb60 - feat: retain chatbox scenarios in common scenarios
│
│
│ ◯  01-12-fix-remove-duplicate-mode-indicator vwywztxnluyz
├─╯  4 hours ago
│
│    PR #451 (Open) fix: remove duplicate mode indicator
│    https://github.com/PostHog/Array/pull/451
│    f4624a21d801 - fix: remove duplicate mode indicator
│
│
◯  main
│  2 days ago
│
│  2789312db998 - fix: Fix preserving the users manual folder selection. (#440)
│
jonathan@mac array % arr create "feat: persist session mode"
error: jj command failed: error: unexpected argument '-r' found

  tip: to pass '-r' as a value, use '-- -r'

Usage: jj bookmark move [OPTIONS] <NAMES|--from <REVSETS>>

For more information, try '--help'.

jonathan@mac array % arr jj log
error: Unknown command: jj
  Run 'arr help' to see available commands.
jonathan@mac array % jj log
@  oymytqkw [email protected] 2026-01-12 13:15:33 df8a6d0f
│  (empty) (no description set)
○  kxmmsmww [email protected] 2026-01-12 13:15:33 git_head() 303e7dca
│  feat: persist session mode
│ ○  rzwuswrt [email protected] 2026-01-12 12:44:47 01-12-fix-recreate-agent-on-token-refresh bbc28dfe
├─╯  fix: recreate agent on token refresh
│ ○  lrzmrlzo [email protected] 2026-01-12 11:09:38 01-12-fix-try-fix-excessive-watcher-memory-usage 7b75c31f
│ │  fix/try-fix-excessive-watcher-memory-usage
│ │ ○  xxnxvmmr [email protected] 2026-01-12 10:27:50 01-12-set-mode-to-acceptedits-when-always-allow-is-selec e66fdc7b
│ ├─╯  Update apps/array/src/renderer/features/sessions/components/SessionView.tsx
│ ○  lskqrmvz [email protected] 2026-01-12 10:26:31 daf64837
├─╯  Set mode to acceptEdits when 'Always allow' is selected
│ ○  woxllkky [email protected] 2026-01-12 10:09:58 01-12-fix-cmd-shift-p-for-action-palette 1698a0b8
├─╯  fix/cmd-shift-p-for-action-palette
│ ○  kxzskpxr [email protected] 2026-01-12 09:57:50 01-12-feat-retain-chatbox-scenarios-in-common-scenarios f5313bef
├─╯  feat: retain chatbox scenarios in common scenarios
jonathan@mac array % arr log
◉  (working copy)
│  1 minute ago
│
│  df8a6d0f49d1 - (no description)
│  arr create "message" to save as new change
│  arr modify to update 01-12-fix-recreate-agent-on-token-refresh
│
│
~  (elided revisions)
│ ◆  01-12-fix-recreate-agent-on-token-refresh rzwuswrtupsx (merged)
├─╯  32 minutes ago
│
│    PR #467 (Merged) fix: recreate agent on token refresh
│    https://github.com/PostHog/Array/pull/467
│    bbc28dfe762b - fix: recreate agent on token refresh
│    arr sync to clean up merged changes
│
│
│ ◆  01-12-fix-try-fix-excessive-watcher-memory-usage lrzmrlzoqzlk (merged)
│ │  2 hours ago
│ │
│ │  PR #466 (Merged) fix/try-fix-excessive-watcher-memory-usage
│ │  https://github.com/PostHog/Array/pull/466
│ │  7b75c31fb808 - fix/try-fix-excessive-watcher-memory-usage
│ │  arr sync to clean up merged changes
│ │
│ │
│ ~  (elided revisions)
├─╯
│ ×  01-12-set-mode-to-acceptedits-when-always-allow-is-selec xxnxvmmrssmz (closed)
│ │  2 hours ago
│ │
│ │  PR #465 (Closed) Set mode to acceptEdits when 'Always allow' is selected
│ │  https://github.com/PostHog/Array/pull/465
│ │  e66fdc7b8fa0 - Update apps/array/src/renderer/features/sessions/components/SessionView.tsx
│ │  arr sync to clean up closed PR
│ │
│ │
│ ~  (elided revisions)
├─╯
│ ◆  01-12-fix-cmd-shift-p-for-action-palette woxllkkynzyo (merged)
├─╯  3 hours ago
│
│    PR #464 (Merged) fix/cmd-shift-p-for-action-palette
│    https://github.com/PostHog/Array/pull/464
│    1698a0b8a577 - fix/cmd-shift-p-for-action-palette
│    arr sync to clean up merged changes
│
│
│ ◆  01-12-feat-retain-chatbox-scenarios-in-common-scenarios kxzskpxrvyus (merged)
├─╯  3 hours ago
│
│    PR #463 (Merged) feat: retain chatbox focus in common scenarios
│    https://github.com/PostHog/Array/pull/463
│    f5313befeb60 - feat: retain chatbox scenarios in common scenarios
│    arr sync to clean up merged changes
│
│
│ ◆  01-12-fix-remove-duplicate-mode-indicator vwywztxnluyz (merged)
├─╯  4 hours ago
│
│    PR #451 (Merged) fix: remove duplicate mode indicator
│    https://github.com/PostHog/Array/pull/451
│    f4624a21d801 - fix: remove duplicate mode indicator
│    arr sync to clean up merged changes
│
│
◯  main
│  2 days ago
│
│  2789312db998 - fix: Fix preserving the users manual folder selection. (#440)
│
jonathan@mac array % arr track 3
✓ Now tracking 01-12-feat-persist-session-mode
  Parent: main
jonathan@mac array %  ```

So:
1. We create > fails bc of invalid `jj` call
2. change is not tracked
3. we have to manually track with `arr track`
Only then are we in a good state again

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions